Class FeatureViewDataKey.Builder (3.48.0)

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

Lookup key for a feature view.

Protobuf type google.cloud.aiplatform.v1.FeatureViewDataKey

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.v1.FeatureViewDataKey.CompositeKey composite_key = 2;

Returns
Type Description
FeatureViewDataKey.Builder

clearField(Descriptors.FieldDescriptor field)

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

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

clearOneof(Descriptors.OneofDescriptor oneof)

public FeatureViewDataKey.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FeatureViewDataKey.Builder
Overrides

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FeatureViewDataKey.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.v1.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.v1.FeatureViewDataKey.CompositeKey composite_key = 2;

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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