Package relationalai.protocol
Class Schema.ConstantType.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Schema.ConstantType.Builder>
-
- relationalai.protocol.Schema.ConstantType.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Schema.ConstantTypeOrBuilder
- Enclosing class:
- Schema.ConstantType
public static final class Schema.ConstantType.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Schema.ConstantType.Builder> implements Schema.ConstantTypeOrBuilder
Every value can be used as a type.
Protobuf typerelationalai.protocol.ConstantType
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Schema.ConstantType.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Schema.ConstantType
build()
Schema.ConstantType
buildPartial()
Schema.ConstantType.Builder
clear()
Schema.ConstantType.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Schema.ConstantType.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Schema.ConstantType.Builder
clearRelType()
Required This is the type of the constant and describes whatever is in the RelTuple valueSchema.ConstantType.Builder
clearValue()
The tuple contains only the values that are not constant.Schema.ConstantType.Builder
clone()
Schema.ConstantType
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Schema.RelType
getRelType()
Required This is the type of the constant and describes whatever is in the RelTuple valueSchema.RelType.Builder
getRelTypeBuilder()
Required This is the type of the constant and describes whatever is in the RelTuple valueSchema.RelTypeOrBuilder
getRelTypeOrBuilder()
Required This is the type of the constant and describes whatever is in the RelTuple valueSchema.RelTuple
getValue()
The tuple contains only the values that are not constant.Schema.RelTuple.Builder
getValueBuilder()
The tuple contains only the values that are not constant.Schema.RelTupleOrBuilder
getValueOrBuilder()
The tuple contains only the values that are not constant.boolean
hasRelType()
Required This is the type of the constant and describes whatever is in the RelTuple valueboolean
hasValue()
The tuple contains only the values that are not constant.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Schema.ConstantType.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Schema.ConstantType.Builder
mergeFrom(com.google.protobuf.Message other)
Schema.ConstantType.Builder
mergeFrom(Schema.ConstantType other)
Schema.ConstantType.Builder
mergeRelType(Schema.RelType value)
Required This is the type of the constant and describes whatever is in the RelTuple valueSchema.ConstantType.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Schema.ConstantType.Builder
mergeValue(Schema.RelTuple value)
The tuple contains only the values that are not constant.Schema.ConstantType.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Schema.ConstantType.Builder
setRelType(Schema.RelType value)
Required This is the type of the constant and describes whatever is in the RelTuple valueSchema.ConstantType.Builder
setRelType(Schema.RelType.Builder builderForValue)
Required This is the type of the constant and describes whatever is in the RelTuple valueSchema.ConstantType.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Schema.ConstantType.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Schema.ConstantType.Builder
setValue(Schema.RelTuple value)
The tuple contains only the values that are not constant.Schema.ConstantType.Builder
setValue(Schema.RelTuple.Builder builderForValue)
The tuple contains only the values that are not constant.-
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.ConstantType.Builder>
-
clear
public Schema.ConstantType.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.ConstantType.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.ConstantType.Builder>
-
getDefaultInstanceForType
public Schema.ConstantType getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Schema.ConstantType build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Schema.ConstantType buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Schema.ConstantType.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.ConstantType.Builder>
-
setField
public Schema.ConstantType.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.ConstantType.Builder>
-
clearField
public Schema.ConstantType.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.ConstantType.Builder>
-
clearOneof
public Schema.ConstantType.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.ConstantType.Builder>
-
setRepeatedField
public Schema.ConstantType.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.ConstantType.Builder>
-
addRepeatedField
public Schema.ConstantType.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.ConstantType.Builder>
-
mergeFrom
public Schema.ConstantType.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.ConstantType.Builder>
-
mergeFrom
public Schema.ConstantType.Builder mergeFrom(Schema.ConstantType other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Schema.ConstantType.Builder>
-
mergeFrom
public Schema.ConstantType.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.ConstantType.Builder>
- Throws:
IOException
-
hasRelType
public boolean hasRelType()
Required This is the type of the constant and describes whatever is in the RelTuple value
.relationalai.protocol.RelType rel_type = 1;
- Specified by:
hasRelType
in interfaceSchema.ConstantTypeOrBuilder
- Returns:
- Whether the relType field is set.
-
getRelType
public Schema.RelType getRelType()
Required This is the type of the constant and describes whatever is in the RelTuple value
.relationalai.protocol.RelType rel_type = 1;
- Specified by:
getRelType
in interfaceSchema.ConstantTypeOrBuilder
- Returns:
- The relType.
-
setRelType
public Schema.ConstantType.Builder setRelType(Schema.RelType value)
Required This is the type of the constant and describes whatever is in the RelTuple value
.relationalai.protocol.RelType rel_type = 1;
-
setRelType
public Schema.ConstantType.Builder setRelType(Schema.RelType.Builder builderForValue)
Required This is the type of the constant and describes whatever is in the RelTuple value
.relationalai.protocol.RelType rel_type = 1;
-
mergeRelType
public Schema.ConstantType.Builder mergeRelType(Schema.RelType value)
Required This is the type of the constant and describes whatever is in the RelTuple value
.relationalai.protocol.RelType rel_type = 1;
-
clearRelType
public Schema.ConstantType.Builder clearRelType()
Required This is the type of the constant and describes whatever is in the RelTuple value
.relationalai.protocol.RelType rel_type = 1;
-
getRelTypeBuilder
public Schema.RelType.Builder getRelTypeBuilder()
Required This is the type of the constant and describes whatever is in the RelTuple value
.relationalai.protocol.RelType rel_type = 1;
-
getRelTypeOrBuilder
public Schema.RelTypeOrBuilder getRelTypeOrBuilder()
Required This is the type of the constant and describes whatever is in the RelTuple value
.relationalai.protocol.RelType rel_type = 1;
- Specified by:
getRelTypeOrBuilder
in interfaceSchema.ConstantTypeOrBuilder
-
hasValue
public boolean hasValue()
The tuple contains only the values that are not constant. E.g. for decimal[64](3.14) only 3.14 is part of the data. Required Tuple because of e.g. specialize on Uniform distribution
.relationalai.protocol.RelTuple value = 2;
- Specified by:
hasValue
in interfaceSchema.ConstantTypeOrBuilder
- Returns:
- Whether the value field is set.
-
getValue
public Schema.RelTuple getValue()
The tuple contains only the values that are not constant. E.g. for decimal[64](3.14) only 3.14 is part of the data. Required Tuple because of e.g. specialize on Uniform distribution
.relationalai.protocol.RelTuple value = 2;
- Specified by:
getValue
in interfaceSchema.ConstantTypeOrBuilder
- Returns:
- The value.
-
setValue
public Schema.ConstantType.Builder setValue(Schema.RelTuple value)
The tuple contains only the values that are not constant. E.g. for decimal[64](3.14) only 3.14 is part of the data. Required Tuple because of e.g. specialize on Uniform distribution
.relationalai.protocol.RelTuple value = 2;
-
setValue
public Schema.ConstantType.Builder setValue(Schema.RelTuple.Builder builderForValue)
The tuple contains only the values that are not constant. E.g. for decimal[64](3.14) only 3.14 is part of the data. Required Tuple because of e.g. specialize on Uniform distribution
.relationalai.protocol.RelTuple value = 2;
-
mergeValue
public Schema.ConstantType.Builder mergeValue(Schema.RelTuple value)
The tuple contains only the values that are not constant. E.g. for decimal[64](3.14) only 3.14 is part of the data. Required Tuple because of e.g. specialize on Uniform distribution
.relationalai.protocol.RelTuple value = 2;
-
clearValue
public Schema.ConstantType.Builder clearValue()
The tuple contains only the values that are not constant. E.g. for decimal[64](3.14) only 3.14 is part of the data. Required Tuple because of e.g. specialize on Uniform distribution
.relationalai.protocol.RelTuple value = 2;
-
getValueBuilder
public Schema.RelTuple.Builder getValueBuilder()
The tuple contains only the values that are not constant. E.g. for decimal[64](3.14) only 3.14 is part of the data. Required Tuple because of e.g. specialize on Uniform distribution
.relationalai.protocol.RelTuple value = 2;
-
getValueOrBuilder
public Schema.RelTupleOrBuilder getValueOrBuilder()
The tuple contains only the values that are not constant. E.g. for decimal[64](3.14) only 3.14 is part of the data. Required Tuple because of e.g. specialize on Uniform distribution
.relationalai.protocol.RelTuple value = 2;
- Specified by:
getValueOrBuilder
in interfaceSchema.ConstantTypeOrBuilder
-
setUnknownFields
public final Schema.ConstantType.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.ConstantType.Builder>
-
mergeUnknownFields
public final Schema.ConstantType.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.ConstantType.Builder>
-
-