Class HotKeyDebuggingInfo.HotKeyInfo.Builder (0.67.0)

public static final class HotKeyDebuggingInfo.HotKeyInfo.Builder extends GeneratedMessageV3.Builder<HotKeyDebuggingInfo.HotKeyInfo.Builder> implements HotKeyDebuggingInfo.HotKeyInfoOrBuilder

Information about a hot key.

Protobuf type google.dataflow.v1beta3.HotKeyDebuggingInfo.HotKeyInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public HotKeyDebuggingInfo.HotKeyInfo build()
Returns
Type Description
HotKeyDebuggingInfo.HotKeyInfo

buildPartial()

public HotKeyDebuggingInfo.HotKeyInfo buildPartial()
Returns
Type Description
HotKeyDebuggingInfo.HotKeyInfo

clear()

public HotKeyDebuggingInfo.HotKeyInfo.Builder clear()
Returns
Type Description
HotKeyDebuggingInfo.HotKeyInfo.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public HotKeyDebuggingInfo.HotKeyInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
HotKeyDebuggingInfo.HotKeyInfo.Builder
Overrides

clearHotKeyAge()

public HotKeyDebuggingInfo.HotKeyInfo.Builder clearHotKeyAge()

The age of the hot key measured from when it was first detected.

.google.protobuf.Duration hot_key_age = 1;

Returns
Type Description
HotKeyDebuggingInfo.HotKeyInfo.Builder

clearKey()

public HotKeyDebuggingInfo.HotKeyInfo.Builder clearKey()

A detected hot key that is causing limited parallelism. This field will be populated only if the following flag is set to true: "--enable_hot_key_logging".

string key = 2;

Returns
Type Description
HotKeyDebuggingInfo.HotKeyInfo.Builder

This builder for chaining.

clearKeyTruncated()

public HotKeyDebuggingInfo.HotKeyInfo.Builder clearKeyTruncated()

If true, then the above key is truncated and cannot be deserialized. This occurs if the key above is populated and the key size is >5MB.

bool key_truncated = 3;

Returns
Type Description
HotKeyDebuggingInfo.HotKeyInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public HotKeyDebuggingInfo.HotKeyInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
HotKeyDebuggingInfo.HotKeyInfo.Builder
Overrides

clone()

public HotKeyDebuggingInfo.HotKeyInfo.Builder clone()
Returns
Type Description
HotKeyDebuggingInfo.HotKeyInfo.Builder
Overrides

getDefaultInstanceForType()

public HotKeyDebuggingInfo.HotKeyInfo getDefaultInstanceForType()
Returns
Type Description
HotKeyDebuggingInfo.HotKeyInfo

getDescriptorForType()

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

getHotKeyAge()

public Duration getHotKeyAge()

The age of the hot key measured from when it was first detected.

.google.protobuf.Duration hot_key_age = 1;

Returns
Type Description
Duration

The hotKeyAge.

getHotKeyAgeBuilder()

public Duration.Builder getHotKeyAgeBuilder()

The age of the hot key measured from when it was first detected.

.google.protobuf.Duration hot_key_age = 1;

Returns
Type Description
Builder

getHotKeyAgeOrBuilder()

public DurationOrBuilder getHotKeyAgeOrBuilder()

The age of the hot key measured from when it was first detected.

.google.protobuf.Duration hot_key_age = 1;

Returns
Type Description
DurationOrBuilder

getKey()

public String getKey()

A detected hot key that is causing limited parallelism. This field will be populated only if the following flag is set to true: "--enable_hot_key_logging".

string key = 2;

Returns
Type Description
String

The key.

getKeyBytes()

public ByteString getKeyBytes()

A detected hot key that is causing limited parallelism. This field will be populated only if the following flag is set to true: "--enable_hot_key_logging".

string key = 2;

Returns
Type Description
ByteString

The bytes for key.

getKeyTruncated()

public boolean getKeyTruncated()

If true, then the above key is truncated and cannot be deserialized. This occurs if the key above is populated and the key size is >5MB.

bool key_truncated = 3;

Returns
Type Description
boolean

The keyTruncated.

hasHotKeyAge()

public boolean hasHotKeyAge()

The age of the hot key measured from when it was first detected.

.google.protobuf.Duration hot_key_age = 1;

Returns
Type Description
boolean

Whether the hotKeyAge field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(HotKeyDebuggingInfo.HotKeyInfo other)

public HotKeyDebuggingInfo.HotKeyInfo.Builder mergeFrom(HotKeyDebuggingInfo.HotKeyInfo other)
Parameter
Name Description
other HotKeyDebuggingInfo.HotKeyInfo
Returns
Type Description
HotKeyDebuggingInfo.HotKeyInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public HotKeyDebuggingInfo.HotKeyInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
HotKeyDebuggingInfo.HotKeyInfo.Builder
Overrides

mergeHotKeyAge(Duration value)

public HotKeyDebuggingInfo.HotKeyInfo.Builder mergeHotKeyAge(Duration value)

The age of the hot key measured from when it was first detected.

.google.protobuf.Duration hot_key_age = 1;

Parameter
Name Description
value Duration
Returns
Type Description
HotKeyDebuggingInfo.HotKeyInfo.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final HotKeyDebuggingInfo.HotKeyInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HotKeyDebuggingInfo.HotKeyInfo.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setHotKeyAge(Duration value)

public HotKeyDebuggingInfo.HotKeyInfo.Builder setHotKeyAge(Duration value)

The age of the hot key measured from when it was first detected.

.google.protobuf.Duration hot_key_age = 1;

Parameter
Name Description
value Duration
Returns
Type Description
HotKeyDebuggingInfo.HotKeyInfo.Builder

setHotKeyAge(Duration.Builder builderForValue)

public HotKeyDebuggingInfo.HotKeyInfo.Builder setHotKeyAge(Duration.Builder builderForValue)

The age of the hot key measured from when it was first detected.

.google.protobuf.Duration hot_key_age = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
HotKeyDebuggingInfo.HotKeyInfo.Builder

setKey(String value)

public HotKeyDebuggingInfo.HotKeyInfo.Builder setKey(String value)

A detected hot key that is causing limited parallelism. This field will be populated only if the following flag is set to true: "--enable_hot_key_logging".

string key = 2;

Parameter
Name Description
value String

The key to set.

Returns
Type Description
HotKeyDebuggingInfo.HotKeyInfo.Builder

This builder for chaining.

setKeyBytes(ByteString value)

public HotKeyDebuggingInfo.HotKeyInfo.Builder setKeyBytes(ByteString value)

A detected hot key that is causing limited parallelism. This field will be populated only if the following flag is set to true: "--enable_hot_key_logging".

string key = 2;

Parameter
Name Description
value ByteString

The bytes for key to set.

Returns
Type Description
HotKeyDebuggingInfo.HotKeyInfo.Builder

This builder for chaining.

setKeyTruncated(boolean value)

public HotKeyDebuggingInfo.HotKeyInfo.Builder setKeyTruncated(boolean value)

If true, then the above key is truncated and cannot be deserialized. This occurs if the key above is populated and the key size is >5MB.

bool key_truncated = 3;

Parameter
Name Description
value boolean

The keyTruncated to set.

Returns
Type Description
HotKeyDebuggingInfo.HotKeyInfo.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final HotKeyDebuggingInfo.HotKeyInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
HotKeyDebuggingInfo.HotKeyInfo.Builder
Overrides