Package biscuit.format.schema
Class Schema.Biscuit
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- biscuit.format.schema.Schema.Biscuit
-
- All Implemented Interfaces:
Schema.BiscuitOrBuilder,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.Biscuit extends com.google.protobuf.GeneratedMessageV3 implements Schema.BiscuitOrBuilder
Protobuf typebiscuit.format.schema.Biscuit- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSchema.Biscuit.BuilderProtobuf typebiscuit.format.schema.Biscuit-
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 intAUTHORITY_FIELD_NUMBERstatic intBLOCKS_FIELD_NUMBERstatic com.google.protobuf.Parser<Schema.Biscuit>PARSERDeprecated.static intPROOF_FIELD_NUMBERstatic intROOTKEYID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Schema.SignedBlockgetAuthority()required .biscuit.format.schema.SignedBlock authority = 2;Schema.SignedBlockOrBuildergetAuthorityOrBuilder()required .biscuit.format.schema.SignedBlock authority = 2;Schema.SignedBlockgetBlocks(int index)repeated .biscuit.format.schema.SignedBlock blocks = 3;intgetBlocksCount()repeated .biscuit.format.schema.SignedBlock blocks = 3;List<Schema.SignedBlock>getBlocksList()repeated .biscuit.format.schema.SignedBlock blocks = 3;Schema.SignedBlockOrBuildergetBlocksOrBuilder(int index)repeated .biscuit.format.schema.SignedBlock blocks = 3;List<? extends Schema.SignedBlockOrBuilder>getBlocksOrBuilderList()repeated .biscuit.format.schema.SignedBlock blocks = 3;static Schema.BiscuitgetDefaultInstance()Schema.BiscuitgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<Schema.Biscuit>getParserForType()Schema.ProofgetProof()required .biscuit.format.schema.Proof proof = 4;Schema.ProofOrBuildergetProofOrBuilder()required .biscuit.format.schema.Proof proof = 4;intgetRootKeyId()optional uint32 rootKeyId = 1;intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasAuthority()required .biscuit.format.schema.SignedBlock authority = 2;inthashCode()booleanhasProof()required .biscuit.format.schema.Proof proof = 4;booleanhasRootKeyId()optional uint32 rootKeyId = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Schema.Biscuit.BuildernewBuilder()static Schema.Biscuit.BuildernewBuilder(Schema.Biscuit prototype)Schema.Biscuit.BuildernewBuilderForType()protected Schema.Biscuit.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Schema.BiscuitparseDelimitedFrom(InputStream input)static Schema.BiscuitparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Schema.BiscuitparseFrom(byte[] data)static Schema.BiscuitparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Schema.BiscuitparseFrom(com.google.protobuf.ByteString data)static Schema.BiscuitparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Schema.BiscuitparseFrom(com.google.protobuf.CodedInputStream input)static Schema.BiscuitparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Schema.BiscuitparseFrom(InputStream input)static Schema.BiscuitparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Schema.BiscuitparseFrom(ByteBuffer data)static Schema.BiscuitparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Schema.Biscuit>parser()Schema.Biscuit.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
-
ROOTKEYID_FIELD_NUMBER
public static final int ROOTKEYID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AUTHORITY_FIELD_NUMBER
public static final int AUTHORITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BLOCKS_FIELD_NUMBER
public static final int BLOCKS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROOF_FIELD_NUMBER
public static final int PROOF_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Schema.Biscuit> 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
-
hasRootKeyId
public boolean hasRootKeyId()
optional uint32 rootKeyId = 1;- Specified by:
hasRootKeyIdin interfaceSchema.BiscuitOrBuilder- Returns:
- Whether the rootKeyId field is set.
-
getRootKeyId
public int getRootKeyId()
optional uint32 rootKeyId = 1;- Specified by:
getRootKeyIdin interfaceSchema.BiscuitOrBuilder- Returns:
- The rootKeyId.
-
hasAuthority
public boolean hasAuthority()
required .biscuit.format.schema.SignedBlock authority = 2;- Specified by:
hasAuthorityin interfaceSchema.BiscuitOrBuilder- Returns:
- Whether the authority field is set.
-
getAuthority
public Schema.SignedBlock getAuthority()
required .biscuit.format.schema.SignedBlock authority = 2;- Specified by:
getAuthorityin interfaceSchema.BiscuitOrBuilder- Returns:
- The authority.
-
getAuthorityOrBuilder
public Schema.SignedBlockOrBuilder getAuthorityOrBuilder()
required .biscuit.format.schema.SignedBlock authority = 2;- Specified by:
getAuthorityOrBuilderin interfaceSchema.BiscuitOrBuilder
-
getBlocksList
public List<Schema.SignedBlock> getBlocksList()
repeated .biscuit.format.schema.SignedBlock blocks = 3;- Specified by:
getBlocksListin interfaceSchema.BiscuitOrBuilder
-
getBlocksOrBuilderList
public List<? extends Schema.SignedBlockOrBuilder> getBlocksOrBuilderList()
repeated .biscuit.format.schema.SignedBlock blocks = 3;- Specified by:
getBlocksOrBuilderListin interfaceSchema.BiscuitOrBuilder
-
getBlocksCount
public int getBlocksCount()
repeated .biscuit.format.schema.SignedBlock blocks = 3;- Specified by:
getBlocksCountin interfaceSchema.BiscuitOrBuilder
-
getBlocks
public Schema.SignedBlock getBlocks(int index)
repeated .biscuit.format.schema.SignedBlock blocks = 3;- Specified by:
getBlocksin interfaceSchema.BiscuitOrBuilder
-
getBlocksOrBuilder
public Schema.SignedBlockOrBuilder getBlocksOrBuilder(int index)
repeated .biscuit.format.schema.SignedBlock blocks = 3;- Specified by:
getBlocksOrBuilderin interfaceSchema.BiscuitOrBuilder
-
hasProof
public boolean hasProof()
required .biscuit.format.schema.Proof proof = 4;- Specified by:
hasProofin interfaceSchema.BiscuitOrBuilder- Returns:
- Whether the proof field is set.
-
getProof
public Schema.Proof getProof()
required .biscuit.format.schema.Proof proof = 4;- Specified by:
getProofin interfaceSchema.BiscuitOrBuilder- Returns:
- The proof.
-
getProofOrBuilder
public Schema.ProofOrBuilder getProofOrBuilder()
required .biscuit.format.schema.Proof proof = 4;- Specified by:
getProofOrBuilderin interfaceSchema.BiscuitOrBuilder
-
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.Biscuit parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Schema.Biscuit parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Schema.Biscuit parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Schema.Biscuit 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.Biscuit parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Schema.Biscuit parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Schema.Biscuit parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Schema.Biscuit parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Schema.Biscuit parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Schema.Biscuit parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Schema.Biscuit parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Schema.Biscuit parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Schema.Biscuit.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Schema.Biscuit.Builder newBuilder()
-
newBuilder
public static Schema.Biscuit.Builder newBuilder(Schema.Biscuit prototype)
-
toBuilder
public Schema.Biscuit.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Schema.Biscuit.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Schema.Biscuit getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Schema.Biscuit> parser()
-
getParserForType
public com.google.protobuf.Parser<Schema.Biscuit> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Schema.Biscuit getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-