Package org.apache.drill.exec.proto
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 Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
optional string catalog_name = 1;
optional string connect = 3;
optional string description = 2;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()
optional string catalog_name = 1;
com.google.protobuf.ByteString
optional string catalog_name = 1;
optional string connect = 3;
com.google.protobuf.ByteString
optional string connect = 3;
optional string description = 2;
com.google.protobuf.ByteString
optional string description = 2;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
boolean
optional string catalog_name = 1;
boolean
optional string connect = 3;
boolean
optional string description = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setCatalogName
(String value) optional string catalog_name = 1;
setCatalogNameBytes
(com.google.protobuf.ByteString value) optional string catalog_name = 1;
setConnect
(String value) optional string connect = 3;
setConnectBytes
(com.google.protobuf.ByteString value) optional string connect = 3;
setDescription
(String value) optional string description = 2;
setDescriptionBytes
(com.google.protobuf.ByteString value) optional string description = 2;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.CatalogMetadata.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.CatalogMetadata.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.CatalogMetadata.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.CatalogMetadata.Builder>
-
clearField
public UserProtos.CatalogMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.CatalogMetadata.Builder>
-
clearOneof
public UserProtos.CatalogMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.CatalogMetadata.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UserProtos.CatalogMetadata.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UserProtos.CatalogMetadata.Builder>
- Throws:
IOException
-
hasCatalogName
public boolean hasCatalogName()optional string catalog_name = 1;
- Specified by:
hasCatalogName
in interfaceUserProtos.CatalogMetadataOrBuilder
- Returns:
- Whether the catalogName field is set.
-
getCatalogName
optional string catalog_name = 1;
- Specified by:
getCatalogName
in interfaceUserProtos.CatalogMetadataOrBuilder
- Returns:
- The catalogName.
-
getCatalogNameBytes
public com.google.protobuf.ByteString getCatalogNameBytes()optional string catalog_name = 1;
- Specified by:
getCatalogNameBytes
in interfaceUserProtos.CatalogMetadataOrBuilder
- Returns:
- The bytes for catalogName.
-
setCatalogName
optional string catalog_name = 1;
- Parameters:
value
- The catalogName to set.- Returns:
- This builder for chaining.
-
clearCatalogName
optional string catalog_name = 1;
- Returns:
- This builder for chaining.
-
setCatalogNameBytes
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 interfaceUserProtos.CatalogMetadataOrBuilder
- Returns:
- Whether the description field is set.
-
getDescription
optional string description = 2;
- Specified by:
getDescription
in interfaceUserProtos.CatalogMetadataOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()optional string description = 2;
- Specified by:
getDescriptionBytes
in interfaceUserProtos.CatalogMetadataOrBuilder
- Returns:
- The bytes for description.
-
setDescription
optional string description = 2;
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
optional string description = 2;
- Returns:
- This builder for chaining.
-
setDescriptionBytes
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 interfaceUserProtos.CatalogMetadataOrBuilder
- Returns:
- Whether the connect field is set.
-
getConnect
optional string connect = 3;
- Specified by:
getConnect
in interfaceUserProtos.CatalogMetadataOrBuilder
- Returns:
- The connect.
-
getConnectBytes
public com.google.protobuf.ByteString getConnectBytes()optional string connect = 3;
- Specified by:
getConnectBytes
in interfaceUserProtos.CatalogMetadataOrBuilder
- Returns:
- The bytes for connect.
-
setConnect
optional string connect = 3;
- Parameters:
value
- The connect to set.- Returns:
- This builder for chaining.
-
clearConnect
optional string connect = 3;
- Returns:
- This builder for chaining.
-
setConnectBytes
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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.CatalogMetadata.Builder>
-
mergeUnknownFields
public final UserProtos.CatalogMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.CatalogMetadata.Builder>
-