Class ImportDataRequest.Builder

  • All Implemented Interfaces:
    ImportDataRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    ImportDataRequest

    public static final class ImportDataRequest.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<ImportDataRequest.Builder>
    implements ImportDataRequestOrBuilder
     Request message for
     [DatasetService.ImportData][google.cloud.aiplatform.v1.DatasetService.ImportData].
     
    Protobuf type google.cloud.aiplatform.v1.ImportDataRequest
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDataRequest.Builder>
      • clear

        public ImportDataRequest.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.GeneratedMessageV3.Builder<ImportDataRequest.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.GeneratedMessageV3.Builder<ImportDataRequest.Builder>
      • getDefaultInstanceForType

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

        public ImportDataRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ImportDataRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public ImportDataRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDataRequest.Builder>
      • setField

        public ImportDataRequest.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                  Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDataRequest.Builder>
      • clearField

        public ImportDataRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDataRequest.Builder>
      • clearOneof

        public ImportDataRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDataRequest.Builder>
      • setRepeatedField

        public ImportDataRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          int index,
                                                          Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDataRequest.Builder>
      • addRepeatedField

        public ImportDataRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDataRequest.Builder>
      • mergeFrom

        public ImportDataRequest.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<ImportDataRequest.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDataRequest.Builder>
      • mergeFrom

        public ImportDataRequest.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<ImportDataRequest.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         Required. The name of the Dataset resource.
         Format:
         `projects/{project}/locations/{location}/datasets/{dataset}`
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getName in interface ImportDataRequestOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Required. The name of the Dataset resource.
         Format:
         `projects/{project}/locations/{location}/datasets/{dataset}`
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getNameBytes in interface ImportDataRequestOrBuilder
        Returns:
        The bytes for name.
      • setName

        public ImportDataRequest.Builder setName​(String value)
         Required. The name of the Dataset resource.
         Format:
         `projects/{project}/locations/{location}/datasets/{dataset}`
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public ImportDataRequest.Builder clearName()
         Required. The name of the Dataset resource.
         Format:
         `projects/{project}/locations/{location}/datasets/{dataset}`
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setNameBytes

        public ImportDataRequest.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Required. The name of the Dataset resource.
         Format:
         `projects/{project}/locations/{location}/datasets/{dataset}`
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getImportConfigsList

        public List<ImportDataConfig> getImportConfigsList()
         Required. The desired input locations. The contents of all input locations
         will be imported in one batch.
         
        repeated .google.cloud.aiplatform.v1.ImportDataConfig import_configs = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getImportConfigsList in interface ImportDataRequestOrBuilder
      • getImportConfigsCount

        public int getImportConfigsCount()
         Required. The desired input locations. The contents of all input locations
         will be imported in one batch.
         
        repeated .google.cloud.aiplatform.v1.ImportDataConfig import_configs = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getImportConfigsCount in interface ImportDataRequestOrBuilder
      • getImportConfigs

        public ImportDataConfig getImportConfigs​(int index)
         Required. The desired input locations. The contents of all input locations
         will be imported in one batch.
         
        repeated .google.cloud.aiplatform.v1.ImportDataConfig import_configs = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getImportConfigs in interface ImportDataRequestOrBuilder
      • setImportConfigs

        public ImportDataRequest.Builder setImportConfigs​(int index,
                                                          ImportDataConfig value)
         Required. The desired input locations. The contents of all input locations
         will be imported in one batch.
         
        repeated .google.cloud.aiplatform.v1.ImportDataConfig import_configs = 2 [(.google.api.field_behavior) = REQUIRED];
      • setImportConfigs

        public ImportDataRequest.Builder setImportConfigs​(int index,
                                                          ImportDataConfig.Builder builderForValue)
         Required. The desired input locations. The contents of all input locations
         will be imported in one batch.
         
        repeated .google.cloud.aiplatform.v1.ImportDataConfig import_configs = 2 [(.google.api.field_behavior) = REQUIRED];
      • addImportConfigs

        public ImportDataRequest.Builder addImportConfigs​(ImportDataConfig value)
         Required. The desired input locations. The contents of all input locations
         will be imported in one batch.
         
        repeated .google.cloud.aiplatform.v1.ImportDataConfig import_configs = 2 [(.google.api.field_behavior) = REQUIRED];
      • addImportConfigs

        public ImportDataRequest.Builder addImportConfigs​(int index,
                                                          ImportDataConfig value)
         Required. The desired input locations. The contents of all input locations
         will be imported in one batch.
         
        repeated .google.cloud.aiplatform.v1.ImportDataConfig import_configs = 2 [(.google.api.field_behavior) = REQUIRED];
      • addImportConfigs

        public ImportDataRequest.Builder addImportConfigs​(ImportDataConfig.Builder builderForValue)
         Required. The desired input locations. The contents of all input locations
         will be imported in one batch.
         
        repeated .google.cloud.aiplatform.v1.ImportDataConfig import_configs = 2 [(.google.api.field_behavior) = REQUIRED];
      • addImportConfigs

        public ImportDataRequest.Builder addImportConfigs​(int index,
                                                          ImportDataConfig.Builder builderForValue)
         Required. The desired input locations. The contents of all input locations
         will be imported in one batch.
         
        repeated .google.cloud.aiplatform.v1.ImportDataConfig import_configs = 2 [(.google.api.field_behavior) = REQUIRED];
      • addAllImportConfigs

        public ImportDataRequest.Builder addAllImportConfigs​(Iterable<? extends ImportDataConfig> values)
         Required. The desired input locations. The contents of all input locations
         will be imported in one batch.
         
        repeated .google.cloud.aiplatform.v1.ImportDataConfig import_configs = 2 [(.google.api.field_behavior) = REQUIRED];
      • clearImportConfigs

        public ImportDataRequest.Builder clearImportConfigs()
         Required. The desired input locations. The contents of all input locations
         will be imported in one batch.
         
        repeated .google.cloud.aiplatform.v1.ImportDataConfig import_configs = 2 [(.google.api.field_behavior) = REQUIRED];
      • removeImportConfigs

        public ImportDataRequest.Builder removeImportConfigs​(int index)
         Required. The desired input locations. The contents of all input locations
         will be imported in one batch.
         
        repeated .google.cloud.aiplatform.v1.ImportDataConfig import_configs = 2 [(.google.api.field_behavior) = REQUIRED];
      • getImportConfigsBuilder

        public ImportDataConfig.Builder getImportConfigsBuilder​(int index)
         Required. The desired input locations. The contents of all input locations
         will be imported in one batch.
         
        repeated .google.cloud.aiplatform.v1.ImportDataConfig import_configs = 2 [(.google.api.field_behavior) = REQUIRED];
      • getImportConfigsOrBuilder

        public ImportDataConfigOrBuilder getImportConfigsOrBuilder​(int index)
         Required. The desired input locations. The contents of all input locations
         will be imported in one batch.
         
        repeated .google.cloud.aiplatform.v1.ImportDataConfig import_configs = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getImportConfigsOrBuilder in interface ImportDataRequestOrBuilder
      • getImportConfigsOrBuilderList

        public List<? extends ImportDataConfigOrBuilder> getImportConfigsOrBuilderList()
         Required. The desired input locations. The contents of all input locations
         will be imported in one batch.
         
        repeated .google.cloud.aiplatform.v1.ImportDataConfig import_configs = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getImportConfigsOrBuilderList in interface ImportDataRequestOrBuilder
      • addImportConfigsBuilder

        public ImportDataConfig.Builder addImportConfigsBuilder()
         Required. The desired input locations. The contents of all input locations
         will be imported in one batch.
         
        repeated .google.cloud.aiplatform.v1.ImportDataConfig import_configs = 2 [(.google.api.field_behavior) = REQUIRED];
      • addImportConfigsBuilder

        public ImportDataConfig.Builder addImportConfigsBuilder​(int index)
         Required. The desired input locations. The contents of all input locations
         will be imported in one batch.
         
        repeated .google.cloud.aiplatform.v1.ImportDataConfig import_configs = 2 [(.google.api.field_behavior) = REQUIRED];
      • getImportConfigsBuilderList

        public List<ImportDataConfig.Builder> getImportConfigsBuilderList()
         Required. The desired input locations. The contents of all input locations
         will be imported in one batch.
         
        repeated .google.cloud.aiplatform.v1.ImportDataConfig import_configs = 2 [(.google.api.field_behavior) = REQUIRED];
      • setUnknownFields

        public final ImportDataRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDataRequest.Builder>
      • mergeUnknownFields

        public final ImportDataRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDataRequest.Builder>