Class TailLogEntriesResponse.SuppressionInfo.Builder (3.16.2)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TailLogEntriesResponse.SuppressionInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
TailLogEntriesResponse.SuppressionInfo.Builder
Overrides

build()

public TailLogEntriesResponse.SuppressionInfo build()
Returns
TypeDescription
TailLogEntriesResponse.SuppressionInfo

buildPartial()

public TailLogEntriesResponse.SuppressionInfo buildPartial()
Returns
TypeDescription
TailLogEntriesResponse.SuppressionInfo

clear()

public TailLogEntriesResponse.SuppressionInfo.Builder clear()
Returns
TypeDescription
TailLogEntriesResponse.SuppressionInfo.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public TailLogEntriesResponse.SuppressionInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TailLogEntriesResponse.SuppressionInfo.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TailLogEntriesResponse.SuppressionInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
TailLogEntriesResponse.SuppressionInfo.Builder

This builder for chaining.

clone()

public TailLogEntriesResponse.SuppressionInfo.Builder clone()
Returns
TypeDescription
TailLogEntriesResponse.SuppressionInfo.Builder
Overrides

getDefaultInstanceForType()

public TailLogEntriesResponse.SuppressionInfo getDefaultInstanceForType()
Returns
TypeDescription
TailLogEntriesResponse.SuppressionInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The suppressedCount.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TailLogEntriesResponse.SuppressionInfo other)

public TailLogEntriesResponse.SuppressionInfo.Builder mergeFrom(TailLogEntriesResponse.SuppressionInfo other)
Parameter
NameDescription
otherTailLogEntriesResponse.SuppressionInfo
Returns
TypeDescription
TailLogEntriesResponse.SuppressionInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TailLogEntriesResponse.SuppressionInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TailLogEntriesResponse.SuppressionInfo.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public TailLogEntriesResponse.SuppressionInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
TailLogEntriesResponse.SuppressionInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TailLogEntriesResponse.SuppressionInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TailLogEntriesResponse.SuppressionInfo.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public TailLogEntriesResponse.SuppressionInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueTailLogEntriesResponse.SuppressionInfo.Reason

The reason to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The suppressedCount to set.

Returns
TypeDescription
TailLogEntriesResponse.SuppressionInfo.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final TailLogEntriesResponse.SuppressionInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TailLogEntriesResponse.SuppressionInfo.Builder
Overrides