Class Zone.Builder (0.9.0)

public static final class Zone.Builder extends GeneratedMessageV3.Builder<Zone.Builder> implements ZoneOrBuilder

A zone holding a set of hardware.

Protobuf type google.cloud.gdchardwaremanagement.v1alpha.Zone

Implements

ZoneOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllContacts(Iterable<? extends Contact> values)

public Zone.Builder addAllContacts(Iterable<? extends Contact> values)

Required. The points of contact.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Contact contacts = 9 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.cloud.gdchardwaremanagement.v1alpha.Contact>
Returns
Type Description
Zone.Builder

addAllSubscriptionConfigs(Iterable<? extends SubscriptionConfig> values)

public Zone.Builder addAllSubscriptionConfigs(Iterable<? extends SubscriptionConfig> values)

Output only. Subscription configurations for this zone.

repeated .google.cloud.gdchardwaremanagement.v1alpha.SubscriptionConfig subscription_configs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.gdchardwaremanagement.v1alpha.SubscriptionConfig>
Returns
Type Description
Zone.Builder

addContacts(Contact value)

public Zone.Builder addContacts(Contact value)

Required. The points of contact.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Contact contacts = 9 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Contact
Returns
Type Description
Zone.Builder

addContacts(Contact.Builder builderForValue)

public Zone.Builder addContacts(Contact.Builder builderForValue)

Required. The points of contact.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Contact contacts = 9 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Contact.Builder
Returns
Type Description
Zone.Builder

addContacts(int index, Contact value)

public Zone.Builder addContacts(int index, Contact value)

Required. The points of contact.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Contact contacts = 9 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value Contact
Returns
Type Description
Zone.Builder

addContacts(int index, Contact.Builder builderForValue)

public Zone.Builder addContacts(int index, Contact.Builder builderForValue)

Required. The points of contact.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Contact contacts = 9 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue Contact.Builder
Returns
Type Description
Zone.Builder

addContactsBuilder()

public Contact.Builder addContactsBuilder()

Required. The points of contact.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Contact contacts = 9 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Contact.Builder

addContactsBuilder(int index)

public Contact.Builder addContactsBuilder(int index)

Required. The points of contact.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Contact contacts = 9 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Contact.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSubscriptionConfigs(SubscriptionConfig value)

public Zone.Builder addSubscriptionConfigs(SubscriptionConfig value)

Output only. Subscription configurations for this zone.

repeated .google.cloud.gdchardwaremanagement.v1alpha.SubscriptionConfig subscription_configs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value SubscriptionConfig
Returns
Type Description
Zone.Builder

addSubscriptionConfigs(SubscriptionConfig.Builder builderForValue)

public Zone.Builder addSubscriptionConfigs(SubscriptionConfig.Builder builderForValue)

Output only. Subscription configurations for this zone.

repeated .google.cloud.gdchardwaremanagement.v1alpha.SubscriptionConfig subscription_configs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue SubscriptionConfig.Builder
Returns
Type Description
Zone.Builder

addSubscriptionConfigs(int index, SubscriptionConfig value)

public Zone.Builder addSubscriptionConfigs(int index, SubscriptionConfig value)

Output only. Subscription configurations for this zone.

repeated .google.cloud.gdchardwaremanagement.v1alpha.SubscriptionConfig subscription_configs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value SubscriptionConfig
Returns
Type Description
Zone.Builder

addSubscriptionConfigs(int index, SubscriptionConfig.Builder builderForValue)

public Zone.Builder addSubscriptionConfigs(int index, SubscriptionConfig.Builder builderForValue)

Output only. Subscription configurations for this zone.

repeated .google.cloud.gdchardwaremanagement.v1alpha.SubscriptionConfig subscription_configs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue SubscriptionConfig.Builder
Returns
Type Description
Zone.Builder

addSubscriptionConfigsBuilder()

public SubscriptionConfig.Builder addSubscriptionConfigsBuilder()

Output only. Subscription configurations for this zone.

repeated .google.cloud.gdchardwaremanagement.v1alpha.SubscriptionConfig subscription_configs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SubscriptionConfig.Builder

addSubscriptionConfigsBuilder(int index)

public SubscriptionConfig.Builder addSubscriptionConfigsBuilder(int index)

