Class FeatureViewDataKey.CompositeKey.Builder (3.84.0)

public static final class FeatureViewDataKey.CompositeKey.Builder extends GeneratedMessage.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
Type Description
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
Name Description
values Iterable<String>

The parts to add.

Returns
Type Description
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
Name Description
value String

The parts to add.

Returns
Type Description
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
Name Description
value ByteString

The bytes of the parts to add.

Returns
Type Description
FeatureViewDataKey.CompositeKey.Builder

This builder for chaining.

build()

public FeatureViewDataKey.CompositeKey build()
Returns
Type Description
FeatureViewDataKey.CompositeKey

buildPartial()

public FeatureViewDataKey.CompositeKey buildPartial()
Returns
Type Description
FeatureViewDataKey.CompositeKey

clear()

public FeatureViewDataKey.CompositeKey.Builder clear()
Returns
Type Description
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
Type Description
FeatureViewDataKey.CompositeKey.Builder

This builder for chaining.

getDefaultInstanceForType()

public FeatureViewDataKey.CompositeKey getDefaultInstanceForType()
Returns
Type Description
FeatureViewDataKey.CompositeKey

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
ProtocolStringList

A list containing the parts.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FeatureViewDataKey.CompositeKey other)

public FeatureViewDataKey.CompositeKey.Builder mergeFrom(FeatureViewDataKey.CompositeKey other)
Parameter
Name Description
other FeatureViewDataKey.CompositeKey
Returns
Type Description
FeatureViewDataKey.CompositeKey.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FeatureViewDataKey.CompositeKey.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureViewDataKey.CompositeKey.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FeatureViewDataKey.CompositeKey.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The parts to set.

Returns
Type Description
FeatureViewDataKey.CompositeKey.Builder

This builder for chaining.