Class UpdateExplanationDatasetRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UpdateExplanationDatasetRequest.Builder>
com.google.cloud.aiplatform.v1.UpdateExplanationDatasetRequest.Builder
All Implemented Interfaces:
UpdateExplanationDatasetRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
UpdateExplanationDatasetRequest

public static final class UpdateExplanationDatasetRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateExplanationDatasetRequest.Builder> implements UpdateExplanationDatasetRequestOrBuilder
 Request message for
 [ModelService.UpdateExplanationDataset][google.cloud.aiplatform.v1.ModelService.UpdateExplanationDataset].
 
Protobuf type google.cloud.aiplatform.v1.UpdateExplanationDatasetRequest
  • 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<UpdateExplanationDatasetRequest.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<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.GeneratedMessage.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

      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
    • mergeFrom

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

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

       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

       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.
    • getExamples

      public Examples getExamples()
       The example config containing the location of the dataset.
       
      .google.cloud.aiplatform.v1.Examples examples = 2;
      Specified by:
      getExamples in interface UpdateExplanationDatasetRequestOrBuilder
      Returns:
      The examples.
    • setExamples

       The example config containing the location of the dataset.
       
      .google.cloud.aiplatform.v1.Examples examples = 2;
    • setExamples

      public UpdateExplanationDatasetRequest.Builder setExamples(Examples.Builder builderForValue)
       The example config containing the location of the dataset.
       
      .google.cloud.aiplatform.v1.Examples examples = 2;
    • mergeExamples

      public UpdateExplanationDatasetRequest.Builder mergeExamples(Examples value)
       The example config containing the location of the dataset.
       
      .google.cloud.aiplatform.v1.Examples examples = 2;
    • clearExamples

       The example config containing the location of the dataset.
       
      .google.cloud.aiplatform.v1.Examples examples = 2;
    • getExamplesBuilder

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

      public ExamplesOrBuilder getExamplesOrBuilder()
       The example config containing the location of the dataset.
       
      .google.cloud.aiplatform.v1.Examples examples = 2;
      Specified by:
      getExamplesOrBuilder in interface UpdateExplanationDatasetRequestOrBuilder