public static final class HotKeyDebuggingInfo.HotKeyInfo.Builder extends GeneratedMessage.Builder<HotKeyDebuggingInfo.HotKeyInfo.Builder> implements HotKeyDebuggingInfo.HotKeyInfoOrBuilderInformation about a hot key.
Protobuf type google.dataflow.v1beta3.HotKeyDebuggingInfo.HotKeyInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > HotKeyDebuggingInfo.HotKeyInfo.BuilderImplements
HotKeyDebuggingInfo.HotKeyInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
getDefaultInstanceForType()
public HotKeyDebuggingInfo.HotKeyInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
HotKeyDebuggingInfo.HotKeyInfo |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
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 |
|
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 |
StringThe 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 |
ByteStringThe 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 |
booleanThe keyTruncated to set. |
| Returns | |
|---|---|
| Type | Description |
HotKeyDebuggingInfo.HotKeyInfo.Builder |
This builder for chaining. |