Package relationalai.protocol
Class Message.RelationMetadata.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Message.RelationMetadata.Builder>
-
- relationalai.protocol.Message.RelationMetadata.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Message.RelationMetadataOrBuilder
- Enclosing class:
- Message.RelationMetadata
public static final class Message.RelationMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Message.RelationMetadata.Builder> implements Message.RelationMetadataOrBuilder
Describes metadata of a single relation.
Protobuf typerelationalai.protocol.RelationMetadata
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Message.RelationMetadata.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Message.RelationMetadata
build()
Message.RelationMetadata
buildPartial()
Message.RelationMetadata.Builder
clear()
Message.RelationMetadata.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Message.RelationMetadata.Builder
clearFileName()
Identifier for the corresponding data file.Message.RelationMetadata.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Message.RelationMetadata.Builder
clearRelationId()
Type signature of this relation.Message.RelationMetadata.Builder
clone()
Message.RelationMetadata
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getFileName()
Identifier for the corresponding data file.com.google.protobuf.ByteString
getFileNameBytes()
Identifier for the corresponding data file.Schema.RelationId
getRelationId()
Type signature of this relation.Schema.RelationId.Builder
getRelationIdBuilder()
Type signature of this relation.Schema.RelationIdOrBuilder
getRelationIdOrBuilder()
Type signature of this relation.boolean
hasRelationId()
Type signature of this relation.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Message.RelationMetadata.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Message.RelationMetadata.Builder
mergeFrom(com.google.protobuf.Message other)
Message.RelationMetadata.Builder
mergeFrom(Message.RelationMetadata other)
Message.RelationMetadata.Builder
mergeRelationId(Schema.RelationId value)
Type signature of this relation.Message.RelationMetadata.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Message.RelationMetadata.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Message.RelationMetadata.Builder
setFileName(String value)
Identifier for the corresponding data file.Message.RelationMetadata.Builder
setFileNameBytes(com.google.protobuf.ByteString value)
Identifier for the corresponding data file.Message.RelationMetadata.Builder
setRelationId(Schema.RelationId value)
Type signature of this relation.Message.RelationMetadata.Builder
setRelationId(Schema.RelationId.Builder builderForValue)
Type signature of this relation.Message.RelationMetadata.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Message.RelationMetadata.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<Message.RelationMetadata.Builder>
-
clear
public Message.RelationMetadata.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<Message.RelationMetadata.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<Message.RelationMetadata.Builder>
-
getDefaultInstanceForType
public Message.RelationMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Message.RelationMetadata build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Message.RelationMetadata buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Message.RelationMetadata.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<Message.RelationMetadata.Builder>
-
setField
public Message.RelationMetadata.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<Message.RelationMetadata.Builder>
-
clearField
public Message.RelationMetadata.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<Message.RelationMetadata.Builder>
-
clearOneof
public Message.RelationMetadata.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<Message.RelationMetadata.Builder>
-
setRepeatedField
public Message.RelationMetadata.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<Message.RelationMetadata.Builder>
-
addRepeatedField
public Message.RelationMetadata.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<Message.RelationMetadata.Builder>
-
mergeFrom
public Message.RelationMetadata.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Message.RelationMetadata.Builder>
-
mergeFrom
public Message.RelationMetadata.Builder mergeFrom(Message.RelationMetadata other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Message.RelationMetadata.Builder>
-
mergeFrom
public Message.RelationMetadata.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<Message.RelationMetadata.Builder>
- Throws:
IOException
-
hasRelationId
public boolean hasRelationId()
Type signature of this relation.
.relationalai.protocol.RelationId relation_id = 1;
- Specified by:
hasRelationId
in interfaceMessage.RelationMetadataOrBuilder
- Returns:
- Whether the relationId field is set.
-
getRelationId
public Schema.RelationId getRelationId()
Type signature of this relation.
.relationalai.protocol.RelationId relation_id = 1;
- Specified by:
getRelationId
in interfaceMessage.RelationMetadataOrBuilder
- Returns:
- The relationId.
-
setRelationId
public Message.RelationMetadata.Builder setRelationId(Schema.RelationId value)
Type signature of this relation.
.relationalai.protocol.RelationId relation_id = 1;
-
setRelationId
public Message.RelationMetadata.Builder setRelationId(Schema.RelationId.Builder builderForValue)
Type signature of this relation.
.relationalai.protocol.RelationId relation_id = 1;
-
mergeRelationId
public Message.RelationMetadata.Builder mergeRelationId(Schema.RelationId value)
Type signature of this relation.
.relationalai.protocol.RelationId relation_id = 1;
-
clearRelationId
public Message.RelationMetadata.Builder clearRelationId()
Type signature of this relation.
.relationalai.protocol.RelationId relation_id = 1;
-
getRelationIdBuilder
public Schema.RelationId.Builder getRelationIdBuilder()
Type signature of this relation.
.relationalai.protocol.RelationId relation_id = 1;
-
getRelationIdOrBuilder
public Schema.RelationIdOrBuilder getRelationIdOrBuilder()
Type signature of this relation.
.relationalai.protocol.RelationId relation_id = 1;
- Specified by:
getRelationIdOrBuilder
in interfaceMessage.RelationMetadataOrBuilder
-
getFileName
public String getFileName()
Identifier for the corresponding data file.
string file_name = 2;
- Specified by:
getFileName
in interfaceMessage.RelationMetadataOrBuilder
- Returns:
- The fileName.
-
getFileNameBytes
public com.google.protobuf.ByteString getFileNameBytes()
Identifier for the corresponding data file.
string file_name = 2;
- Specified by:
getFileNameBytes
in interfaceMessage.RelationMetadataOrBuilder
- Returns:
- The bytes for fileName.
-
setFileName
public Message.RelationMetadata.Builder setFileName(String value)
Identifier for the corresponding data file.
string file_name = 2;
- Parameters:
value
- The fileName to set.- Returns:
- This builder for chaining.
-
clearFileName
public Message.RelationMetadata.Builder clearFileName()
Identifier for the corresponding data file.
string file_name = 2;
- Returns:
- This builder for chaining.
-
setFileNameBytes
public Message.RelationMetadata.Builder setFileNameBytes(com.google.protobuf.ByteString value)
Identifier for the corresponding data file.
string file_name = 2;
- Parameters:
value
- The bytes for fileName to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Message.RelationMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Message.RelationMetadata.Builder>
-
mergeUnknownFields
public final Message.RelationMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Message.RelationMetadata.Builder>
-
-