Class DistributionPolicyZoneConfiguration.Builder (1.61.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DistributionPolicyZoneConfiguration.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DistributionPolicyZoneConfiguration.Builder
Overrides

build()

public DistributionPolicyZoneConfiguration build()
Returns
Type Description
DistributionPolicyZoneConfiguration

buildPartial()

public DistributionPolicyZoneConfiguration buildPartial()
Returns
Type Description
DistributionPolicyZoneConfiguration

clear()

public DistributionPolicyZoneConfiguration.Builder clear()
Returns
Type Description
DistributionPolicyZoneConfiguration.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DistributionPolicyZoneConfiguration.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DistributionPolicyZoneConfiguration.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DistributionPolicyZoneConfiguration.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DistributionPolicyZoneConfiguration.Builder
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
Type Description
DistributionPolicyZoneConfiguration.Builder

This builder for chaining.

clone()

public DistributionPolicyZoneConfiguration.Builder clone()
Returns
Type Description
DistributionPolicyZoneConfiguration.Builder
Overrides

getDefaultInstanceForType()

public DistributionPolicyZoneConfiguration getDefaultInstanceForType()
Returns
Type Description
DistributionPolicyZoneConfiguration

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getZone()

public String 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
Type Description
ByteString

The bytes for zone.

hasZone()

public boolean 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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DistributionPolicyZoneConfiguration other)

public DistributionPolicyZoneConfiguration.Builder mergeFrom(DistributionPolicyZoneConfiguration other)
Parameter
Name Description
other DistributionPolicyZoneConfiguration
Returns
Type Description
DistributionPolicyZoneConfiguration.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DistributionPolicyZoneConfiguration.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DistributionPolicyZoneConfiguration.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DistributionPolicyZoneConfiguration.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DistributionPolicyZoneConfiguration.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DistributionPolicyZoneConfiguration.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DistributionPolicyZoneConfiguration.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DistributionPolicyZoneConfiguration.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DistributionPolicyZoneConfiguration.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DistributionPolicyZoneConfiguration.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DistributionPolicyZoneConfiguration.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DistributionPolicyZoneConfiguration.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DistributionPolicyZoneConfiguration.Builder
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
Type Description
DistributionPolicyZoneConfiguration.Builder

This builder for chaining.

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
Type Description
DistributionPolicyZoneConfiguration.Builder

This builder for chaining.