public static final class Database.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Database.Builder> implements DatabaseOrBuilder
alluxio.grpc.table.Database
Modifier and Type | Method and Description |
---|---|
Database.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Database |
build() |
Database |
buildPartial() |
Database.Builder |
clear() |
Database.Builder |
clearComment()
optional string comment = 7; |
Database.Builder |
clearDbName()
optional string db_name = 1; |
Database.Builder |
clearDescription()
optional string description = 2; |
Database.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Database.Builder |
clearLocation()
optional string location = 3; |
Database.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Database.Builder |
clearOwnerName()
optional string owner_name = 5; |
Database.Builder |
clearOwnerType()
optional .alluxio.grpc.table.PrincipalType owner_type = 6; |
Database.Builder |
clearParameter() |
Database.Builder |
clone() |
boolean |
containsParameter(String key)
map<string, string> parameter = 4; |
String |
getComment()
optional string comment = 7; |
com.google.protobuf.ByteString |
getCommentBytes()
optional string comment = 7; |
String |
getDbName()
optional string db_name = 1; |
com.google.protobuf.ByteString |
getDbNameBytes()
optional string db_name = 1; |
Database |
getDefaultInstanceForType() |
String |
getDescription()
optional string description = 2; |
com.google.protobuf.ByteString |
getDescriptionBytes()
optional string description = 2; |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getLocation()
optional string location = 3; |
com.google.protobuf.ByteString |
getLocationBytes()
optional string location = 3; |
Map<String,String> |
getMutableParameter()
Deprecated.
|
String |
getOwnerName()
optional string owner_name = 5; |
com.google.protobuf.ByteString |
getOwnerNameBytes()
optional string owner_name = 5; |
PrincipalType |
getOwnerType()
optional .alluxio.grpc.table.PrincipalType owner_type = 6; |
Map<String,String> |
getParameter()
Deprecated.
|
int |
getParameterCount()
map<string, string> parameter = 4; |
Map<String,String> |
getParameterMap()
map<string, string> parameter = 4; |
String |
getParameterOrDefault(String key,
String defaultValue)
map<string, string> parameter = 4; |
String |
getParameterOrThrow(String key)
map<string, string> parameter = 4; |
boolean |
hasComment()
optional string comment = 7; |
boolean |
hasDbName()
optional string db_name = 1; |
boolean |
hasDescription()
optional string description = 2; |
boolean |
hasLocation()
optional string location = 3; |
boolean |
hasOwnerName()
optional string owner_name = 5; |
boolean |
hasOwnerType()
optional .alluxio.grpc.table.PrincipalType owner_type = 6; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Database.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Database.Builder |
mergeFrom(Database other) |
Database.Builder |
mergeFrom(com.google.protobuf.Message other) |
Database.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Database.Builder |
putAllParameter(Map<String,String> values)
map<string, string> parameter = 4; |
Database.Builder |
putParameter(String key,
String value)
map<string, string> parameter = 4; |
Database.Builder |
removeParameter(String key)
map<string, string> parameter = 4; |
Database.Builder |
setComment(String value)
optional string comment = 7; |
Database.Builder |
setCommentBytes(com.google.protobuf.ByteString value)
optional string comment = 7; |
Database.Builder |
setDbName(String value)
optional string db_name = 1; |
Database.Builder |
setDbNameBytes(com.google.protobuf.ByteString value)
optional string db_name = 1; |
Database.Builder |
setDescription(String value)
optional string description = 2; |
Database.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
optional string description = 2; |
Database.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Database.Builder |
setLocation(String value)
optional string location = 3; |
Database.Builder |
setLocationBytes(com.google.protobuf.ByteString value)
optional string location = 3; |
Database.Builder |
setOwnerName(String value)
optional string owner_name = 5; |
Database.Builder |
setOwnerNameBytes(com.google.protobuf.ByteString value)
optional string owner_name = 5; |
Database.Builder |
setOwnerType(PrincipalType value)
optional .alluxio.grpc.table.PrincipalType owner_type = 6; |
Database.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Database.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField
in class com.google.protobuf.GeneratedMessageV3.Builder<Database.Builder>
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField
in class com.google.protobuf.GeneratedMessageV3.Builder<Database.Builder>
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Database.Builder>
public Database.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Database.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Database.Builder>
public Database getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Database build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Database buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Database.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<Database.Builder>
public Database.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<Database.Builder>
public Database.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<Database.Builder>
public Database.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<Database.Builder>
public Database.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Database.Builder>
public Database.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<Database.Builder>
public Database.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Database.Builder>
public Database.Builder mergeFrom(Database other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Database.Builder>
public Database.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Database.Builder>
IOException
public boolean hasDbName()
optional string db_name = 1;
hasDbName
in interface DatabaseOrBuilder
public String getDbName()
optional string db_name = 1;
getDbName
in interface DatabaseOrBuilder
public com.google.protobuf.ByteString getDbNameBytes()
optional string db_name = 1;
getDbNameBytes
in interface DatabaseOrBuilder
public Database.Builder setDbName(String value)
optional string db_name = 1;
value
- The dbName to set.public Database.Builder clearDbName()
optional string db_name = 1;
public Database.Builder setDbNameBytes(com.google.protobuf.ByteString value)
optional string db_name = 1;
value
- The bytes for dbName to set.public boolean hasDescription()
optional string description = 2;
hasDescription
in interface DatabaseOrBuilder
public String getDescription()
optional string description = 2;
getDescription
in interface DatabaseOrBuilder
public com.google.protobuf.ByteString getDescriptionBytes()
optional string description = 2;
getDescriptionBytes
in interface DatabaseOrBuilder
public Database.Builder setDescription(String value)
optional string description = 2;
value
- The description to set.public Database.Builder clearDescription()
optional string description = 2;
public Database.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
optional string description = 2;
value
- The bytes for description to set.public boolean hasLocation()
optional string location = 3;
hasLocation
in interface DatabaseOrBuilder
public String getLocation()
optional string location = 3;
getLocation
in interface DatabaseOrBuilder
public com.google.protobuf.ByteString getLocationBytes()
optional string location = 3;
getLocationBytes
in interface DatabaseOrBuilder
public Database.Builder setLocation(String value)
optional string location = 3;
value
- The location to set.public Database.Builder clearLocation()
optional string location = 3;
public Database.Builder setLocationBytes(com.google.protobuf.ByteString value)
optional string location = 3;
value
- The bytes for location to set.public int getParameterCount()
DatabaseOrBuilder
map<string, string> parameter = 4;
getParameterCount
in interface DatabaseOrBuilder
public boolean containsParameter(String key)
map<string, string> parameter = 4;
containsParameter
in interface DatabaseOrBuilder
@Deprecated public Map<String,String> getParameter()
getParameterMap()
instead.getParameter
in interface DatabaseOrBuilder
public Map<String,String> getParameterMap()
map<string, string> parameter = 4;
getParameterMap
in interface DatabaseOrBuilder
public String getParameterOrDefault(String key, String defaultValue)
map<string, string> parameter = 4;
getParameterOrDefault
in interface DatabaseOrBuilder
public String getParameterOrThrow(String key)
map<string, string> parameter = 4;
getParameterOrThrow
in interface DatabaseOrBuilder
public Database.Builder clearParameter()
public Database.Builder removeParameter(String key)
map<string, string> parameter = 4;
@Deprecated public Map<String,String> getMutableParameter()
public Database.Builder putParameter(String key, String value)
map<string, string> parameter = 4;
public Database.Builder putAllParameter(Map<String,String> values)
map<string, string> parameter = 4;
public boolean hasOwnerName()
optional string owner_name = 5;
hasOwnerName
in interface DatabaseOrBuilder
public String getOwnerName()
optional string owner_name = 5;
getOwnerName
in interface DatabaseOrBuilder
public com.google.protobuf.ByteString getOwnerNameBytes()
optional string owner_name = 5;
getOwnerNameBytes
in interface DatabaseOrBuilder
public Database.Builder setOwnerName(String value)
optional string owner_name = 5;
value
- The ownerName to set.public Database.Builder clearOwnerName()
optional string owner_name = 5;
public Database.Builder setOwnerNameBytes(com.google.protobuf.ByteString value)
optional string owner_name = 5;
value
- The bytes for ownerName to set.public boolean hasOwnerType()
optional .alluxio.grpc.table.PrincipalType owner_type = 6;
hasOwnerType
in interface DatabaseOrBuilder
public PrincipalType getOwnerType()
optional .alluxio.grpc.table.PrincipalType owner_type = 6;
getOwnerType
in interface DatabaseOrBuilder
public Database.Builder setOwnerType(PrincipalType value)
optional .alluxio.grpc.table.PrincipalType owner_type = 6;
value
- The ownerType to set.public Database.Builder clearOwnerType()
optional .alluxio.grpc.table.PrincipalType owner_type = 6;
public boolean hasComment()
optional string comment = 7;
hasComment
in interface DatabaseOrBuilder
public String getComment()
optional string comment = 7;
getComment
in interface DatabaseOrBuilder
public com.google.protobuf.ByteString getCommentBytes()
optional string comment = 7;
getCommentBytes
in interface DatabaseOrBuilder
public Database.Builder setComment(String value)
optional string comment = 7;
value
- The comment to set.public Database.Builder clearComment()
optional string comment = 7;
public Database.Builder setCommentBytes(com.google.protobuf.ByteString value)
optional string comment = 7;
value
- The bytes for comment to set.public final Database.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Database.Builder>
public final Database.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Database.Builder>
Copyright © 2023. All Rights Reserved.