Class LintResponse.SummaryEntry.Builder (0.4.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LintResponse.SummaryEntry.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LintResponse.SummaryEntry.Builder
Overrides

build()

public LintResponse.SummaryEntry build()
Returns
Type Description
LintResponse.SummaryEntry

buildPartial()

public LintResponse.SummaryEntry buildPartial()
Returns
Type Description
LintResponse.SummaryEntry

clear()

public LintResponse.SummaryEntry.Builder clear()
Returns
Type Description
LintResponse.SummaryEntry.Builder
Overrides

clearCount()

public LintResponse.SummaryEntry.Builder clearCount()

Required. Count of issues with the given severity.

int32 count = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LintResponse.SummaryEntry.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public LintResponse.SummaryEntry.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
LintResponse.SummaryEntry.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public LintResponse.SummaryEntry.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
LintResponse.SummaryEntry.Builder
Overrides

clearSeverity()

public LintResponse.SummaryEntry.Builder clearSeverity()

Required. Severity of the issue.

.google.cloud.apihub.v1.Severity severity = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
LintResponse.SummaryEntry.Builder

This builder for chaining.

clone()

public LintResponse.SummaryEntry.Builder clone()
Returns
Type Description
LintResponse.SummaryEntry.Builder
Overrides

getCount()

public int 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()
Returns
Type Description
LintResponse.SummaryEntry

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LintResponse.SummaryEntry other)

public LintResponse.SummaryEntry.Builder mergeFrom(LintResponse.SummaryEntry other)
Parameter
Name Description
other LintResponse.SummaryEntry
Returns
Type Description
LintResponse.SummaryEntry.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LintResponse.SummaryEntry.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LintResponse.SummaryEntry.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public LintResponse.SummaryEntry.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
LintResponse.SummaryEntry.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LintResponse.SummaryEntry.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LintResponse.SummaryEntry.Builder
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.

Returns
Type Description
LintResponse.SummaryEntry.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public LintResponse.SummaryEntry.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LintResponse.SummaryEntry.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public LintResponse.SummaryEntry.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
LintResponse.SummaryEntry.Builder
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.

Returns
Type Description
LintResponse.SummaryEntry.Builder

This builder for chaining.

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.

Returns
Type Description
LintResponse.SummaryEntry.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final LintResponse.SummaryEntry.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LintResponse.SummaryEntry.Builder
Overrides