Package com.google.cloud.apihub.v1
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 Summary
Modifier and TypeMethodDescriptiongetCode()Required.com.google.protobuf.ByteStringRequired.Required.com.google.protobuf.ByteStringRequired.getPath(int index) Required.com.google.protobuf.ByteStringgetPathBytes(int index) Required.intRequired.Required.getRange()Required.Required.Required.intRequired.booleanhasRange()Required.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
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
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];
-