- 0.57.0 (latest)
- 0.55.0
- 0.54.0
- 0.52.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.42.0
- 0.40.0
- 0.39.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class ZoneDistributionConfig.Builder extends GeneratedMessage.Builder<ZoneDistributionConfig.Builder> implements ZoneDistributionConfigOrBuilderZone distribution config for allocation of cluster resources.
Protobuf type google.cloud.redis.cluster.v1.ZoneDistributionConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ZoneDistributionConfig.BuilderImplements
ZoneDistributionConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ZoneDistributionConfig build()| Returns | |
|---|---|
| Type | Description |
ZoneDistributionConfig |
|
buildPartial()
public ZoneDistributionConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
ZoneDistributionConfig |
|
clear()
public ZoneDistributionConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
ZoneDistributionConfig.Builder |
|
clearMode()
public ZoneDistributionConfig.Builder clearMode()Optional. The mode of zone distribution. Defaults to MULTI_ZONE, when not specified.
.google.cloud.redis.cluster.v1.ZoneDistributionConfig.ZoneDistributionMode mode = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ZoneDistributionConfig.Builder |
This builder for chaining. |
clearZone()
public ZoneDistributionConfig.Builder clearZone()Optional. When SINGLE ZONE distribution is selected, zone field would be used to allocate all resources in that zone. This is not applicable to MULTI_ZONE, and would be ignored for MULTI_ZONE clusters.
string zone = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ZoneDistributionConfig.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ZoneDistributionConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ZoneDistributionConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMode()
public ZoneDistributionConfig.ZoneDistributionMode getMode()Optional. The mode of zone distribution. Defaults to MULTI_ZONE, when not specified.
.google.cloud.redis.cluster.v1.ZoneDistributionConfig.ZoneDistributionMode mode = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ZoneDistributionConfig.ZoneDistributionMode |
The mode. |
getModeValue()
public int getModeValue()Optional. The mode of zone distribution. Defaults to MULTI_ZONE, when not specified.
.google.cloud.redis.cluster.v1.ZoneDistributionConfig.ZoneDistributionMode mode = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for mode. |
getZone()
public String getZone()Optional. When SINGLE ZONE distribution is selected, zone field would be used to allocate all resources in that zone. This is not applicable to MULTI_ZONE, and would be ignored for MULTI_ZONE clusters.
string zone = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The zone. |
getZoneBytes()
public ByteString getZoneBytes()Optional. When SINGLE ZONE distribution is selected, zone field would be used to allocate all resources in that zone. This is not applicable to MULTI_ZONE, and would be ignored for MULTI_ZONE clusters.
string zone = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for zone. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ZoneDistributionConfig other)
public ZoneDistributionConfig.Builder mergeFrom(ZoneDistributionConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
ZoneDistributionConfig |
| Returns | |
|---|---|
| Type | Description |
ZoneDistributionConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ZoneDistributionConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ZoneDistributionConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ZoneDistributionConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ZoneDistributionConfig.Builder |
|
setMode(ZoneDistributionConfig.ZoneDistributionMode value)
public ZoneDistributionConfig.Builder setMode(ZoneDistributionConfig.ZoneDistributionMode value)Optional. The mode of zone distribution. Defaults to MULTI_ZONE, when not specified.
.google.cloud.redis.cluster.v1.ZoneDistributionConfig.ZoneDistributionMode mode = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ZoneDistributionConfig.ZoneDistributionModeThe mode to set. |
| Returns | |
|---|---|
| Type | Description |
ZoneDistributionConfig.Builder |
This builder for chaining. |
setModeValue(int value)
public ZoneDistributionConfig.Builder setModeValue(int value)Optional. The mode of zone distribution. Defaults to MULTI_ZONE, when not specified.
.google.cloud.redis.cluster.v1.ZoneDistributionConfig.ZoneDistributionMode mode = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for mode to set. |
| Returns | |
|---|---|
| Type | Description |
ZoneDistributionConfig.Builder |
This builder for chaining. |
setZone(String value)
public ZoneDistributionConfig.Builder setZone(String value)Optional. When SINGLE ZONE distribution is selected, zone field would be used to allocate all resources in that zone. This is not applicable to MULTI_ZONE, and would be ignored for MULTI_ZONE clusters.
string zone = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe zone to set. |
| Returns | |
|---|---|
| Type | Description |
ZoneDistributionConfig.Builder |
This builder for chaining. |
setZoneBytes(ByteString value)
public ZoneDistributionConfig.Builder setZoneBytes(ByteString value)Optional. When SINGLE ZONE distribution is selected, zone field would be used to allocate all resources in that zone. This is not applicable to MULTI_ZONE, and would be ignored for MULTI_ZONE clusters.
string zone = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for zone to set. |
| Returns | |
|---|---|
| Type | Description |
ZoneDistributionConfig.Builder |
This builder for chaining. |