Package dev.cerbos.api.v1.response
Class Response.PlanResourcesResponse
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- dev.cerbos.api.v1.response.Response.PlanResourcesResponse
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Response.PlanResourcesResponseOrBuilder,java.io.Serializable
- Enclosing class:
- Response
public static final class Response.PlanResourcesResponse extends com.google.protobuf.GeneratedMessageV3 implements Response.PlanResourcesResponseOrBuilder
Protobuf typecerbos.response.v1.PlanResourcesResponse- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResponse.PlanResourcesResponse.BuilderProtobuf typecerbos.response.v1.PlanResourcesResponsestatic classResponse.PlanResourcesResponse.MetaProtobuf typecerbos.response.v1.PlanResourcesResponse.Metastatic interfaceResponse.PlanResourcesResponse.MetaOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intACTION_FIELD_NUMBERstatic intFILTER_FIELD_NUMBERstatic intMETA_FIELD_NUMBERstatic intPOLICY_VERSION_FIELD_NUMBERstatic intREQUEST_ID_FIELD_NUMBERstatic intRESOURCE_KIND_FIELD_NUMBERstatic intVALIDATION_ERRORS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetAction()string action = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...com.google.protobuf.ByteStringgetActionBytes()string action = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...static Response.PlanResourcesResponsegetDefaultInstance()Response.PlanResourcesResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Engine.PlanResourcesFiltergetFilter().cerbos.engine.v1.PlanResourcesFilter filter = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...Engine.PlanResourcesFilterOrBuildergetFilterOrBuilder().cerbos.engine.v1.PlanResourcesFilter filter = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...Response.PlanResourcesResponse.MetagetMeta().cerbos.response.v1.PlanResourcesResponse.Meta meta = 6 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...Response.PlanResourcesResponse.MetaOrBuildergetMetaOrBuilder().cerbos.response.v1.PlanResourcesResponse.Meta meta = 6 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...com.google.protobuf.Parser<Response.PlanResourcesResponse>getParserForType()java.lang.StringgetPolicyVersion()string policy_version = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...com.google.protobuf.ByteStringgetPolicyVersionBytes()string policy_version = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...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.lang.StringgetResourceKind()string resource_kind = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...com.google.protobuf.ByteStringgetResourceKindBytes()string resource_kind = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...intgetSerializedSize()SchemaOuterClass.ValidationErrorgetValidationErrors(int index)repeated .cerbos.schema.v1.ValidationError validation_errors = 7 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...intgetValidationErrorsCount()repeated .cerbos.schema.v1.ValidationError validation_errors = 7 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...java.util.List<SchemaOuterClass.ValidationError>getValidationErrorsList()repeated .cerbos.schema.v1.ValidationError validation_errors = 7 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...SchemaOuterClass.ValidationErrorOrBuildergetValidationErrorsOrBuilder(int index)repeated .cerbos.schema.v1.ValidationError validation_errors = 7 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...java.util.List<? extends SchemaOuterClass.ValidationErrorOrBuilder>getValidationErrorsOrBuilderList()repeated .cerbos.schema.v1.ValidationError validation_errors = 7 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...booleanhasFilter().cerbos.engine.v1.PlanResourcesFilter filter = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...inthashCode()booleanhasMeta().cerbos.response.v1.PlanResourcesResponse.Meta meta = 6 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ...protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Response.PlanResourcesResponse.BuildernewBuilder()static Response.PlanResourcesResponse.BuildernewBuilder(Response.PlanResourcesResponse prototype)Response.PlanResourcesResponse.BuildernewBuilderForType()protected Response.PlanResourcesResponse.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Response.PlanResourcesResponseparseDelimitedFrom(java.io.InputStream input)static Response.PlanResourcesResponseparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Response.PlanResourcesResponseparseFrom(byte[] data)static Response.PlanResourcesResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Response.PlanResourcesResponseparseFrom(com.google.protobuf.ByteString data)static Response.PlanResourcesResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Response.PlanResourcesResponseparseFrom(com.google.protobuf.CodedInputStream input)static Response.PlanResourcesResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Response.PlanResourcesResponseparseFrom(java.io.InputStream input)static Response.PlanResourcesResponseparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Response.PlanResourcesResponseparseFrom(java.nio.ByteBuffer data)static Response.PlanResourcesResponseparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Response.PlanResourcesResponse>parser()Response.PlanResourcesResponse.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, 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
-
ACTION_FIELD_NUMBER
public static final int ACTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCE_KIND_FIELD_NUMBER
public static final int RESOURCE_KIND_FIELD_NUMBER
- See Also:
- Constant Field Values
-
POLICY_VERSION_FIELD_NUMBER
public static final int POLICY_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FILTER_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
META_FIELD_NUMBER
public static final int META_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VALIDATION_ERRORS_FIELD_NUMBER
public static final int VALIDATION_ERRORS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getRequestId
public java.lang.String getRequestId()
string request_id = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Specified by:
getRequestIdin interfaceResponse.PlanResourcesResponseOrBuilder- 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.PlanResourcesResponseOrBuilder- Returns:
- The bytes for requestId.
-
getAction
public java.lang.String getAction()
string action = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Specified by:
getActionin interfaceResponse.PlanResourcesResponseOrBuilder- Returns:
- The action.
-
getActionBytes
public com.google.protobuf.ByteString getActionBytes()
string action = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Specified by:
getActionBytesin interfaceResponse.PlanResourcesResponseOrBuilder- Returns:
- The bytes for action.
-
getResourceKind
public java.lang.String getResourceKind()
string resource_kind = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Specified by:
getResourceKindin interfaceResponse.PlanResourcesResponseOrBuilder- Returns:
- The resourceKind.
-
getResourceKindBytes
public com.google.protobuf.ByteString getResourceKindBytes()
string resource_kind = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Specified by:
getResourceKindBytesin interfaceResponse.PlanResourcesResponseOrBuilder- Returns:
- The bytes for resourceKind.
-
getPolicyVersion
public java.lang.String getPolicyVersion()
string policy_version = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Specified by:
getPolicyVersionin interfaceResponse.PlanResourcesResponseOrBuilder- Returns:
- The policyVersion.
-
getPolicyVersionBytes
public com.google.protobuf.ByteString getPolicyVersionBytes()
string policy_version = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Specified by:
getPolicyVersionBytesin interfaceResponse.PlanResourcesResponseOrBuilder- Returns:
- The bytes for policyVersion.
-
hasFilter
public boolean hasFilter()
.cerbos.engine.v1.PlanResourcesFilter filter = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Specified by:
hasFilterin interfaceResponse.PlanResourcesResponseOrBuilder- Returns:
- Whether the filter field is set.
-
getFilter
public Engine.PlanResourcesFilter getFilter()
.cerbos.engine.v1.PlanResourcesFilter filter = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Specified by:
getFilterin interfaceResponse.PlanResourcesResponseOrBuilder- Returns:
- The filter.
-
getFilterOrBuilder
public Engine.PlanResourcesFilterOrBuilder getFilterOrBuilder()
.cerbos.engine.v1.PlanResourcesFilter filter = 5 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Specified by:
getFilterOrBuilderin interfaceResponse.PlanResourcesResponseOrBuilder
-
hasMeta
public boolean hasMeta()
.cerbos.response.v1.PlanResourcesResponse.Meta meta = 6 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Specified by:
hasMetain interfaceResponse.PlanResourcesResponseOrBuilder- Returns:
- Whether the meta field is set.
-
getMeta
public Response.PlanResourcesResponse.Meta getMeta()
.cerbos.response.v1.PlanResourcesResponse.Meta meta = 6 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Specified by:
getMetain interfaceResponse.PlanResourcesResponseOrBuilder- Returns:
- The meta.
-
getMetaOrBuilder
public Response.PlanResourcesResponse.MetaOrBuilder getMetaOrBuilder()
.cerbos.response.v1.PlanResourcesResponse.Meta meta = 6 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Specified by:
getMetaOrBuilderin interfaceResponse.PlanResourcesResponseOrBuilder
-
getValidationErrorsList
public java.util.List<SchemaOuterClass.ValidationError> getValidationErrorsList()
repeated .cerbos.schema.v1.ValidationError validation_errors = 7 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Specified by:
getValidationErrorsListin interfaceResponse.PlanResourcesResponseOrBuilder
-
getValidationErrorsOrBuilderList
public java.util.List<? extends SchemaOuterClass.ValidationErrorOrBuilder> getValidationErrorsOrBuilderList()
repeated .cerbos.schema.v1.ValidationError validation_errors = 7 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Specified by:
getValidationErrorsOrBuilderListin interfaceResponse.PlanResourcesResponseOrBuilder
-
getValidationErrorsCount
public int getValidationErrorsCount()
repeated .cerbos.schema.v1.ValidationError validation_errors = 7 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Specified by:
getValidationErrorsCountin interfaceResponse.PlanResourcesResponseOrBuilder
-
getValidationErrors
public SchemaOuterClass.ValidationError getValidationErrors(int index)
repeated .cerbos.schema.v1.ValidationError validation_errors = 7 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Specified by:
getValidationErrorsin interfaceResponse.PlanResourcesResponseOrBuilder
-
getValidationErrorsOrBuilder
public SchemaOuterClass.ValidationErrorOrBuilder getValidationErrorsOrBuilder(int index)
repeated .cerbos.schema.v1.ValidationError validation_errors = 7 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }- Specified by:
getValidationErrorsOrBuilderin interfaceResponse.PlanResourcesResponseOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
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.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
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.PlanResourcesResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Response.PlanResourcesResponse parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Response.PlanResourcesResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Response.PlanResourcesResponse 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.PlanResourcesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Response.PlanResourcesResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Response.PlanResourcesResponse parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Response.PlanResourcesResponse parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Response.PlanResourcesResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Response.PlanResourcesResponse parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Response.PlanResourcesResponse parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Response.PlanResourcesResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Response.PlanResourcesResponse.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Response.PlanResourcesResponse.Builder newBuilder()
-
newBuilder
public static Response.PlanResourcesResponse.Builder newBuilder(Response.PlanResourcesResponse prototype)
-
toBuilder
public Response.PlanResourcesResponse.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Response.PlanResourcesResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Response.PlanResourcesResponse getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Response.PlanResourcesResponse> parser()
-
getParserForType
public com.google.protobuf.Parser<Response.PlanResourcesResponse> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Response.PlanResourcesResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-