Output only. Subscription configurations for this zone.

repeated .google.cloud.gdchardwaremanagement.v1alpha.SubscriptionConfig subscription_configs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
SubscriptionConfig.Builder

build()

public Zone build()
Returns
Type Description
Zone

buildPartial()

public Zone buildPartial()
Returns
Type Description
Zone

clear()

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

clearCiqUri()

public Zone.Builder clearCiqUri()

Output only. Link to the Customer Intake Questionnaire (CIQ) sheet for this zone.

string ciq_uri = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Zone.Builder

This builder for chaining.

clearContacts()

public Zone.Builder clearContacts()

Required. The points of contact.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Contact contacts = 9 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Zone.Builder

clearCreateTime()

public Zone.Builder clearCreateTime()

Output only. Time when this zone was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Zone.Builder

clearDisplayName()

public Zone.Builder clearDisplayName()

Optional. Human friendly display name of this zone.

string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Zone.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearGloballyUniqueId()

public Zone.Builder clearGloballyUniqueId()

Output only. Globally unique identifier generated for this Edge Zone.

string globally_unique_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Zone.Builder

This builder for chaining.

clearLabels()

public Zone.Builder clearLabels()
Returns
Type Description
Zone.Builder

clearName()

public Zone.Builder clearName()

Identifier. Name of this zone. Format: projects/{project}/locations/{location}/zones/{zone}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
Zone.Builder

This builder for chaining.

clearNetworkConfig()

public Zone.Builder clearNetworkConfig()

Optional. Networking configuration for this zone.

.google.cloud.gdchardwaremanagement.v1alpha.ZoneNetworkConfig network_config = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Zone.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Zone.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Zone.Builder
Overrides

clearProvisioningState()

public Zone.Builder clearProvisioningState()

Output only. Provisioning state for configurations like MAC addresses.

.google.cloud.gdchardwaremanagement.v1alpha.Zone.ProvisioningState provisioning_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Zone.Builder

This builder for chaining.

clearState()

public Zone.Builder clearState()

Output only. Current state for this zone.

.google.cloud.gdchardwaremanagement.v1alpha.Zone.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Zone.Builder

This builder for chaining.

clearSubscriptionConfigs()

public Zone.Builder clearSubscriptionConfigs()

Output only. Subscription configurations for this zone.

repeated .google.cloud.gdchardwaremanagement.v1alpha.SubscriptionConfig subscription_configs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Zone.Builder

clearUpdateTime()

public Zone.Builder clearUpdateTime()

Output only. Time when this zone was last updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Zone.Builder

clone()

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

containsLabels(String key)

public boolean containsLabels(String key)

Optional. Labels associated with this zone as key value pairs. For more information about labels, see Create and manage labels.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getCiqUri()

public String getCiqUri()

Output only. Link to the Customer Intake Questionnaire (CIQ) sheet for this zone.

string ciq_uri = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The ciqUri.

getCiqUriBytes()

public ByteString getCiqUriBytes()

Output only. Link to the Customer Intake Questionnaire (CIQ) sheet for this zone.

string ciq_uri = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for ciqUri.

getContacts(int index)

public Contact getContacts(int index)

Required. The points of contact.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Contact contacts = 9 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Contact

getContactsBuilder(int index)

public Contact.Builder getContactsBuilder(int index)

Required. The points of contact.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Contact contacts = 9 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Contact.Builder

getContactsBuilderList()

public List<Contact.Builder> getContactsBuilderList()

Required. The points of contact.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Contact contacts = 9 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getContactsCount()

public int getContactsCount()

Required. The points of contact.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Contact contacts = 9 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getContactsList()

public List<Contact> getContactsList()

Required. The points of contact.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Contact contacts = 9 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Contact>

getContactsOrBuilder(int index)

public ContactOrBuilder getContactsOrBuilder(int index)

Required. The points of contact.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Contact contacts = 9 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
ContactOrBuilder

getContactsOrBuilderList()

public List<? extends ContactOrBuilder> getContactsOrBuilderList()

Required. The points of contact.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Contact contacts = 9 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.gdchardwaremanagement.v1alpha.ContactOrBuilder>

getCreateTime()

public Timestamp getCreateTime()

Output only. Time when this zone was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. Time when this zone was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Time when this zone was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Zone getDefaultInstanceForType()
Returns
Type Description
Zone

