Package dev.cerbos.api.v1.request
Class Request.PlaygroundProxyRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- dev.cerbos.api.v1.request.Request.PlaygroundProxyRequest
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Request.PlaygroundProxyRequestOrBuilder,java.io.Serializable
- Enclosing class:
- Request
public static final class Request.PlaygroundProxyRequest extends com.google.protobuf.GeneratedMessage implements Request.PlaygroundProxyRequestOrBuilder
Protobuf typecerbos.request.v1.PlaygroundProxyRequest- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRequest.PlaygroundProxyRequest.BuilderProtobuf typecerbos.request.v1.PlaygroundProxyRequeststatic classRequest.PlaygroundProxyRequest.ProxyRequestCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends java.lang.Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCHECK_RESOURCE_BATCH_FIELD_NUMBERstatic intCHECK_RESOURCE_SET_FIELD_NUMBERstatic intCHECK_RESOURCES_FIELD_NUMBERstatic intFILES_FIELD_NUMBERstatic intPLAN_RESOURCES_FIELD_NUMBERstatic intPLAYGROUND_ID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Request.CheckResourceBatchRequestgetCheckResourceBatch().cerbos.request.v1.CheckResourceBatchRequest check_resource_batch = 4;Request.CheckResourceBatchRequestOrBuildergetCheckResourceBatchOrBuilder().cerbos.request.v1.CheckResourceBatchRequest check_resource_batch = 4;Request.CheckResourcesRequestgetCheckResources().cerbos.request.v1.CheckResourcesRequest check_resources = 6;Request.CheckResourceSetRequestgetCheckResourceSet().cerbos.request.v1.CheckResourceSetRequest check_resource_set = 3;Request.CheckResourceSetRequestOrBuildergetCheckResourceSetOrBuilder().cerbos.request.v1.CheckResourceSetRequest check_resource_set = 3;Request.CheckResourcesRequestOrBuildergetCheckResourcesOrBuilder().cerbos.request.v1.CheckResourcesRequest check_resources = 6;static Request.PlaygroundProxyRequestgetDefaultInstance()Request.PlaygroundProxyRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Request.FilegetFiles(int index)repeated .cerbos.request.v1.File files = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...intgetFilesCount()repeated .cerbos.request.v1.File files = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...java.util.List<Request.File>getFilesList()repeated .cerbos.request.v1.File files = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...Request.FileOrBuildergetFilesOrBuilder(int index)repeated .cerbos.request.v1.File files = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...java.util.List<? extends Request.FileOrBuilder>getFilesOrBuilderList()repeated .cerbos.request.v1.File files = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...com.google.protobuf.Parser<Request.PlaygroundProxyRequest>getParserForType()Request.PlanResourcesRequestgetPlanResources().cerbos.request.v1.PlanResourcesRequest plan_resources = 5;Request.PlanResourcesRequestOrBuildergetPlanResourcesOrBuilder().cerbos.request.v1.PlanResourcesRequest plan_resources = 5;java.lang.StringgetPlaygroundId()string playground_id = 1;com.google.protobuf.ByteStringgetPlaygroundIdBytes()string playground_id = 1;Request.PlaygroundProxyRequest.ProxyRequestCasegetProxyRequestCase()intgetSerializedSize()booleanhasCheckResourceBatch().cerbos.request.v1.CheckResourceBatchRequest check_resource_batch = 4;booleanhasCheckResources().cerbos.request.v1.CheckResourcesRequest check_resources = 6;booleanhasCheckResourceSet().cerbos.request.v1.CheckResourceSetRequest check_resource_set = 3;inthashCode()booleanhasPlanResources().cerbos.request.v1.PlanResourcesRequest plan_resources = 5;protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Request.PlaygroundProxyRequest.BuildernewBuilder()static Request.PlaygroundProxyRequest.BuildernewBuilder(Request.PlaygroundProxyRequest prototype)Request.PlaygroundProxyRequest.BuildernewBuilderForType()protected Request.PlaygroundProxyRequest.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)static Request.PlaygroundProxyRequestparseDelimitedFrom(java.io.InputStream input)static Request.PlaygroundProxyRequestparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Request.PlaygroundProxyRequestparseFrom(byte[] data)static Request.PlaygroundProxyRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Request.PlaygroundProxyRequestparseFrom(com.google.protobuf.ByteString data)static Request.PlaygroundProxyRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Request.PlaygroundProxyRequestparseFrom(com.google.protobuf.CodedInputStream input)static Request.PlaygroundProxyRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Request.PlaygroundProxyRequestparseFrom(java.io.InputStream input)static Request.PlaygroundProxyRequestparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Request.PlaygroundProxyRequestparseFrom(java.nio.ByteBuffer data)static Request.PlaygroundProxyRequestparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Request.PlaygroundProxyRequest>parser()Request.PlaygroundProxyRequest.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
PLAYGROUND_ID_FIELD_NUMBER
public static final int PLAYGROUND_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FILES_FIELD_NUMBER
public static final int FILES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CHECK_RESOURCE_SET_FIELD_NUMBER
public static final int CHECK_RESOURCE_SET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CHECK_RESOURCE_BATCH_FIELD_NUMBER
public static final int CHECK_RESOURCE_BATCH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PLAN_RESOURCES_FIELD_NUMBER
public static final int PLAN_RESOURCES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CHECK_RESOURCES_FIELD_NUMBER
public static final int CHECK_RESOURCES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getProxyRequestCase
public Request.PlaygroundProxyRequest.ProxyRequestCase getProxyRequestCase()
- Specified by:
getProxyRequestCasein interfaceRequest.PlaygroundProxyRequestOrBuilder
-
getPlaygroundId
public java.lang.String getPlaygroundId()
string playground_id = 1;- Specified by:
getPlaygroundIdin interfaceRequest.PlaygroundProxyRequestOrBuilder- Returns:
- The playgroundId.
-
getPlaygroundIdBytes
public com.google.protobuf.ByteString getPlaygroundIdBytes()
string playground_id = 1;- Specified by:
getPlaygroundIdBytesin interfaceRequest.PlaygroundProxyRequestOrBuilder- Returns:
- The bytes for playgroundId.
-
getFilesList
public java.util.List<Request.File> getFilesList()
repeated .cerbos.request.v1.File files = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Specified by:
getFilesListin interfaceRequest.PlaygroundProxyRequestOrBuilder
-
getFilesOrBuilderList
public java.util.List<? extends Request.FileOrBuilder> getFilesOrBuilderList()
repeated .cerbos.request.v1.File files = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Specified by:
getFilesOrBuilderListin interfaceRequest.PlaygroundProxyRequestOrBuilder
-
getFilesCount
public int getFilesCount()
repeated .cerbos.request.v1.File files = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Specified by:
getFilesCountin interfaceRequest.PlaygroundProxyRequestOrBuilder
-
getFiles
public Request.File getFiles(int index)
repeated .cerbos.request.v1.File files = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Specified by:
getFilesin interfaceRequest.PlaygroundProxyRequestOrBuilder
-
getFilesOrBuilder
public Request.FileOrBuilder getFilesOrBuilder(int index)
repeated .cerbos.request.v1.File files = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Specified by:
getFilesOrBuilderin interfaceRequest.PlaygroundProxyRequestOrBuilder
-
hasCheckResourceSet
public boolean hasCheckResourceSet()
.cerbos.request.v1.CheckResourceSetRequest check_resource_set = 3;- Specified by:
hasCheckResourceSetin interfaceRequest.PlaygroundProxyRequestOrBuilder- Returns:
- Whether the checkResourceSet field is set.
-
getCheckResourceSet
public Request.CheckResourceSetRequest getCheckResourceSet()
.cerbos.request.v1.CheckResourceSetRequest check_resource_set = 3;- Specified by:
getCheckResourceSetin interfaceRequest.PlaygroundProxyRequestOrBuilder- Returns:
- The checkResourceSet.
-
getCheckResourceSetOrBuilder
public Request.CheckResourceSetRequestOrBuilder getCheckResourceSetOrBuilder()
.cerbos.request.v1.CheckResourceSetRequest check_resource_set = 3;- Specified by:
getCheckResourceSetOrBuilderin interfaceRequest.PlaygroundProxyRequestOrBuilder
-
hasCheckResourceBatch
public boolean hasCheckResourceBatch()
.cerbos.request.v1.CheckResourceBatchRequest check_resource_batch = 4;- Specified by:
hasCheckResourceBatchin interfaceRequest.PlaygroundProxyRequestOrBuilder- Returns:
- Whether the checkResourceBatch field is set.
-
getCheckResourceBatch
public Request.CheckResourceBatchRequest getCheckResourceBatch()
.cerbos.request.v1.CheckResourceBatchRequest check_resource_batch = 4;- Specified by:
getCheckResourceBatchin interfaceRequest.PlaygroundProxyRequestOrBuilder- Returns:
- The checkResourceBatch.
-
getCheckResourceBatchOrBuilder
public Request.CheckResourceBatchRequestOrBuilder getCheckResourceBatchOrBuilder()
.cerbos.request.v1.CheckResourceBatchRequest check_resource_batch = 4;- Specified by:
getCheckResourceBatchOrBuilderin interfaceRequest.PlaygroundProxyRequestOrBuilder
-
hasPlanResources
public boolean hasPlanResources()
.cerbos.request.v1.PlanResourcesRequest plan_resources = 5;- Specified by:
hasPlanResourcesin interfaceRequest.PlaygroundProxyRequestOrBuilder- Returns:
- Whether the planResources field is set.
-
getPlanResources
public Request.PlanResourcesRequest getPlanResources()
.cerbos.request.v1.PlanResourcesRequest plan_resources = 5;- Specified by:
getPlanResourcesin interfaceRequest.PlaygroundProxyRequestOrBuilder- Returns:
- The planResources.
-
getPlanResourcesOrBuilder
public Request.PlanResourcesRequestOrBuilder getPlanResourcesOrBuilder()
.cerbos.request.v1.PlanResourcesRequest plan_resources = 5;- Specified by:
getPlanResourcesOrBuilderin interfaceRequest.PlaygroundProxyRequestOrBuilder
-
hasCheckResources
public boolean hasCheckResources()
.cerbos.request.v1.CheckResourcesRequest check_resources = 6;- Specified by:
hasCheckResourcesin interfaceRequest.PlaygroundProxyRequestOrBuilder- Returns:
- Whether the checkResources field is set.
-
getCheckResources
public Request.CheckResourcesRequest getCheckResources()
.cerbos.request.v1.CheckResourcesRequest check_resources = 6;- Specified by:
getCheckResourcesin interfaceRequest.PlaygroundProxyRequestOrBuilder- Returns:
- The checkResources.
-
getCheckResourcesOrBuilder
public Request.CheckResourcesRequestOrBuilder getCheckResourcesOrBuilder()
.cerbos.request.v1.CheckResourcesRequest check_resources = 6;- Specified by:
getCheckResourcesOrBuilderin interfaceRequest.PlaygroundProxyRequestOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Request.PlaygroundProxyRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Request.PlaygroundProxyRequest parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Request.PlaygroundProxyRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Request.PlaygroundProxyRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Request.PlaygroundProxyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Request.PlaygroundProxyRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Request.PlaygroundProxyRequest parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Request.PlaygroundProxyRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Request.PlaygroundProxyRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Request.PlaygroundProxyRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Request.PlaygroundProxyRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Request.PlaygroundProxyRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Request.PlaygroundProxyRequest.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Request.PlaygroundProxyRequest.Builder newBuilder()
-
newBuilder
public static Request.PlaygroundProxyRequest.Builder newBuilder(Request.PlaygroundProxyRequest prototype)
-
toBuilder
public Request.PlaygroundProxyRequest.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Request.PlaygroundProxyRequest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static Request.PlaygroundProxyRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Request.PlaygroundProxyRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<Request.PlaygroundProxyRequest> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public Request.PlaygroundProxyRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-