public final class AppProfile extends GeneratedMessageV3 implements AppProfileOrBuilder
This is a private alpha release of Cloud Bigtable replication. This feature is not currently available to most Cloud Bigtable customers. This feature might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy. A configuration object describing how Cloud Bigtable should treat traffic from a particular end user application.Protobuf type
google.bigtable.admin.v2.AppProfile| Modifier and Type | Class and Description |
|---|---|
static class |
AppProfile.Builder
This is a private alpha release of Cloud Bigtable replication.
|
static class |
AppProfile.MultiClusterRoutingUseAny
Read/write requests may be routed to any cluster in the instance, and will
fail over to another cluster in the event of transient errors or delays.
|
static interface |
AppProfile.MultiClusterRoutingUseAnyOrBuilder |
static class |
AppProfile.RoutingPolicyCase |
static class |
AppProfile.SingleClusterRouting
Unconditionally routes all read/write requests to a specific cluster.
|
static interface |
AppProfile.SingleClusterRoutingOrBuilder |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
ETAG_FIELD_NUMBER |
static int |
MULTI_CLUSTER_ROUTING_USE_ANY_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
SINGLE_CLUSTER_ROUTING_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static AppProfile |
getDefaultInstance() |
AppProfile |
getDefaultInstanceForType() |
java.lang.String |
getDescription()
Optional long form description of the use case for this AppProfile.
|
ByteString |
getDescriptionBytes()
Optional long form description of the use case for this AppProfile.
|
static Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getEtag()
Strongly validated etag for optimistic concurrency control.
|
ByteString |
getEtagBytes()
Strongly validated etag for optimistic concurrency control.
|
AppProfile.MultiClusterRoutingUseAny |
getMultiClusterRoutingUseAny()
Use a multi-cluster routing policy that may pick any cluster.
|
AppProfile.MultiClusterRoutingUseAnyOrBuilder |
getMultiClusterRoutingUseAnyOrBuilder()
Use a multi-cluster routing policy that may pick any cluster.
|
java.lang.String |
getName()
(`OutputOnly`)
The unique name of the app profile.
|
ByteString |
getNameBytes()
(`OutputOnly`)
The unique name of the app profile.
|
Parser<AppProfile> |
getParserForType() |
AppProfile.RoutingPolicyCase |
getRoutingPolicyCase() |
int |
getSerializedSize() |
AppProfile.SingleClusterRouting |
getSingleClusterRouting()
Use a single-cluster routing policy.
|
AppProfile.SingleClusterRoutingOrBuilder |
getSingleClusterRoutingOrBuilder()
Use a single-cluster routing policy.
|
UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasMultiClusterRoutingUseAny()
Use a multi-cluster routing policy that may pick any cluster.
|
boolean |
hasSingleClusterRouting()
Use a single-cluster routing policy.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static AppProfile.Builder |
newBuilder() |
static AppProfile.Builder |
newBuilder(AppProfile prototype) |
AppProfile.Builder |
newBuilderForType() |
protected AppProfile.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static AppProfile |
parseDelimitedFrom(java.io.InputStream input) |
static AppProfile |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static AppProfile |
parseFrom(byte[] data) |
static AppProfile |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static AppProfile |
parseFrom(java.nio.ByteBuffer data) |
static AppProfile |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static AppProfile |
parseFrom(ByteString data) |
static AppProfile |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static AppProfile |
parseFrom(CodedInputStream input) |
static AppProfile |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static AppProfile |
parseFrom(java.io.InputStream input) |
static AppProfile |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<AppProfile> |
parser() |
AppProfile.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int NAME_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int MULTI_CLUSTER_ROUTING_USE_ANY_FIELD_NUMBER
public static final int SINGLE_CLUSTER_ROUTING_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public AppProfile.RoutingPolicyCase getRoutingPolicyCase()
getRoutingPolicyCase in interface AppProfileOrBuilderpublic java.lang.String getName()
(`OutputOnly`) The unique name of the app profile. Values are of the form `projects/<project>/instances/<instance>/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
string name = 1;getName in interface AppProfileOrBuilderpublic ByteString getNameBytes()
(`OutputOnly`) The unique name of the app profile. Values are of the form `projects/<project>/instances/<instance>/appProfiles/[_a-zA-Z0-9][-_.a-zA-Z0-9]*`.
string name = 1;getNameBytes in interface AppProfileOrBuilderpublic java.lang.String getEtag()
Strongly validated etag for optimistic concurrency control. Preserve the value returned from `GetAppProfile` when calling `UpdateAppProfile` to fail the request if there has been a modification in the mean time. The `update_mask` of the request need not include `etag` for this protection to apply. See [Wikipedia](https://en.wikipedia.org/wiki/HTTP_ETag) and [RFC 7232](https://tools.ietf.org/html/rfc7232#section-2.3) for more details.
string etag = 2;getEtag in interface AppProfileOrBuilderpublic ByteString getEtagBytes()
Strongly validated etag for optimistic concurrency control. Preserve the value returned from `GetAppProfile` when calling `UpdateAppProfile` to fail the request if there has been a modification in the mean time. The `update_mask` of the request need not include `etag` for this protection to apply. See [Wikipedia](https://en.wikipedia.org/wiki/HTTP_ETag) and [RFC 7232](https://tools.ietf.org/html/rfc7232#section-2.3) for more details.
string etag = 2;getEtagBytes in interface AppProfileOrBuilderpublic java.lang.String getDescription()
Optional long form description of the use case for this AppProfile.
string description = 3;getDescription in interface AppProfileOrBuilderpublic ByteString getDescriptionBytes()
Optional long form description of the use case for this AppProfile.
string description = 3;getDescriptionBytes in interface AppProfileOrBuilderpublic boolean hasMultiClusterRoutingUseAny()
Use a multi-cluster routing policy that may pick any cluster.
.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5;hasMultiClusterRoutingUseAny in interface AppProfileOrBuilderpublic AppProfile.MultiClusterRoutingUseAny getMultiClusterRoutingUseAny()
Use a multi-cluster routing policy that may pick any cluster.
.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5;getMultiClusterRoutingUseAny in interface AppProfileOrBuilderpublic AppProfile.MultiClusterRoutingUseAnyOrBuilder getMultiClusterRoutingUseAnyOrBuilder()
Use a multi-cluster routing policy that may pick any cluster.
.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5;getMultiClusterRoutingUseAnyOrBuilder in interface AppProfileOrBuilderpublic boolean hasSingleClusterRouting()
Use a single-cluster routing policy.
.google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6;hasSingleClusterRouting in interface AppProfileOrBuilderpublic AppProfile.SingleClusterRouting getSingleClusterRouting()
Use a single-cluster routing policy.
.google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6;getSingleClusterRouting in interface AppProfileOrBuilderpublic AppProfile.SingleClusterRoutingOrBuilder getSingleClusterRoutingOrBuilder()
Use a single-cluster routing policy.
.google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6;getSingleClusterRoutingOrBuilder in interface AppProfileOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static AppProfile parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static AppProfile parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static AppProfile parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static AppProfile parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static AppProfile parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static AppProfile parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static AppProfile parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static AppProfile parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static AppProfile parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static AppProfile parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static AppProfile parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static AppProfile parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic AppProfile.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static AppProfile.Builder newBuilder()
public static AppProfile.Builder newBuilder(AppProfile prototype)
public AppProfile.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected AppProfile.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static AppProfile getDefaultInstance()
public static Parser<AppProfile> parser()
public Parser<AppProfile> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public AppProfile getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder