Class UpdatePullRequestRequest.Builder

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

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

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

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

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

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

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

      public boolean hasPullRequest()
       Required. The pull request to update.
       
      .google.cloud.securesourcemanager.v1.PullRequest pull_request = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasPullRequest in interface UpdatePullRequestRequestOrBuilder
      Returns:
      Whether the pullRequest field is set.
    • getPullRequest

      public PullRequest getPullRequest()
       Required. The pull request to update.
       
      .google.cloud.securesourcemanager.v1.PullRequest pull_request = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPullRequest in interface UpdatePullRequestRequestOrBuilder
      Returns:
      The pullRequest.
    • setPullRequest

      public UpdatePullRequestRequest.Builder setPullRequest(PullRequest value)
       Required. The pull request to update.
       
      .google.cloud.securesourcemanager.v1.PullRequest pull_request = 1 [(.google.api.field_behavior) = REQUIRED];
    • setPullRequest

      public UpdatePullRequestRequest.Builder setPullRequest(PullRequest.Builder builderForValue)
       Required. The pull request to update.
       
      .google.cloud.securesourcemanager.v1.PullRequest pull_request = 1 [(.google.api.field_behavior) = REQUIRED];
    • mergePullRequest

      public UpdatePullRequestRequest.Builder mergePullRequest(PullRequest value)
       Required. The pull request to update.
       
      .google.cloud.securesourcemanager.v1.PullRequest pull_request = 1 [(.google.api.field_behavior) = REQUIRED];
    • clearPullRequest

      public UpdatePullRequestRequest.Builder clearPullRequest()
       Required. The pull request to update.
       
      .google.cloud.securesourcemanager.v1.PullRequest pull_request = 1 [(.google.api.field_behavior) = REQUIRED];
    • getPullRequestBuilder

      public PullRequest.Builder getPullRequestBuilder()
       Required. The pull request to update.
       
      .google.cloud.securesourcemanager.v1.PullRequest pull_request = 1 [(.google.api.field_behavior) = REQUIRED];
    • getPullRequestOrBuilder

      public PullRequestOrBuilder getPullRequestOrBuilder()
       Required. The pull request to update.
       
      .google.cloud.securesourcemanager.v1.PullRequest pull_request = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getPullRequestOrBuilder in interface UpdatePullRequestRequestOrBuilder
    • hasUpdateMask

      public boolean hasUpdateMask()
       Optional. Field mask is used to specify the fields to be overwritten in the
       pull request resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask.
       The special value "*" means full replacement.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasUpdateMask in interface UpdatePullRequestRequestOrBuilder
      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 resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask.
       The special value "*" means full replacement.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMask in interface UpdatePullRequestRequestOrBuilder
      Returns:
      The updateMask.
    • setUpdateMask

      public UpdatePullRequestRequest.Builder setUpdateMask(com.google.protobuf.FieldMask value)
       Optional. Field mask is used to specify the fields to be overwritten in the
       pull request resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask.
       The special value "*" means full replacement.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • setUpdateMask

      public UpdatePullRequestRequest.Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForValue)
       Optional. Field mask is used to specify the fields to be overwritten in the
       pull request resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask.
       The special value "*" means full replacement.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • mergeUpdateMask

      public UpdatePullRequestRequest.Builder mergeUpdateMask(com.google.protobuf.FieldMask value)
       Optional. Field mask is used to specify the fields to be overwritten in the
       pull request resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask.
       The special value "*" means full replacement.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
    • clearUpdateMask

      public UpdatePullRequestRequest.Builder clearUpdateMask()
       Optional. Field mask is used to specify the fields to be overwritten in the
       pull request resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask.
       The special value "*" means full replacement.
       
      .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 resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask.
       The special value "*" means full replacement.
       
      .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 resource by the update.
       The fields specified in the update_mask are relative to the resource, not
       the full request. A field will be overwritten if it is in the mask.
       The special value "*" means full replacement.
       
      .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUpdateMaskOrBuilder in interface UpdatePullRequestRequestOrBuilder