Package dev.cerbos.api.v1.response
Class Response.CheckResourceSetResponse
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- dev.cerbos.api.v1.response.Response.CheckResourceSetResponse
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Response.CheckResourceSetResponseOrBuilder,java.io.Serializable
- Enclosing class:
- Response
public static final class Response.CheckResourceSetResponse extends com.google.protobuf.GeneratedMessage implements Response.CheckResourceSetResponseOrBuilder
Deprecated. See CheckResourcesResponse.
Protobuf typecerbos.response.v1.CheckResourceSetResponse- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResponse.CheckResourceSetResponse.ActionEffectMapProtobuf typecerbos.response.v1.CheckResourceSetResponse.ActionEffectMapstatic interfaceResponse.CheckResourceSetResponse.ActionEffectMapOrBuilderstatic classResponse.CheckResourceSetResponse.BuilderDeprecated.static classResponse.CheckResourceSetResponse.MetaProtobuf typecerbos.response.v1.CheckResourceSetResponse.Metastatic interfaceResponse.CheckResourceSetResponse.MetaOrBuilder-
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 intMETA_FIELD_NUMBERstatic intREQUEST_ID_FIELD_NUMBERstatic intRESOURCE_INSTANCES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsResourceInstances(java.lang.String key)map<string, .cerbos.response.v1.CheckResourceSetResponse.ActionEffectMap> resource_instances = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...booleanequals(java.lang.Object obj)static Response.CheckResourceSetResponsegetDefaultInstance()Response.CheckResourceSetResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Response.CheckResourceSetResponse.MetagetMeta().cerbos.response.v1.CheckResourceSetResponse.Meta meta = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...Response.CheckResourceSetResponse.MetaOrBuildergetMetaOrBuilder().cerbos.response.v1.CheckResourceSetResponse.Meta meta = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...com.google.protobuf.Parser<Response.CheckResourceSetResponse>getParserForType()java.lang.StringgetRequestId()string request_id = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...com.google.protobuf.ByteStringgetRequestIdBytes()string request_id = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...java.util.Map<java.lang.String,Response.CheckResourceSetResponse.ActionEffectMap>getResourceInstances()Deprecated.intgetResourceInstancesCount()map<string, .cerbos.response.v1.CheckResourceSetResponse.ActionEffectMap> resource_instances = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...java.util.Map<java.lang.String,Response.CheckResourceSetResponse.ActionEffectMap>getResourceInstancesMap()map<string, .cerbos.response.v1.CheckResourceSetResponse.ActionEffectMap> resource_instances = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...Response.CheckResourceSetResponse.ActionEffectMapgetResourceInstancesOrDefault(java.lang.String key, Response.CheckResourceSetResponse.ActionEffectMap defaultValue)map<string, .cerbos.response.v1.CheckResourceSetResponse.ActionEffectMap> resource_instances = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...Response.CheckResourceSetResponse.ActionEffectMapgetResourceInstancesOrThrow(java.lang.String key)map<string, .cerbos.response.v1.CheckResourceSetResponse.ActionEffectMap> resource_instances = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...intgetSerializedSize()inthashCode()booleanhasMeta().cerbos.response.v1.CheckResourceSetResponse.Meta meta = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number)booleanisInitialized()static Response.CheckResourceSetResponse.BuildernewBuilder()static Response.CheckResourceSetResponse.BuildernewBuilder(Response.CheckResourceSetResponse prototype)Response.CheckResourceSetResponse.BuildernewBuilderForType()protected Response.CheckResourceSetResponse.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)static Response.CheckResourceSetResponseparseDelimitedFrom(java.io.InputStream input)static Response.CheckResourceSetResponseparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Response.CheckResourceSetResponseparseFrom(byte[] data)static Response.CheckResourceSetResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Response.CheckResourceSetResponseparseFrom(com.google.protobuf.ByteString data)static Response.CheckResourceSetResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Response.CheckResourceSetResponseparseFrom(com.google.protobuf.CodedInputStream input)static Response.CheckResourceSetResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Response.CheckResourceSetResponseparseFrom(java.io.InputStream input)static Response.CheckResourceSetResponseparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Response.CheckResourceSetResponseparseFrom(java.nio.ByteBuffer data)static Response.CheckResourceSetResponseparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Response.CheckResourceSetResponse>parser()Response.CheckResourceSetResponse.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, 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
-
REQUEST_ID_FIELD_NUMBER
public static final int REQUEST_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCE_INSTANCES_FIELD_NUMBER
public static final int RESOURCE_INSTANCES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
META_FIELD_NUMBER
public static final int META_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
- Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getRequestId
public java.lang.String getRequestId()
string request_id = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Specified by:
getRequestIdin interfaceResponse.CheckResourceSetResponseOrBuilder- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.ByteString getRequestIdBytes()
string request_id = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Specified by:
getRequestIdBytesin interfaceResponse.CheckResourceSetResponseOrBuilder- Returns:
- The bytes for requestId.
-
getResourceInstancesCount
public int getResourceInstancesCount()
Description copied from interface:Response.CheckResourceSetResponseOrBuildermap<string, .cerbos.response.v1.CheckResourceSetResponse.ActionEffectMap> resource_instances = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Specified by:
getResourceInstancesCountin interfaceResponse.CheckResourceSetResponseOrBuilder
-
containsResourceInstances
public boolean containsResourceInstances(java.lang.String key)
map<string, .cerbos.response.v1.CheckResourceSetResponse.ActionEffectMap> resource_instances = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Specified by:
containsResourceInstancesin interfaceResponse.CheckResourceSetResponseOrBuilder
-
getResourceInstances
@Deprecated public java.util.Map<java.lang.String,Response.CheckResourceSetResponse.ActionEffectMap> getResourceInstances()
Deprecated.UsegetResourceInstancesMap()instead.- Specified by:
getResourceInstancesin interfaceResponse.CheckResourceSetResponseOrBuilder
-
getResourceInstancesMap
public java.util.Map<java.lang.String,Response.CheckResourceSetResponse.ActionEffectMap> getResourceInstancesMap()
map<string, .cerbos.response.v1.CheckResourceSetResponse.ActionEffectMap> resource_instances = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Specified by:
getResourceInstancesMapin interfaceResponse.CheckResourceSetResponseOrBuilder
-
getResourceInstancesOrDefault
public Response.CheckResourceSetResponse.ActionEffectMap getResourceInstancesOrDefault(java.lang.String key, Response.CheckResourceSetResponse.ActionEffectMap defaultValue)
map<string, .cerbos.response.v1.CheckResourceSetResponse.ActionEffectMap> resource_instances = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Specified by:
getResourceInstancesOrDefaultin interfaceResponse.CheckResourceSetResponseOrBuilder
-
getResourceInstancesOrThrow
public Response.CheckResourceSetResponse.ActionEffectMap getResourceInstancesOrThrow(java.lang.String key)
map<string, .cerbos.response.v1.CheckResourceSetResponse.ActionEffectMap> resource_instances = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Specified by:
getResourceInstancesOrThrowin interfaceResponse.CheckResourceSetResponseOrBuilder
-
hasMeta
public boolean hasMeta()
.cerbos.response.v1.CheckResourceSetResponse.Meta meta = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Specified by:
hasMetain interfaceResponse.CheckResourceSetResponseOrBuilder- Returns:
- Whether the meta field is set.
-
getMeta
public Response.CheckResourceSetResponse.Meta getMeta()
.cerbos.response.v1.CheckResourceSetResponse.Meta meta = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Specified by:
getMetain interfaceResponse.CheckResourceSetResponseOrBuilder- Returns:
- The meta.
-
getMetaOrBuilder
public Response.CheckResourceSetResponse.MetaOrBuilder getMetaOrBuilder()
.cerbos.response.v1.CheckResourceSetResponse.Meta meta = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Specified by:
getMetaOrBuilderin interfaceResponse.CheckResourceSetResponseOrBuilder
-
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 Response.CheckResourceSetResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Response.CheckResourceSetResponse parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Response.CheckResourceSetResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Response.CheckResourceSetResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Response.CheckResourceSetResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Response.CheckResourceSetResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Response.CheckResourceSetResponse parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Response.CheckResourceSetResponse parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Response.CheckResourceSetResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Response.CheckResourceSetResponse parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Response.CheckResourceSetResponse parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Response.CheckResourceSetResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Response.CheckResourceSetResponse.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Response.CheckResourceSetResponse.Builder newBuilder()
-
newBuilder
public static Response.CheckResourceSetResponse.Builder newBuilder(Response.CheckResourceSetResponse prototype)
-
toBuilder
public Response.CheckResourceSetResponse.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Response.CheckResourceSetResponse.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static Response.CheckResourceSetResponse getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Response.CheckResourceSetResponse> parser()
-
getParserForType
public com.google.protobuf.Parser<Response.CheckResourceSetResponse> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public Response.CheckResourceSetResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-