Package biscuit.format.schema
Interface Schema.BlockOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Schema.Block,Schema.Block.Builder
- Enclosing class:
- Schema
public static interface Schema.BlockOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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;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;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;StringgetSymbols(int index)repeated string symbols = 1;com.google.protobuf.ByteStringgetSymbolsBytes(int index)repeated string symbols = 1;intgetSymbolsCount()repeated string symbols = 1;List<String>getSymbolsList()repeated string symbols = 1;intgetVersion()optional uint32 version = 3;booleanhasContext()optional string context = 2;booleanhasVersion()optional uint32 version = 3;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSymbolsList
List<String> getSymbolsList()
repeated string symbols = 1;- Returns:
- A list containing the symbols.
-
getSymbolsCount
int getSymbolsCount()
repeated string symbols = 1;- Returns:
- The count of symbols.
-
getSymbols
String getSymbols(int index)
repeated string symbols = 1;- Parameters:
index- The index of the element to return.- Returns:
- The symbols at the given index.
-
getSymbolsBytes
com.google.protobuf.ByteString getSymbolsBytes(int index)
repeated string symbols = 1;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the symbols at the given index.
-
hasContext
boolean hasContext()
optional string context = 2;- Returns:
- Whether the context field is set.
-
getContext
String getContext()
optional string context = 2;- Returns:
- The context.
-
getContextBytes
com.google.protobuf.ByteString getContextBytes()
optional string context = 2;- Returns:
- The bytes for context.
-
hasVersion
boolean hasVersion()
optional uint32 version = 3;- Returns:
- Whether the version field is set.
-
getVersion
int getVersion()
optional uint32 version = 3;- Returns:
- The version.
-
getFactsV2List
List<Schema.FactV2> getFactsV2List()
repeated .biscuit.format.schema.FactV2 facts_v2 = 4;
-
getFactsV2
Schema.FactV2 getFactsV2(int index)
repeated .biscuit.format.schema.FactV2 facts_v2 = 4;
-
getFactsV2Count
int getFactsV2Count()
repeated .biscuit.format.schema.FactV2 facts_v2 = 4;
-
getFactsV2OrBuilderList
List<? extends Schema.FactV2OrBuilder> getFactsV2OrBuilderList()
repeated .biscuit.format.schema.FactV2 facts_v2 = 4;
-
getFactsV2OrBuilder
Schema.FactV2OrBuilder getFactsV2OrBuilder(int index)
repeated .biscuit.format.schema.FactV2 facts_v2 = 4;
-
getRulesV2List
List<Schema.RuleV2> getRulesV2List()
repeated .biscuit.format.schema.RuleV2 rules_v2 = 5;
-
getRulesV2
Schema.RuleV2 getRulesV2(int index)
repeated .biscuit.format.schema.RuleV2 rules_v2 = 5;
-
getRulesV2Count
int getRulesV2Count()
repeated .biscuit.format.schema.RuleV2 rules_v2 = 5;
-
getRulesV2OrBuilderList
List<? extends Schema.RuleV2OrBuilder> getRulesV2OrBuilderList()
repeated .biscuit.format.schema.RuleV2 rules_v2 = 5;
-
getRulesV2OrBuilder
Schema.RuleV2OrBuilder getRulesV2OrBuilder(int index)
repeated .biscuit.format.schema.RuleV2 rules_v2 = 5;
-
getChecksV2List
List<Schema.CheckV2> getChecksV2List()
repeated .biscuit.format.schema.CheckV2 checks_v2 = 6;
-
getChecksV2
Schema.CheckV2 getChecksV2(int index)
repeated .biscuit.format.schema.CheckV2 checks_v2 = 6;
-
getChecksV2Count
int getChecksV2Count()
repeated .biscuit.format.schema.CheckV2 checks_v2 = 6;
-
getChecksV2OrBuilderList
List<? extends Schema.CheckV2OrBuilder> getChecksV2OrBuilderList()
repeated .biscuit.format.schema.CheckV2 checks_v2 = 6;
-
getChecksV2OrBuilder
Schema.CheckV2OrBuilder getChecksV2OrBuilder(int index)
repeated .biscuit.format.schema.CheckV2 checks_v2 = 6;
-
-