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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<HotKeyDebuggingInfo.HotKeyInfo.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<HotKeyDebuggingInfo.HotKeyInfo.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<HotKeyDebuggingInfo.HotKeyInfo.Builder>
    • getDefaultInstanceForType

      public HotKeyDebuggingInfo.HotKeyInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public HotKeyDebuggingInfo.HotKeyInfo buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public HotKeyDebuggingInfo.HotKeyInfo.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<HotKeyDebuggingInfo.HotKeyInfo.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      hasHotKeyAge in interface HotKeyDebuggingInfo.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:
      getHotKeyAge in interface HotKeyDebuggingInfo.HotKeyInfoOrBuilder
      Returns:
      The hotKeyAge.
    • setHotKeyAge

      public HotKeyDebuggingInfo.HotKeyInfo.Builder setHotKeyAge(com.google.protobuf.Duration value)
       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

      public HotKeyDebuggingInfo.HotKeyInfo.Builder mergeHotKeyAge(com.google.protobuf.Duration value)
       The age of the hot key measured from when it was first detected.
       
      .google.protobuf.Duration hot_key_age = 1;
    • 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;
    • 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:
      getHotKeyAgeOrBuilder in interface HotKeyDebuggingInfo.HotKeyInfoOrBuilder
    • 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;
      Specified by:
      getKey in interface HotKeyDebuggingInfo.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:
      getKeyBytes in interface HotKeyDebuggingInfo.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

      public HotKeyDebuggingInfo.HotKeyInfo.Builder setKeyBytes(com.google.protobuf.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;
      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:
      getKeyTruncated in interface HotKeyDebuggingInfo.HotKeyInfoOrBuilder
      Returns:
      The keyTruncated.
    • setKeyTruncated

      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;
      Parameters:
      value - The keyTruncated to set.
      Returns:
      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:
      This builder for chaining.