Class PullRequestComment.Position.Builder (0.46.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.46.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  PullRequestComment . Position . Builder   extends   GeneratedMessageV3 . Builder<PullRequestComment . Position . Builder >  implements   PullRequestComment . PositionOrBuilder  
   The position of the code comment.
 Protobuf type google.cloud.securesourcemanager.v1.PullRequestComment.Position
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder() 
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int) 
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int) 
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString) 
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int) 
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int) 
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder) 
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Methods
   
  
  
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  Methods
   
  
  
  
    
public   PullRequestComment . Position . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  
  
  
    
public   PullRequestComment . Position   build ()  
  
  
  
  
    
public   PullRequestComment . Position   buildPartial ()  
  
  
  
  
    
public   PullRequestComment . Position . Builder   clear ()  
  
  Overrides 
  
  
  
  
    
public   PullRequestComment . Position . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  
  
  
    
public   PullRequestComment . Position . Builder   clearLine ()  
   Required. The line number of the comment. Positive value means it's on
 the new side of the diff, negative value means it's on the old side.
 int64 line = 2 [(.google.api.field_behavior) = REQUIRED];
    
public   PullRequestComment . Position . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  
  
  
    
public   PullRequestComment . Position . Builder   clearPath ()  
   Required. The path of the file.
 string path = 1 [(.google.api.field_behavior) = REQUIRED];
    
public   PullRequestComment . Position . Builder   clone ()  
  
  Overrides 
  
  
  
  
    
public   PullRequestComment . Position   getDefaultInstanceForType ()  
  
  
  
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  
  
  
   Required. The line number of the comment. Positive value means it's on
 the new side of the diff, negative value means it's on the old side.
 int64 line = 2 [(.google.api.field_behavior) = REQUIRED];
    
      
        Returns  
      
        Type Description  
      
        long The line.
 
     
  
  
  
  
   Required. The path of the file.
 string path = 1 [(.google.api.field_behavior) = REQUIRED];
    
      
        Returns  
      
        Type Description  
      
        String The path.
 
     
  
  
  
  
    
public   ByteString   getPathBytes ()  
   Required. The path of the file.
 string path = 1 [(.google.api.field_behavior) = REQUIRED];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for path.
 
     
  
  
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  
  
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  
  
  
    
public   PullRequestComment . Position . Builder   mergeFrom ( PullRequestComment . Position   other )  
  
  
  
  
  
    
public   PullRequestComment . Position . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  
  
  
    
public   PullRequestComment . Position . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  
  
  
    
public   final   PullRequestComment . Position . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  
  
  
    
public   PullRequestComment . Position . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  
  
  
    
public   PullRequestComment . Position . Builder   setLine ( long   value )  
   Required. The line number of the comment. Positive value means it's on
 the new side of the diff, negative value means it's on the old side.
 int64 line = 2 [(.google.api.field_behavior) = REQUIRED];
    
      
        Parameter  
      
        Name Description  
      
        valuelong The line to set.
 
     
  
  
  
  
  
    
public   PullRequestComment . Position . Builder   setPath ( String   value )  
   Required. The path of the file.
 string path = 1 [(.google.api.field_behavior) = REQUIRED];
    
      
        Parameter  
      
        Name Description  
      
        valueString The path to set.
 
     
  
  
  
  
  
    
public   PullRequestComment . Position . Builder   setPathBytes ( ByteString   value )  
   Required. The path of the file.
 string path = 1 [(.google.api.field_behavior) = REQUIRED];
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for path to set.
 
     
  
  
  
  
  
    
public   PullRequestComment . Position . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  
  
  
    
public   final   PullRequestComment . Position . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]