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 typegoogle.bigtable.admin.v2.AppProfile- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAppProfile.BuilderA configuration object describing how Cloud Bigtable should treat traffic from a particular end user application.static classAppProfile.MultiClusterRoutingUseAnyRead/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 interfaceAppProfile.MultiClusterRoutingUseAnyOrBuilderstatic classAppProfile.RoutingPolicyCasestatic classAppProfile.SingleClusterRoutingUnconditionally routes all read/write requests to a specific cluster.static interfaceAppProfile.SingleClusterRoutingOrBuilder-
Nested 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
-
-
Field Summary
Fields Modifier and Type Field Description static intDESCRIPTION_FIELD_NUMBERstatic intETAG_FIELD_NUMBERstatic intMULTI_CLUSTER_ROUTING_USE_ANY_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intSINGLE_CLUSTER_ROUTING_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static AppProfilegetDefaultInstance()AppProfilegetDefaultInstanceForType()StringgetDescription()Long form description of the use case for this AppProfile.com.google.protobuf.ByteStringgetDescriptionBytes()Long form description of the use case for this AppProfile.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetEtag()Strongly validated etag for optimistic concurrency control.com.google.protobuf.ByteStringgetEtagBytes()Strongly validated etag for optimistic concurrency control.AppProfile.MultiClusterRoutingUseAnygetMultiClusterRoutingUseAny()Use a multi-cluster routing policy.AppProfile.MultiClusterRoutingUseAnyOrBuildergetMultiClusterRoutingUseAnyOrBuilder()Use a multi-cluster routing policy.StringgetName()The unique name of the app profile.com.google.protobuf.ByteStringgetNameBytes()The unique name of the app profile.com.google.protobuf.Parser<AppProfile>getParserForType()AppProfile.RoutingPolicyCasegetRoutingPolicyCase()intgetSerializedSize()AppProfile.SingleClusterRoutinggetSingleClusterRouting()Use a single-cluster routing policy.AppProfile.SingleClusterRoutingOrBuildergetSingleClusterRoutingOrBuilder()Use a single-cluster routing policy.inthashCode()booleanhasMultiClusterRoutingUseAny()Use a multi-cluster routing policy.booleanhasSingleClusterRouting()Use a single-cluster routing policy.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static AppProfile.BuildernewBuilder()static AppProfile.BuildernewBuilder(AppProfile prototype)AppProfile.BuildernewBuilderForType()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()AppProfile.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MULTI_CLUSTER_ROUTING_USE_ANY_FIELD_NUMBER
public static final int MULTI_CLUSTER_ROUTING_USE_ANY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SINGLE_CLUSTER_ROUTING_FIELD_NUMBER
public static final int SINGLE_CLUSTER_ROUTING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- 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
public AppProfile.RoutingPolicyCase getRoutingPolicyCase()
- Specified by:
getRoutingPolicyCasein interfaceAppProfileOrBuilder
-
getName
public String 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
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;- 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
public String 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
public AppProfile.MultiClusterRoutingUseAny 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
public AppProfile.MultiClusterRoutingUseAnyOrBuilder 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
public AppProfile.SingleClusterRouting 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
public AppProfile.SingleClusterRoutingOrBuilder getSingleClusterRoutingOrBuilder()
Use a single-cluster routing policy.
.google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6;- Specified by:
getSingleClusterRoutingOrBuilderin interfaceAppProfileOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 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
public boolean equals(Object obj)
- 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
public static AppProfile parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static AppProfile parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static AppProfile parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static AppProfile parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static AppProfile parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static AppProfile parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public AppProfile.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static AppProfile.Builder newBuilder()
-
newBuilder
public static AppProfile.Builder newBuilder(AppProfile prototype)
-
toBuilder
public AppProfile.Builder 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
public static AppProfile getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<AppProfile> parser()
-
getParserForType
public com.google.protobuf.Parser<AppProfile> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public AppProfile getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-