Package dev.cerbos.api.v1.engine
Class Engine.PlanResourcesOutput
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- dev.cerbos.api.v1.engine.Engine.PlanResourcesOutput
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Engine.PlanResourcesOutputOrBuilder,java.io.Serializable
- Enclosing class:
- Engine
public static final class Engine.PlanResourcesOutput extends com.google.protobuf.GeneratedMessageV3 implements Engine.PlanResourcesOutputOrBuilder
Protobuf typecerbos.engine.v1.PlanResourcesOutput- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEngine.PlanResourcesOutput.BuilderProtobuf typecerbos.engine.v1.PlanResourcesOutput-
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_DEBUG_FIELD_NUMBERstatic intFILTER_FIELD_NUMBERstatic intKIND_FIELD_NUMBERstatic intPOLICY_VERSION_FIELD_NUMBERstatic intREQUEST_ID_FIELD_NUMBERstatic intSCOPE_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;com.google.protobuf.ByteStringgetActionBytes()string action = 2;static Engine.PlanResourcesOutputgetDefaultInstance()Engine.PlanResourcesOutputgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Engine.PlanResourcesFiltergetFilter().cerbos.engine.v1.PlanResourcesFilter filter = 6;java.lang.StringgetFilterDebug()string filter_debug = 7;com.google.protobuf.ByteStringgetFilterDebugBytes()string filter_debug = 7;Engine.PlanResourcesFilterOrBuildergetFilterOrBuilder().cerbos.engine.v1.PlanResourcesFilter filter = 6;java.lang.StringgetKind()string kind = 3;com.google.protobuf.ByteStringgetKindBytes()string kind = 3;com.google.protobuf.Parser<Engine.PlanResourcesOutput>getParserForType()java.lang.StringgetPolicyVersion()string policy_version = 4;com.google.protobuf.ByteStringgetPolicyVersionBytes()string policy_version = 4;java.lang.StringgetRequestId()string request_id = 1;com.google.protobuf.ByteStringgetRequestIdBytes()string request_id = 1;java.lang.StringgetScope()string scope = 5;com.google.protobuf.ByteStringgetScopeBytes()string scope = 5;intgetSerializedSize()SchemaOuterClass.ValidationErrorgetValidationErrors(int index)repeated .cerbos.schema.v1.ValidationError validation_errors = 8;intgetValidationErrorsCount()repeated .cerbos.schema.v1.ValidationError validation_errors = 8;java.util.List<SchemaOuterClass.ValidationError>getValidationErrorsList()repeated .cerbos.schema.v1.ValidationError validation_errors = 8;SchemaOuterClass.ValidationErrorOrBuildergetValidationErrorsOrBuilder(int index)repeated .cerbos.schema.v1.ValidationError validation_errors = 8;java.util.List<? extends SchemaOuterClass.ValidationErrorOrBuilder>getValidationErrorsOrBuilderList()repeated .cerbos.schema.v1.ValidationError validation_errors = 8;booleanhasFilter().cerbos.engine.v1.PlanResourcesFilter filter = 6;inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Engine.PlanResourcesOutput.BuildernewBuilder()static Engine.PlanResourcesOutput.BuildernewBuilder(Engine.PlanResourcesOutput prototype)Engine.PlanResourcesOutput.BuildernewBuilderForType()protected Engine.PlanResourcesOutput.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Engine.PlanResourcesOutputparseDelimitedFrom(java.io.InputStream input)static Engine.PlanResourcesOutputparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Engine.PlanResourcesOutputparseFrom(byte[] data)static Engine.PlanResourcesOutputparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Engine.PlanResourcesOutputparseFrom(com.google.protobuf.ByteString data)static Engine.PlanResourcesOutputparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Engine.PlanResourcesOutputparseFrom(com.google.protobuf.CodedInputStream input)static Engine.PlanResourcesOutputparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Engine.PlanResourcesOutputparseFrom(java.io.InputStream input)static Engine.PlanResourcesOutputparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Engine.PlanResourcesOutputparseFrom(java.nio.ByteBuffer data)static Engine.PlanResourcesOutputparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Engine.PlanResourcesOutput>parser()Engine.PlanResourcesOutput.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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
-
KIND_FIELD_NUMBER
public static final int 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
-
SCOPE_FIELD_NUMBER
public static final int SCOPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FILTER_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FILTER_DEBUG_FIELD_NUMBER
public static final int FILTER_DEBUG_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;- Specified by:
getRequestIdin interfaceEngine.PlanResourcesOutputOrBuilder- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.ByteString getRequestIdBytes()
string request_id = 1;- Specified by:
getRequestIdBytesin interfaceEngine.PlanResourcesOutputOrBuilder- Returns:
- The bytes for requestId.
-
getAction
public java.lang.String getAction()
string action = 2;- Specified by:
getActionin interfaceEngine.PlanResourcesOutputOrBuilder- Returns:
- The action.
-
getActionBytes
public com.google.protobuf.ByteString getActionBytes()
string action = 2;- Specified by:
getActionBytesin interfaceEngine.PlanResourcesOutputOrBuilder- Returns:
- The bytes for action.
-
getKind
public java.lang.String getKind()
string kind = 3;- Specified by:
getKindin interfaceEngine.PlanResourcesOutputOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()
string kind = 3;- Specified by:
getKindBytesin interfaceEngine.PlanResourcesOutputOrBuilder- Returns:
- The bytes for kind.
-
getPolicyVersion
public java.lang.String getPolicyVersion()
string policy_version = 4;- Specified by:
getPolicyVersionin interfaceEngine.PlanResourcesOutputOrBuilder- Returns:
- The policyVersion.
-
getPolicyVersionBytes
public com.google.protobuf.ByteString getPolicyVersionBytes()
string policy_version = 4;- Specified by:
getPolicyVersionBytesin interfaceEngine.PlanResourcesOutputOrBuilder- Returns:
- The bytes for policyVersion.
-
getScope
public java.lang.String getScope()
string scope = 5;- Specified by:
getScopein interfaceEngine.PlanResourcesOutputOrBuilder- Returns:
- The scope.
-
getScopeBytes
public com.google.protobuf.ByteString getScopeBytes()
string scope = 5;- Specified by:
getScopeBytesin interfaceEngine.PlanResourcesOutputOrBuilder- Returns:
- The bytes for scope.
-
hasFilter
public boolean hasFilter()
.cerbos.engine.v1.PlanResourcesFilter filter = 6;- Specified by:
hasFilterin interfaceEngine.PlanResourcesOutputOrBuilder- Returns:
- Whether the filter field is set.
-
getFilter
public Engine.PlanResourcesFilter getFilter()
.cerbos.engine.v1.PlanResourcesFilter filter = 6;- Specified by:
getFilterin interfaceEngine.PlanResourcesOutputOrBuilder- Returns:
- The filter.
-
getFilterOrBuilder
public Engine.PlanResourcesFilterOrBuilder getFilterOrBuilder()
.cerbos.engine.v1.PlanResourcesFilter filter = 6;- Specified by:
getFilterOrBuilderin interfaceEngine.PlanResourcesOutputOrBuilder
-
getFilterDebug
public java.lang.String getFilterDebug()
string filter_debug = 7;- Specified by:
getFilterDebugin interfaceEngine.PlanResourcesOutputOrBuilder- Returns:
- The filterDebug.
-
getFilterDebugBytes
public com.google.protobuf.ByteString getFilterDebugBytes()
string filter_debug = 7;- Specified by:
getFilterDebugBytesin interfaceEngine.PlanResourcesOutputOrBuilder- Returns:
- The bytes for filterDebug.
-
getValidationErrorsList
public java.util.List<SchemaOuterClass.ValidationError> getValidationErrorsList()
repeated .cerbos.schema.v1.ValidationError validation_errors = 8;- Specified by:
getValidationErrorsListin interfaceEngine.PlanResourcesOutputOrBuilder
-
getValidationErrorsOrBuilderList
public java.util.List<? extends SchemaOuterClass.ValidationErrorOrBuilder> getValidationErrorsOrBuilderList()
repeated .cerbos.schema.v1.ValidationError validation_errors = 8;- Specified by:
getValidationErrorsOrBuilderListin interfaceEngine.PlanResourcesOutputOrBuilder
-
getValidationErrorsCount
public int getValidationErrorsCount()
repeated .cerbos.schema.v1.ValidationError validation_errors = 8;- Specified by:
getValidationErrorsCountin interfaceEngine.PlanResourcesOutputOrBuilder
-
getValidationErrors
public SchemaOuterClass.ValidationError getValidationErrors(int index)
repeated .cerbos.schema.v1.ValidationError validation_errors = 8;- Specified by:
getValidationErrorsin interfaceEngine.PlanResourcesOutputOrBuilder
-
getValidationErrorsOrBuilder
public SchemaOuterClass.ValidationErrorOrBuilder getValidationErrorsOrBuilder(int index)
repeated .cerbos.schema.v1.ValidationError validation_errors = 8;- Specified by:
getValidationErrorsOrBuilderin interfaceEngine.PlanResourcesOutputOrBuilder
-
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 Engine.PlanResourcesOutput parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Engine.PlanResourcesOutput parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Engine.PlanResourcesOutput parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Engine.PlanResourcesOutput parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Engine.PlanResourcesOutput parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Engine.PlanResourcesOutput parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Engine.PlanResourcesOutput parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Engine.PlanResourcesOutput parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Engine.PlanResourcesOutput parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Engine.PlanResourcesOutput parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Engine.PlanResourcesOutput parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Engine.PlanResourcesOutput parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Engine.PlanResourcesOutput.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Engine.PlanResourcesOutput.Builder newBuilder()
-
newBuilder
public static Engine.PlanResourcesOutput.Builder newBuilder(Engine.PlanResourcesOutput prototype)
-
toBuilder
public Engine.PlanResourcesOutput.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Engine.PlanResourcesOutput.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Engine.PlanResourcesOutput getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Engine.PlanResourcesOutput> parser()
-
getParserForType
public com.google.protobuf.Parser<Engine.PlanResourcesOutput> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Engine.PlanResourcesOutput getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-