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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AppProfileImplements
AppProfileOrBuilderStatic Fields
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Type | Description |
int |
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
Type | Description |
int |
MULTI_CLUSTER_ROUTING_USE_ANY_FIELD_NUMBER
public static final int MULTI_CLUSTER_ROUTING_USE_ANY_FIELD_NUMBER
Type | Description |
int |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Type | Description |
int |
SINGLE_CLUSTER_ROUTING_FIELD_NUMBER
public static final int SINGLE_CLUSTER_ROUTING_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static AppProfile getDefaultInstance()
Type | Description |
AppProfile |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static AppProfile.Builder newBuilder()
Type | Description |
AppProfile.Builder |
newBuilder(AppProfile prototype)
public static AppProfile.Builder newBuilder(AppProfile prototype)
Name | Description |
prototype | AppProfile |
Type | Description |
AppProfile.Builder |
parseDelimitedFrom(InputStream input)
public static AppProfile parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
AppProfile |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AppProfile parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AppProfile |
Type | Description |
IOException |
parseFrom(byte[] data)
public static AppProfile parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
AppProfile |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AppProfile parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AppProfile |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static AppProfile parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
AppProfile |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AppProfile parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AppProfile |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static AppProfile parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
AppProfile |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AppProfile parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AppProfile |
Type | Description |
IOException |
parseFrom(InputStream input)
public static AppProfile parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
AppProfile |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AppProfile parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AppProfile |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static AppProfile parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
AppProfile |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AppProfile parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AppProfile |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<AppProfile> parser()
Type | Description |
Parser<AppProfile> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public AppProfile getDefaultInstanceForType()
Type | Description |
AppProfile |
getDescription()
public String getDescription()
Optional long form description of the use case for this AppProfile.
string description = 3;
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Optional long form description of the use case for this AppProfile.
string description = 3;
Type | Description |
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;
Type | Description |
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;
Type | Description |
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;
Type | Description |
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;
Type | Description |
AppProfile.MultiClusterRoutingUseAnyOrBuilder |
getName()
public String getName()
(OutputOnly
)
The unique name of the app profile. Values are of the form
projects/{project}/instances/{instance}/appProfiles/_a-zA-Z0-9*
.
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
(OutputOnly
)
The unique name of the app profile. Values are of the form
projects/{project}/instances/{instance}/appProfiles/_a-zA-Z0-9*
.
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getParserForType()
public Parser<AppProfile> getParserForType()
Type | Description |
Parser<AppProfile> |
getRoutingPolicyCase()
public AppProfile.RoutingPolicyCase getRoutingPolicyCase()
Type | Description |
AppProfile.RoutingPolicyCase |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getSingleClusterRouting()
public AppProfile.SingleClusterRouting getSingleClusterRouting()
Use a single-cluster routing policy.
.google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6;
Type | Description |
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;
Type | Description |
AppProfile.SingleClusterRoutingOrBuilder |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasMultiClusterRoutingUseAny()
public boolean hasMultiClusterRoutingUseAny()
Use a multi-cluster routing policy.
.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5;
Type | Description |
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;
Type | Description |
boolean | Whether the singleClusterRouting field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public AppProfile.Builder newBuilderForType()
Type | Description |
AppProfile.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AppProfile.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
AppProfile.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public AppProfile.Builder toBuilder()
Type | Description |
AppProfile.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |