public static final class AppProfile.Builder extends GeneratedMessageV3.Builder<AppProfile.Builder> 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.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AppProfile.BuilderImplements
AppProfileOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AppProfile.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AppProfile.Builder |
build()
public AppProfile build()
Type | Description |
AppProfile |
buildPartial()
public AppProfile buildPartial()
Type | Description |
AppProfile |
clear()
public AppProfile.Builder clear()
Type | Description |
AppProfile.Builder |
clearDescription()
public AppProfile.Builder clearDescription()
Long form description of the use case for this AppProfile.
string description = 3;
Type | Description |
AppProfile.Builder | This builder for chaining. |
clearEtag()
public AppProfile.Builder clearEtag()
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 |
AppProfile.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public AppProfile.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
AppProfile.Builder |
clearMultiClusterRoutingUseAny()
public AppProfile.Builder clearMultiClusterRoutingUseAny()
Use a multi-cluster routing policy.
.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5;
Type | Description |
AppProfile.Builder |
clearName()
public AppProfile.Builder clearName()
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 |
AppProfile.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AppProfile.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
AppProfile.Builder |
clearRoutingPolicy()
public AppProfile.Builder clearRoutingPolicy()
Type | Description |
AppProfile.Builder |
clearSingleClusterRouting()
public AppProfile.Builder clearSingleClusterRouting()
Use a single-cluster routing policy.
.google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6;
Type | Description |
AppProfile.Builder |
clone()
public AppProfile.Builder clone()
Type | Description |
AppProfile.Builder |
getDefaultInstanceForType()
public AppProfile getDefaultInstanceForType()
Type | Description |
AppProfile |
getDescription()
public String getDescription()
Long form description of the use case for this AppProfile.
string description = 3;
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
Long form description of the use case for this AppProfile.
string description = 3;
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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. |
getMultiClusterRoutingUseAnyBuilder()
public AppProfile.MultiClusterRoutingUseAny.Builder getMultiClusterRoutingUseAnyBuilder()
Use a multi-cluster routing policy.
.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5;
Type | Description |
AppProfile.MultiClusterRoutingUseAny.Builder |
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()
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()
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. |
getRoutingPolicyCase()
public AppProfile.RoutingPolicyCase getRoutingPolicyCase()
Type | Description |
AppProfile.RoutingPolicyCase |
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. |
getSingleClusterRoutingBuilder()
public AppProfile.SingleClusterRouting.Builder getSingleClusterRoutingBuilder()
Use a single-cluster routing policy.
.google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6;
Type | Description |
AppProfile.SingleClusterRouting.Builder |
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 |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(AppProfile other)
public AppProfile.Builder mergeFrom(AppProfile other)
Name | Description |
other | AppProfile |
Type | Description |
AppProfile.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AppProfile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AppProfile.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public AppProfile.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
AppProfile.Builder |
mergeMultiClusterRoutingUseAny(AppProfile.MultiClusterRoutingUseAny value)
public AppProfile.Builder mergeMultiClusterRoutingUseAny(AppProfile.MultiClusterRoutingUseAny value)
Use a multi-cluster routing policy.
.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5;
Name | Description |
value | AppProfile.MultiClusterRoutingUseAny |
Type | Description |
AppProfile.Builder |
mergeSingleClusterRouting(AppProfile.SingleClusterRouting value)
public AppProfile.Builder mergeSingleClusterRouting(AppProfile.SingleClusterRouting value)
Use a single-cluster routing policy.
.google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6;
Name | Description |
value | AppProfile.SingleClusterRouting |
Type | Description |
AppProfile.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AppProfile.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AppProfile.Builder |
setDescription(String value)
public AppProfile.Builder setDescription(String value)
Long form description of the use case for this AppProfile.
string description = 3;
Name | Description |
value | String The description to set. |
Type | Description |
AppProfile.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public AppProfile.Builder setDescriptionBytes(ByteString value)
Long form description of the use case for this AppProfile.
string description = 3;
Name | Description |
value | ByteString The bytes for description to set. |
Type | Description |
AppProfile.Builder | This builder for chaining. |
setEtag(String value)
public AppProfile.Builder setEtag(String value)
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;
Name | Description |
value | String The etag to set. |
Type | Description |
AppProfile.Builder | This builder for chaining. |
setEtagBytes(ByteString value)
public AppProfile.Builder setEtagBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for etag to set. |
Type | Description |
AppProfile.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public AppProfile.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AppProfile.Builder |
setMultiClusterRoutingUseAny(AppProfile.MultiClusterRoutingUseAny value)
public AppProfile.Builder setMultiClusterRoutingUseAny(AppProfile.MultiClusterRoutingUseAny value)
Use a multi-cluster routing policy.
.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5;
Name | Description |
value | AppProfile.MultiClusterRoutingUseAny |
Type | Description |
AppProfile.Builder |
setMultiClusterRoutingUseAny(AppProfile.MultiClusterRoutingUseAny.Builder builderForValue)
public AppProfile.Builder setMultiClusterRoutingUseAny(AppProfile.MultiClusterRoutingUseAny.Builder builderForValue)
Use a multi-cluster routing policy.
.google.bigtable.admin.v2.AppProfile.MultiClusterRoutingUseAny multi_cluster_routing_use_any = 5;
Name | Description |
builderForValue | AppProfile.MultiClusterRoutingUseAny.Builder |
Type | Description |
AppProfile.Builder |
setName(String value)
public AppProfile.Builder setName(String value)
The unique name of the app profile. Values are of the form
projects/{project}/instances/{instance}/appProfiles/_a-zA-Z0-9*
.
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
AppProfile.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public AppProfile.Builder setNameBytes(ByteString value)
The unique name of the app profile. Values are of the form
projects/{project}/instances/{instance}/appProfiles/_a-zA-Z0-9*
.
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
AppProfile.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AppProfile.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
AppProfile.Builder |
setSingleClusterRouting(AppProfile.SingleClusterRouting value)
public AppProfile.Builder setSingleClusterRouting(AppProfile.SingleClusterRouting value)
Use a single-cluster routing policy.
.google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6;
Name | Description |
value | AppProfile.SingleClusterRouting |
Type | Description |
AppProfile.Builder |
setSingleClusterRouting(AppProfile.SingleClusterRouting.Builder builderForValue)
public AppProfile.Builder setSingleClusterRouting(AppProfile.SingleClusterRouting.Builder builderForValue)
Use a single-cluster routing policy.
.google.bigtable.admin.v2.AppProfile.SingleClusterRouting single_cluster_routing = 6;
Name | Description |
builderForValue | AppProfile.SingleClusterRouting.Builder |
Type | Description |
AppProfile.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AppProfile.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AppProfile.Builder |