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.v1.ImportFeatureValuesRequest.FeatureSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public ImportFeatureValuesRequest.FeatureSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ImportFeatureValuesRequest.FeatureSpec build()
Returns
public ImportFeatureValuesRequest.FeatureSpec buildPartial()
Returns
public ImportFeatureValuesRequest.FeatureSpec.Builder clear()
Returns
Overrides
public ImportFeatureValuesRequest.FeatureSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
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
public ImportFeatureValuesRequest.FeatureSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
public ImportFeatureValuesRequest.FeatureSpec.Builder clone()
Returns
Overrides
public ImportFeatureValuesRequest.FeatureSpec getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
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
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.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ImportFeatureValuesRequest.FeatureSpec.Builder mergeFrom(ImportFeatureValuesRequest.FeatureSpec other)
Parameter
Returns
public ImportFeatureValuesRequest.FeatureSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ImportFeatureValuesRequest.FeatureSpec.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ImportFeatureValuesRequest.FeatureSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ImportFeatureValuesRequest.FeatureSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
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
public ImportFeatureValuesRequest.FeatureSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
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
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
public final ImportFeatureValuesRequest.FeatureSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides