Package biscuit.format.schema
Interface Schema.PublicKeyOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Schema.PublicKey,Schema.PublicKey.Builder
- Enclosing class:
- Schema
public static interface Schema.PublicKeyOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Schema.PublicKey.AlgorithmgetAlgorithm()required .biscuit.format.schema.PublicKey.Algorithm algorithm = 1;com.google.protobuf.ByteStringgetKey()required bytes key = 2;booleanhasAlgorithm()required .biscuit.format.schema.PublicKey.Algorithm algorithm = 1;booleanhasKey()required bytes key = 2;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasAlgorithm
boolean hasAlgorithm()
required .biscuit.format.schema.PublicKey.Algorithm algorithm = 1;- Returns:
- Whether the algorithm field is set.
-
getAlgorithm
Schema.PublicKey.Algorithm getAlgorithm()
required .biscuit.format.schema.PublicKey.Algorithm algorithm = 1;- Returns:
- The algorithm.
-
hasKey
boolean hasKey()
required bytes key = 2;- Returns:
- Whether the key field is set.
-
getKey
com.google.protobuf.ByteString getKey()
required bytes key = 2;- Returns:
- The key.
-
-