Interface IssueOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Issue, Issue.Builder

@Generated public interface IssueOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getCode

      String getCode()
       Required. Rule code unique to each rule defined in linter.
       
      string code = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The code.
    • getCodeBytes

      com.google.protobuf.ByteString getCodeBytes()
       Required. Rule code unique to each rule defined in linter.
       
      string code = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for code.
    • getPathList

      List<String> 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];
      Returns:
      A list containing the path.
    • getPathCount

      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:
      The count of path.
    • getPath

      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];
      Parameters:
      index - The index of the element to return.
      Returns:
      The path at the given index.
    • getPathBytes

      com.google.protobuf.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];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the path at the given index.
    • getMessage

      String getMessage()
       Required. Human-readable message describing the issue found by the linter.
       
      string message = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The message.
    • getMessageBytes

      com.google.protobuf.ByteString getMessageBytes()
       Required. Human-readable message describing the issue found by the linter.
       
      string message = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for message.
    • getSeverityValue

      int getSeverityValue()
       Required. Severity level of the rule violation.
       
      .google.cloud.apihub.v1.Severity severity = 4 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The enum numeric value on the wire for severity.
    • getSeverity

      Severity getSeverity()
       Required. Severity level of the rule violation.
       
      .google.cloud.apihub.v1.Severity severity = 4 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The severity.
    • hasRange

      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:
      Whether the range field is set.
    • getRange

      Range 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:
      The range.
    • getRangeOrBuilder

      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];