Class UserProtos.Property.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.Property.Builder>
org.apache.drill.exec.proto.UserProtos.Property.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, UserProtos.PropertyOrBuilder
Enclosing class:
UserProtos.Property

public static final class UserProtos.Property.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.Property.Builder> implements UserProtos.PropertyOrBuilder
Protobuf type exec.user.Property
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.Property.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.GeneratedMessageV3.Builder<UserProtos.Property.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.GeneratedMessageV3.Builder<UserProtos.Property.Builder>
    • getDefaultInstanceForType

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

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

      public UserProtos.Property buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.Property.Builder>
    • setField

      public UserProtos.Property.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.Property.Builder>
    • clearField

      public UserProtos.Property.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.Property.Builder>
    • clearOneof

      public UserProtos.Property.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.Property.Builder>
    • setRepeatedField

      public UserProtos.Property.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.Property.Builder>
    • addRepeatedField

      public UserProtos.Property.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.Property.Builder>
    • mergeFrom

      public UserProtos.Property.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<UserProtos.Property.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.Property.Builder>
    • mergeFrom

      public UserProtos.Property.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<UserProtos.Property.Builder>
      Throws:
      IOException
    • hasKey

      public boolean hasKey()
      required string key = 1;
      Specified by:
      hasKey in interface UserProtos.PropertyOrBuilder
      Returns:
      Whether the key field is set.
    • getKey

      public String getKey()
      required string key = 1;
      Specified by:
      getKey in interface UserProtos.PropertyOrBuilder
      Returns:
      The key.
    • getKeyBytes

      public com.google.protobuf.ByteString getKeyBytes()
      required string key = 1;
      Specified by:
      getKeyBytes in interface UserProtos.PropertyOrBuilder
      Returns:
      The bytes for key.
    • setKey

      public UserProtos.Property.Builder setKey(String value)
      required string key = 1;
      Parameters:
      value - The key to set.
      Returns:
      This builder for chaining.
    • clearKey

      public UserProtos.Property.Builder clearKey()
      required string key = 1;
      Returns:
      This builder for chaining.
    • setKeyBytes

      public UserProtos.Property.Builder setKeyBytes(com.google.protobuf.ByteString value)
      required string key = 1;
      Parameters:
      value - The bytes for key to set.
      Returns:
      This builder for chaining.
    • hasValue

      public boolean hasValue()
      required string value = 2;
      Specified by:
      hasValue in interface UserProtos.PropertyOrBuilder
      Returns:
      Whether the value field is set.
    • getValue

      public String getValue()
      required string value = 2;
      Specified by:
      getValue in interface UserProtos.PropertyOrBuilder
      Returns:
      The value.
    • getValueBytes

      public com.google.protobuf.ByteString getValueBytes()
      required string value = 2;
      Specified by:
      getValueBytes in interface UserProtos.PropertyOrBuilder
      Returns:
      The bytes for value.
    • setValue

      public UserProtos.Property.Builder setValue(String value)
      required string value = 2;
      Parameters:
      value - The value to set.
      Returns:
      This builder for chaining.
    • clearValue

      public UserProtos.Property.Builder clearValue()
      required string value = 2;
      Returns:
      This builder for chaining.
    • setValueBytes

      public UserProtos.Property.Builder setValueBytes(com.google.protobuf.ByteString value)
      required string value = 2;
      Parameters:
      value - The bytes for value to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final UserProtos.Property.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.Property.Builder>
    • mergeUnknownFields

      public final UserProtos.Property.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.Property.Builder>