Package biscuit.format.schema
Class Schema.RuleV2
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- biscuit.format.schema.Schema.RuleV2
-
- All Implemented Interfaces:
Schema.RuleV2OrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- Schema
public static final class Schema.RuleV2 extends com.google.protobuf.GeneratedMessageV3 implements Schema.RuleV2OrBuilder
Protobuf typebiscuit.format.schema.RuleV2- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSchema.RuleV2.BuilderProtobuf typebiscuit.format.schema.RuleV2-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intBODY_FIELD_NUMBERstatic intEXPRESSIONS_FIELD_NUMBERstatic intHEAD_FIELD_NUMBERstatic com.google.protobuf.Parser<Schema.RuleV2>PARSERDeprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Schema.PredicateV2getBody(int index)repeated .biscuit.format.schema.PredicateV2 body = 2;intgetBodyCount()repeated .biscuit.format.schema.PredicateV2 body = 2;List<Schema.PredicateV2>getBodyList()repeated .biscuit.format.schema.PredicateV2 body = 2;Schema.PredicateV2OrBuildergetBodyOrBuilder(int index)repeated .biscuit.format.schema.PredicateV2 body = 2;List<? extends Schema.PredicateV2OrBuilder>getBodyOrBuilderList()repeated .biscuit.format.schema.PredicateV2 body = 2;static Schema.RuleV2getDefaultInstance()Schema.RuleV2getDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Schema.ExpressionV2getExpressions(int index)repeated .biscuit.format.schema.ExpressionV2 expressions = 3;intgetExpressionsCount()repeated .biscuit.format.schema.ExpressionV2 expressions = 3;List<Schema.ExpressionV2>getExpressionsList()repeated .biscuit.format.schema.ExpressionV2 expressions = 3;Schema.ExpressionV2OrBuildergetExpressionsOrBuilder(int index)repeated .biscuit.format.schema.ExpressionV2 expressions = 3;List<? extends Schema.ExpressionV2OrBuilder>getExpressionsOrBuilderList()repeated .biscuit.format.schema.ExpressionV2 expressions = 3;Schema.PredicateV2getHead()required .biscuit.format.schema.PredicateV2 head = 1;Schema.PredicateV2OrBuildergetHeadOrBuilder()required .biscuit.format.schema.PredicateV2 head = 1;com.google.protobuf.Parser<Schema.RuleV2>getParserForType()intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasHead()required .biscuit.format.schema.PredicateV2 head = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Schema.RuleV2.BuildernewBuilder()static Schema.RuleV2.BuildernewBuilder(Schema.RuleV2 prototype)Schema.RuleV2.BuildernewBuilderForType()protected Schema.RuleV2.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Schema.RuleV2parseDelimitedFrom(InputStream input)static Schema.RuleV2parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Schema.RuleV2parseFrom(byte[] data)static Schema.RuleV2parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Schema.RuleV2parseFrom(com.google.protobuf.ByteString data)static Schema.RuleV2parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Schema.RuleV2parseFrom(com.google.protobuf.CodedInputStream input)static Schema.RuleV2parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Schema.RuleV2parseFrom(InputStream input)static Schema.RuleV2parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Schema.RuleV2parseFrom(ByteBuffer data)static Schema.RuleV2parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Schema.RuleV2>parser()Schema.RuleV2.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, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, 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
-
HEAD_FIELD_NUMBER
public static final int HEAD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BODY_FIELD_NUMBER
public static final int BODY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EXPRESSIONS_FIELD_NUMBER
public static final int EXPRESSIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Schema.RuleV2> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin 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
-
hasHead
public boolean hasHead()
required .biscuit.format.schema.PredicateV2 head = 1;- Specified by:
hasHeadin interfaceSchema.RuleV2OrBuilder- Returns:
- Whether the head field is set.
-
getHead
public Schema.PredicateV2 getHead()
required .biscuit.format.schema.PredicateV2 head = 1;- Specified by:
getHeadin interfaceSchema.RuleV2OrBuilder- Returns:
- The head.
-
getHeadOrBuilder
public Schema.PredicateV2OrBuilder getHeadOrBuilder()
required .biscuit.format.schema.PredicateV2 head = 1;- Specified by:
getHeadOrBuilderin interfaceSchema.RuleV2OrBuilder
-
getBodyList
public List<Schema.PredicateV2> getBodyList()
repeated .biscuit.format.schema.PredicateV2 body = 2;- Specified by:
getBodyListin interfaceSchema.RuleV2OrBuilder
-
getBodyOrBuilderList
public List<? extends Schema.PredicateV2OrBuilder> getBodyOrBuilderList()
repeated .biscuit.format.schema.PredicateV2 body = 2;- Specified by:
getBodyOrBuilderListin interfaceSchema.RuleV2OrBuilder
-
getBodyCount
public int getBodyCount()
repeated .biscuit.format.schema.PredicateV2 body = 2;- Specified by:
getBodyCountin interfaceSchema.RuleV2OrBuilder
-
getBody
public Schema.PredicateV2 getBody(int index)
repeated .biscuit.format.schema.PredicateV2 body = 2;- Specified by:
getBodyin interfaceSchema.RuleV2OrBuilder
-
getBodyOrBuilder
public Schema.PredicateV2OrBuilder getBodyOrBuilder(int index)
repeated .biscuit.format.schema.PredicateV2 body = 2;- Specified by:
getBodyOrBuilderin interfaceSchema.RuleV2OrBuilder
-
getExpressionsList
public List<Schema.ExpressionV2> getExpressionsList()
repeated .biscuit.format.schema.ExpressionV2 expressions = 3;- Specified by:
getExpressionsListin interfaceSchema.RuleV2OrBuilder
-
getExpressionsOrBuilderList
public List<? extends Schema.ExpressionV2OrBuilder> getExpressionsOrBuilderList()
repeated .biscuit.format.schema.ExpressionV2 expressions = 3;- Specified by:
getExpressionsOrBuilderListin interfaceSchema.RuleV2OrBuilder
-
getExpressionsCount
public int getExpressionsCount()
repeated .biscuit.format.schema.ExpressionV2 expressions = 3;- Specified by:
getExpressionsCountin interfaceSchema.RuleV2OrBuilder
-
getExpressions
public Schema.ExpressionV2 getExpressions(int index)
repeated .biscuit.format.schema.ExpressionV2 expressions = 3;- Specified by:
getExpressionsin interfaceSchema.RuleV2OrBuilder
-
getExpressionsOrBuilder
public Schema.ExpressionV2OrBuilder getExpressionsOrBuilder(int index)
repeated .biscuit.format.schema.ExpressionV2 expressions = 3;- Specified by:
getExpressionsOrBuilderin interfaceSchema.RuleV2OrBuilder
-
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 IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(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 Schema.RuleV2 parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Schema.RuleV2 parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Schema.RuleV2 parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Schema.RuleV2 parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Schema.RuleV2 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Schema.RuleV2 parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Schema.RuleV2 parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Schema.RuleV2 parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Schema.RuleV2 parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Schema.RuleV2 parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Schema.RuleV2 parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Schema.RuleV2 parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Schema.RuleV2.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Schema.RuleV2.Builder newBuilder()
-
newBuilder
public static Schema.RuleV2.Builder newBuilder(Schema.RuleV2 prototype)
-
toBuilder
public Schema.RuleV2.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Schema.RuleV2.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Schema.RuleV2 getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Schema.RuleV2> parser()
-
getParserForType
public com.google.protobuf.Parser<Schema.RuleV2> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Schema.RuleV2 getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-