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()
Methods
public ImportFeatureValuesRequest.FeatureSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ImportFeatureValuesRequest.FeatureSpec build()
public ImportFeatureValuesRequest.FeatureSpec buildPartial()
public ImportFeatureValuesRequest.FeatureSpec.Builder clear()
Overrides
public ImportFeatureValuesRequest.FeatureSpec.Builder clearField(Descriptors.FieldDescriptor field)
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];
public ImportFeatureValuesRequest.FeatureSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
public ImportFeatureValuesRequest.FeatureSpec.Builder clone()
Overrides
public ImportFeatureValuesRequest.FeatureSpec getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
String | The id.
|
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];
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()
Overrides
public final boolean isInitialized()
Overrides
public ImportFeatureValuesRequest.FeatureSpec.Builder mergeFrom(ImportFeatureValuesRequest.FeatureSpec other)
public ImportFeatureValuesRequest.FeatureSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ImportFeatureValuesRequest.FeatureSpec.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final ImportFeatureValuesRequest.FeatureSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ImportFeatureValuesRequest.FeatureSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
public ImportFeatureValuesRequest.FeatureSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
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.
|
public final ImportFeatureValuesRequest.FeatureSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides