Class HotKeyDebuggingInfo.HotKeyInfo (0.67.0)

public static final class HotKeyDebuggingInfo.HotKeyInfo extends GeneratedMessageV3 implements HotKeyDebuggingInfo.HotKeyInfoOrBuilder

Information about a hot key.

Protobuf type google.dataflow.v1beta3.HotKeyDebuggingInfo.HotKeyInfo

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > HotKeyDebuggingInfo.HotKeyInfo

Static Fields

HOT_KEY_AGE_FIELD_NUMBER

public static final int HOT_KEY_AGE_FIELD_NUMBER
Field Value
Type Description
int

KEY_FIELD_NUMBER

public static final int KEY_FIELD_NUMBER
Field Value
Type Description
int

KEY_TRUNCATED_FIELD_NUMBER

public static final int KEY_TRUNCATED_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static HotKeyDebuggingInfo.HotKeyInfo getDefaultInstance()
Returns
Type Description
HotKeyDebuggingInfo.HotKeyInfo

getDescriptor()

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

newBuilder()

public static HotKeyDebuggingInfo.HotKeyInfo.Builder newBuilder()
Returns
Type Description
HotKeyDebuggingInfo.HotKeyInfo.Builder

newBuilder(HotKeyDebuggingInfo.HotKeyInfo prototype)

public static HotKeyDebuggingInfo.HotKeyInfo.Builder newBuilder(HotKeyDebuggingInfo.HotKeyInfo prototype)
Parameter
Name Description
prototype HotKeyDebuggingInfo.HotKeyInfo
Returns
Type Description
HotKeyDebuggingInfo.HotKeyInfo.Builder

parseDelimitedFrom(InputStream input)

public static HotKeyDebuggingInfo.HotKeyInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
HotKeyDebuggingInfo.HotKeyInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HotKeyDebuggingInfo.HotKeyInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HotKeyDebuggingInfo.HotKeyInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static HotKeyDebuggingInfo.HotKeyInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
HotKeyDebuggingInfo.HotKeyInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static HotKeyDebuggingInfo.HotKeyInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HotKeyDebuggingInfo.HotKeyInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static HotKeyDebuggingInfo.HotKeyInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
HotKeyDebuggingInfo.HotKeyInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static HotKeyDebuggingInfo.HotKeyInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HotKeyDebuggingInfo.HotKeyInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static HotKeyDebuggingInfo.HotKeyInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
HotKeyDebuggingInfo.HotKeyInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static HotKeyDebuggingInfo.HotKeyInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HotKeyDebuggingInfo.HotKeyInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static HotKeyDebuggingInfo.HotKeyInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
HotKeyDebuggingInfo.HotKeyInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static HotKeyDebuggingInfo.HotKeyInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HotKeyDebuggingInfo.HotKeyInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static HotKeyDebuggingInfo.HotKeyInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
HotKeyDebuggingInfo.HotKeyInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static HotKeyDebuggingInfo.HotKeyInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HotKeyDebuggingInfo.HotKeyInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<HotKeyDebuggingInfo.HotKeyInfo> parser()
Returns
Type Description
Parser<HotKeyInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

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.

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.

getParserForType()

public Parser<HotKeyDebuggingInfo.HotKeyInfo> getParserForType()
Returns
Type Description
Parser<HotKeyInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public HotKeyDebuggingInfo.HotKeyInfo.Builder newBuilderForType()
Returns
Type Description
HotKeyDebuggingInfo.HotKeyInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected HotKeyDebuggingInfo.HotKeyInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
HotKeyDebuggingInfo.HotKeyInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public HotKeyDebuggingInfo.HotKeyInfo.Builder toBuilder()
Returns
Type Description
HotKeyDebuggingInfo.HotKeyInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException