public final class Database extends com.google.protobuf.GeneratedMessageV3 implements DatabaseOrBuilder
alluxio.grpc.table.Database
Modifier and Type | Class and Description |
---|---|
static class |
Database.Builder
Protobuf type
alluxio.grpc.table.Database |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
COMMENT_FIELD_NUMBER |
static int |
DB_NAME_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
LOCATION_FIELD_NUMBER |
static int |
OWNER_NAME_FIELD_NUMBER |
static int |
OWNER_TYPE_FIELD_NUMBER |
static int |
PARAMETER_FIELD_NUMBER |
static com.google.protobuf.Parser<Database> |
PARSER
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
containsParameter(String key)
map<string, string> parameter = 4; |
boolean |
equals(Object obj) |
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; |
static Database |
getDefaultInstance() |
Database |
getDefaultInstanceForType() |
String |
getDescription()
optional string description = 2; |
com.google.protobuf.ByteString |
getDescriptionBytes()
optional string description = 2; |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getLocation()
optional string location = 3; |
com.google.protobuf.ByteString |
getLocationBytes()
optional string location = 3; |
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; |
com.google.protobuf.Parser<Database> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasComment()
optional string comment = 7; |
boolean |
hasDbName()
optional string db_name = 1; |
boolean |
hasDescription()
optional string description = 2; |
int |
hashCode() |
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) |
boolean |
isInitialized() |
static Database.Builder |
newBuilder() |
static Database.Builder |
newBuilder(Database prototype) |
Database.Builder |
newBuilderForType() |
protected Database.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Database |
parseDelimitedFrom(InputStream input) |
static Database |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Database |
parseFrom(byte[] data) |
static Database |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Database |
parseFrom(ByteBuffer data) |
static Database |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Database |
parseFrom(com.google.protobuf.ByteString data) |
static Database |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Database |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Database |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Database |
parseFrom(InputStream input) |
static Database |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Database> |
parser() |
Database.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int DB_NAME_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int LOCATION_FIELD_NUMBER
public static final int PARAMETER_FIELD_NUMBER
public static final int OWNER_NAME_FIELD_NUMBER
public static final int OWNER_TYPE_FIELD_NUMBER
public static final int COMMENT_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<Database> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField
in class com.google.protobuf.GeneratedMessageV3
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
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 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 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 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 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 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 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 final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static Database parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Database parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Database parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Database parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Database parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Database parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Database parseFrom(InputStream input) throws IOException
IOException
public static Database parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Database parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Database parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Database parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static Database parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Database.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Database.Builder newBuilder()
public static Database.Builder newBuilder(Database prototype)
public Database.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Database.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static Database getDefaultInstance()
public static com.google.protobuf.Parser<Database> parser()
public com.google.protobuf.Parser<Database> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public Database getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2023. All Rights Reserved.