Class ImportFeatureValuesRequest.FeatureSpec.Builder (3.43.0)

public static final class ImportFeatureValuesRequest.FeatureSpec.Builder extends GeneratedMessageV3.Builder<ImportFeatureValuesRequest.FeatureSpec.Builder> implements ImportFeatureValuesRequest.FeatureSpecOrBuilder

Defines the Feature value(s) to import.

Protobuf type google.cloud.aiplatform.v1beta1.ImportFeatureValuesRequest.FeatureSpec

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImportFeatureValuesRequest.FeatureSpec build()
Returns
Type Description
ImportFeatureValuesRequest.FeatureSpec

buildPartial()

public ImportFeatureValuesRequest.FeatureSpec buildPartial()
Returns
Type Description
ImportFeatureValuesRequest.FeatureSpec

clear()

public ImportFeatureValuesRequest.FeatureSpec.Builder clear()
Returns
Type Description
ImportFeatureValuesRequest.FeatureSpec.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearId()

public ImportFeatureValuesRequest.FeatureSpec.Builder clearId()

Required. ID of the Feature to import values of. This Feature must exist in the target EntityType, or the request will fail.

string id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ImportFeatureValuesRequest.FeatureSpec.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSourceField()

public ImportFeatureValuesRequest.FeatureSpec.Builder clearSourceField()

Source column to get the Feature values from. If not set, uses the column with the same name as the Feature ID.

string source_field = 2;

Returns
Type Description
ImportFeatureValuesRequest.FeatureSpec.Builder

This builder for chaining.

clone()

public ImportFeatureValuesRequest.FeatureSpec.Builder clone()
Returns
Type Description
ImportFeatureValuesRequest.FeatureSpec.Builder
Overrides

getDefaultInstanceForType()

public ImportFeatureValuesRequest.FeatureSpec getDefaultInstanceForType()
Returns
Type Description
ImportFeatureValuesRequest.FeatureSpec

getDescriptorForType()

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

getId()

public String getId()

Required. ID of the Feature to import values of. This Feature must exist in the target EntityType, or the request will fail.

string id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

Required. ID of the Feature to import values of. This Feature must exist in the target EntityType, or the request will fail.

string id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for id.

getSourceField()

public String getSourceField()

Source column to get the Feature values from. If not set, uses the column with the same name as the Feature ID.

string source_field = 2;

Returns
Type Description
String

The sourceField.

getSourceFieldBytes()

public ByteString getSourceFieldBytes()

Source column to get the Feature values from. If not set, uses the column with the same name as the Feature ID.

string source_field = 2;

Returns
Type Description
ByteString

The bytes for sourceField.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportFeatureValuesRequest.FeatureSpec other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportFeatureValuesRequest.FeatureSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportFeatureValuesRequest.FeatureSpec.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setId(String value)

public ImportFeatureValuesRequest.FeatureSpec.Builder setId(String value)

Required. ID of the Feature to import values of. This Feature must exist in the target EntityType, or the request will fail.

string id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The id to set.

Returns
Type Description
ImportFeatureValuesRequest.FeatureSpec.Builder

This builder for chaining.

setIdBytes(ByteString value)

public ImportFeatureValuesRequest.FeatureSpec.Builder setIdBytes(ByteString value)

Required. ID of the Feature to import values of. This Feature must exist in the target EntityType, or the request will fail.

string id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
ImportFeatureValuesRequest.FeatureSpec.Builder

This builder for chaining.

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

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

setSourceField(String value)

public ImportFeatureValuesRequest.FeatureSpec.Builder setSourceField(String value)

Source column to get the Feature values from. If not set, uses the column with the same name as the Feature ID.

string source_field = 2;

Parameter
Name Description
value String

The sourceField to set.

Returns
Type Description
ImportFeatureValuesRequest.FeatureSpec.Builder

This builder for chaining.

setSourceFieldBytes(ByteString value)

public ImportFeatureValuesRequest.FeatureSpec.Builder setSourceFieldBytes(ByteString value)

Source column to get the Feature values from. If not set, uses the column with the same name as the Feature ID.

string source_field = 2;

Parameter
Name Description
value ByteString

The bytes for sourceField to set.

Returns
Type Description
ImportFeatureValuesRequest.FeatureSpec.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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