Package org.apache.drill.exec.proto
Class UserProtos.GetTablesReq.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.GetTablesReq.Builder>
org.apache.drill.exec.proto.UserProtos.GetTablesReq.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,UserProtos.GetTablesReqOrBuilder
- Enclosing class:
- UserProtos.GetTablesReq
public static final class UserProtos.GetTablesReq.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.GetTablesReq.Builder>
implements UserProtos.GetTablesReqOrBuilder
Request message for getting the metadata for tables satisfying the given optional filters.Protobuf type
exec.user.GetTablesReq
-
Method Summary
Modifier and TypeMethodDescriptionaddAllTableTypeFilter
(Iterable<String> values) repeated string table_type_filter = 4;
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addTableTypeFilter
(String value) repeated string table_type_filter = 4;
addTableTypeFilterBytes
(com.google.protobuf.ByteString value) repeated string table_type_filter = 4;
build()
clear()
optional .exec.user.LikeFilter catalog_name_filter = 1;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional .exec.user.LikeFilter schema_name_filter = 2;
optional .exec.user.LikeFilter table_name_filter = 3;
repeated string table_type_filter = 4;
clone()
optional .exec.user.LikeFilter catalog_name_filter = 1;
optional .exec.user.LikeFilter catalog_name_filter = 1;
optional .exec.user.LikeFilter catalog_name_filter = 1;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
optional .exec.user.LikeFilter schema_name_filter = 2;
optional .exec.user.LikeFilter schema_name_filter = 2;
optional .exec.user.LikeFilter schema_name_filter = 2;
optional .exec.user.LikeFilter table_name_filter = 3;
optional .exec.user.LikeFilter table_name_filter = 3;
optional .exec.user.LikeFilter table_name_filter = 3;
getTableTypeFilter
(int index) repeated string table_type_filter = 4;
com.google.protobuf.ByteString
getTableTypeFilterBytes
(int index) repeated string table_type_filter = 4;
int
repeated string table_type_filter = 4;
com.google.protobuf.ProtocolStringList
repeated string table_type_filter = 4;
boolean
optional .exec.user.LikeFilter catalog_name_filter = 1;
boolean
optional .exec.user.LikeFilter schema_name_filter = 2;
boolean
optional .exec.user.LikeFilter table_name_filter = 3;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
optional .exec.user.LikeFilter catalog_name_filter = 1;
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(UserProtos.GetTablesReq other) optional .exec.user.LikeFilter schema_name_filter = 2;
optional .exec.user.LikeFilter table_name_filter = 3;
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) optional .exec.user.LikeFilter catalog_name_filter = 1;
setCatalogNameFilter
(UserProtos.LikeFilter.Builder builderForValue) optional .exec.user.LikeFilter catalog_name_filter = 1;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) optional .exec.user.LikeFilter schema_name_filter = 2;
setSchemaNameFilter
(UserProtos.LikeFilter.Builder builderForValue) optional .exec.user.LikeFilter schema_name_filter = 2;
optional .exec.user.LikeFilter table_name_filter = 3;
setTableNameFilter
(UserProtos.LikeFilter.Builder builderForValue) optional .exec.user.LikeFilter table_name_filter = 3;
setTableTypeFilter
(int index, String value) repeated string table_type_filter = 4;
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.GetTablesReq.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.GetTablesReq.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.GetTablesReq.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.GetTablesReq.Builder>
-
setField
public UserProtos.GetTablesReq.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.GetTablesReq.Builder>
-
clearField
public UserProtos.GetTablesReq.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.GetTablesReq.Builder>
-
clearOneof
public UserProtos.GetTablesReq.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.GetTablesReq.Builder>
-
setRepeatedField
public UserProtos.GetTablesReq.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.GetTablesReq.Builder>
-
addRepeatedField
public UserProtos.GetTablesReq.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.GetTablesReq.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UserProtos.GetTablesReq.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.GetTablesReq.Builder>
-
mergeFrom
public UserProtos.GetTablesReq.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.GetTablesReq.Builder>
- Throws:
IOException
-
hasCatalogNameFilter
public boolean hasCatalogNameFilter()optional .exec.user.LikeFilter catalog_name_filter = 1;
- Specified by:
hasCatalogNameFilter
in interfaceUserProtos.GetTablesReqOrBuilder
- Returns:
- Whether the catalogNameFilter field is set.
-
getCatalogNameFilter
optional .exec.user.LikeFilter catalog_name_filter = 1;
- Specified by:
getCatalogNameFilter
in interfaceUserProtos.GetTablesReqOrBuilder
- Returns:
- The catalogNameFilter.
-
setCatalogNameFilter
optional .exec.user.LikeFilter catalog_name_filter = 1;
-
setCatalogNameFilter
public UserProtos.GetTablesReq.Builder setCatalogNameFilter(UserProtos.LikeFilter.Builder builderForValue) optional .exec.user.LikeFilter catalog_name_filter = 1;
-
mergeCatalogNameFilter
optional .exec.user.LikeFilter catalog_name_filter = 1;
-
clearCatalogNameFilter
optional .exec.user.LikeFilter catalog_name_filter = 1;
-
getCatalogNameFilterBuilder
optional .exec.user.LikeFilter catalog_name_filter = 1;
-
getCatalogNameFilterOrBuilder
optional .exec.user.LikeFilter catalog_name_filter = 1;
- Specified by:
getCatalogNameFilterOrBuilder
in interfaceUserProtos.GetTablesReqOrBuilder
-
hasSchemaNameFilter
public boolean hasSchemaNameFilter()optional .exec.user.LikeFilter schema_name_filter = 2;
- Specified by:
hasSchemaNameFilter
in interfaceUserProtos.GetTablesReqOrBuilder
- Returns:
- Whether the schemaNameFilter field is set.
-
getSchemaNameFilter
optional .exec.user.LikeFilter schema_name_filter = 2;
- Specified by:
getSchemaNameFilter
in interfaceUserProtos.GetTablesReqOrBuilder
- Returns:
- The schemaNameFilter.
-
setSchemaNameFilter
optional .exec.user.LikeFilter schema_name_filter = 2;
-
setSchemaNameFilter
public UserProtos.GetTablesReq.Builder setSchemaNameFilter(UserProtos.LikeFilter.Builder builderForValue) optional .exec.user.LikeFilter schema_name_filter = 2;
-
mergeSchemaNameFilter
optional .exec.user.LikeFilter schema_name_filter = 2;
-
clearSchemaNameFilter
optional .exec.user.LikeFilter schema_name_filter = 2;
-
getSchemaNameFilterBuilder
optional .exec.user.LikeFilter schema_name_filter = 2;
-
getSchemaNameFilterOrBuilder
optional .exec.user.LikeFilter schema_name_filter = 2;
- Specified by:
getSchemaNameFilterOrBuilder
in interfaceUserProtos.GetTablesReqOrBuilder
-
hasTableNameFilter
public boolean hasTableNameFilter()optional .exec.user.LikeFilter table_name_filter = 3;
- Specified by:
hasTableNameFilter
in interfaceUserProtos.GetTablesReqOrBuilder
- Returns:
- Whether the tableNameFilter field is set.
-
getTableNameFilter
optional .exec.user.LikeFilter table_name_filter = 3;
- Specified by:
getTableNameFilter
in interfaceUserProtos.GetTablesReqOrBuilder
- Returns:
- The tableNameFilter.
-
setTableNameFilter
optional .exec.user.LikeFilter table_name_filter = 3;
-
setTableNameFilter
public UserProtos.GetTablesReq.Builder setTableNameFilter(UserProtos.LikeFilter.Builder builderForValue) optional .exec.user.LikeFilter table_name_filter = 3;
-
mergeTableNameFilter
optional .exec.user.LikeFilter table_name_filter = 3;
-
clearTableNameFilter
optional .exec.user.LikeFilter table_name_filter = 3;
-
getTableNameFilterBuilder
optional .exec.user.LikeFilter table_name_filter = 3;
-
getTableNameFilterOrBuilder
optional .exec.user.LikeFilter table_name_filter = 3;
- Specified by:
getTableNameFilterOrBuilder
in interfaceUserProtos.GetTablesReqOrBuilder
-
getTableTypeFilterList
public com.google.protobuf.ProtocolStringList getTableTypeFilterList()repeated string table_type_filter = 4;
- Specified by:
getTableTypeFilterList
in interfaceUserProtos.GetTablesReqOrBuilder
- Returns:
- A list containing the tableTypeFilter.
-
getTableTypeFilterCount
public int getTableTypeFilterCount()repeated string table_type_filter = 4;
- Specified by:
getTableTypeFilterCount
in interfaceUserProtos.GetTablesReqOrBuilder
- Returns:
- The count of tableTypeFilter.
-
getTableTypeFilter
repeated string table_type_filter = 4;
- Specified by:
getTableTypeFilter
in interfaceUserProtos.GetTablesReqOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The tableTypeFilter at the given index.
-
getTableTypeFilterBytes
public com.google.protobuf.ByteString getTableTypeFilterBytes(int index) repeated string table_type_filter = 4;
- Specified by:
getTableTypeFilterBytes
in interfaceUserProtos.GetTablesReqOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the tableTypeFilter at the given index.
-
setTableTypeFilter
repeated string table_type_filter = 4;
- Parameters:
index
- The index to set the value at.value
- The tableTypeFilter to set.- Returns:
- This builder for chaining.
-
addTableTypeFilter
repeated string table_type_filter = 4;
- Parameters:
value
- The tableTypeFilter to add.- Returns:
- This builder for chaining.
-
addAllTableTypeFilter
repeated string table_type_filter = 4;
- Parameters:
values
- The tableTypeFilter to add.- Returns:
- This builder for chaining.
-
clearTableTypeFilter
repeated string table_type_filter = 4;
- Returns:
- This builder for chaining.
-
addTableTypeFilterBytes
public UserProtos.GetTablesReq.Builder addTableTypeFilterBytes(com.google.protobuf.ByteString value) repeated string table_type_filter = 4;
- Parameters:
value
- The bytes of the tableTypeFilter to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final UserProtos.GetTablesReq.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.GetTablesReq.Builder>
-
mergeUnknownFields
public final UserProtos.GetTablesReq.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.GetTablesReq.Builder>
-