Class FeatureViewDataKey.CompositeKey.Builder (3.40.0)

public static final class FeatureViewDataKey.CompositeKey.Builder extends GeneratedMessageV3.Builder<FeatureViewDataKey.CompositeKey.Builder> implements FeatureViewDataKey.CompositeKeyOrBuilder

ID that is comprised from several parts (columns).

Protobuf type google.cloud.aiplatform.v1beta1.FeatureViewDataKey.CompositeKey

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllParts(Iterable<String> values)

public FeatureViewDataKey.CompositeKey.Builder addAllParts(Iterable<String> values)

Parts to construct Entity ID. Should match with the same ID columns as defined in FeatureView in the same order.

repeated string parts = 1;

Parameter
NameDescription
valuesIterable<String>

The parts to add.

Returns
TypeDescription
FeatureViewDataKey.CompositeKey.Builder

This builder for chaining.

addParts(String value)

public FeatureViewDataKey.CompositeKey.Builder addParts(String value)

Parts to construct Entity ID. Should match with the same ID columns as defined in FeatureView in the same order.

repeated string parts = 1;

Parameter
NameDescription
valueString

The parts to add.

Returns
TypeDescription
FeatureViewDataKey.CompositeKey.Builder

This builder for chaining.

addPartsBytes(ByteString value)

public FeatureViewDataKey.CompositeKey.Builder addPartsBytes(ByteString value)

Parts to construct Entity ID. Should match with the same ID columns as defined in FeatureView in the same order.

repeated string parts = 1;

Parameter
NameDescription
valueByteString

The bytes of the parts to add.

Returns
TypeDescription
FeatureViewDataKey.CompositeKey.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FeatureViewDataKey.CompositeKey.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FeatureViewDataKey.CompositeKey.Builder
Overrides

build()

public FeatureViewDataKey.CompositeKey build()
Returns
TypeDescription
FeatureViewDataKey.CompositeKey

buildPartial()

public FeatureViewDataKey.CompositeKey buildPartial()
Returns
TypeDescription
FeatureViewDataKey.CompositeKey

clear()

public FeatureViewDataKey.CompositeKey.Builder clear()
Returns
TypeDescription
FeatureViewDataKey.CompositeKey.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public FeatureViewDataKey.CompositeKey.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
FeatureViewDataKey.CompositeKey.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public FeatureViewDataKey.CompositeKey.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
FeatureViewDataKey.CompositeKey.Builder
Overrides

clearParts()

public FeatureViewDataKey.CompositeKey.Builder clearParts()

Parts to construct Entity ID. Should match with the same ID columns as defined in FeatureView in the same order.

repeated string parts = 1;

Returns
TypeDescription
FeatureViewDataKey.CompositeKey.Builder

This builder for chaining.

clone()

public FeatureViewDataKey.CompositeKey.Builder clone()
Returns
TypeDescription
FeatureViewDataKey.CompositeKey.Builder
Overrides

getDefaultInstanceForType()

public FeatureViewDataKey.CompositeKey getDefaultInstanceForType()
Returns
TypeDescription
FeatureViewDataKey.CompositeKey

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getParts(int index)

public String getParts(int index)

Parts to construct Entity ID. Should match with the same ID columns as defined in FeatureView in the same order.

repeated string parts = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The parts at the given index.

getPartsBytes(int index)

public ByteString getPartsBytes(int index)

Parts to construct Entity ID. Should match with the same ID columns as defined in FeatureView in the same order.

repeated string parts = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the parts at the given index.

getPartsCount()

public int getPartsCount()

Parts to construct Entity ID. Should match with the same ID columns as defined in FeatureView in the same order.

repeated string parts = 1;

Returns
TypeDescription
int

The count of parts.

getPartsList()

public ProtocolStringList getPartsList()

Parts to construct Entity ID. Should match with the same ID columns as defined in FeatureView in the same order.

repeated string parts = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the parts.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FeatureViewDataKey.CompositeKey other)

public FeatureViewDataKey.CompositeKey.Builder mergeFrom(FeatureViewDataKey.CompositeKey other)
Parameter
NameDescription
otherFeatureViewDataKey.CompositeKey
Returns
TypeDescription
FeatureViewDataKey.CompositeKey.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FeatureViewDataKey.CompositeKey.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FeatureViewDataKey.CompositeKey.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public FeatureViewDataKey.CompositeKey.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
FeatureViewDataKey.CompositeKey.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FeatureViewDataKey.CompositeKey.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FeatureViewDataKey.CompositeKey.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public FeatureViewDataKey.CompositeKey.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FeatureViewDataKey.CompositeKey.Builder
Overrides

setParts(int index, String value)

public FeatureViewDataKey.CompositeKey.Builder setParts(int index, String value)

Parts to construct Entity ID. Should match with the same ID columns as defined in FeatureView in the same order.

repeated string parts = 1;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The parts to set.

Returns
TypeDescription
FeatureViewDataKey.CompositeKey.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public FeatureViewDataKey.CompositeKey.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FeatureViewDataKey.CompositeKey.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FeatureViewDataKey.CompositeKey.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FeatureViewDataKey.CompositeKey.Builder
Overrides