public static final class StretchedClusterConfig.Builder extends GeneratedMessageV3.Builder<StretchedClusterConfig.Builder> implements StretchedClusterConfigOrBuilder
Configuration of a stretched cluster.
Protobuf type google.cloud.vmwareengine.v1.StretchedClusterConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StretchedClusterConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public StretchedClusterConfig build()
buildPartial()
public StretchedClusterConfig buildPartial()
clear()
public StretchedClusterConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public StretchedClusterConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public StretchedClusterConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPreferredLocation()
public StretchedClusterConfig.Builder clearPreferredLocation()
Required. Zone that will remain operational when connection between the two
zones is lost. Specify the resource name of a zone that belongs to the
region of the private cloud. For example:
projects/{project}/locations/europe-west3-a
where {project}
can either
be a project number or a project ID.
string preferred_location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearSecondaryLocation()
public StretchedClusterConfig.Builder clearSecondaryLocation()
Required. Additional zone for a higher level of availability and load
balancing. Specify the resource name of a zone that belongs to the region
of the private cloud. For example:
projects/{project}/locations/europe-west3-b
where {project}
can either
be a project number or a project ID.
string secondary_location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public StretchedClusterConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public StretchedClusterConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getPreferredLocation()
public String getPreferredLocation()
Required. Zone that will remain operational when connection between the two
zones is lost. Specify the resource name of a zone that belongs to the
region of the private cloud. For example:
projects/{project}/locations/europe-west3-a
where {project}
can either
be a project number or a project ID.
string preferred_location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The preferredLocation.
|
getPreferredLocationBytes()
public ByteString getPreferredLocationBytes()
Required. Zone that will remain operational when connection between the two
zones is lost. Specify the resource name of a zone that belongs to the
region of the private cloud. For example:
projects/{project}/locations/europe-west3-a
where {project}
can either
be a project number or a project ID.
string preferred_location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for preferredLocation.
|
getSecondaryLocation()
public String getSecondaryLocation()
Required. Additional zone for a higher level of availability and load
balancing. Specify the resource name of a zone that belongs to the region
of the private cloud. For example:
projects/{project}/locations/europe-west3-b
where {project}
can either
be a project number or a project ID.
string secondary_location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The secondaryLocation.
|
getSecondaryLocationBytes()
public ByteString getSecondaryLocationBytes()
Required. Additional zone for a higher level of availability and load
balancing. Specify the resource name of a zone that belongs to the region
of the private cloud. For example:
projects/{project}/locations/europe-west3-b
where {project}
can either
be a project number or a project ID.
string secondary_location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for secondaryLocation.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(StretchedClusterConfig other)
public StretchedClusterConfig.Builder mergeFrom(StretchedClusterConfig other)
public StretchedClusterConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public StretchedClusterConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StretchedClusterConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public StretchedClusterConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPreferredLocation(String value)
public StretchedClusterConfig.Builder setPreferredLocation(String value)
Required. Zone that will remain operational when connection between the two
zones is lost. Specify the resource name of a zone that belongs to the
region of the private cloud. For example:
projects/{project}/locations/europe-west3-a
where {project}
can either
be a project number or a project ID.
string preferred_location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The preferredLocation to set.
|
setPreferredLocationBytes(ByteString value)
public StretchedClusterConfig.Builder setPreferredLocationBytes(ByteString value)
Required. Zone that will remain operational when connection between the two
zones is lost. Specify the resource name of a zone that belongs to the
region of the private cloud. For example:
projects/{project}/locations/europe-west3-a
where {project}
can either
be a project number or a project ID.
string preferred_location = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for preferredLocation to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StretchedClusterConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSecondaryLocation(String value)
public StretchedClusterConfig.Builder setSecondaryLocation(String value)
Required. Additional zone for a higher level of availability and load
balancing. Specify the resource name of a zone that belongs to the region
of the private cloud. For example:
projects/{project}/locations/europe-west3-b
where {project}
can either
be a project number or a project ID.
string secondary_location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The secondaryLocation to set.
|
setSecondaryLocationBytes(ByteString value)
public StretchedClusterConfig.Builder setSecondaryLocationBytes(ByteString value)
Required. Additional zone for a higher level of availability and load
balancing. Specify the resource name of a zone that belongs to the region
of the private cloud. For example:
projects/{project}/locations/europe-west3-b
where {project}
can either
be a project number or a project ID.
string secondary_location = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for secondaryLocation to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final StretchedClusterConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides