Interface LintResponseOrBuilder (0.1.0)

public interface LintResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCreateTime()

public abstract 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 abstract TimestampOrBuilder getCreateTimeOrBuilder()

Required. Timestamp when the linting response was generated.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
TimestampOrBuilder

getIssues(int index)

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

Returns
Type Description
List<Issue>

getIssuesOrBuilder(int index)

public abstract 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
Returns
Type Description
IssueOrBuilder

getIssuesOrBuilderList()

public abstract 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 abstract 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 abstract 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.

getSource()

public abstract String getSource()

Required. Name of the linting application.

string source = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The source.

getSourceBytes()

public abstract 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 abstract 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 abstract 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 abstract 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
Returns
Type Description
LintResponse.SummaryEntry

getSummaryCount()

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

Returns
Type Description
List<SummaryEntry>

getSummaryOrBuilder(int index)

public abstract 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
Returns
Type Description
LintResponse.SummaryEntryOrBuilder

getSummaryOrBuilderList()

public abstract 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 abstract 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.