Class MigratableResource.AutomlModel.Builder

    • 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<MigratableResource.AutomlModel.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<MigratableResource.AutomlModel.Builder>
      • getDefaultInstanceForType

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

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

        public MigratableResource.AutomlModel buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

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

        public String getModel()
         Full resource name of automl Model.
         Format:
         `projects/{project}/locations/{location}/models/{model}`.
         
        string model = 1 [(.google.api.resource_reference) = { ... }
        Specified by:
        getModel in interface MigratableResource.AutomlModelOrBuilder
        Returns:
        The model.
      • getModelBytes

        public com.google.protobuf.ByteString getModelBytes()
         Full resource name of automl Model.
         Format:
         `projects/{project}/locations/{location}/models/{model}`.
         
        string model = 1 [(.google.api.resource_reference) = { ... }
        Specified by:
        getModelBytes in interface MigratableResource.AutomlModelOrBuilder
        Returns:
        The bytes for model.
      • setModel

        public MigratableResource.AutomlModel.Builder setModel​(String value)
         Full resource name of automl Model.
         Format:
         `projects/{project}/locations/{location}/models/{model}`.
         
        string model = 1 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The model to set.
        Returns:
        This builder for chaining.
      • clearModel

        public MigratableResource.AutomlModel.Builder clearModel()
         Full resource name of automl Model.
         Format:
         `projects/{project}/locations/{location}/models/{model}`.
         
        string model = 1 [(.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setModelBytes

        public MigratableResource.AutomlModel.Builder setModelBytes​(com.google.protobuf.ByteString value)
         Full resource name of automl Model.
         Format:
         `projects/{project}/locations/{location}/models/{model}`.
         
        string model = 1 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for model to set.
        Returns:
        This builder for chaining.
      • setModelDisplayName

        public MigratableResource.AutomlModel.Builder setModelDisplayName​(String value)
         The Model's display name in automl.googleapis.com.
         
        string model_display_name = 3;
        Parameters:
        value - The modelDisplayName to set.
        Returns:
        This builder for chaining.
      • clearModelDisplayName

        public MigratableResource.AutomlModel.Builder clearModelDisplayName()
         The Model's display name in automl.googleapis.com.
         
        string model_display_name = 3;
        Returns:
        This builder for chaining.
      • setModelDisplayNameBytes

        public MigratableResource.AutomlModel.Builder setModelDisplayNameBytes​(com.google.protobuf.ByteString value)
         The Model's display name in automl.googleapis.com.
         
        string model_display_name = 3;
        Parameters:
        value - The bytes for modelDisplayName to set.
        Returns:
        This builder for chaining.