Package biscuit.format.schema
Interface Schema.BiscuitOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Schema.Biscuit,Schema.Biscuit.Builder
- Enclosing class:
- Schema
public static interface Schema.BiscuitOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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;Schema.ProofgetProof()required .biscuit.format.schema.Proof proof = 4;Schema.ProofOrBuildergetProofOrBuilder()required .biscuit.format.schema.Proof proof = 4;intgetRootKeyId()optional uint32 rootKeyId = 1;booleanhasAuthority()required .biscuit.format.schema.SignedBlock authority = 2;booleanhasProof()required .biscuit.format.schema.Proof proof = 4;booleanhasRootKeyId()optional uint32 rootKeyId = 1;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasRootKeyId
boolean hasRootKeyId()
optional uint32 rootKeyId = 1;- Returns:
- Whether the rootKeyId field is set.
-
getRootKeyId
int getRootKeyId()
optional uint32 rootKeyId = 1;- Returns:
- The rootKeyId.
-
hasAuthority
boolean hasAuthority()
required .biscuit.format.schema.SignedBlock authority = 2;- Returns:
- Whether the authority field is set.
-
getAuthority
Schema.SignedBlock getAuthority()
required .biscuit.format.schema.SignedBlock authority = 2;- Returns:
- The authority.
-
getAuthorityOrBuilder
Schema.SignedBlockOrBuilder getAuthorityOrBuilder()
required .biscuit.format.schema.SignedBlock authority = 2;
-
getBlocksList
List<Schema.SignedBlock> getBlocksList()
repeated .biscuit.format.schema.SignedBlock blocks = 3;
-
getBlocks
Schema.SignedBlock getBlocks(int index)
repeated .biscuit.format.schema.SignedBlock blocks = 3;
-
getBlocksCount
int getBlocksCount()
repeated .biscuit.format.schema.SignedBlock blocks = 3;
-
getBlocksOrBuilderList
List<? extends Schema.SignedBlockOrBuilder> getBlocksOrBuilderList()
repeated .biscuit.format.schema.SignedBlock blocks = 3;
-
getBlocksOrBuilder
Schema.SignedBlockOrBuilder getBlocksOrBuilder(int index)
repeated .biscuit.format.schema.SignedBlock blocks = 3;
-
hasProof
boolean hasProof()
required .biscuit.format.schema.Proof proof = 4;- Returns:
- Whether the proof field is set.
-
getProof
Schema.Proof getProof()
required .biscuit.format.schema.Proof proof = 4;- Returns:
- The proof.
-
getProofOrBuilder
Schema.ProofOrBuilder getProofOrBuilder()
required .biscuit.format.schema.Proof proof = 4;
-
-