Class UserProtos.CatalogMetadata.Builder

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

public static final class UserProtos.CatalogMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.CatalogMetadata.Builder> implements UserProtos.CatalogMetadataOrBuilder
 Message encapsulating metadata for a Catalog.
 
Protobuf type exec.user.CatalogMetadata
  • 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.CatalogMetadata.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.CatalogMetadata.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.CatalogMetadata.Builder>
    • getDefaultInstanceForType

      public UserProtos.CatalogMetadata 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 UserProtos.CatalogMetadata 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.CatalogMetadata.Builder>
    • setField

      public UserProtos.CatalogMetadata.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.CatalogMetadata.Builder>
    • clearField

      public UserProtos.CatalogMetadata.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.CatalogMetadata.Builder>
    • clearOneof

      public UserProtos.CatalogMetadata.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.CatalogMetadata.Builder>
    • setRepeatedField

      public UserProtos.CatalogMetadata.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.CatalogMetadata.Builder>
    • addRepeatedField

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

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

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

      public boolean hasCatalogName()
      optional string catalog_name = 1;
      Specified by:
      hasCatalogName in interface UserProtos.CatalogMetadataOrBuilder
      Returns:
      Whether the catalogName field is set.
    • getCatalogName

      public String getCatalogName()
      optional string catalog_name = 1;
      Specified by:
      getCatalogName in interface UserProtos.CatalogMetadataOrBuilder
      Returns:
      The catalogName.
    • getCatalogNameBytes

      public com.google.protobuf.ByteString getCatalogNameBytes()
      optional string catalog_name = 1;
      Specified by:
      getCatalogNameBytes in interface UserProtos.CatalogMetadataOrBuilder
      Returns:
      The bytes for catalogName.
    • setCatalogName

      public UserProtos.CatalogMetadata.Builder setCatalogName(String value)
      optional string catalog_name = 1;
      Parameters:
      value - The catalogName to set.
      Returns:
      This builder for chaining.
    • clearCatalogName

      public UserProtos.CatalogMetadata.Builder clearCatalogName()
      optional string catalog_name = 1;
      Returns:
      This builder for chaining.
    • setCatalogNameBytes

      public UserProtos.CatalogMetadata.Builder setCatalogNameBytes(com.google.protobuf.ByteString value)
      optional string catalog_name = 1;
      Parameters:
      value - The bytes for catalogName to set.
      Returns:
      This builder for chaining.
    • hasDescription

      public boolean hasDescription()
      optional string description = 2;
      Specified by:
      hasDescription in interface UserProtos.CatalogMetadataOrBuilder
      Returns:
      Whether the description field is set.
    • getDescription

      public String getDescription()
      optional string description = 2;
      Specified by:
      getDescription in interface UserProtos.CatalogMetadataOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
      optional string description = 2;
      Specified by:
      getDescriptionBytes in interface UserProtos.CatalogMetadataOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public UserProtos.CatalogMetadata.Builder setDescription(String value)
      optional string description = 2;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public UserProtos.CatalogMetadata.Builder clearDescription()
      optional string description = 2;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public UserProtos.CatalogMetadata.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
      optional string description = 2;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • hasConnect

      public boolean hasConnect()
      optional string connect = 3;
      Specified by:
      hasConnect in interface UserProtos.CatalogMetadataOrBuilder
      Returns:
      Whether the connect field is set.
    • getConnect

      public String getConnect()
      optional string connect = 3;
      Specified by:
      getConnect in interface UserProtos.CatalogMetadataOrBuilder
      Returns:
      The connect.
    • getConnectBytes

      public com.google.protobuf.ByteString getConnectBytes()
      optional string connect = 3;
      Specified by:
      getConnectBytes in interface UserProtos.CatalogMetadataOrBuilder
      Returns:
      The bytes for connect.
    • setConnect

      public UserProtos.CatalogMetadata.Builder setConnect(String value)
      optional string connect = 3;
      Parameters:
      value - The connect to set.
      Returns:
      This builder for chaining.
    • clearConnect

      public UserProtos.CatalogMetadata.Builder clearConnect()
      optional string connect = 3;
      Returns:
      This builder for chaining.
    • setConnectBytes

      public UserProtos.CatalogMetadata.Builder setConnectBytes(com.google.protobuf.ByteString value)
      optional string connect = 3;
      Parameters:
      value - The bytes for connect to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final UserProtos.CatalogMetadata.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.CatalogMetadata.Builder>
    • mergeUnknownFields

      public final UserProtos.CatalogMetadata.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.CatalogMetadata.Builder>