Package biscuit.format.schema
Class Schema.TermV2
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- biscuit.format.schema.Schema.TermV2
-
- All Implemented Interfaces:
Schema.TermV2OrBuilder,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.TermV2 extends com.google.protobuf.GeneratedMessageV3 implements Schema.TermV2OrBuilder
Protobuf typebiscuit.format.schema.TermV2- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSchema.TermV2.BuilderProtobuf typebiscuit.format.schema.TermV2static classSchema.TermV2.ContentCase-
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 intBOOL_FIELD_NUMBERstatic intBYTES_FIELD_NUMBERstatic intDATE_FIELD_NUMBERstatic intINTEGER_FIELD_NUMBERstatic com.google.protobuf.Parser<Schema.TermV2>PARSERDeprecated.static intSET_FIELD_NUMBERstatic intSTRING_FIELD_NUMBERstatic intVARIABLE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)booleangetBool()bool bool = 6;com.google.protobuf.ByteStringgetBytes()bytes bytes = 5;Schema.TermV2.ContentCasegetContentCase()longgetDate()uint64 date = 4;static Schema.TermV2getDefaultInstance()Schema.TermV2getDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()longgetInteger()int64 integer = 2;com.google.protobuf.Parser<Schema.TermV2>getParserForType()intgetSerializedSize()Schema.TermSetgetSet().biscuit.format.schema.TermSet set = 7;Schema.TermSetOrBuildergetSetOrBuilder().biscuit.format.schema.TermSet set = 7;longgetString()uint64 string = 3;com.google.protobuf.UnknownFieldSetgetUnknownFields()intgetVariable()uint32 variable = 1;booleanhasBool()bool bool = 6;booleanhasBytes()bytes bytes = 5;booleanhasDate()uint64 date = 4;inthashCode()booleanhasInteger()int64 integer = 2;booleanhasSet().biscuit.format.schema.TermSet set = 7;booleanhasString()uint64 string = 3;booleanhasVariable()uint32 variable = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Schema.TermV2.BuildernewBuilder()static Schema.TermV2.BuildernewBuilder(Schema.TermV2 prototype)Schema.TermV2.BuildernewBuilderForType()protected Schema.TermV2.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Schema.TermV2parseDelimitedFrom(InputStream input)static Schema.TermV2parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Schema.TermV2parseFrom(byte[] data)static Schema.TermV2parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Schema.TermV2parseFrom(com.google.protobuf.ByteString data)static Schema.TermV2parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Schema.TermV2parseFrom(com.google.protobuf.CodedInputStream input)static Schema.TermV2parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Schema.TermV2parseFrom(InputStream input)static Schema.TermV2parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Schema.TermV2parseFrom(ByteBuffer data)static Schema.TermV2parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Schema.TermV2>parser()Schema.TermV2.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
-
VARIABLE_FIELD_NUMBER
public static final int VARIABLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INTEGER_FIELD_NUMBER
public static final int INTEGER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STRING_FIELD_NUMBER
public static final int STRING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATE_FIELD_NUMBER
public static final int DATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BYTES_FIELD_NUMBER
public static final int BYTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BOOL_FIELD_NUMBER
public static final int BOOL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SET_FIELD_NUMBER
public static final int SET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Schema.TermV2> 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
-
getContentCase
public Schema.TermV2.ContentCase getContentCase()
- Specified by:
getContentCasein interfaceSchema.TermV2OrBuilder
-
hasVariable
public boolean hasVariable()
uint32 variable = 1;- Specified by:
hasVariablein interfaceSchema.TermV2OrBuilder- Returns:
- Whether the variable field is set.
-
getVariable
public int getVariable()
uint32 variable = 1;- Specified by:
getVariablein interfaceSchema.TermV2OrBuilder- Returns:
- The variable.
-
hasInteger
public boolean hasInteger()
int64 integer = 2;- Specified by:
hasIntegerin interfaceSchema.TermV2OrBuilder- Returns:
- Whether the integer field is set.
-
getInteger
public long getInteger()
int64 integer = 2;- Specified by:
getIntegerin interfaceSchema.TermV2OrBuilder- Returns:
- The integer.
-
hasString
public boolean hasString()
uint64 string = 3;- Specified by:
hasStringin interfaceSchema.TermV2OrBuilder- Returns:
- Whether the string field is set.
-
getString
public long getString()
uint64 string = 3;- Specified by:
getStringin interfaceSchema.TermV2OrBuilder- Returns:
- The string.
-
hasDate
public boolean hasDate()
uint64 date = 4;- Specified by:
hasDatein interfaceSchema.TermV2OrBuilder- Returns:
- Whether the date field is set.
-
getDate
public long getDate()
uint64 date = 4;- Specified by:
getDatein interfaceSchema.TermV2OrBuilder- Returns:
- The date.
-
hasBytes
public boolean hasBytes()
bytes bytes = 5;- Specified by:
hasBytesin interfaceSchema.TermV2OrBuilder- Returns:
- Whether the bytes field is set.
-
getBytes
public com.google.protobuf.ByteString getBytes()
bytes bytes = 5;- Specified by:
getBytesin interfaceSchema.TermV2OrBuilder- Returns:
- The bytes.
-
hasBool
public boolean hasBool()
bool bool = 6;- Specified by:
hasBoolin interfaceSchema.TermV2OrBuilder- Returns:
- Whether the bool field is set.
-
getBool
public boolean getBool()
bool bool = 6;- Specified by:
getBoolin interfaceSchema.TermV2OrBuilder- Returns:
- The bool.
-
hasSet
public boolean hasSet()
.biscuit.format.schema.TermSet set = 7;- Specified by:
hasSetin interfaceSchema.TermV2OrBuilder- Returns:
- Whether the set field is set.
-
getSet
public Schema.TermSet getSet()
.biscuit.format.schema.TermSet set = 7;- Specified by:
getSetin interfaceSchema.TermV2OrBuilder- Returns:
- The set.
-
getSetOrBuilder
public Schema.TermSetOrBuilder getSetOrBuilder()
.biscuit.format.schema.TermSet set = 7;- Specified by:
getSetOrBuilderin interfaceSchema.TermV2OrBuilder
-
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.TermV2 parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Schema.TermV2 parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Schema.TermV2 parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Schema.TermV2 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.TermV2 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Schema.TermV2 parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Schema.TermV2 parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Schema.TermV2 parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Schema.TermV2 parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Schema.TermV2 parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Schema.TermV2 parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Schema.TermV2 parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Schema.TermV2.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Schema.TermV2.Builder newBuilder()
-
newBuilder
public static Schema.TermV2.Builder newBuilder(Schema.TermV2 prototype)
-
toBuilder
public Schema.TermV2.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Schema.TermV2.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Schema.TermV2 getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Schema.TermV2> parser()
-
getParserForType
public com.google.protobuf.Parser<Schema.TermV2> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Schema.TermV2 getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-