Class FeatureViewDataKey.Builder (3.40.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.v1beta1.FeatureViewDataKey

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FeatureViewDataKey build()
Returns
TypeDescription
FeatureViewDataKey

buildPartial()

public FeatureViewDataKey buildPartial()
Returns
TypeDescription
FeatureViewDataKey

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearKey()

public FeatureViewDataKey.Builder clearKey()

String key to use for lookup.

string key = 1;

Returns
TypeDescription
FeatureViewDataKey.Builder

This builder for chaining.

clearKeyOneof()

public FeatureViewDataKey.Builder clearKeyOneof()
Returns
TypeDescription
FeatureViewDataKey.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public FeatureViewDataKey.Builder clone()
Returns
TypeDescription
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.v1beta1.FeatureViewDataKey.CompositeKey composite_key = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
FeatureViewDataKey.CompositeKeyOrBuilder

getDefaultInstanceForType()

public FeatureViewDataKey getDefaultInstanceForType()
Returns
TypeDescription
FeatureViewDataKey

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getKey()

public String getKey()

String key to use for lookup.

string key = 1;

Returns
TypeDescription
String

The key.

getKeyBytes()

public ByteString getKeyBytes()

String key to use for lookup.

string key = 1;

Returns
TypeDescription
ByteString

The bytes for key.

getKeyOneofCase()

public FeatureViewDataKey.KeyOneofCase getKeyOneofCase()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the compositeKey field is set.

hasKey()

public boolean hasKey()

String key to use for lookup.

string key = 1;

Returns
TypeDescription
boolean

Whether the key field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueFeatureViewDataKey.CompositeKey
Returns
TypeDescription
FeatureViewDataKey.Builder

mergeFrom(FeatureViewDataKey other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FeatureViewDataKey.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFeatureViewDataKey.CompositeKey
Returns
TypeDescription
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
NameDescription
builderForValueFeatureViewDataKey.CompositeKey.Builder
Returns
TypeDescription
FeatureViewDataKey.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setKey(String value)

public FeatureViewDataKey.Builder setKey(String value)

String key to use for lookup.

string key = 1;

Parameter
NameDescription
valueString

The key to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for key to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FeatureViewDataKey.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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