Package com.google.bigtable.admin.v2
Class AppProfile
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.bigtable.admin.v2.AppProfile
- All Implemented Interfaces:
AppProfileOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA configuration object describing how Cloud Bigtable should treat traffic from a particular end user application.static enumstatic final classRead/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 interfacestatic enumPossible priorities for an app profile.static enumstatic final classUnconditionally routes all read/write requests to a specific cluster.static interfacestatic final classStandard options for isolating this app profile's traffic from other use cases.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic AppProfileLong form description of the use case for this AppProfile.com.google.protobuf.ByteStringLong form description of the use case for this AppProfile.static final com.google.protobuf.Descriptors.DescriptorgetEtag()Strongly validated etag for optimistic concurrency control.com.google.protobuf.ByteStringStrongly validated etag for optimistic concurrency control.Use a multi-cluster routing policy.Use a multi-cluster routing policy.getName()The unique name of the app profile.com.google.protobuf.ByteStringThe unique name of the app profile.com.google.protobuf.Parser<AppProfile>Deprecated.google.bigtable.admin.v2.AppProfile.priority is deprecated.intDeprecated.google.bigtable.admin.v2.AppProfile.priority is deprecated.intUse a single-cluster routing policy.Use a single-cluster routing policy.The standard options used for isolating this app profile's traffic from other use cases.The standard options used for isolating this app profile's traffic from other use cases.inthashCode()booleanUse a multi-cluster routing policy.booleanDeprecated.google.bigtable.admin.v2.AppProfile.priority is deprecated.booleanUse a single-cluster routing policy.booleanThe standard options used for isolating this app profile's traffic from other use cases.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic AppProfile.Builderstatic AppProfile.BuildernewBuilder(AppProfile prototype) protected AppProfile.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static AppProfileparseDelimitedFrom(InputStream input) static AppProfileparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AppProfileparseFrom(byte[] data) static AppProfileparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AppProfileparseFrom(com.google.protobuf.ByteString data) static AppProfileparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AppProfileparseFrom(com.google.protobuf.CodedInputStream input) static AppProfileparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AppProfileparseFrom(InputStream input) static AppProfileparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static AppProfileparseFrom(ByteBuffer data) static AppProfileparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AppProfile>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
MULTI_CLUSTER_ROUTING_USE_ANY_FIELD_NUMBER
public static final int MULTI_CLUSTER_ROUTING_USE_ANY_FIELD_NUMBER- See Also:
-
SINGLE_CLUSTER_ROUTING_FIELD_NUMBER
public static final int SINGLE_CLUSTER_ROUTING_FIELD_NUMBER- See Also:
-
PRIORITY_FIELD_NUMBER
public static final int PRIORITY_FIELD_NUMBER- See Also:
-
STANDARD_ISOLATION_FIELD_NUMBER
public static final int STANDARD_ISOLATION_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getRoutingPolicyCase
- Specified by:
getRoutingPolicyCasein interfaceAppProfileOrBuilder
-
getIsolationCase
- Specified by:
getIsolationCasein interfaceAppProfileOrBuilder
-
getName
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;- Specified by:
getNamein interfaceAppProfileOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()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;- Specified by:
getNameBytesin interfaceAppProfileOrBuilder- Returns:
- The bytes for name.
-
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;- Specified by:
getEtagin interfaceAppProfileOrBuilder- Returns:
- The etag.
-
getEtagBytes
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;- Specified by:
getEtagBytesin interfaceAppProfileOrBuilder- Returns:
- The bytes for etag.
-
getDescription
Long form description of the use case for this AppProfile.
string description = 3;- Specified by:
getDescriptionin interfaceAppProfileOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Long form description of the use case for this AppProfile.
string description = 3;- Specified by:
getDescriptionBytesin interfaceAppProfileOrBuilder- Returns:
- The bytes for description.
-
hasMultiClusterRoutingUseAny
public boolean hasMultiClusterRoutingUseAny()Use a multi-cluster routing policy.
.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5;- Specified by:
hasMultiClusterRoutingUseAnyin interfaceAppProfileOrBuilder- Returns:
- Whether the multiClusterRoutingUseAny field is set.
-
getMultiClusterRoutingUseAny
Use a multi-cluster routing policy.
.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5;- Specified by:
getMultiClusterRoutingUseAnyin interfaceAppProfileOrBuilder- Returns:
- The multiClusterRoutingUseAny.
-
getMultiClusterRoutingUseAnyOrBuilder
Use a multi-cluster routing policy.
.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5;- Specified by:
getMultiClusterRoutingUseAnyOrBuilderin interfaceAppProfileOrBuilder
-
hasSingleClusterRouting
public boolean hasSingleClusterRouting()Use a single-cluster routing policy.
.google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6;- Specified by:
hasSingleClusterRoutingin interfaceAppProfileOrBuilder- Returns:
- Whether the singleClusterRouting field is set.
-
getSingleClusterRouting
Use a single-cluster routing policy.
.google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6;- Specified by:
getSingleClusterRoutingin interfaceAppProfileOrBuilder- Returns:
- The singleClusterRouting.
-
getSingleClusterRoutingOrBuilder
Use a single-cluster routing policy.
.google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6;- Specified by:
getSingleClusterRoutingOrBuilderin interfaceAppProfileOrBuilder
-
hasPriority
Deprecated.google.bigtable.admin.v2.AppProfile.priority is deprecated. See google/bigtable/admin/v2/instance.proto;l=332This field has been deprecated in favor of `standard_isolation.priority`. If you set this field, `standard_isolation.priority` will be set instead. The priority of requests sent using this app profile.
.google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true];- Specified by:
hasPriorityin interfaceAppProfileOrBuilder- Returns:
- Whether the priority field is set.
-
getPriorityValue
Deprecated.google.bigtable.admin.v2.AppProfile.priority is deprecated. See google/bigtable/admin/v2/instance.proto;l=332This field has been deprecated in favor of `standard_isolation.priority`. If you set this field, `standard_isolation.priority` will be set instead. The priority of requests sent using this app profile.
.google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true];- Specified by:
getPriorityValuein interfaceAppProfileOrBuilder- Returns:
- The enum numeric value on the wire for priority.
-
getPriority
Deprecated.google.bigtable.admin.v2.AppProfile.priority is deprecated. See google/bigtable/admin/v2/instance.proto;l=332This field has been deprecated in favor of `standard_isolation.priority`. If you set this field, `standard_isolation.priority` will be set instead. The priority of requests sent using this app profile.
.google.bigtable.admin.v2.AppProfile.Priority priority = 7 [deprecated = true];- Specified by:
getPriorityin interfaceAppProfileOrBuilder- Returns:
- The priority.
-
hasStandardIsolation
public boolean hasStandardIsolation()The standard options used for isolating this app profile's traffic from other use cases.
.google.bigtable.admin.v2.AppProfile.StandardIsolation standard_isolation = 11;- Specified by:
hasStandardIsolationin interfaceAppProfileOrBuilder- Returns:
- Whether the standardIsolation field is set.
-
getStandardIsolation
The standard options used for isolating this app profile's traffic from other use cases.
.google.bigtable.admin.v2.AppProfile.StandardIsolation standard_isolation = 11;- Specified by:
getStandardIsolationin interfaceAppProfileOrBuilder- Returns:
- The standardIsolation.
-
getStandardIsolationOrBuilder
The standard options used for isolating this app profile's traffic from other use cases.
.google.bigtable.admin.v2.AppProfile.StandardIsolation standard_isolation = 11;- Specified by:
getStandardIsolationOrBuilderin interfaceAppProfileOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AppProfile parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppProfile parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppProfile parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppProfile parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppProfile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AppProfile parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AppProfile parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static AppProfile parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AppProfile parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AppProfile.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-