Class AppProfile.Builder (2.12.0)

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

Implements

AppProfileOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AppProfile.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AppProfile.Builder
Overrides

build()

public AppProfile build()
Returns
TypeDescription
AppProfile

buildPartial()

public AppProfile buildPartial()
Returns
TypeDescription
AppProfile

clear()

public AppProfile.Builder clear()
Returns
TypeDescription
AppProfile.Builder
Overrides

clearDescription()

public AppProfile.Builder clearDescription()

Long form description of the use case for this AppProfile.

string description = 3;

Returns
TypeDescription
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;

Returns
TypeDescription
AppProfile.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AppProfile.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AppProfile.Builder
Overrides

clearMultiClusterRoutingUseAny()

public AppProfile.Builder clearMultiClusterRoutingUseAny()

Use a multi-cluster routing policy.

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

Returns
TypeDescription
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;

Returns
TypeDescription
AppProfile.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AppProfile.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AppProfile.Builder
Overrides

clearRoutingPolicy()

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

clearSingleClusterRouting()

public AppProfile.Builder clearSingleClusterRouting()

Use a single-cluster routing policy.

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

Returns
TypeDescription
AppProfile.Builder

clone()

public AppProfile.Builder clone()
Returns
TypeDescription
AppProfile.Builder
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.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

getMultiClusterRoutingUseAnyBuilder()

public AppProfile.MultiClusterRoutingUseAny.Builder getMultiClusterRoutingUseAnyBuilder()

Use a multi-cluster routing policy.

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

Returns
TypeDescription
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;

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.

getRoutingPolicyCase()

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

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.

getSingleClusterRoutingBuilder()

public AppProfile.SingleClusterRouting.Builder getSingleClusterRoutingBuilder()

Use a single-cluster routing policy.

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

Returns
TypeDescription
AppProfile.SingleClusterRouting.Builder

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AppProfile other)

public AppProfile.Builder mergeFrom(AppProfile other)
Parameter
NameDescription
otherAppProfile
Returns
TypeDescription
AppProfile.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AppProfile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AppProfile.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AppProfile.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AppProfile.Builder
Overrides

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;

Parameter
NameDescription
valueAppProfile.MultiClusterRoutingUseAny
Returns
TypeDescription
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;

Parameter
NameDescription
valueAppProfile.SingleClusterRouting
Returns
TypeDescription
AppProfile.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AppProfile.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AppProfile.Builder
Overrides

setDescription(String value)

public AppProfile.Builder setDescription(String value)

Long form description of the use case for this AppProfile.

string description = 3;

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
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;

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
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;

Parameter
NameDescription
valueString

The etag to set.

Returns
TypeDescription
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;

Parameter
NameDescription
valueByteString

The bytes for etag to set.

Returns
TypeDescription
AppProfile.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AppProfile.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AppProfile.Builder
Overrides

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;

Parameter
NameDescription
valueAppProfile.MultiClusterRoutingUseAny
Returns
TypeDescription
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;

Parameter
NameDescription
builderForValueAppProfile.MultiClusterRoutingUseAny.Builder
Returns
TypeDescription
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;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
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;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AppProfile.Builder
Overrides

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;

Parameter
NameDescription
valueAppProfile.SingleClusterRouting
Returns
TypeDescription
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;

Parameter
NameDescription
builderForValueAppProfile.SingleClusterRouting.Builder
Returns
TypeDescription
AppProfile.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final AppProfile.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AppProfile.Builder
Overrides