Class Issue (0.29.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.29.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  Issue   extends   GeneratedMessageV3   implements   IssueOrBuilder  
   Issue contains the details of a single issue found by the linter.
 Protobuf type google.cloud.apihub.v1.Issue
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  CODE_FIELD_NUMBER 
  
    
public   static   final   int   CODE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  MESSAGE_FIELD_NUMBER 
  
    
public   static   final   int   MESSAGE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  PATH_FIELD_NUMBER 
  
    
public   static   final   int   PATH_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  RANGE_FIELD_NUMBER 
  
    
public   static   final   int   RANGE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  SEVERITY_FIELD_NUMBER 
  
    
public   static   final   int   SEVERITY_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   Issue   getDefaultInstance ()  
  
    
      
        Returns  
      
        Type Description  
      
        Issue  
     
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   Issue . Builder   newBuilder ()  
  
  newBuilder(Issue prototype) 
  
    
public   static   Issue . Builder   newBuilder ( Issue   prototype )  
  
    
      
        Parameter  
      
        Name Description  
      
        prototypeIssue  
     
  
  
  
    
public   static   Issue   parseDelimitedFrom ( InputStream   input )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Issue  
     
  
  
  
    
public   static   Issue   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Issue  
     
  
  
  parseFrom(byte[] data) 
  
    
public   static   Issue   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        Issue  
     
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   Issue   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Issue  
     
  
  
  parseFrom(ByteString data) 
  
    
public   static   Issue   parseFrom ( ByteString   data )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Issue  
     
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   Issue   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Issue  
     
  
  
  
    
public   static   Issue   parseFrom ( CodedInputStream   input )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Issue  
     
  
  
  
    
public   static   Issue   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Issue  
     
  
  
  
    
public   static   Issue   parseFrom ( InputStream   input )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Issue  
     
  
  
  
    
public   static   Issue   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Issue  
     
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   Issue   parseFrom ( ByteBuffer   data )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Issue  
     
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   Issue   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Issue  
     
  
  
  parser() 
  
    
public   static   Parser<Issue>   parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getCode() 
  
   Required. Rule code unique to each rule defined in linter.
 string code = 1 [(.google.api.field_behavior) = REQUIRED];
    
      
        Returns  
      
        Type Description  
      
        String The code.
 
     
  
  getCodeBytes() 
  
    
public   ByteString   getCodeBytes ()  
   Required. Rule code unique to each rule defined in linter.
 string code = 1 [(.google.api.field_behavior) = REQUIRED];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for code.
 
     
  
  getDefaultInstanceForType() 
  
    
public   Issue   getDefaultInstanceForType ()  
  
    
      
        Returns  
      
        Type Description  
      
        Issue  
     
  
  getMessage() 
  
    
public   String   getMessage ()  
   Required. Human-readable message describing the issue found by the linter.
 string message = 3 [(.google.api.field_behavior) = REQUIRED];
    
      
        Returns  
      
        Type Description  
      
        String The message.
 
     
  
  getMessageBytes() 
  
    
public   ByteString   getMessageBytes ()  
   Required. Human-readable message describing the issue found by the linter.
 string message = 3 [(.google.api.field_behavior) = REQUIRED];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for message.
 
     
  
  getParserForType() 
  
    
public   Parser<Issue>   getParserForType ()  
  
  Overrides 
  
  getPath(int index) 
  
    
public   String   getPath ( int   index )  
   Required. An array of strings indicating the location in the analyzed
 document where the rule was triggered.
 repeated string path = 2 [(.google.api.field_behavior) = REQUIRED];
    
      
        Parameter  
      
        Name Description  
      
        indexint The index of the element to return.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        String The path at the given index.
 
     
  
  getPathBytes(int index) 
  
    
public   ByteString   getPathBytes ( int   index )  
   Required. An array of strings indicating the location in the analyzed
 document where the rule was triggered.
 repeated string path = 2 [(.google.api.field_behavior) = REQUIRED];
    
      
        Parameter  
      
        Name Description  
      
        indexint The index of the value to return.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes of the path at the given index.
 
     
  
  getPathCount() 
  
    
public   int   getPathCount ()  
   Required. An array of strings indicating the location in the analyzed
 document where the rule was triggered.
 repeated string path = 2 [(.google.api.field_behavior) = REQUIRED];
    
      
        Returns  
      
        Type Description  
      
        int The count of path.
 
     
  
  getPathList() 
  
    
public   ProtocolStringList   getPathList ()  
   Required. An array of strings indicating the location in the analyzed
 document where the rule was triggered.
 repeated string path = 2 [(.google.api.field_behavior) = REQUIRED];
getRange() 
  
   Required. Object describing where in the file the issue was found.
 .google.cloud.apihub.v1.Range range = 5 [(.google.api.field_behavior) = REQUIRED];
    
      
        Returns  
      
        Type Description  
      
        Range The range.
 
     
  
  getRangeOrBuilder() 
  
    
public   RangeOrBuilder   getRangeOrBuilder ()  
   Required. Object describing where in the file the issue was found.
 .google.cloud.apihub.v1.Range range = 5 [(.google.api.field_behavior) = REQUIRED];
getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  getSeverity() 
  
    
public   Severity   getSeverity ()  
   Required. Severity level of the rule violation.
 .google.cloud.apihub.v1.Severity severity = 4 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        Returns  
      
        Type Description  
      
        Severity The severity.
 
     
  
  getSeverityValue() 
  
    
public   int   getSeverityValue ()  
   Required. Severity level of the rule violation.
 .google.cloud.apihub.v1.Severity severity = 4 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        Returns  
      
        Type Description  
      
        int The enum numeric value on the wire for severity.
 
     
  
  hasRange() 
  
    
public   boolean   hasRange ()  
   Required. Object describing where in the file the issue was found.
 .google.cloud.apihub.v1.Range range = 5 [(.google.api.field_behavior) = REQUIRED];
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the range field is set.
 
     
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   Issue . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   Issue . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   Issue . Builder   toBuilder ()  
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  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-28 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-28 UTC."],[],[]]