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, unknownFields
memoizedSize
memoizedHashCode
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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public AppProfile.RoutingPolicyCase getRoutingPolicyCase()
getRoutingPolicyCase
in interface AppProfileOrBuilder
public 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 AppProfileOrBuilder
public 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 AppProfileOrBuilder
public 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 AppProfileOrBuilder
public 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 AppProfileOrBuilder
public java.lang.String getDescription()
Optional long form description of the use case for this AppProfile.
string description = 3;
getDescription
in interface AppProfileOrBuilder
public ByteString getDescriptionBytes()
Optional long form description of the use case for this AppProfile.
string description = 3;
getDescriptionBytes
in interface AppProfileOrBuilder
public 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 AppProfileOrBuilder
public 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 AppProfileOrBuilder
public 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 AppProfileOrBuilder
public boolean hasSingleClusterRouting()
Use a single-cluster routing policy.
.google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6;
hasSingleClusterRouting
in interface AppProfileOrBuilder
public AppProfile.SingleClusterRouting getSingleClusterRouting()
Use a single-cluster routing policy.
.google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6;
getSingleClusterRouting
in interface AppProfileOrBuilder
public AppProfile.SingleClusterRoutingOrBuilder getSingleClusterRoutingOrBuilder()
Use a single-cluster routing policy.
.google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6;
getSingleClusterRoutingOrBuilder
in interface AppProfileOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static AppProfile parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AppProfile parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AppProfile parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AppProfile parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AppProfile parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AppProfile parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static AppProfile parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static AppProfile parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static AppProfile parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static AppProfile parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static AppProfile parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static AppProfile parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public AppProfile.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static AppProfile.Builder newBuilder()
public static AppProfile.Builder newBuilder(AppProfile prototype)
public AppProfile.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected AppProfile.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static AppProfile getDefaultInstance()
public static Parser<AppProfile> parser()
public Parser<AppProfile> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public AppProfile getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder