Class UpdateExplanationDatasetRequest.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<UpdateExplanationDatasetRequest.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<UpdateExplanationDatasetRequest.Builder>
      • getDefaultInstanceForType

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

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

        public UpdateExplanationDatasetRequest 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<UpdateExplanationDatasetRequest.Builder>
      • getModel

        public String getModel()
         Required. The resource name of the Model to update.
         Format: `projects/{project}/locations/{location}/models/{model}`
         
        string model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getModel in interface UpdateExplanationDatasetRequestOrBuilder
        Returns:
        The model.
      • getModelBytes

        public com.google.protobuf.ByteString getModelBytes()
         Required. The resource name of the Model to update.
         Format: `projects/{project}/locations/{location}/models/{model}`
         
        string model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getModelBytes in interface UpdateExplanationDatasetRequestOrBuilder
        Returns:
        The bytes for model.
      • setModel

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

        public UpdateExplanationDatasetRequest.Builder clearModel()
         Required. The resource name of the Model to update.
         Format: `projects/{project}/locations/{location}/models/{model}`
         
        string model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setModelBytes

        public UpdateExplanationDatasetRequest.Builder setModelBytes​(com.google.protobuf.ByteString value)
         Required. The resource name of the Model to update.
         Format: `projects/{project}/locations/{location}/models/{model}`
         
        string model = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for model to set.
        Returns:
        This builder for chaining.
      • hasExamples

        public boolean hasExamples()
         The example config containing the location of the dataset.
         
        .google.cloud.aiplatform.v1.Examples examples = 2;
        Specified by:
        hasExamples in interface UpdateExplanationDatasetRequestOrBuilder
        Returns:
        Whether the examples field is set.
      • getExamplesBuilder

        public Examples.Builder getExamplesBuilder()
         The example config containing the location of the dataset.
         
        .google.cloud.aiplatform.v1.Examples examples = 2;