public final class AppProfile extends com.google.protobuf.GeneratedMessageV3 implements AppProfileOrBuilder
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
A configuration object describing how Cloud Bigtable should treat traffic
from a particular end user application.
|
static class |
AppProfile.MultiClusterRoutingUseAny
Read/write requests are routed to the nearest cluster in the instance, and
will fail over to the nearest cluster that is available 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 |
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, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
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 |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static AppProfile |
getDefaultInstance() |
AppProfile |
getDefaultInstanceForType() |
String |
getDescription()
Optional long form description of the use case for this AppProfile.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Optional long form description of the use case for this AppProfile.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getEtag()
Strongly validated etag for optimistic concurrency control.
|
com.google.protobuf.ByteString |
getEtagBytes()
Strongly validated etag for optimistic concurrency control.
|
AppProfile.MultiClusterRoutingUseAny |
getMultiClusterRoutingUseAny()
Use a multi-cluster routing policy.
|
AppProfile.MultiClusterRoutingUseAnyOrBuilder |
getMultiClusterRoutingUseAnyOrBuilder()
Use a multi-cluster routing policy.
|
String |
getName()
(`OutputOnly`)
The unique name of the app profile.
|
com.google.protobuf.ByteString |
getNameBytes()
(`OutputOnly`)
The unique name of the app profile.
|
com.google.protobuf.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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasMultiClusterRoutingUseAny()
Use a multi-cluster routing policy.
|
boolean |
hasSingleClusterRouting()
Use a single-cluster routing policy.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static AppProfile.Builder |
newBuilder() |
static AppProfile.Builder |
newBuilder(AppProfile prototype) |
AppProfile.Builder |
newBuilderForType() |
protected AppProfile.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static AppProfile |
parseDelimitedFrom(InputStream input) |
static AppProfile |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AppProfile |
parseFrom(byte[] data) |
static AppProfile |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AppProfile |
parseFrom(ByteBuffer data) |
static AppProfile |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AppProfile |
parseFrom(com.google.protobuf.ByteString data) |
static AppProfile |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AppProfile |
parseFrom(com.google.protobuf.CodedInputStream input) |
static AppProfile |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AppProfile |
parseFrom(InputStream input) |
static AppProfile |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<AppProfile> |
parser() |
AppProfile.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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 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
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class com.google.protobuf.GeneratedMessageV3
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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public AppProfile.RoutingPolicyCase getRoutingPolicyCase()
getRoutingPolicyCase
in interface AppProfileOrBuilder
public 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 com.google.protobuf.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 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 com.google.protobuf.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 String getDescription()
Optional long form description of the use case for this AppProfile.
string description = 3;
getDescription
in interface AppProfileOrBuilder
public com.google.protobuf.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.
.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.
.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.
.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 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 AppProfile parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static AppProfile parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static AppProfile parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static AppProfile parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static AppProfile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static AppProfile parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static AppProfile parseFrom(InputStream input) throws IOException
IOException
public static AppProfile parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static AppProfile parseDelimitedFrom(InputStream input) throws IOException
IOException
public static AppProfile parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static AppProfile parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static AppProfile parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public AppProfile.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static AppProfile.Builder newBuilder()
public static AppProfile.Builder newBuilder(AppProfile prototype)
public AppProfile.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected AppProfile.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static AppProfile getDefaultInstance()
public static com.google.protobuf.Parser<AppProfile> parser()
public com.google.protobuf.Parser<AppProfile> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public AppProfile getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2020 Google LLC. All rights reserved.