Package com.google.dataflow.v1beta3
Class HotKeyDebuggingInfo.HotKeyInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<HotKeyDebuggingInfo.HotKeyInfo.Builder>
com.google.dataflow.v1beta3.HotKeyDebuggingInfo.HotKeyInfo.Builder
- All Implemented Interfaces:
HotKeyDebuggingInfo.HotKeyInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- HotKeyDebuggingInfo.HotKeyInfo
public static final class HotKeyDebuggingInfo.HotKeyInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<HotKeyDebuggingInfo.HotKeyInfo.Builder>
implements HotKeyDebuggingInfo.HotKeyInfoOrBuilder
Information about a hot key.Protobuf type
google.dataflow.v1beta3.HotKeyDebuggingInfo.HotKeyInfo-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The age of the hot key measured from when it was first detected.clearKey()A detected hot key that is causing limited parallelism.If true, then the above key is truncated and cannot be deserialized.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DurationThe age of the hot key measured from when it was first detected.com.google.protobuf.Duration.BuilderThe age of the hot key measured from when it was first detected.com.google.protobuf.DurationOrBuilderThe age of the hot key measured from when it was first detected.getKey()A detected hot key that is causing limited parallelism.com.google.protobuf.ByteStringA detected hot key that is causing limited parallelism.booleanIf true, then the above key is truncated and cannot be deserialized.booleanThe age of the hot key measured from when it was first detected.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeHotKeyAge(com.google.protobuf.Duration value) The age of the hot key measured from when it was first detected.setHotKeyAge(com.google.protobuf.Duration value) The age of the hot key measured from when it was first detected.setHotKeyAge(com.google.protobuf.Duration.Builder builderForValue) The age of the hot key measured from when it was first detected.A detected hot key that is causing limited parallelism.setKeyBytes(com.google.protobuf.ByteString value) A detected hot key that is causing limited parallelism.setKeyTruncated(boolean value) If true, then the above key is truncated and cannot be deserialized.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<HotKeyDebuggingInfo.HotKeyInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<HotKeyDebuggingInfo.HotKeyInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<HotKeyDebuggingInfo.HotKeyInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HotKeyDebuggingInfo.HotKeyInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<HotKeyDebuggingInfo.HotKeyInfo.Builder>
-
mergeFrom
public HotKeyDebuggingInfo.HotKeyInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<HotKeyDebuggingInfo.HotKeyInfo.Builder>- Throws:
IOException
-
hasHotKeyAge
public boolean hasHotKeyAge()The age of the hot key measured from when it was first detected.
.google.protobuf.Duration hot_key_age = 1;- Specified by:
hasHotKeyAgein interfaceHotKeyDebuggingInfo.HotKeyInfoOrBuilder- Returns:
- Whether the hotKeyAge field is set.
-
getHotKeyAge
public com.google.protobuf.Duration getHotKeyAge()The age of the hot key measured from when it was first detected.
.google.protobuf.Duration hot_key_age = 1;- Specified by:
getHotKeyAgein interfaceHotKeyDebuggingInfo.HotKeyInfoOrBuilder- Returns:
- The hotKeyAge.
-
setHotKeyAge
The age of the hot key measured from when it was first detected.
.google.protobuf.Duration hot_key_age = 1; -
setHotKeyAge
public HotKeyDebuggingInfo.HotKeyInfo.Builder setHotKeyAge(com.google.protobuf.Duration.Builder builderForValue) The age of the hot key measured from when it was first detected.
.google.protobuf.Duration hot_key_age = 1; -
mergeHotKeyAge
The age of the hot key measured from when it was first detected.
.google.protobuf.Duration hot_key_age = 1; -
clearHotKeyAge
The age of the hot key measured from when it was first detected.
.google.protobuf.Duration hot_key_age = 1; -
getHotKeyAgeBuilder
public com.google.protobuf.Duration.Builder getHotKeyAgeBuilder()The age of the hot key measured from when it was first detected.
.google.protobuf.Duration hot_key_age = 1; -
getHotKeyAgeOrBuilder
public com.google.protobuf.DurationOrBuilder getHotKeyAgeOrBuilder()The age of the hot key measured from when it was first detected.
.google.protobuf.Duration hot_key_age = 1;- Specified by:
getHotKeyAgeOrBuilderin interfaceHotKeyDebuggingInfo.HotKeyInfoOrBuilder
-
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;- Specified by:
getKeyin interfaceHotKeyDebuggingInfo.HotKeyInfoOrBuilder- Returns:
- The key.
-
getKeyBytes
public com.google.protobuf.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;- Specified by:
getKeyBytesin interfaceHotKeyDebuggingInfo.HotKeyInfoOrBuilder- Returns:
- The bytes for key.
-
setKey
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;- Parameters:
value- The key to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setKeyBytes
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;- Parameters:
value- The bytes for key to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getKeyTruncatedin interfaceHotKeyDebuggingInfo.HotKeyInfoOrBuilder- Returns:
- The keyTruncated.
-
setKeyTruncated
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;- Parameters:
value- The keyTruncated to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-