getDescriptorForType()

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

getDisplayName()

public String getDisplayName()

Optional. Human friendly display name of this zone.

string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Optional. Human friendly display name of this zone.

string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for displayName.

getGloballyUniqueId()

public String getGloballyUniqueId()

Output only. Globally unique identifier generated for this Edge Zone.

string globally_unique_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The globallyUniqueId.

getGloballyUniqueIdBytes()

public ByteString getGloballyUniqueIdBytes()

Output only. Globally unique identifier generated for this Edge Zone.

string globally_unique_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for globallyUniqueId.

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Optional. Labels associated with this zone as key value pairs. For more information about labels, see Create and manage labels.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Optional. Labels associated with this zone as key value pairs. For more information about labels, see Create and manage labels.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Optional. Labels associated with this zone as key value pairs. For more information about labels, see Create and manage labels.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Optional. Labels associated with this zone as key value pairs. For more information about labels, see Create and manage labels.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getName()

public String getName()

Identifier. Name of this zone. Format: projects/{project}/locations/{location}/zones/{zone}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. Name of this zone. Format: projects/{project}/locations/{location}/zones/{zone}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getNetworkConfig()

public ZoneNetworkConfig getNetworkConfig()

Optional. Networking configuration for this zone.

.google.cloud.gdchardwaremanagement.v1alpha.ZoneNetworkConfig network_config = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ZoneNetworkConfig

The networkConfig.

getNetworkConfigBuilder()

public ZoneNetworkConfig.Builder getNetworkConfigBuilder()

Optional. Networking configuration for this zone.

.google.cloud.gdchardwaremanagement.v1alpha.ZoneNetworkConfig network_config = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ZoneNetworkConfig.Builder

getNetworkConfigOrBuilder()

public ZoneNetworkConfigOrBuilder getNetworkConfigOrBuilder()

Optional. Networking configuration for this zone.

.google.cloud.gdchardwaremanagement.v1alpha.ZoneNetworkConfig network_config = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ZoneNetworkConfigOrBuilder

getProvisioningState()

public Zone.ProvisioningState getProvisioningState()

Output only. Provisioning state for configurations like MAC addresses.

.google.cloud.gdchardwaremanagement.v1alpha.Zone.ProvisioningState provisioning_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Zone.ProvisioningState

The provisioningState.

getProvisioningStateValue()

public int getProvisioningStateValue()

Output only. Provisioning state for configurations like MAC addresses.

.google.cloud.gdchardwaremanagement.v1alpha.Zone.ProvisioningState provisioning_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for provisioningState.

getState()

public Zone.State getState()

Output only. Current state for this zone.

.google.cloud.gdchardwaremanagement.v1alpha.Zone.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Zone.State

The state.

getStateValue()

public int getStateValue()

Output only. Current state for this zone.

.google.cloud.gdchardwaremanagement.v1alpha.Zone.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getSubscriptionConfigs(int index)

public SubscriptionConfig getSubscriptionConfigs(int index)

Output only. Subscription configurations for this zone.

repeated .google.cloud.gdchardwaremanagement.v1alpha.SubscriptionConfig subscription_configs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
SubscriptionConfig

getSubscriptionConfigsBuilder(int index)

public SubscriptionConfig.Builder getSubscriptionConfigsBuilder(int index)

Output only. Subscription configurations for this zone.

repeated .google.cloud.gdchardwaremanagement.v1alpha.SubscriptionConfig subscription_configs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
SubscriptionConfig.Builder

getSubscriptionConfigsBuilderList()

public List<SubscriptionConfig.Builder> getSubscriptionConfigsBuilderList()

Output only. Subscription configurations for this zone.

repeated .google.cloud.gdchardwaremanagement.v1alpha.SubscriptionConfig subscription_configs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getSubscriptionConfigsCount()

public int getSubscriptionConfigsCount()

Output only. Subscription configurations for this zone.

repeated .google.cloud.gdchardwaremanagement.v1alpha.SubscriptionConfig subscription_configs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getSubscriptionConfigsList()

public List<SubscriptionConfig> getSubscriptionConfigsList()

Output only. Subscription configurations for this zone.

repeated .google.cloud.gdchardwaremanagement.v1alpha.SubscriptionConfig subscription_configs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<SubscriptionConfig>

