Package relationalai.protocol
Class Schema.RelTuple.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Schema.RelTuple.Builder>
-
- relationalai.protocol.Schema.RelTuple.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Schema.RelTupleOrBuilder
- Enclosing class:
- Schema.RelTuple
public static final class Schema.RelTuple.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Schema.RelTuple.Builder> implements Schema.RelTupleOrBuilder
Renamed from Tuple to avoid collision with julia and python `Tuple`. Value types are flattened into their underlying primitive values.
Protobuf typerelationalai.protocol.RelTuple
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Schema.RelTuple.Builder
addAllArguments(Iterable<? extends Schema.PrimitiveValue> values)
repeated .relationalai.protocol.PrimitiveValue arguments = 1;
Schema.RelTuple.Builder
addArguments(int index, Schema.PrimitiveValue value)
repeated .relationalai.protocol.PrimitiveValue arguments = 1;
Schema.RelTuple.Builder
addArguments(int index, Schema.PrimitiveValue.Builder builderForValue)
repeated .relationalai.protocol.PrimitiveValue arguments = 1;
Schema.RelTuple.Builder
addArguments(Schema.PrimitiveValue value)
repeated .relationalai.protocol.PrimitiveValue arguments = 1;
Schema.RelTuple.Builder
addArguments(Schema.PrimitiveValue.Builder builderForValue)
repeated .relationalai.protocol.PrimitiveValue arguments = 1;
Schema.PrimitiveValue.Builder
addArgumentsBuilder()
repeated .relationalai.protocol.PrimitiveValue arguments = 1;
Schema.PrimitiveValue.Builder
addArgumentsBuilder(int index)
repeated .relationalai.protocol.PrimitiveValue arguments = 1;
Schema.RelTuple.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Schema.RelTuple
build()
Schema.RelTuple
buildPartial()
Schema.RelTuple.Builder
clear()
Schema.RelTuple.Builder
clearArguments()
repeated .relationalai.protocol.PrimitiveValue arguments = 1;
Schema.RelTuple.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Schema.RelTuple.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Schema.RelTuple.Builder
clone()
Schema.PrimitiveValue
getArguments(int index)
repeated .relationalai.protocol.PrimitiveValue arguments = 1;
Schema.PrimitiveValue.Builder
getArgumentsBuilder(int index)
repeated .relationalai.protocol.PrimitiveValue arguments = 1;
List<Schema.PrimitiveValue.Builder>
getArgumentsBuilderList()
repeated .relationalai.protocol.PrimitiveValue arguments = 1;
int
getArgumentsCount()
repeated .relationalai.protocol.PrimitiveValue arguments = 1;
List<Schema.PrimitiveValue>
getArgumentsList()
repeated .relationalai.protocol.PrimitiveValue arguments = 1;
Schema.PrimitiveValueOrBuilder
getArgumentsOrBuilder(int index)
repeated .relationalai.protocol.PrimitiveValue arguments = 1;
List<? extends Schema.PrimitiveValueOrBuilder>
getArgumentsOrBuilderList()
repeated .relationalai.protocol.PrimitiveValue arguments = 1;
Schema.RelTuple
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Schema.RelTuple.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Schema.RelTuple.Builder
mergeFrom(com.google.protobuf.Message other)
Schema.RelTuple.Builder
mergeFrom(Schema.RelTuple other)
Schema.RelTuple.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Schema.RelTuple.Builder
removeArguments(int index)
repeated .relationalai.protocol.PrimitiveValue arguments = 1;
Schema.RelTuple.Builder
setArguments(int index, Schema.PrimitiveValue value)
repeated .relationalai.protocol.PrimitiveValue arguments = 1;
Schema.RelTuple.Builder
setArguments(int index, Schema.PrimitiveValue.Builder builderForValue)
repeated .relationalai.protocol.PrimitiveValue arguments = 1;
Schema.RelTuple.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Schema.RelTuple.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Schema.RelTuple.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
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.RelTuple.Builder>
-
clear
public Schema.RelTuple.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.RelTuple.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.RelTuple.Builder>
-
getDefaultInstanceForType
public Schema.RelTuple getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Schema.RelTuple build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Schema.RelTuple buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Schema.RelTuple.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.RelTuple.Builder>
-
setField
public Schema.RelTuple.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.RelTuple.Builder>
-
clearField
public Schema.RelTuple.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.RelTuple.Builder>
-
clearOneof
public Schema.RelTuple.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.RelTuple.Builder>
-
setRepeatedField
public Schema.RelTuple.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.RelTuple.Builder>
-
addRepeatedField
public Schema.RelTuple.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.RelTuple.Builder>
-
mergeFrom
public Schema.RelTuple.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.RelTuple.Builder>
-
mergeFrom
public Schema.RelTuple.Builder mergeFrom(Schema.RelTuple other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Schema.RelTuple.Builder>
-
mergeFrom
public Schema.RelTuple.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.RelTuple.Builder>
- Throws:
IOException
-
getArgumentsList
public List<Schema.PrimitiveValue> getArgumentsList()
repeated .relationalai.protocol.PrimitiveValue arguments = 1;
- Specified by:
getArgumentsList
in interfaceSchema.RelTupleOrBuilder
-
getArgumentsCount
public int getArgumentsCount()
repeated .relationalai.protocol.PrimitiveValue arguments = 1;
- Specified by:
getArgumentsCount
in interfaceSchema.RelTupleOrBuilder
-
getArguments
public Schema.PrimitiveValue getArguments(int index)
repeated .relationalai.protocol.PrimitiveValue arguments = 1;
- Specified by:
getArguments
in interfaceSchema.RelTupleOrBuilder
-
setArguments
public Schema.RelTuple.Builder setArguments(int index, Schema.PrimitiveValue value)
repeated .relationalai.protocol.PrimitiveValue arguments = 1;
-
setArguments
public Schema.RelTuple.Builder setArguments(int index, Schema.PrimitiveValue.Builder builderForValue)
repeated .relationalai.protocol.PrimitiveValue arguments = 1;
-
addArguments
public Schema.RelTuple.Builder addArguments(Schema.PrimitiveValue value)
repeated .relationalai.protocol.PrimitiveValue arguments = 1;
-
addArguments
public Schema.RelTuple.Builder addArguments(int index, Schema.PrimitiveValue value)
repeated .relationalai.protocol.PrimitiveValue arguments = 1;
-
addArguments
public Schema.RelTuple.Builder addArguments(Schema.PrimitiveValue.Builder builderForValue)
repeated .relationalai.protocol.PrimitiveValue arguments = 1;
-
addArguments
public Schema.RelTuple.Builder addArguments(int index, Schema.PrimitiveValue.Builder builderForValue)
repeated .relationalai.protocol.PrimitiveValue arguments = 1;
-
addAllArguments
public Schema.RelTuple.Builder addAllArguments(Iterable<? extends Schema.PrimitiveValue> values)
repeated .relationalai.protocol.PrimitiveValue arguments = 1;
-
clearArguments
public Schema.RelTuple.Builder clearArguments()
repeated .relationalai.protocol.PrimitiveValue arguments = 1;
-
removeArguments
public Schema.RelTuple.Builder removeArguments(int index)
repeated .relationalai.protocol.PrimitiveValue arguments = 1;
-
getArgumentsBuilder
public Schema.PrimitiveValue.Builder getArgumentsBuilder(int index)
repeated .relationalai.protocol.PrimitiveValue arguments = 1;
-
getArgumentsOrBuilder
public Schema.PrimitiveValueOrBuilder getArgumentsOrBuilder(int index)
repeated .relationalai.protocol.PrimitiveValue arguments = 1;
- Specified by:
getArgumentsOrBuilder
in interfaceSchema.RelTupleOrBuilder
-
getArgumentsOrBuilderList
public List<? extends Schema.PrimitiveValueOrBuilder> getArgumentsOrBuilderList()
repeated .relationalai.protocol.PrimitiveValue arguments = 1;
- Specified by:
getArgumentsOrBuilderList
in interfaceSchema.RelTupleOrBuilder
-
addArgumentsBuilder
public Schema.PrimitiveValue.Builder addArgumentsBuilder()
repeated .relationalai.protocol.PrimitiveValue arguments = 1;
-
addArgumentsBuilder
public Schema.PrimitiveValue.Builder addArgumentsBuilder(int index)
repeated .relationalai.protocol.PrimitiveValue arguments = 1;
-
getArgumentsBuilderList
public List<Schema.PrimitiveValue.Builder> getArgumentsBuilderList()
repeated .relationalai.protocol.PrimitiveValue arguments = 1;
-
setUnknownFields
public final Schema.RelTuple.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.RelTuple.Builder>
-
mergeUnknownFields
public final Schema.RelTuple.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.RelTuple.Builder>
-
-