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:
  • 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

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getRoutingPolicyCase

      public AppProfile.RoutingPolicyCase getRoutingPolicyCase()
      Specified by:
      getRoutingPolicyCase in interface AppProfileOrBuilder
    • getIsolationCase

      public AppProfile.IsolationCase getIsolationCase()
      Specified by:
      getIsolationCase in interface AppProfileOrBuilder
    • 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:
      getName in interface AppProfileOrBuilder
      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:
      getNameBytes in interface AppProfileOrBuilder
      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:
      getEtag in interface AppProfileOrBuilder
      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:
      getEtagBytes in interface AppProfileOrBuilder
      Returns:
      The bytes for etag.
    • getDescription

      public String getDescription()
       Long form description of the use case for this AppProfile.
       
      string description = 3;
      Specified by:
      getDescription in interface AppProfileOrBuilder
      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:
      getDescriptionBytes in interface AppProfileOrBuilder
      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:
      hasMultiClusterRoutingUseAny in interface AppProfileOrBuilder
      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:
      getMultiClusterRoutingUseAny in interface AppProfileOrBuilder
      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:
      getMultiClusterRoutingUseAnyOrBuilder in interface AppProfileOrBuilder
    • hasSingleClusterRouting

      public boolean hasSingleClusterRouting()
       Use a single-cluster routing policy.
       
      .google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6;
      Specified by:
      hasSingleClusterRouting in interface AppProfileOrBuilder
      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:
      getSingleClusterRouting in interface AppProfileOrBuilder
      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:
      getSingleClusterRoutingOrBuilder in interface AppProfileOrBuilder
    • hasPriority

      @Deprecated public boolean hasPriority()
      Deprecated.
      google.bigtable.admin.v2.AppProfile.priority is deprecated. See google/bigtable/admin/v2/instance.proto;l=332
       This 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:
      hasPriority in interface AppProfileOrBuilder
      Returns:
      Whether the priority field is set.
    • getPriorityValue

      @Deprecated public int getPriorityValue()
      Deprecated.
      google.bigtable.admin.v2.AppProfile.priority is deprecated. See google/bigtable/admin/v2/instance.proto;l=332
       This 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:
      getPriorityValue in interface AppProfileOrBuilder
      Returns:
      The enum numeric value on the wire for priority.
    • getPriority

      @Deprecated public AppProfile.Priority getPriority()
      Deprecated.
      google.bigtable.admin.v2.AppProfile.priority is deprecated. See google/bigtable/admin/v2/instance.proto;l=332
       This 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:
      getPriority in interface AppProfileOrBuilder
      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:
      hasStandardIsolation in interface AppProfileOrBuilder
      Returns:
      Whether the standardIsolation field is set.
    • getStandardIsolation

      public AppProfile.StandardIsolation 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:
      getStandardIsolation in interface AppProfileOrBuilder
      Returns:
      The standardIsolation.
    • getStandardIsolationOrBuilder

      public AppProfile.StandardIsolationOrBuilder 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:
      getStandardIsolationOrBuilder in interface AppProfileOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static AppProfile.Builder newBuilder()
    • newBuilder

      public static AppProfile.Builder newBuilder(AppProfile prototype)
    • toBuilder

      public AppProfile.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected AppProfile.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.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:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public AppProfile getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder