public static final class DistributionPolicyZoneConfiguration.Builder extends GeneratedMessageV3.Builder<DistributionPolicyZoneConfiguration.Builder> implements DistributionPolicyZoneConfigurationOrBuilder
Protobuf type google.cloud.compute.v1.DistributionPolicyZoneConfiguration
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DistributionPolicyZoneConfiguration.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public DistributionPolicyZoneConfiguration build()
Returns
buildPartial()
public DistributionPolicyZoneConfiguration buildPartial()
Returns
clear()
public DistributionPolicyZoneConfiguration.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public DistributionPolicyZoneConfiguration.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DistributionPolicyZoneConfiguration.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearZone()
public DistributionPolicyZoneConfiguration.Builder clearZone()
The URL of the zone. The zone must exist in the region where the managed instance group is located.
optional string zone = 3744684;
Returns
clone()
public DistributionPolicyZoneConfiguration.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public DistributionPolicyZoneConfiguration getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getZone()
The URL of the zone. The zone must exist in the region where the managed instance group is located.
optional string zone = 3744684;
Returns
Type | Description |
String | The zone.
|
getZoneBytes()
public ByteString getZoneBytes()
The URL of the zone. The zone must exist in the region where the managed instance group is located.
optional string zone = 3744684;
Returns
hasZone()
The URL of the zone. The zone must exist in the region where the managed instance group is located.
optional string zone = 3744684;
Returns
Type | Description |
boolean | Whether the zone field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(DistributionPolicyZoneConfiguration other)
public DistributionPolicyZoneConfiguration.Builder mergeFrom(DistributionPolicyZoneConfiguration other)
Parameter
Returns
public DistributionPolicyZoneConfiguration.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DistributionPolicyZoneConfiguration.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DistributionPolicyZoneConfiguration.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DistributionPolicyZoneConfiguration.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DistributionPolicyZoneConfiguration.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DistributionPolicyZoneConfiguration.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setZone(String value)
public DistributionPolicyZoneConfiguration.Builder setZone(String value)
The URL of the zone. The zone must exist in the region where the managed instance group is located.
optional string zone = 3744684;
Parameter
Name | Description |
value | String
The zone to set.
|
Returns
setZoneBytes(ByteString value)
public DistributionPolicyZoneConfiguration.Builder setZoneBytes(ByteString value)
The URL of the zone. The zone must exist in the region where the managed instance group is located.
optional string zone = 3744684;
Parameter
Name | Description |
value | ByteString
The bytes for zone to set.
|
Returns