Class AppProfile (2.10.1)

public final class AppProfile extends 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

Implements

AppProfileOrBuilder

Static Fields

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

ETAG_FIELD_NUMBER

public static final int ETAG_FIELD_NUMBER
Field Value
TypeDescription
int

MULTI_CLUSTER_ROUTING_USE_ANY_FIELD_NUMBER

public static final int MULTI_CLUSTER_ROUTING_USE_ANY_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

SINGLE_CLUSTER_ROUTING_FIELD_NUMBER

public static final int SINGLE_CLUSTER_ROUTING_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AppProfile getDefaultInstance()
Returns
TypeDescription
AppProfile

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AppProfile.Builder newBuilder()
Returns
TypeDescription
AppProfile.Builder

newBuilder(AppProfile prototype)

public static AppProfile.Builder newBuilder(AppProfile prototype)
Parameter
NameDescription
prototypeAppProfile
Returns
TypeDescription
AppProfile.Builder

parseDelimitedFrom(InputStream input)

public static AppProfile parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AppProfile
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AppProfile parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AppProfile
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AppProfile parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AppProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AppProfile parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AppProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AppProfile parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AppProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AppProfile parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AppProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AppProfile parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AppProfile
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AppProfile parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AppProfile
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AppProfile parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AppProfile
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AppProfile parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AppProfile
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AppProfile parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AppProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AppProfile parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AppProfile
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AppProfile> parser()
Returns
TypeDescription
Parser<AppProfile>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public AppProfile getDefaultInstanceForType()
Returns
TypeDescription
AppProfile

getDescription()

public String getDescription()

Long form description of the use case for this AppProfile.

string description = 3;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Long form description of the use case for this AppProfile.

string description = 3;

Returns
TypeDescription
ByteString

The bytes for description.

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 and RFC 7232 for more details.

string etag = 2;

Returns
TypeDescription
String

The etag.

getEtagBytes()

public 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 and RFC 7232 for more details.

string etag = 2;

Returns
TypeDescription
ByteString

The bytes for etag.

getMultiClusterRoutingUseAny()

public AppProfile.MultiClusterRoutingUseAny getMultiClusterRoutingUseAny()

Use a multi-cluster routing policy.

.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5;

Returns
TypeDescription
AppProfile.MultiClusterRoutingUseAny

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;

Returns
TypeDescription
AppProfile.MultiClusterRoutingUseAnyOrBuilder

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*.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The unique name of the app profile. Values are of the form projects/{project}/instances/{instance}/appProfiles/_a-zA-Z0-9*.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<AppProfile> getParserForType()
Returns
TypeDescription
Parser<AppProfile>
Overrides

getRoutingPolicyCase()

public AppProfile.RoutingPolicyCase getRoutingPolicyCase()
Returns
TypeDescription
AppProfile.RoutingPolicyCase

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSingleClusterRouting()

public AppProfile.SingleClusterRouting getSingleClusterRouting()

Use a single-cluster routing policy.

.google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6;

Returns
TypeDescription
AppProfile.SingleClusterRouting

The singleClusterRouting.

getSingleClusterRoutingOrBuilder()

public AppProfile.SingleClusterRoutingOrBuilder getSingleClusterRoutingOrBuilder()

Use a single-cluster routing policy.

.google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6;

Returns
TypeDescription
AppProfile.SingleClusterRoutingOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasMultiClusterRoutingUseAny()

public boolean hasMultiClusterRoutingUseAny()

Use a multi-cluster routing policy.

.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5;

Returns
TypeDescription
boolean

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;

Returns
TypeDescription
boolean

Whether the singleClusterRouting field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AppProfile.Builder newBuilderForType()
Returns
TypeDescription
AppProfile.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AppProfile.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AppProfile.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AppProfile.Builder toBuilder()
Returns
TypeDescription
AppProfile.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException