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

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

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

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

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

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