Send feedback
Class ImportFeatureValuesRequest.FeatureSpec.Builder (3.52.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.52.0 keyboard_arrow_down
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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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];
Returns
Type
Description
ByteString
The bytes for id.
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]