Class FeatureViewDataKey.CompositeKey.Builder (3.42.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.v1.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.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FeatureViewDataKey.CompositeKey.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FeatureViewDataKey.CompositeKey.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public FeatureViewDataKey.CompositeKey.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FeatureViewDataKey.CompositeKey.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public FeatureViewDataKey.CompositeKey.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

public FeatureViewDataKey.CompositeKey.Builder clone()
Returns
Type Description
FeatureViewDataKey.CompositeKey.Builder
Overrides

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FeatureViewDataKey.CompositeKey.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FeatureViewDataKey.CompositeKey.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public FeatureViewDataKey.CompositeKey.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

public FeatureViewDataKey.CompositeKey.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FeatureViewDataKey.CompositeKey.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FeatureViewDataKey.CompositeKey.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FeatureViewDataKey.CompositeKey.Builder
Overrides