public static final class ImportFeatureValuesRequest.FeatureSpec.Builder extends GeneratedMessage.Builder<ImportFeatureValuesRequest.FeatureSpec.Builder> implements ImportFeatureValuesRequest.FeatureSpecOrBuilderDefines the Feature value(s) to import.
Protobuf type google.cloud.aiplatform.v1.ImportFeatureValuesRequest.FeatureSpec
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ImportFeatureValuesRequest.FeatureSpec.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
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. |
getDefaultInstanceForType()
public ImportFeatureValuesRequest.FeatureSpec getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ImportFeatureValuesRequest.FeatureSpec |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
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 |
StringThe 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 |
ByteStringThe bytes for id to set. |
| Returns | |
|---|---|
| Type | Description |
ImportFeatureValuesRequest.FeatureSpec.Builder |
This builder for chaining. |
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 |
StringThe 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 |
ByteStringThe bytes for sourceField to set. |
| Returns | |
|---|---|
| Type | Description |
ImportFeatureValuesRequest.FeatureSpec.Builder |
This builder for chaining. |