public static final class Protos.Tenant extends com.google.protobuf.GeneratedMessage implements Protos.TenantOrBuilder
Tenant
| Modifier and Type | Class and Description |
|---|---|
static class |
Protos.Tenant.Builder
Protobuf type
Tenant |
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
DATASOURCE_NAME_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
NAMESPACE_FIELD_NUMBER |
static com.google.protobuf.Parser<Protos.Tenant> |
PARSER |
static int |
PROTOBUF_MESSAGE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
String |
getDatasourceName()
required string datasource_name = 3; |
com.google.protobuf.ByteString |
getDatasourceNameBytes()
required string datasource_name = 3; |
static Protos.Tenant |
getDefaultInstance() |
Protos.Tenant |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getName()
required string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
required string name = 1; |
String |
getNamespace()
required string namespace = 2; |
com.google.protobuf.ByteString |
getNamespaceBytes()
required string namespace = 2; |
com.google.protobuf.Parser<Protos.Tenant> |
getParserForType() |
String |
getProtobufMessage()
required string protobuf_message = 4; |
com.google.protobuf.ByteString |
getProtobufMessageBytes()
required string protobuf_message = 4; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasDatasourceName()
required string datasource_name = 3; |
boolean |
hasName()
required string name = 1; |
boolean |
hasNamespace()
required string namespace = 2; |
boolean |
hasProtobufMessage()
required string protobuf_message = 4; |
boolean |
isInitialized() |
static Protos.Tenant.Builder |
newBuilder() |
static Protos.Tenant.Builder |
newBuilder(Protos.Tenant prototype) |
Protos.Tenant.Builder |
newBuilderForType() |
static Protos.Tenant |
parseDelimitedFrom(InputStream input) |
static Protos.Tenant |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Tenant |
parseFrom(byte[] data) |
static Protos.Tenant |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Tenant |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.Tenant |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Tenant |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.Tenant |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Tenant |
parseFrom(InputStream input) |
static Protos.Tenant |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.Tenant.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtensionequals, findInitializationErrors, getInitializationErrorString, hashCode, toStringtoByteArray, toByteString, writeDelimitedTo, writeTopublic static com.google.protobuf.Parser<Protos.Tenant> PARSER
public static final int NAME_FIELD_NUMBER
public static final int NAMESPACE_FIELD_NUMBER
public static final int DATASOURCE_NAME_FIELD_NUMBER
public static final int PROTOBUF_MESSAGE_FIELD_NUMBER
public static Protos.Tenant getDefaultInstance()
public Protos.Tenant getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public com.google.protobuf.Parser<Protos.Tenant> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasName()
required string name = 1;
the tenant name; this is usually the protobuf message type name
hasName in interface Protos.TenantOrBuilderpublic String getName()
required string name = 1;
the tenant name; this is usually the protobuf message type name
getName in interface Protos.TenantOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
required string name = 1;
the tenant name; this is usually the protobuf message type name
getNameBytes in interface Protos.TenantOrBuilderpublic boolean hasNamespace()
required string namespace = 2;
a namespace assigned to this tenant; this is the table name if datasource is mysql
hasNamespace in interface Protos.TenantOrBuilderpublic String getNamespace()
required string namespace = 2;
a namespace assigned to this tenant; this is the table name if datasource is mysql
getNamespace in interface Protos.TenantOrBuilderpublic com.google.protobuf.ByteString getNamespaceBytes()
required string namespace = 2;
a namespace assigned to this tenant; this is the table name if datasource is mysql
getNamespaceBytes in interface Protos.TenantOrBuilderpublic boolean hasDatasourceName()
required string datasource_name = 3;
name of the datasource to use for accessing objects of this tenant
hasDatasourceName in interface Protos.TenantOrBuilderpublic String getDatasourceName()
required string datasource_name = 3;
name of the datasource to use for accessing objects of this tenant
getDatasourceName in interface Protos.TenantOrBuilderpublic com.google.protobuf.ByteString getDatasourceNameBytes()
required string datasource_name = 3;
name of the datasource to use for accessing objects of this tenant
getDatasourceNameBytes in interface Protos.TenantOrBuilderpublic boolean hasProtobufMessage()
required string protobuf_message = 4;
the actual protocol buffer description of the message as a string this is copied into a file and the compiled into .desc file to extract the data schema
hasProtobufMessage in interface Protos.TenantOrBuilderpublic String getProtobufMessage()
required string protobuf_message = 4;
the actual protocol buffer description of the message as a string this is copied into a file and the compiled into .desc file to extract the data schema
getProtobufMessage in interface Protos.TenantOrBuilderpublic com.google.protobuf.ByteString getProtobufMessageBytes()
required string protobuf_message = 4;
the actual protocol buffer description of the message as a string this is copied into a file and the compiled into .desc file to extract the data schema
getProtobufMessageBytes in interface Protos.TenantOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessagepublic static Protos.Tenant parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Tenant parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Tenant parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Tenant parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Tenant parseFrom(InputStream input) throws IOException
IOExceptionpublic static Protos.Tenant parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Protos.Tenant parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Protos.Tenant parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Protos.Tenant parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Protos.Tenant parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Protos.Tenant.Builder newBuilder()
public Protos.Tenant.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Protos.Tenant.Builder newBuilder(Protos.Tenant prototype)
public Protos.Tenant.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteCopyright © 2015. All rights reserved.