getSubscriptionConfigsOrBuilder(int index)

public SubscriptionConfigOrBuilder getSubscriptionConfigsOrBuilder(int index)

Output only. Subscription configurations for this zone.

repeated .google.cloud.gdchardwaremanagement.v1alpha.SubscriptionConfig subscription_configs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
SubscriptionConfigOrBuilder

getSubscriptionConfigsOrBuilderList()

public List<? extends SubscriptionConfigOrBuilder> getSubscriptionConfigsOrBuilderList()

Output only. Subscription configurations for this zone.

repeated .google.cloud.gdchardwaremanagement.v1alpha.SubscriptionConfig subscription_configs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.gdchardwaremanagement.v1alpha.SubscriptionConfigOrBuilder>

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Time when this zone was last updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Output only. Time when this zone was last updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Time when this zone was last updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public boolean hasCreateTime()

Output only. Time when this zone was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasNetworkConfig()

public boolean hasNetworkConfig()

Optional. Networking configuration for this zone.

.google.cloud.gdchardwaremanagement.v1alpha.ZoneNetworkConfig network_config = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the networkConfig field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Time when this zone was last updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public Zone.Builder mergeCreateTime(Timestamp value)

Output only. Time when this zone was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Zone.Builder

mergeFrom(Zone other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeNetworkConfig(ZoneNetworkConfig value)

public Zone.Builder mergeNetworkConfig(ZoneNetworkConfig value)

Optional. Networking configuration for this zone.

.google.cloud.gdchardwaremanagement.v1alpha.ZoneNetworkConfig network_config = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ZoneNetworkConfig
Returns
Type Description
Zone.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public Zone.Builder mergeUpdateTime(Timestamp value)

Output only. Time when this zone was last updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Zone.Builder

putAllLabels(Map<String,String> values)

public Zone.Builder putAllLabels(Map<String,String> values)

Optional. Labels associated with this zone as key value pairs. For more information about labels, see Create and manage labels.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Map<String,String>
Returns
Type Description
Zone.Builder

putLabels(String key, String value)

public Zone.Builder putLabels(String key, String value)

Optional. Labels associated with this zone as key value pairs. For more information about labels, see Create and manage labels.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
value String
Returns
Type Description
Zone.Builder

removeContacts(int index)

public Zone.Builder removeContacts(int index)

Required. The points of contact.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Contact contacts = 9 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
Zone.Builder

removeLabels(String key)

public Zone.Builder removeLabels(String key)

Optional. Labels associated with this zone as key value pairs. For more information about labels, see Create and manage labels.

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
Zone.Builder

removeSubscriptionConfigs(int index)

public Zone.Builder removeSubscriptionConfigs(int index)

Output only. Subscription configurations for this zone.

repeated .google.cloud.gdchardwaremanagement.v1alpha.SubscriptionConfig subscription_configs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Zone.Builder

setCiqUri(String value)

public Zone.Builder setCiqUri(String value)

Output only. Link to the Customer Intake Questionnaire (CIQ) sheet for this zone.

string ciq_uri = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The ciqUri to set.

Returns
Type Description
Zone.Builder

This builder for chaining.

setCiqUriBytes(ByteString value)

public Zone.Builder setCiqUriBytes(ByteString value)

Output only. Link to the Customer Intake Questionnaire (CIQ) sheet for this zone.

string ciq_uri = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for ciqUri to set.

Returns
Type Description
Zone.Builder

This builder for chaining.

setContacts(int index, Contact value)

public Zone.Builder setContacts(int index, Contact value)

Required. The points of contact.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Contact contacts = 9 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value Contact
Returns
Type Description
Zone.Builder

setContacts(int index, Contact.Builder builderForValue)

public Zone.Builder setContacts(int index, Contact.Builder builderForValue)

Required. The points of contact.

repeated .google.cloud.gdchardwaremanagement.v1alpha.Contact contacts = 9 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue Contact.Builder
Returns
Type Description
Zone.Builder

setCreateTime(Timestamp value)

public Zone.Builder setCreateTime(Timestamp value)

Output only. Time when this zone was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Zone.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Zone.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Time when this zone was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Zone.Builder

setDisplayName(String value)

public Zone.Builder setDisplayName(String value)

Optional. Human friendly display name of this zone.

string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
Zone.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Zone.Builder setDisplayNameBytes(ByteString value)

Optional. Human friendly display name of this zone.

string display_name = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
Zone.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setGloballyUniqueId(String value)

public Zone.Builder setGloballyUniqueId(String value)

Output only. Globally unique identifier generated for this Edge Zone.

string globally_unique_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The globallyUniqueId to set.

Returns
Type Description
Zone.Builder

This builder for chaining.

setGloballyUniqueIdBytes(ByteString value)

public Zone.Builder setGloballyUniqueIdBytes(ByteString value)

Output only. Globally unique identifier generated for this Edge Zone.

string globally_unique_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for globallyUniqueId to set.

Returns
Type Description
Zone.Builder

This builder for chaining.

setName(String value)

public Zone.Builder setName(String value)

Identifier. Name of this zone. Format: projects/{project}/locations/{location}/zones/{zone}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Zone.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Zone.Builder setNameBytes(ByteString value)

Identifier. Name of this zone. Format: projects/{project}/locations/{location}/zones/{zone}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Zone.Builder

This builder for chaining.

setNetworkConfig(ZoneNetworkConfig value)

public Zone.Builder setNetworkConfig(ZoneNetworkConfig value)

Optional. Networking configuration for this zone.

.google.cloud.gdchardwaremanagement.v1alpha.ZoneNetworkConfig network_config = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ZoneNetworkConfig
Returns
Type Description
Zone.Builder

setNetworkConfig(ZoneNetworkConfig.Builder builderForValue)

public Zone.Builder setNetworkConfig(ZoneNetworkConfig.Builder builderForValue)

Optional. Networking configuration for this zone.

.google.cloud.gdchardwaremanagement.v1alpha.ZoneNetworkConfig network_config = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue ZoneNetworkConfig.Builder
Returns
Type Description
Zone.Builder

setProvisioningState(Zone.ProvisioningState value)

public Zone.Builder setProvisioningState(Zone.ProvisioningState value)

Output only. Provisioning state for configurations like MAC addresses.

.google.cloud.gdchardwaremanagement.v1alpha.Zone.ProvisioningState provisioning_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Zone.ProvisioningState

The provisioningState to set.

Returns
Type Description
Zone.Builder

This builder for chaining.

setProvisioningStateValue(int value)

public Zone.Builder setProvisioningStateValue(int value)

Output only. Provisioning state for configurations like MAC addresses.

.google.cloud.gdchardwaremanagement.v1alpha.Zone.ProvisioningState provisioning_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for provisioningState to set.

Returns
Type Description
Zone.Builder

This builder for chaining.

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

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

setState(Zone.State value)

public Zone.Builder setState(Zone.State value)

Output only. Current state for this zone.

.google.cloud.gdchardwaremanagement.v1alpha.Zone.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Zone.State

The state to set.

Returns
Type Description
Zone.Builder

This builder for chaining.

setStateValue(int value)

public Zone.Builder setStateValue(int value)

Output only. Current state for this zone.

.google.cloud.gdchardwaremanagement.v1alpha.Zone.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
Zone.Builder

This builder for chaining.

setSubscriptionConfigs(int index, SubscriptionConfig value)

public Zone.Builder setSubscriptionConfigs(int index, SubscriptionConfig value)

Output only. Subscription configurations for this zone.

repeated .google.cloud.gdchardwaremanagement.v1alpha.SubscriptionConfig subscription_configs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value SubscriptionConfig
Returns
Type Description
Zone.Builder

setSubscriptionConfigs(int index, SubscriptionConfig.Builder builderForValue)

public Zone.Builder setSubscriptionConfigs(int index, SubscriptionConfig.Builder builderForValue)

Output only. Subscription configurations for this zone.

repeated .google.cloud.gdchardwaremanagement.v1alpha.SubscriptionConfig subscription_configs = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue SubscriptionConfig.Builder
Returns
Type Description
Zone.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final Zone.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Zone.Builder
Overrides

setUpdateTime(Timestamp value)

public Zone.Builder setUpdateTime(Timestamp value)

Output only. Time when this zone was last updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Zone.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Zone.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. Time when this zone was last updated.

.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Zone.Builder