Package dev.cerbos.api.v1.engine
Class Engine.PlanResourcesInput
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessage
-
- dev.cerbos.api.v1.engine.Engine.PlanResourcesInput
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Engine.PlanResourcesInputOrBuilder,java.io.Serializable
- Enclosing class:
- Engine
public static final class Engine.PlanResourcesInput extends com.google.protobuf.GeneratedMessage implements Engine.PlanResourcesInputOrBuilder
Protobuf typecerbos.engine.v1.PlanResourcesInput- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEngine.PlanResourcesInput.BuilderProtobuf typecerbos.engine.v1.PlanResourcesInputstatic classEngine.PlanResourcesInput.ResourceProtobuf typecerbos.engine.v1.PlanResourcesInput.Resourcestatic interfaceEngine.PlanResourcesInput.ResourceOrBuilder-
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 intACTION_FIELD_NUMBERstatic intAUX_DATA_FIELD_NUMBERstatic intINCLUDE_META_FIELD_NUMBERstatic intPRINCIPAL_FIELD_NUMBERstatic intREQUEST_ID_FIELD_NUMBERstatic intRESOURCE_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;Engine.AuxDatagetAuxData().cerbos.engine.v1.AuxData aux_data = 5;Engine.AuxDataOrBuildergetAuxDataOrBuilder().cerbos.engine.v1.AuxData aux_data = 5;static Engine.PlanResourcesInputgetDefaultInstance()Engine.PlanResourcesInputgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()booleangetIncludeMeta()bool include_meta = 6;com.google.protobuf.Parser<Engine.PlanResourcesInput>getParserForType()Engine.PrincipalgetPrincipal().cerbos.engine.v1.Principal principal = 3;Engine.PrincipalOrBuildergetPrincipalOrBuilder().cerbos.engine.v1.Principal principal = 3;java.lang.StringgetRequestId()string request_id = 1;com.google.protobuf.ByteStringgetRequestIdBytes()string request_id = 1;Engine.PlanResourcesInput.ResourcegetResource().cerbos.engine.v1.PlanResourcesInput.Resource resource = 4;Engine.PlanResourcesInput.ResourceOrBuildergetResourceOrBuilder().cerbos.engine.v1.PlanResourcesInput.Resource resource = 4;intgetSerializedSize()booleanhasAuxData().cerbos.engine.v1.AuxData aux_data = 5;inthashCode()booleanhasPrincipal().cerbos.engine.v1.Principal principal = 3;booleanhasResource().cerbos.engine.v1.PlanResourcesInput.Resource resource = 4;protected com.google.protobuf.GeneratedMessage.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Engine.PlanResourcesInput.BuildernewBuilder()static Engine.PlanResourcesInput.BuildernewBuilder(Engine.PlanResourcesInput prototype)Engine.PlanResourcesInput.BuildernewBuilderForType()protected Engine.PlanResourcesInput.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)static Engine.PlanResourcesInputparseDelimitedFrom(java.io.InputStream input)static Engine.PlanResourcesInputparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Engine.PlanResourcesInputparseFrom(byte[] data)static Engine.PlanResourcesInputparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Engine.PlanResourcesInputparseFrom(com.google.protobuf.ByteString data)static Engine.PlanResourcesInputparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Engine.PlanResourcesInputparseFrom(com.google.protobuf.CodedInputStream input)static Engine.PlanResourcesInputparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Engine.PlanResourcesInputparseFrom(java.io.InputStream input)static Engine.PlanResourcesInputparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Engine.PlanResourcesInputparseFrom(java.nio.ByteBuffer data)static Engine.PlanResourcesInputparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Engine.PlanResourcesInput>parser()Engine.PlanResourcesInput.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
-
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
-
PRINCIPAL_FIELD_NUMBER
public static final int PRINCIPAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RESOURCE_FIELD_NUMBER
public static final int RESOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AUX_DATA_FIELD_NUMBER
public static final int AUX_DATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INCLUDE_META_FIELD_NUMBER
public static final int INCLUDE_META_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
-
getRequestId
public java.lang.String getRequestId()
string request_id = 1;- Specified by:
getRequestIdin interfaceEngine.PlanResourcesInputOrBuilder- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.ByteString getRequestIdBytes()
string request_id = 1;- Specified by:
getRequestIdBytesin interfaceEngine.PlanResourcesInputOrBuilder- Returns:
- The bytes for requestId.
-
getAction
public java.lang.String getAction()
string action = 2;- Specified by:
getActionin interfaceEngine.PlanResourcesInputOrBuilder- Returns:
- The action.
-
getActionBytes
public com.google.protobuf.ByteString getActionBytes()
string action = 2;- Specified by:
getActionBytesin interfaceEngine.PlanResourcesInputOrBuilder- Returns:
- The bytes for action.
-
hasPrincipal
public boolean hasPrincipal()
.cerbos.engine.v1.Principal principal = 3;- Specified by:
hasPrincipalin interfaceEngine.PlanResourcesInputOrBuilder- Returns:
- Whether the principal field is set.
-
getPrincipal
public Engine.Principal getPrincipal()
.cerbos.engine.v1.Principal principal = 3;- Specified by:
getPrincipalin interfaceEngine.PlanResourcesInputOrBuilder- Returns:
- The principal.
-
getPrincipalOrBuilder
public Engine.PrincipalOrBuilder getPrincipalOrBuilder()
.cerbos.engine.v1.Principal principal = 3;- Specified by:
getPrincipalOrBuilderin interfaceEngine.PlanResourcesInputOrBuilder
-
hasResource
public boolean hasResource()
.cerbos.engine.v1.PlanResourcesInput.Resource resource = 4;- Specified by:
hasResourcein interfaceEngine.PlanResourcesInputOrBuilder- Returns:
- Whether the resource field is set.
-
getResource
public Engine.PlanResourcesInput.Resource getResource()
.cerbos.engine.v1.PlanResourcesInput.Resource resource = 4;- Specified by:
getResourcein interfaceEngine.PlanResourcesInputOrBuilder- Returns:
- The resource.
-
getResourceOrBuilder
public Engine.PlanResourcesInput.ResourceOrBuilder getResourceOrBuilder()
.cerbos.engine.v1.PlanResourcesInput.Resource resource = 4;- Specified by:
getResourceOrBuilderin interfaceEngine.PlanResourcesInputOrBuilder
-
hasAuxData
public boolean hasAuxData()
.cerbos.engine.v1.AuxData aux_data = 5;- Specified by:
hasAuxDatain interfaceEngine.PlanResourcesInputOrBuilder- Returns:
- Whether the auxData field is set.
-
getAuxData
public Engine.AuxData getAuxData()
.cerbos.engine.v1.AuxData aux_data = 5;- Specified by:
getAuxDatain interfaceEngine.PlanResourcesInputOrBuilder- Returns:
- The auxData.
-
getAuxDataOrBuilder
public Engine.AuxDataOrBuilder getAuxDataOrBuilder()
.cerbos.engine.v1.AuxData aux_data = 5;- Specified by:
getAuxDataOrBuilderin interfaceEngine.PlanResourcesInputOrBuilder
-
getIncludeMeta
public boolean getIncludeMeta()
bool include_meta = 6;- Specified by:
getIncludeMetain interfaceEngine.PlanResourcesInputOrBuilder- Returns:
- The includeMeta.
-
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 Engine.PlanResourcesInput parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Engine.PlanResourcesInput parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Engine.PlanResourcesInput parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Engine.PlanResourcesInput 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.PlanResourcesInput parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Engine.PlanResourcesInput parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Engine.PlanResourcesInput parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Engine.PlanResourcesInput parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Engine.PlanResourcesInput parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Engine.PlanResourcesInput parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Engine.PlanResourcesInput parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Engine.PlanResourcesInput parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Engine.PlanResourcesInput.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Engine.PlanResourcesInput.Builder newBuilder()
-
newBuilder
public static Engine.PlanResourcesInput.Builder newBuilder(Engine.PlanResourcesInput prototype)
-
toBuilder
public Engine.PlanResourcesInput.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Engine.PlanResourcesInput.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
- Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
public static Engine.PlanResourcesInput getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Engine.PlanResourcesInput> parser()
-
getParserForType
public com.google.protobuf.Parser<Engine.PlanResourcesInput> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
public Engine.PlanResourcesInput getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-