Class TailLogEntriesResponse.SuppressionInfo.Builder (3.19.0)

public static final class TailLogEntriesResponse.SuppressionInfo.Builder extends GeneratedMessageV3.Builder<TailLogEntriesResponse.SuppressionInfo.Builder> implements TailLogEntriesResponse.SuppressionInfoOrBuilder

Information about entries that were omitted from the session.

Protobuf type google.logging.v2.TailLogEntriesResponse.SuppressionInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TailLogEntriesResponse.SuppressionInfo build()
Returns
Type Description
TailLogEntriesResponse.SuppressionInfo

buildPartial()

public TailLogEntriesResponse.SuppressionInfo buildPartial()
Returns
Type Description
TailLogEntriesResponse.SuppressionInfo

clear()

public TailLogEntriesResponse.SuppressionInfo.Builder clear()
Returns
Type Description
TailLogEntriesResponse.SuppressionInfo.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public TailLogEntriesResponse.SuppressionInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TailLogEntriesResponse.SuppressionInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TailLogEntriesResponse.SuppressionInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
TailLogEntriesResponse.SuppressionInfo.Builder
Overrides

clearReason()

public TailLogEntriesResponse.SuppressionInfo.Builder clearReason()

The reason that entries were omitted from the session.

.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason reason = 1;

Returns
Type Description
TailLogEntriesResponse.SuppressionInfo.Builder

This builder for chaining.

clearSuppressedCount()

public TailLogEntriesResponse.SuppressionInfo.Builder clearSuppressedCount()

A lower bound on the count of entries omitted due to reason.

int32 suppressed_count = 2;

Returns
Type Description
TailLogEntriesResponse.SuppressionInfo.Builder

This builder for chaining.

clone()

public TailLogEntriesResponse.SuppressionInfo.Builder clone()
Returns
Type Description
TailLogEntriesResponse.SuppressionInfo.Builder
Overrides

getDefaultInstanceForType()

public TailLogEntriesResponse.SuppressionInfo getDefaultInstanceForType()
Returns
Type Description
TailLogEntriesResponse.SuppressionInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getReason()

public TailLogEntriesResponse.SuppressionInfo.Reason getReason()

The reason that entries were omitted from the session.

.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason reason = 1;

Returns
Type Description
TailLogEntriesResponse.SuppressionInfo.Reason

The reason.

getReasonValue()

public int getReasonValue()

The reason that entries were omitted from the session.

.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason reason = 1;

Returns
Type Description
int

The enum numeric value on the wire for reason.

getSuppressedCount()

public int getSuppressedCount()

A lower bound on the count of entries omitted due to reason.

int32 suppressed_count = 2;

Returns
Type Description
int

The suppressedCount.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TailLogEntriesResponse.SuppressionInfo other)

public TailLogEntriesResponse.SuppressionInfo.Builder mergeFrom(TailLogEntriesResponse.SuppressionInfo other)
Parameter
Name Description
other TailLogEntriesResponse.SuppressionInfo
Returns
Type Description
TailLogEntriesResponse.SuppressionInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public TailLogEntriesResponse.SuppressionInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TailLogEntriesResponse.SuppressionInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TailLogEntriesResponse.SuppressionInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TailLogEntriesResponse.SuppressionInfo.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setReason(TailLogEntriesResponse.SuppressionInfo.Reason value)

public TailLogEntriesResponse.SuppressionInfo.Builder setReason(TailLogEntriesResponse.SuppressionInfo.Reason value)

The reason that entries were omitted from the session.

.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason reason = 1;

Parameter
Name Description
value TailLogEntriesResponse.SuppressionInfo.Reason

The reason to set.

Returns
Type Description
TailLogEntriesResponse.SuppressionInfo.Builder

This builder for chaining.

setReasonValue(int value)

public TailLogEntriesResponse.SuppressionInfo.Builder setReasonValue(int value)

The reason that entries were omitted from the session.

.google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason reason = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for reason to set.

Returns
Type Description
TailLogEntriesResponse.SuppressionInfo.Builder

This builder for chaining.

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

public TailLogEntriesResponse.SuppressionInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
TailLogEntriesResponse.SuppressionInfo.Builder
Overrides

setSuppressedCount(int value)

public TailLogEntriesResponse.SuppressionInfo.Builder setSuppressedCount(int value)

A lower bound on the count of entries omitted due to reason.

int32 suppressed_count = 2;

Parameter
Name Description
value int

The suppressedCount to set.

Returns
Type Description
TailLogEntriesResponse.SuppressionInfo.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final TailLogEntriesResponse.SuppressionInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TailLogEntriesResponse.SuppressionInfo.Builder
Overrides