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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ImportFeatureValuesRequest.FeatureSpec.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<ImportFeatureValuesRequest.FeatureSpec.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<ImportFeatureValuesRequest.FeatureSpec.Builder>
    • getDefaultInstanceForType

      public ImportFeatureValuesRequest.FeatureSpec getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ImportFeatureValuesRequest.FeatureSpec.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ImportFeatureValuesRequest.FeatureSpec.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ImportFeatureValuesRequest.FeatureSpec.Builder>
      Throws:
      IOException
    • 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];
      Specified by:
      getId in interface ImportFeatureValuesRequest.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:
      getIdBytes in interface ImportFeatureValuesRequest.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

      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;
      Specified by:
      getSourceField in interface ImportFeatureValuesRequest.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:
      getSourceFieldBytes in interface ImportFeatureValuesRequest.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.