Package relationalai.protocol
Class Schema.RelType.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Schema.RelType.Builder>
-
- relationalai.protocol.Schema.RelType.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Schema.RelTypeOrBuilder
- Enclosing class:
- Schema.RelType
public static final class Schema.RelType.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Schema.RelType.Builder> implements Schema.RelTypeOrBuilder
Union
Protobuf typerelationalai.protocol.RelType
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Schema.RelType.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Schema.RelType
build()
Schema.RelType
buildPartial()
Schema.RelType.Builder
clear()
Schema.RelType.Builder
clearConstantType()
.relationalai.protocol.ConstantType constant_type = 4;
Schema.RelType.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Schema.RelType.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Schema.RelType.Builder
clearPrimitiveType()
Only one of the following is allowed.Schema.RelType.Builder
clearTag()
.relationalai.protocol.Kind tag = 1;
Schema.RelType.Builder
clearValueType()
.relationalai.protocol.ValueType value_type = 3;
Schema.RelType.Builder
clone()
Schema.ConstantType
getConstantType()
.relationalai.protocol.ConstantType constant_type = 4;
Schema.ConstantType.Builder
getConstantTypeBuilder()
.relationalai.protocol.ConstantType constant_type = 4;
Schema.ConstantTypeOrBuilder
getConstantTypeOrBuilder()
.relationalai.protocol.ConstantType constant_type = 4;
Schema.RelType
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Schema.PrimitiveType
getPrimitiveType()
Only one of the following is allowed.int
getPrimitiveTypeValue()
Only one of the following is allowed.Schema.Kind
getTag()
.relationalai.protocol.Kind tag = 1;
int
getTagValue()
.relationalai.protocol.Kind tag = 1;
Schema.ValueType
getValueType()
.relationalai.protocol.ValueType value_type = 3;
Schema.ValueType.Builder
getValueTypeBuilder()
.relationalai.protocol.ValueType value_type = 3;
Schema.ValueTypeOrBuilder
getValueTypeOrBuilder()
.relationalai.protocol.ValueType value_type = 3;
boolean
hasConstantType()
.relationalai.protocol.ConstantType constant_type = 4;
boolean
hasValueType()
.relationalai.protocol.ValueType value_type = 3;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Schema.RelType.Builder
mergeConstantType(Schema.ConstantType value)
.relationalai.protocol.ConstantType constant_type = 4;
Schema.RelType.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Schema.RelType.Builder
mergeFrom(com.google.protobuf.Message other)
Schema.RelType.Builder
mergeFrom(Schema.RelType other)
Schema.RelType.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Schema.RelType.Builder
mergeValueType(Schema.ValueType value)
.relationalai.protocol.ValueType value_type = 3;
Schema.RelType.Builder
setConstantType(Schema.ConstantType value)
.relationalai.protocol.ConstantType constant_type = 4;
Schema.RelType.Builder
setConstantType(Schema.ConstantType.Builder builderForValue)
.relationalai.protocol.ConstantType constant_type = 4;
Schema.RelType.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Schema.RelType.Builder
setPrimitiveType(Schema.PrimitiveType value)
Only one of the following is allowed.Schema.RelType.Builder
setPrimitiveTypeValue(int value)
Only one of the following is allowed.Schema.RelType.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Schema.RelType.Builder
setTag(Schema.Kind value)
.relationalai.protocol.Kind tag = 1;
Schema.RelType.Builder
setTagValue(int value)
.relationalai.protocol.Kind tag = 1;
Schema.RelType.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Schema.RelType.Builder
setValueType(Schema.ValueType value)
.relationalai.protocol.ValueType value_type = 3;
Schema.RelType.Builder
setValueType(Schema.ValueType.Builder builderForValue)
.relationalai.protocol.ValueType value_type = 3;
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Schema.RelType.Builder>
-
clear
public Schema.RelType.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Schema.RelType.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Schema.RelType.Builder>
-
getDefaultInstanceForType
public Schema.RelType getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Schema.RelType build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Schema.RelType buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Schema.RelType.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Schema.RelType.Builder>
-
setField
public Schema.RelType.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Schema.RelType.Builder>
-
clearField
public Schema.RelType.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Schema.RelType.Builder>
-
clearOneof
public Schema.RelType.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Schema.RelType.Builder>
-
setRepeatedField
public Schema.RelType.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Schema.RelType.Builder>
-
addRepeatedField
public Schema.RelType.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Schema.RelType.Builder>
-
mergeFrom
public Schema.RelType.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Schema.RelType.Builder>
-
mergeFrom
public Schema.RelType.Builder mergeFrom(Schema.RelType other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Schema.RelType.Builder>
-
mergeFrom
public Schema.RelType.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Schema.RelType.Builder>
- Throws:
IOException
-
getTagValue
public int getTagValue()
.relationalai.protocol.Kind tag = 1;
- Specified by:
getTagValue
in interfaceSchema.RelTypeOrBuilder
- Returns:
- The enum numeric value on the wire for tag.
-
setTagValue
public Schema.RelType.Builder setTagValue(int value)
.relationalai.protocol.Kind tag = 1;
- Parameters:
value
- The enum numeric value on the wire for tag to set.- Returns:
- This builder for chaining.
-
getTag
public Schema.Kind getTag()
.relationalai.protocol.Kind tag = 1;
- Specified by:
getTag
in interfaceSchema.RelTypeOrBuilder
- Returns:
- The tag.
-
setTag
public Schema.RelType.Builder setTag(Schema.Kind value)
.relationalai.protocol.Kind tag = 1;
- Parameters:
value
- The tag to set.- Returns:
- This builder for chaining.
-
clearTag
public Schema.RelType.Builder clearTag()
.relationalai.protocol.Kind tag = 1;
- Returns:
- This builder for chaining.
-
getPrimitiveTypeValue
public int getPrimitiveTypeValue()
Only one of the following is allowed.
.relationalai.protocol.PrimitiveType primitive_type = 2;
- Specified by:
getPrimitiveTypeValue
in interfaceSchema.RelTypeOrBuilder
- Returns:
- The enum numeric value on the wire for primitiveType.
-
setPrimitiveTypeValue
public Schema.RelType.Builder setPrimitiveTypeValue(int value)
Only one of the following is allowed.
.relationalai.protocol.PrimitiveType primitive_type = 2;
- Parameters:
value
- The enum numeric value on the wire for primitiveType to set.- Returns:
- This builder for chaining.
-
getPrimitiveType
public Schema.PrimitiveType getPrimitiveType()
Only one of the following is allowed.
.relationalai.protocol.PrimitiveType primitive_type = 2;
- Specified by:
getPrimitiveType
in interfaceSchema.RelTypeOrBuilder
- Returns:
- The primitiveType.
-
setPrimitiveType
public Schema.RelType.Builder setPrimitiveType(Schema.PrimitiveType value)
Only one of the following is allowed.
.relationalai.protocol.PrimitiveType primitive_type = 2;
- Parameters:
value
- The primitiveType to set.- Returns:
- This builder for chaining.
-
clearPrimitiveType
public Schema.RelType.Builder clearPrimitiveType()
Only one of the following is allowed.
.relationalai.protocol.PrimitiveType primitive_type = 2;
- Returns:
- This builder for chaining.
-
hasValueType
public boolean hasValueType()
.relationalai.protocol.ValueType value_type = 3;
- Specified by:
hasValueType
in interfaceSchema.RelTypeOrBuilder
- Returns:
- Whether the valueType field is set.
-
getValueType
public Schema.ValueType getValueType()
.relationalai.protocol.ValueType value_type = 3;
- Specified by:
getValueType
in interfaceSchema.RelTypeOrBuilder
- Returns:
- The valueType.
-
setValueType
public Schema.RelType.Builder setValueType(Schema.ValueType value)
.relationalai.protocol.ValueType value_type = 3;
-
setValueType
public Schema.RelType.Builder setValueType(Schema.ValueType.Builder builderForValue)
.relationalai.protocol.ValueType value_type = 3;
-
mergeValueType
public Schema.RelType.Builder mergeValueType(Schema.ValueType value)
.relationalai.protocol.ValueType value_type = 3;
-
clearValueType
public Schema.RelType.Builder clearValueType()
.relationalai.protocol.ValueType value_type = 3;
-
getValueTypeBuilder
public Schema.ValueType.Builder getValueTypeBuilder()
.relationalai.protocol.ValueType value_type = 3;
-
getValueTypeOrBuilder
public Schema.ValueTypeOrBuilder getValueTypeOrBuilder()
.relationalai.protocol.ValueType value_type = 3;
- Specified by:
getValueTypeOrBuilder
in interfaceSchema.RelTypeOrBuilder
-
hasConstantType
public boolean hasConstantType()
.relationalai.protocol.ConstantType constant_type = 4;
- Specified by:
hasConstantType
in interfaceSchema.RelTypeOrBuilder
- Returns:
- Whether the constantType field is set.
-
getConstantType
public Schema.ConstantType getConstantType()
.relationalai.protocol.ConstantType constant_type = 4;
- Specified by:
getConstantType
in interfaceSchema.RelTypeOrBuilder
- Returns:
- The constantType.
-
setConstantType
public Schema.RelType.Builder setConstantType(Schema.ConstantType value)
.relationalai.protocol.ConstantType constant_type = 4;
-
setConstantType
public Schema.RelType.Builder setConstantType(Schema.ConstantType.Builder builderForValue)
.relationalai.protocol.ConstantType constant_type = 4;
-
mergeConstantType
public Schema.RelType.Builder mergeConstantType(Schema.ConstantType value)
.relationalai.protocol.ConstantType constant_type = 4;
-
clearConstantType
public Schema.RelType.Builder clearConstantType()
.relationalai.protocol.ConstantType constant_type = 4;
-
getConstantTypeBuilder
public Schema.ConstantType.Builder getConstantTypeBuilder()
.relationalai.protocol.ConstantType constant_type = 4;
-
getConstantTypeOrBuilder
public Schema.ConstantTypeOrBuilder getConstantTypeOrBuilder()
.relationalai.protocol.ConstantType constant_type = 4;
- Specified by:
getConstantTypeOrBuilder
in interfaceSchema.RelTypeOrBuilder
-
setUnknownFields
public final Schema.RelType.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Schema.RelType.Builder>
-
mergeUnknownFields
public final Schema.RelType.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Schema.RelType.Builder>
-
-