public final class LintResponse extends GeneratedMessageV3 implements LintResponseOrBuilder
LintResponse contains the response from the linter.
Protobuf type google.cloud.apihub.v1.LintResponse
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
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ISSUES_FIELD_NUMBER
public static final int ISSUES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
LINTER_FIELD_NUMBER
public static final int LINTER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SOURCE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SUMMARY_FIELD_NUMBER
public static final int SUMMARY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static LintResponse getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static LintResponse.Builder newBuilder()
newBuilder(LintResponse prototype)
public static LintResponse.Builder newBuilder(LintResponse prototype)
public static LintResponse parseDelimitedFrom(InputStream input)
public static LintResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static LintResponse parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LintResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static LintResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LintResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LintResponse parseFrom(CodedInputStream input)
public static LintResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static LintResponse parseFrom(InputStream input)
public static LintResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static LintResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LintResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<LintResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCreateTime()
public Timestamp getCreateTime()
Required. Timestamp when the linting response was generated.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
Timestamp |
The createTime.
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Required. Timestamp when the linting response was generated.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public LintResponse getDefaultInstanceForType()
getIssues(int index)
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];
Parameter |
Name |
Description |
index |
int
|
Returns |
Type |
Description |
Issue |
|
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];
Returns |
Type |
Description |
int |
|
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];
getIssuesOrBuilder(int index)
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];
Parameter |
Name |
Description |
index |
int
|
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];
Returns |
Type |
Description |
List<? extends com.google.cloud.apihub.v1.IssueOrBuilder> |
|
getLinter()
public Linter getLinter()
Required. Name of the linter used.
.google.cloud.apihub.v1.Linter linter = 5 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
Linter |
The linter.
|
getLinterValue()
public int getLinterValue()
Required. Name of the linter used.
.google.cloud.apihub.v1.Linter linter = 5 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for linter.
|
getParserForType()
public Parser<LintResponse> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getSource()
public String getSource()
Required. Name of the linting application.
string source = 4 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The source.
|
getSourceBytes()
public ByteString getSourceBytes()
Required. Name of the linting application.
string source = 4 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for source.
|
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];
Returns |
Type |
Description |
LintState |
The state.
|
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];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for state.
|
getSummary(int index)
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];
Parameter |
Name |
Description |
index |
int
|
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];
Returns |
Type |
Description |
int |
|
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];
getSummaryOrBuilder(int index)
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];
Parameter |
Name |
Description |
index |
int
|
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];
Returns |
Type |
Description |
List<? extends com.google.cloud.apihub.v1.LintResponse.SummaryEntryOrBuilder> |
|
hasCreateTime()
public boolean hasCreateTime()
Required. Timestamp when the linting response was generated.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the createTime field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public LintResponse.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected LintResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public LintResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides