Package biscuit.format.schema
Class Schema.Block
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- biscuit.format.schema.Schema.Block
-
- All Implemented Interfaces:
Schema.BlockOrBuilder,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.Block extends com.google.protobuf.GeneratedMessageV3 implements Schema.BlockOrBuilder
Protobuf typebiscuit.format.schema.Block- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSchema.Block.BuilderProtobuf typebiscuit.format.schema.Block-
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 intCHECKS_V2_FIELD_NUMBERstatic intCONTEXT_FIELD_NUMBERstatic intFACTS_V2_FIELD_NUMBERstatic com.google.protobuf.Parser<Schema.Block>PARSERDeprecated.static intRULES_V2_FIELD_NUMBERstatic intSYMBOLS_FIELD_NUMBERstatic intVERSION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Schema.CheckV2getChecksV2(int index)repeated .biscuit.format.schema.CheckV2 checks_v2 = 6;intgetChecksV2Count()repeated .biscuit.format.schema.CheckV2 checks_v2 = 6;List<Schema.CheckV2>getChecksV2List()repeated .biscuit.format.schema.CheckV2 checks_v2 = 6;Schema.CheckV2OrBuildergetChecksV2OrBuilder(int index)repeated .biscuit.format.schema.CheckV2 checks_v2 = 6;List<? extends Schema.CheckV2OrBuilder>getChecksV2OrBuilderList()repeated .biscuit.format.schema.CheckV2 checks_v2 = 6;StringgetContext()optional string context = 2;com.google.protobuf.ByteStringgetContextBytes()optional string context = 2;static Schema.BlockgetDefaultInstance()Schema.BlockgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Schema.FactV2getFactsV2(int index)repeated .biscuit.format.schema.FactV2 facts_v2 = 4;intgetFactsV2Count()repeated .biscuit.format.schema.FactV2 facts_v2 = 4;List<Schema.FactV2>getFactsV2List()repeated .biscuit.format.schema.FactV2 facts_v2 = 4;Schema.FactV2OrBuildergetFactsV2OrBuilder(int index)repeated .biscuit.format.schema.FactV2 facts_v2 = 4;List<? extends Schema.FactV2OrBuilder>getFactsV2OrBuilderList()repeated .biscuit.format.schema.FactV2 facts_v2 = 4;com.google.protobuf.Parser<Schema.Block>getParserForType()Schema.RuleV2getRulesV2(int index)repeated .biscuit.format.schema.RuleV2 rules_v2 = 5;intgetRulesV2Count()repeated .biscuit.format.schema.RuleV2 rules_v2 = 5;List<Schema.RuleV2>getRulesV2List()repeated .biscuit.format.schema.RuleV2 rules_v2 = 5;Schema.RuleV2OrBuildergetRulesV2OrBuilder(int index)repeated .biscuit.format.schema.RuleV2 rules_v2 = 5;List<? extends Schema.RuleV2OrBuilder>getRulesV2OrBuilderList()repeated .biscuit.format.schema.RuleV2 rules_v2 = 5;intgetSerializedSize()StringgetSymbols(int index)repeated string symbols = 1;com.google.protobuf.ByteStringgetSymbolsBytes(int index)repeated string symbols = 1;intgetSymbolsCount()repeated string symbols = 1;com.google.protobuf.ProtocolStringListgetSymbolsList()repeated string symbols = 1;com.google.protobuf.UnknownFieldSetgetUnknownFields()intgetVersion()optional uint32 version = 3;booleanhasContext()optional string context = 2;inthashCode()booleanhasVersion()optional uint32 version = 3;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Schema.Block.BuildernewBuilder()static Schema.Block.BuildernewBuilder(Schema.Block prototype)Schema.Block.BuildernewBuilderForType()protected Schema.Block.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Schema.BlockparseDelimitedFrom(InputStream input)static Schema.BlockparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Schema.BlockparseFrom(byte[] data)static Schema.BlockparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Schema.BlockparseFrom(com.google.protobuf.ByteString data)static Schema.BlockparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Schema.BlockparseFrom(com.google.protobuf.CodedInputStream input)static Schema.BlockparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Schema.BlockparseFrom(InputStream input)static Schema.BlockparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Schema.BlockparseFrom(ByteBuffer data)static Schema.BlockparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Schema.Block>parser()Schema.Block.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
-
SYMBOLS_FIELD_NUMBER
public static final int SYMBOLS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONTEXT_FIELD_NUMBER
public static final int CONTEXT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FACTS_V2_FIELD_NUMBER
public static final int FACTS_V2_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RULES_V2_FIELD_NUMBER
public static final int RULES_V2_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CHECKS_V2_FIELD_NUMBER
public static final int CHECKS_V2_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Schema.Block> 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
-
getSymbolsList
public com.google.protobuf.ProtocolStringList getSymbolsList()
repeated string symbols = 1;- Specified by:
getSymbolsListin interfaceSchema.BlockOrBuilder- Returns:
- A list containing the symbols.
-
getSymbolsCount
public int getSymbolsCount()
repeated string symbols = 1;- Specified by:
getSymbolsCountin interfaceSchema.BlockOrBuilder- Returns:
- The count of symbols.
-
getSymbols
public String getSymbols(int index)
repeated string symbols = 1;- Specified by:
getSymbolsin interfaceSchema.BlockOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The symbols at the given index.
-
getSymbolsBytes
public com.google.protobuf.ByteString getSymbolsBytes(int index)
repeated string symbols = 1;- Specified by:
getSymbolsBytesin interfaceSchema.BlockOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the symbols at the given index.
-
hasContext
public boolean hasContext()
optional string context = 2;- Specified by:
hasContextin interfaceSchema.BlockOrBuilder- Returns:
- Whether the context field is set.
-
getContext
public String getContext()
optional string context = 2;- Specified by:
getContextin interfaceSchema.BlockOrBuilder- Returns:
- The context.
-
getContextBytes
public com.google.protobuf.ByteString getContextBytes()
optional string context = 2;- Specified by:
getContextBytesin interfaceSchema.BlockOrBuilder- Returns:
- The bytes for context.
-
hasVersion
public boolean hasVersion()
optional uint32 version = 3;- Specified by:
hasVersionin interfaceSchema.BlockOrBuilder- Returns:
- Whether the version field is set.
-
getVersion
public int getVersion()
optional uint32 version = 3;- Specified by:
getVersionin interfaceSchema.BlockOrBuilder- Returns:
- The version.
-
getFactsV2List
public List<Schema.FactV2> getFactsV2List()
repeated .biscuit.format.schema.FactV2 facts_v2 = 4;- Specified by:
getFactsV2Listin interfaceSchema.BlockOrBuilder
-
getFactsV2OrBuilderList
public List<? extends Schema.FactV2OrBuilder> getFactsV2OrBuilderList()
repeated .biscuit.format.schema.FactV2 facts_v2 = 4;- Specified by:
getFactsV2OrBuilderListin interfaceSchema.BlockOrBuilder
-
getFactsV2Count
public int getFactsV2Count()
repeated .biscuit.format.schema.FactV2 facts_v2 = 4;- Specified by:
getFactsV2Countin interfaceSchema.BlockOrBuilder
-
getFactsV2
public Schema.FactV2 getFactsV2(int index)
repeated .biscuit.format.schema.FactV2 facts_v2 = 4;- Specified by:
getFactsV2in interfaceSchema.BlockOrBuilder
-
getFactsV2OrBuilder
public Schema.FactV2OrBuilder getFactsV2OrBuilder(int index)
repeated .biscuit.format.schema.FactV2 facts_v2 = 4;- Specified by:
getFactsV2OrBuilderin interfaceSchema.BlockOrBuilder
-
getRulesV2List
public List<Schema.RuleV2> getRulesV2List()
repeated .biscuit.format.schema.RuleV2 rules_v2 = 5;- Specified by:
getRulesV2Listin interfaceSchema.BlockOrBuilder
-
getRulesV2OrBuilderList
public List<? extends Schema.RuleV2OrBuilder> getRulesV2OrBuilderList()
repeated .biscuit.format.schema.RuleV2 rules_v2 = 5;- Specified by:
getRulesV2OrBuilderListin interfaceSchema.BlockOrBuilder
-
getRulesV2Count
public int getRulesV2Count()
repeated .biscuit.format.schema.RuleV2 rules_v2 = 5;- Specified by:
getRulesV2Countin interfaceSchema.BlockOrBuilder
-
getRulesV2
public Schema.RuleV2 getRulesV2(int index)
repeated .biscuit.format.schema.RuleV2 rules_v2 = 5;- Specified by:
getRulesV2in interfaceSchema.BlockOrBuilder
-
getRulesV2OrBuilder
public Schema.RuleV2OrBuilder getRulesV2OrBuilder(int index)
repeated .biscuit.format.schema.RuleV2 rules_v2 = 5;- Specified by:
getRulesV2OrBuilderin interfaceSchema.BlockOrBuilder
-
getChecksV2List
public List<Schema.CheckV2> getChecksV2List()
repeated .biscuit.format.schema.CheckV2 checks_v2 = 6;- Specified by:
getChecksV2Listin interfaceSchema.BlockOrBuilder
-
getChecksV2OrBuilderList
public List<? extends Schema.CheckV2OrBuilder> getChecksV2OrBuilderList()
repeated .biscuit.format.schema.CheckV2 checks_v2 = 6;- Specified by:
getChecksV2OrBuilderListin interfaceSchema.BlockOrBuilder
-
getChecksV2Count
public int getChecksV2Count()
repeated .biscuit.format.schema.CheckV2 checks_v2 = 6;- Specified by:
getChecksV2Countin interfaceSchema.BlockOrBuilder
-
getChecksV2
public Schema.CheckV2 getChecksV2(int index)
repeated .biscuit.format.schema.CheckV2 checks_v2 = 6;- Specified by:
getChecksV2in interfaceSchema.BlockOrBuilder
-
getChecksV2OrBuilder
public Schema.CheckV2OrBuilder getChecksV2OrBuilder(int index)
repeated .biscuit.format.schema.CheckV2 checks_v2 = 6;- Specified by:
getChecksV2OrBuilderin interfaceSchema.BlockOrBuilder
-
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.Block parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Schema.Block parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Schema.Block parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Schema.Block 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.Block parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Schema.Block parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Schema.Block parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Schema.Block parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Schema.Block parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Schema.Block parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Schema.Block parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Schema.Block parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Schema.Block.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Schema.Block.Builder newBuilder()
-
newBuilder
public static Schema.Block.Builder newBuilder(Schema.Block prototype)
-
toBuilder
public Schema.Block.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Schema.Block.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Schema.Block getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Schema.Block> parser()
-
getParserForType
public com.google.protobuf.Parser<Schema.Block> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Schema.Block getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-