Class UpdateCurationRequest.Builder

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

public static final class UpdateCurationRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdateCurationRequest.Builder> implements UpdateCurationRequestOrBuilder
 The [UpdateCuration][ApiHub.UpdateCuration] method's request.
 
Protobuf type google.cloud.apihub.v1.UpdateCurationRequest
  • 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<UpdateCurationRequest.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<UpdateCurationRequest.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<UpdateCurationRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

      public boolean hasCuration()
       Required. The curation resource to update.
      
       The curation resource's `name` field is used to identify the curation
       resource to update.
       Format: `projects/{project}/locations/{location}/curations/{curation}`
       
      .google.cloud.apihub.v1.Curation curation = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasCuration in interface UpdateCurationRequestOrBuilder
      Returns:
      Whether the curation field is set.
    • getCuration

      public Curation getCuration()
       Required. The curation resource to update.
      
       The curation resource's `name` field is used to identify the curation
       resource to update.
       Format: `projects/{project}/locations/{location}/curations/{curation}`
       
      .google.cloud.apihub.v1.Curation curation = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCuration in interface UpdateCurationRequestOrBuilder
      Returns:
      The curation.
    • setCuration

      public UpdateCurationRequest.Builder setCuration(Curation value)
       Required. The curation resource to update.
      
       The curation resource's `name` field is used to identify the curation
       resource to update.
       Format: `projects/{project}/locations/{location}/curations/{curation}`
       
      .google.cloud.apihub.v1.Curation curation = 1 [(.google.api.field_behavior) = REQUIRED];
    • setCuration

      public UpdateCurationRequest.Builder setCuration(Curation.Builder builderForValue)
       Required. The curation resource to update.
      
       The curation resource's `name` field is used to identify the curation
       resource to update.
       Format: `projects/{project}/locations/{location}/curations/{curation}`
       
      .google.cloud.apihub.v1.Curation curation = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergeCuration

      public UpdateCurationRequest.Builder mergeCuration(Curation value)
       Required. The curation resource to update.
      
       The curation resource's `name` field is used to identify the curation
       resource to update.
       Format: `projects/{project}/locations/{location}/curations/{curation}`
       
      .google.cloud.apihub.v1.Curation curation = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearCuration

      public UpdateCurationRequest.Builder clearCuration()
       Required. The curation resource to update.
      
       The curation resource's `name` field is used to identify the curation
       resource to update.
       Format: `projects/{project}/locations/{location}/curations/{curation}`
       
      .google.cloud.apihub.v1.Curation curation = 1 [(.google.api.field_behavior) = REQUIRED];
    • getCurationBuilder

      public Curation.Builder getCurationBuilder()
       Required. The curation resource to update.
      
       The curation resource's `name` field is used to identify the curation
       resource to update.
       Format: `projects/{project}/locations/{location}/curations/{curation}`
       
      .google.cloud.apihub.v1.Curation curation = 1 [(.google.api.field_behavior) = REQUIRED];
    • getCurationOrBuilder

      public CurationOrBuilder getCurationOrBuilder()
       Required. The curation resource to update.
      
       The curation resource's `name` field is used to identify the curation
       resource to update.
       Format: `projects/{project}/locations/{location}/curations/{curation}`
       
      .google.cloud.apihub.v1.Curation curation = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCurationOrBuilder in interface UpdateCurationRequestOrBuilder
    • hasUpdateMask

      public boolean hasUpdateMask()
       Optional. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasUpdateMask in interface UpdateCurationRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Optional. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMask in interface UpdateCurationRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdateCurationRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Optional. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setUpdateMask

      public UpdateCurationRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Optional. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • mergeUpdateMask

      public UpdateCurationRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Optional. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearUpdateMask

      public UpdateCurationRequest.Builder clearUpdateMask()
       Optional. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Optional. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Optional. The list of fields to update.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMaskOrBuilder in interface UpdateCurationRequestOrBuilder