Class Command.CommandKey.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Command.CommandKey.Builder>
com.google.protobuf.GeneratedMessage.Builder<Command.CommandKey.Builder>
io.confluent.command.record.Command.CommandKey.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Command.CommandKeyOrBuilder, Cloneable
Enclosing class:
Command.CommandKey

public static final class Command.CommandKey.Builder extends com.google.protobuf.GeneratedMessage.Builder<Command.CommandKey.Builder> implements Command.CommandKeyOrBuilder
Protobuf type command.CommandKey
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • 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<Command.CommandKey.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<Command.CommandKey.Builder>
    • getDefaultInstanceForType

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

      public Command.CommandKey build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public Command.CommandKey.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<Command.CommandKey.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<Command.CommandKey.Builder>
    • mergeFrom

      public Command.CommandKey.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<Command.CommandKey.Builder>
      Throws:
      IOException
    • getKeyCase

      public Command.CommandKey.KeyCase getKeyCase()
      Specified by:
      getKeyCase in interface Command.CommandKeyOrBuilder
    • clearKey

      public Command.CommandKey.Builder clearKey()
    • getConfigTypeValue

      public int getConfigTypeValue()
      .command.CommandConfigType configType = 1;
      Specified by:
      getConfigTypeValue in interface Command.CommandKeyOrBuilder
      Returns:
      The enum numeric value on the wire for configType.
    • setConfigTypeValue

      public Command.CommandKey.Builder setConfigTypeValue(int value)
      .command.CommandConfigType configType = 1;
      Parameters:
      value - The enum numeric value on the wire for configType to set.
      Returns:
      This builder for chaining.
    • getConfigType

      public Command.CommandConfigType getConfigType()
      .command.CommandConfigType configType = 1;
      Specified by:
      getConfigType in interface Command.CommandKeyOrBuilder
      Returns:
      The configType.
    • setConfigType

      .command.CommandConfigType configType = 1;
      Parameters:
      value - The configType to set.
      Returns:
      This builder for chaining.
    • clearConfigType

      public Command.CommandKey.Builder clearConfigType()
      .command.CommandConfigType configType = 1;
      Returns:
      This builder for chaining.
    • hasGuid

      public boolean hasGuid()
      string guid = 2;
      Specified by:
      hasGuid in interface Command.CommandKeyOrBuilder
      Returns:
      Whether the guid field is set.
    • getGuid

      public String getGuid()
      string guid = 2;
      Specified by:
      getGuid in interface Command.CommandKeyOrBuilder
      Returns:
      The guid.
    • getGuidBytes

      public com.google.protobuf.ByteString getGuidBytes()
      string guid = 2;
      Specified by:
      getGuidBytes in interface Command.CommandKeyOrBuilder
      Returns:
      The bytes for guid.
    • setGuid

      public Command.CommandKey.Builder setGuid(String value)
      string guid = 2;
      Parameters:
      value - The guid to set.
      Returns:
      This builder for chaining.
    • clearGuid

      public Command.CommandKey.Builder clearGuid()
      string guid = 2;
      Returns:
      This builder for chaining.
    • setGuidBytes

      public Command.CommandKey.Builder setGuidBytes(com.google.protobuf.ByteString value)
      string guid = 2;
      Parameters:
      value - The bytes for guid to set.
      Returns:
      This builder for chaining.