Class FeatureViewDataKey.Builder (3.84.0)

public static final class FeatureViewDataKey.Builder extends GeneratedMessage.Builder<FeatureViewDataKey.Builder> implements FeatureViewDataKeyOrBuilder

Lookup key for a feature view.

Protobuf type google.cloud.aiplatform.v1beta1.FeatureViewDataKey

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public FeatureViewDataKey build()
Returns
Type Description
FeatureViewDataKey

buildPartial()

public FeatureViewDataKey buildPartial()
Returns
Type Description
FeatureViewDataKey

clear()

public FeatureViewDataKey.Builder clear()
Returns
Type Description
FeatureViewDataKey.Builder
Overrides

clearCompositeKey()

public FeatureViewDataKey.Builder clearCompositeKey()

The actual Entity ID will be composed from this struct. This should match with the way ID is defined in the FeatureView spec.

.google.cloud.aiplatform.v1beta1.FeatureViewDataKey.CompositeKey composite_key = 2;

Returns
Type Description
FeatureViewDataKey.Builder

clearKey()

public FeatureViewDataKey.Builder clearKey()

String key to use for lookup.

string key = 1;

Returns
Type Description
FeatureViewDataKey.Builder

This builder for chaining.

clearKeyOneof()

public FeatureViewDataKey.Builder clearKeyOneof()
Returns
Type Description
FeatureViewDataKey.Builder

getCompositeKey()

public FeatureViewDataKey.CompositeKey getCompositeKey()

The actual Entity ID will be composed from this struct. This should match with the way ID is defined in the FeatureView spec.

.google.cloud.aiplatform.v1beta1.FeatureViewDataKey.CompositeKey composite_key = 2;

Returns
Type Description
FeatureViewDataKey.CompositeKey

The compositeKey.

getCompositeKeyBuilder()

public FeatureViewDataKey.CompositeKey.Builder getCompositeKeyBuilder()

The actual Entity ID will be composed from this struct. This should match with the way ID is defined in the FeatureView spec.

.google.cloud.aiplatform.v1beta1.FeatureViewDataKey.CompositeKey composite_key = 2;

Returns
Type Description
FeatureViewDataKey.CompositeKey.Builder

getCompositeKeyOrBuilder()

public FeatureViewDataKey.CompositeKeyOrBuilder getCompositeKeyOrBuilder()

The actual Entity ID will be composed from this struct. This should match with the way ID is defined in the FeatureView spec.

.google.cloud.aiplatform.v1beta1.FeatureViewDataKey.CompositeKey composite_key = 2;

Returns
Type Description
FeatureViewDataKey.CompositeKeyOrBuilder

getDefaultInstanceForType()

public FeatureViewDataKey getDefaultInstanceForType()
Returns
Type Description
FeatureViewDataKey

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getKey()

public String getKey()

String key to use for lookup.

string key = 1;

Returns
Type Description
String

The key.

getKeyBytes()

public ByteString getKeyBytes()

String key to use for lookup.

string key = 1;

Returns
Type Description
ByteString

The bytes for key.

getKeyOneofCase()

public FeatureViewDataKey.KeyOneofCase getKeyOneofCase()
Returns
Type Description
FeatureViewDataKey.KeyOneofCase

hasCompositeKey()

public boolean hasCompositeKey()

The actual Entity ID will be composed from this struct. This should match with the way ID is defined in the FeatureView spec.

.google.cloud.aiplatform.v1beta1.FeatureViewDataKey.CompositeKey composite_key = 2;

Returns
Type Description
boolean

Whether the compositeKey field is set.

hasKey()

public boolean hasKey()

String key to use for lookup.

string key = 1;

Returns
Type Description
boolean

Whether the key field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCompositeKey(FeatureViewDataKey.CompositeKey value)

public FeatureViewDataKey.Builder mergeCompositeKey(FeatureViewDataKey.CompositeKey value)

The actual Entity ID will be composed from this struct. This should match with the way ID is defined in the FeatureView spec.

.google.cloud.aiplatform.v1beta1.FeatureViewDataKey.CompositeKey composite_key = 2;

Parameter
Name Description
value FeatureViewDataKey.CompositeKey
Returns
Type Description
FeatureViewDataKey.Builder

mergeFrom(FeatureViewDataKey other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setCompositeKey(FeatureViewDataKey.CompositeKey value)

public FeatureViewDataKey.Builder setCompositeKey(FeatureViewDataKey.CompositeKey value)

The actual Entity ID will be composed from this struct. This should match with the way ID is defined in the FeatureView spec.

.google.cloud.aiplatform.v1beta1.FeatureViewDataKey.CompositeKey composite_key = 2;

Parameter
Name Description
value FeatureViewDataKey.CompositeKey
Returns
Type Description
FeatureViewDataKey.Builder

setCompositeKey(FeatureViewDataKey.CompositeKey.Builder builderForValue)

public FeatureViewDataKey.Builder setCompositeKey(FeatureViewDataKey.CompositeKey.Builder builderForValue)

The actual Entity ID will be composed from this struct. This should match with the way ID is defined in the FeatureView spec.

.google.cloud.aiplatform.v1beta1.FeatureViewDataKey.CompositeKey composite_key = 2;

Parameter
Name Description
builderForValue FeatureViewDataKey.CompositeKey.Builder
Returns
Type Description
FeatureViewDataKey.Builder

setKey(String value)

public FeatureViewDataKey.Builder setKey(String value)

String key to use for lookup.

string key = 1;

Parameter
Name Description
value String

The key to set.

Returns
Type Description
FeatureViewDataKey.Builder

This builder for chaining.

setKeyBytes(ByteString value)

public FeatureViewDataKey.Builder setKeyBytes(ByteString value)

String key to use for lookup.

string key = 1;

Parameter
Name Description
value ByteString

The bytes for key to set.

Returns
Type Description
FeatureViewDataKey.Builder

This builder for chaining.