Class UpdatePullRequestCommentRequest.Builder

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

public static final class UpdatePullRequestCommentRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<UpdatePullRequestCommentRequest.Builder> implements UpdatePullRequestCommentRequestOrBuilder
 The request to update a pull request comment.
 
Protobuf type google.cloud.securesourcemanager.v1.UpdatePullRequestCommentRequest
  • 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<UpdatePullRequestCommentRequest.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<UpdatePullRequestCommentRequest.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<UpdatePullRequestCommentRequest.Builder>
    • getDefaultInstanceForType

      public UpdatePullRequestCommentRequest 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 UpdatePullRequestCommentRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

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

      public boolean hasPullRequestComment()
       Required. The pull request comment to update.
       
      .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comment = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasPullRequestComment in interface UpdatePullRequestCommentRequestOrBuilder
      Returns:
      Whether the pullRequestComment field is set.
    • getPullRequestComment

      public PullRequestComment getPullRequestComment()
       Required. The pull request comment to update.
       
      .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comment = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPullRequestComment in interface UpdatePullRequestCommentRequestOrBuilder
      Returns:
      The pullRequestComment.
    • setPullRequestComment

      public UpdatePullRequestCommentRequest.Builder setPullRequestComment(PullRequestComment value)
       Required. The pull request comment to update.
       
      .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comment = 1 [(.google.api.field_behavior) = REQUIRED];
    • setPullRequestComment

      public UpdatePullRequestCommentRequest.Builder setPullRequestComment(PullRequestComment.Builder builderForValue)
       Required. The pull request comment to update.
       
      .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comment = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergePullRequestComment

      public UpdatePullRequestCommentRequest.Builder mergePullRequestComment(PullRequestComment value)
       Required. The pull request comment to update.
       
      .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comment = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearPullRequestComment

      public UpdatePullRequestCommentRequest.Builder clearPullRequestComment()
       Required. The pull request comment to update.
       
      .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comment = 1 [(.google.api.field_behavior) = REQUIRED];
    • getPullRequestCommentBuilder

      public PullRequestComment.Builder getPullRequestCommentBuilder()
       Required. The pull request comment to update.
       
      .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comment = 1 [(.google.api.field_behavior) = REQUIRED];
    • getPullRequestCommentOrBuilder

      public PullRequestCommentOrBuilder getPullRequestCommentOrBuilder()
       Required. The pull request comment to update.
       
      .google.cloud.securesourcemanager.v1.PullRequestComment pull_request_comment = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPullRequestCommentOrBuilder in interface UpdatePullRequestCommentRequestOrBuilder
    • hasUpdateMask

      public boolean hasUpdateMask()
       Optional. Field mask is used to specify the fields to be overwritten in the
       pull request comment resource by the update. Updatable fields are
       `body`.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasUpdateMask in interface UpdatePullRequestCommentRequestOrBuilder
      Returns:
      Whether the updateMask field is set.
    • getUpdateMask

      public com.google.protobuf.FieldMask getUpdateMask()
       Optional. Field mask is used to specify the fields to be overwritten in the
       pull request comment resource by the update. Updatable fields are
       `body`.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMask in interface UpdatePullRequestCommentRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdatePullRequestCommentRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Optional. Field mask is used to specify the fields to be overwritten in the
       pull request comment resource by the update. Updatable fields are
       `body`.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setUpdateMask

      public UpdatePullRequestCommentRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Optional. Field mask is used to specify the fields to be overwritten in the
       pull request comment resource by the update. Updatable fields are
       `body`.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • mergeUpdateMask

      public UpdatePullRequestCommentRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Optional. Field mask is used to specify the fields to be overwritten in the
       pull request comment resource by the update. Updatable fields are
       `body`.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearUpdateMask

      public UpdatePullRequestCommentRequest.Builder clearUpdateMask()
       Optional. Field mask is used to specify the fields to be overwritten in the
       pull request comment resource by the update. Updatable fields are
       `body`.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskBuilder

      public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder()
       Optional. Field mask is used to specify the fields to be overwritten in the
       pull request comment resource by the update. Updatable fields are
       `body`.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • getUpdateMaskOrBuilder

      public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
       Optional. Field mask is used to specify the fields to be overwritten in the
       pull request comment resource by the update. Updatable fields are
       `body`.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMaskOrBuilder in interface UpdatePullRequestCommentRequestOrBuilder