Class 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:
    Serialized Form
    • Field Detail

      • 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:
        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
      • 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.
      • 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.
      • 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​(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
      • 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