public static final class LintResponse.SummaryEntry.Builder extends GeneratedMessageV3.Builder<LintResponse.SummaryEntry.Builder> implements LintResponse.SummaryEntryOrBuilder
Count of issues with a given severity.
Protobuf type google.cloud.apihub.v1.LintResponse.SummaryEntry
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LintResponse.SummaryEntry.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public LintResponse.SummaryEntry build()
buildPartial()
public LintResponse.SummaryEntry buildPartial()
clear()
public LintResponse.SummaryEntry.Builder clear()
Overrides
clearCount()
public LintResponse.SummaryEntry.Builder clearCount()
Required. Count of issues with the given severity.
int32 count = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public LintResponse.SummaryEntry.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public LintResponse.SummaryEntry.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSeverity()
public LintResponse.SummaryEntry.Builder clearSeverity()
Required. Severity of the issue.
.google.cloud.apihub.v1.Severity severity = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
public LintResponse.SummaryEntry.Builder clone()
Overrides
getCount()
Required. Count of issues with the given severity.
int32 count = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
The count.
|
getDefaultInstanceForType()
public LintResponse.SummaryEntry getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getSeverity()
public Severity getSeverity()
Required. Severity of the issue.
.google.cloud.apihub.v1.Severity severity = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
Severity |
The severity.
|
getSeverityValue()
public int getSeverityValue()
Required. Severity of the issue.
.google.cloud.apihub.v1.Severity severity = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
int |
The enum numeric value on the wire for severity.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(LintResponse.SummaryEntry other)
public LintResponse.SummaryEntry.Builder mergeFrom(LintResponse.SummaryEntry other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LintResponse.SummaryEntry.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public LintResponse.SummaryEntry.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LintResponse.SummaryEntry.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCount(int value)
public LintResponse.SummaryEntry.Builder setCount(int value)
Required. Count of issues with the given severity.
int32 count = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
int
The count to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public LintResponse.SummaryEntry.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LintResponse.SummaryEntry.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSeverity(Severity value)
public LintResponse.SummaryEntry.Builder setSeverity(Severity value)
Required. Severity of the issue.
.google.cloud.apihub.v1.Severity severity = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Severity
The severity to set.
|
setSeverityValue(int value)
public LintResponse.SummaryEntry.Builder setSeverityValue(int value)
Required. Severity of the issue.
.google.cloud.apihub.v1.Severity severity = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
int
The enum numeric value on the wire for severity to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final LintResponse.SummaryEntry.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides