Class LintResponse

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.apihub.v1.LintResponse
All Implemented Interfaces:
LintResponseOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class LintResponse extends com.google.protobuf.GeneratedMessage implements LintResponseOrBuilder
 LintResponse contains the response from the linter.
 
Protobuf type google.cloud.apihub.v1.LintResponse
See Also:
  • Field Details

  • 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
    • getIssuesList

      public List<Issue> getIssuesList()
       Optional. Array of issues found in the analyzed document.
       
      repeated .google.cloud.apihub.v1.Issue issues = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIssuesList in interface LintResponseOrBuilder
    • getIssuesOrBuilderList

      public List<? extends IssueOrBuilder> getIssuesOrBuilderList()
       Optional. Array of issues found in the analyzed document.
       
      repeated .google.cloud.apihub.v1.Issue issues = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIssuesOrBuilderList in interface LintResponseOrBuilder
    • getIssuesCount

      public int getIssuesCount()
       Optional. Array of issues found in the analyzed document.
       
      repeated .google.cloud.apihub.v1.Issue issues = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIssuesCount in interface LintResponseOrBuilder
    • getIssues

      public Issue getIssues(int index)
       Optional. Array of issues found in the analyzed document.
       
      repeated .google.cloud.apihub.v1.Issue issues = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIssues in interface LintResponseOrBuilder
    • getIssuesOrBuilder

      public IssueOrBuilder getIssuesOrBuilder(int index)
       Optional. Array of issues found in the analyzed document.
       
      repeated .google.cloud.apihub.v1.Issue issues = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getIssuesOrBuilder in interface LintResponseOrBuilder
    • getSummaryList

      public List<LintResponse.SummaryEntry> getSummaryList()
       Optional. Summary of all issue types and counts for each severity level.
       
      repeated .google.cloud.apihub.v1.LintResponse.SummaryEntry summary = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSummaryList in interface LintResponseOrBuilder
    • getSummaryOrBuilderList

      public List<? extends LintResponse.SummaryEntryOrBuilder> getSummaryOrBuilderList()
       Optional. Summary of all issue types and counts for each severity level.
       
      repeated .google.cloud.apihub.v1.LintResponse.SummaryEntry summary = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSummaryOrBuilderList in interface LintResponseOrBuilder
    • getSummaryCount

      public int getSummaryCount()
       Optional. Summary of all issue types and counts for each severity level.
       
      repeated .google.cloud.apihub.v1.LintResponse.SummaryEntry summary = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSummaryCount in interface LintResponseOrBuilder
    • getSummary

      public LintResponse.SummaryEntry getSummary(int index)
       Optional. Summary of all issue types and counts for each severity level.
       
      repeated .google.cloud.apihub.v1.LintResponse.SummaryEntry summary = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSummary in interface LintResponseOrBuilder
    • getSummaryOrBuilder

      public LintResponse.SummaryEntryOrBuilder getSummaryOrBuilder(int index)
       Optional. Summary of all issue types and counts for each severity level.
       
      repeated .google.cloud.apihub.v1.LintResponse.SummaryEntry summary = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getSummaryOrBuilder in interface LintResponseOrBuilder
    • getStateValue

      public int getStateValue()
       Required. Lint state represents success or failure for linting.
       
      .google.cloud.apihub.v1.LintState state = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getStateValue in interface LintResponseOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • getState

      public LintState getState()
       Required. Lint state represents success or failure for linting.
       
      .google.cloud.apihub.v1.LintState state = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getState in interface LintResponseOrBuilder
      Returns:
      The state.
    • getSource

      public String getSource()
       Required. Name of the linting application.
       
      string source = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSource in interface LintResponseOrBuilder
      Returns:
      The source.
    • getSourceBytes

      public com.google.protobuf.ByteString getSourceBytes()
       Required. Name of the linting application.
       
      string source = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSourceBytes in interface LintResponseOrBuilder
      Returns:
      The bytes for source.
    • getLinterValue

      public int getLinterValue()
       Required. Name of the linter used.
       
      .google.cloud.apihub.v1.Linter linter = 5 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getLinterValue in interface LintResponseOrBuilder
      Returns:
      The enum numeric value on the wire for linter.
    • getLinter

      public Linter getLinter()
       Required. Name of the linter used.
       
      .google.cloud.apihub.v1.Linter linter = 5 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getLinter in interface LintResponseOrBuilder
      Returns:
      The linter.
    • hasCreateTime

      public boolean hasCreateTime()
       Required. Timestamp when the linting response was generated.
       
      .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      hasCreateTime in interface LintResponseOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Required. Timestamp when the linting response was generated.
       
      .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCreateTime in interface LintResponseOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Required. Timestamp when the linting response was generated.
       
      .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getCreateTimeOrBuilder in interface LintResponseOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static LintResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LintResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LintResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LintResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LintResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LintResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LintResponse parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static LintResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static LintResponse parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static LintResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static LintResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static LintResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public LintResponse.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static LintResponse.Builder newBuilder()
    • newBuilder

      public static LintResponse.Builder newBuilder(LintResponse prototype)
    • toBuilder

      public LintResponse.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected LintResponse.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static LintResponse getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<LintResponse> parser()
    • getParserForType

      public com.google.protobuf.Parser<LintResponse> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public LintResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder