Package com.google.cloud.aiplatform.v1
Class ImportFeatureValuesRequest.FeatureSpec.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ImportFeatureValuesRequest.FeatureSpec.Builder>
com.google.cloud.aiplatform.v1.ImportFeatureValuesRequest.FeatureSpec.Builder
- All Implemented Interfaces:
ImportFeatureValuesRequest.FeatureSpecOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ImportFeatureValuesRequest.FeatureSpec
public static final class ImportFeatureValuesRequest.FeatureSpec.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ImportFeatureValuesRequest.FeatureSpec.Builder>
implements ImportFeatureValuesRequest.FeatureSpecOrBuilder
Defines the Feature value(s) to import.Protobuf type
google.cloud.aiplatform.v1.ImportFeatureValuesRequest.FeatureSpec-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()clearId()Required.Source column to get the Feature values from.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetId()Required.com.google.protobuf.ByteStringRequired.Source column to get the Feature values from.com.google.protobuf.ByteStringSource column to get the Feature values from.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Required.setIdBytes(com.google.protobuf.ByteString value) Required.setSourceField(String value) Source column to get the Feature values from.setSourceFieldBytes(com.google.protobuf.ByteString value) Source column to get the Feature values from.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ImportFeatureValuesRequest.FeatureSpec.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ImportFeatureValuesRequest.FeatureSpec.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ImportFeatureValuesRequest.FeatureSpec.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ImportFeatureValuesRequest.FeatureSpec.Builder>
-
mergeFrom
public ImportFeatureValuesRequest.FeatureSpec.Builder mergeFrom(ImportFeatureValuesRequest.FeatureSpec other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ImportFeatureValuesRequest.FeatureSpec.Builder>
-
mergeFrom
public ImportFeatureValuesRequest.FeatureSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ImportFeatureValuesRequest.FeatureSpec.Builder>- Throws:
IOException
-
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];- Specified by:
getIdin interfaceImportFeatureValuesRequest.FeatureSpecOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.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];- Specified by:
getIdBytesin interfaceImportFeatureValuesRequest.FeatureSpecOrBuilder- Returns:
- The bytes for id.
-
setId
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];- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setIdBytes
public ImportFeatureValuesRequest.FeatureSpec.Builder setIdBytes(com.google.protobuf.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];- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getSourceFieldin interfaceImportFeatureValuesRequest.FeatureSpecOrBuilder- Returns:
- The sourceField.
-
getSourceFieldBytes
public com.google.protobuf.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;- Specified by:
getSourceFieldBytesin interfaceImportFeatureValuesRequest.FeatureSpecOrBuilder- Returns:
- The bytes for sourceField.
-
setSourceField
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;- Parameters:
value- The sourceField to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setSourceFieldBytes
public ImportFeatureValuesRequest.FeatureSpec.Builder setSourceFieldBytes(com.google.protobuf.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;- Parameters:
value- The bytes for sourceField to set.- Returns:
- This builder for chaining.
-