Class ManagementDnsZoneBinding.Builder (0.39.0)

public static final class ManagementDnsZoneBinding.Builder extends GeneratedMessageV3.Builder<ManagementDnsZoneBinding.Builder> implements ManagementDnsZoneBindingOrBuilder

Represents a binding between a network and the management DNS zone. A management DNS zone is the Cloud DNS cross-project binding zone that VMware Engine creates for each private cloud. It contains FQDNs and corresponding IP addresses for the private cloud's ESXi hosts and management VM appliances like vCenter and NSX Manager.

Protobuf type google.cloud.vmwareengine.v1.ManagementDnsZoneBinding

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ManagementDnsZoneBinding build()
Returns
Type Description
ManagementDnsZoneBinding

buildPartial()

public ManagementDnsZoneBinding buildPartial()
Returns
Type Description
ManagementDnsZoneBinding

clear()

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

clearBindNetwork()

public ManagementDnsZoneBinding.Builder clearBindNetwork()
Returns
Type Description
ManagementDnsZoneBinding.Builder

clearCreateTime()

public ManagementDnsZoneBinding.Builder clearCreateTime()

Output only. Creation time of this resource.

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

Returns
Type Description
ManagementDnsZoneBinding.Builder

clearDescription()

public ManagementDnsZoneBinding.Builder clearDescription()

User-provided description for this resource.

string description = 13;

Returns
Type Description
ManagementDnsZoneBinding.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public ManagementDnsZoneBinding.Builder clearName()

Output only. The resource name of this binding. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding

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

Returns
Type Description
ManagementDnsZoneBinding.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearState()

public ManagementDnsZoneBinding.Builder clearState()

Output only. The state of the resource.

.google.cloud.vmwareengine.v1.ManagementDnsZoneBinding.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ManagementDnsZoneBinding.Builder

This builder for chaining.

clearUid()

public ManagementDnsZoneBinding.Builder clearUid()

Output only. System-generated unique identifier for the resource.

string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ManagementDnsZoneBinding.Builder

This builder for chaining.

clearUpdateTime()

public ManagementDnsZoneBinding.Builder clearUpdateTime()

Output only. Last update time of this resource.

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

Returns
Type Description
ManagementDnsZoneBinding.Builder

clearVmwareEngineNetwork()

public ManagementDnsZoneBinding.Builder clearVmwareEngineNetwork()

Network to bind is a VMware Engine network. Specify the name in the following form for VMware engine network: projects/{project}/locations/global/vmwareEngineNetworks/{vmware_engine_network_id}. {project} can either be a project number or a project ID.

string vmware_engine_network = 15 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ManagementDnsZoneBinding.Builder

This builder for chaining.

clearVpcNetwork()

public ManagementDnsZoneBinding.Builder clearVpcNetwork()

Network to bind is a standard consumer VPC. Specify the name in the following form for consumer VPC network: projects/{project}/global/networks/{network_id}. {project} can either be a project number or a project ID.

string vpc_network = 14 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ManagementDnsZoneBinding.Builder

This builder for chaining.

clone()

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

getBindNetworkCase()

public ManagementDnsZoneBinding.BindNetworkCase getBindNetworkCase()
Returns
Type Description
ManagementDnsZoneBinding.BindNetworkCase

getCreateTime()

public Timestamp getCreateTime()

Output only. Creation time of this resource.

.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. Creation time of this resource.

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

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Creation time of this resource.

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

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public ManagementDnsZoneBinding getDefaultInstanceForType()
Returns
Type Description
ManagementDnsZoneBinding

getDescription()

public String getDescription()

User-provided description for this resource.

string description = 13;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

User-provided description for this resource.

string description = 13;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

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

getName()

public String getName()

Output only. The resource name of this binding. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The resource name of this binding. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding

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

Returns
Type Description
ByteString

The bytes for name.

getState()

public ManagementDnsZoneBinding.State getState()

Output only. The state of the resource.

.google.cloud.vmwareengine.v1.ManagementDnsZoneBinding.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ManagementDnsZoneBinding.State

The state.

getStateValue()

public int getStateValue()

Output only. The state of the resource.

.google.cloud.vmwareengine.v1.ManagementDnsZoneBinding.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getUid()

public String getUid()

Output only. System-generated unique identifier for the resource.

string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The uid.

getUidBytes()

public ByteString getUidBytes()

Output only. System-generated unique identifier for the resource.

string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for uid.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. Last update time of this resource.

.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. Last update time of this resource.

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

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Last update time of this resource.

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

Returns
Type Description
TimestampOrBuilder

getVmwareEngineNetwork()

public String getVmwareEngineNetwork()

Network to bind is a VMware Engine network. Specify the name in the following form for VMware engine network: projects/{project}/locations/global/vmwareEngineNetworks/{vmware_engine_network_id}. {project} can either be a project number or a project ID.

string vmware_engine_network = 15 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The vmwareEngineNetwork.

getVmwareEngineNetworkBytes()

public ByteString getVmwareEngineNetworkBytes()

Network to bind is a VMware Engine network. Specify the name in the following form for VMware engine network: projects/{project}/locations/global/vmwareEngineNetworks/{vmware_engine_network_id}. {project} can either be a project number or a project ID.

string vmware_engine_network = 15 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for vmwareEngineNetwork.

getVpcNetwork()

public String getVpcNetwork()

Network to bind is a standard consumer VPC. Specify the name in the following form for consumer VPC network: projects/{project}/global/networks/{network_id}. {project} can either be a project number or a project ID.

string vpc_network = 14 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The vpcNetwork.

getVpcNetworkBytes()

public ByteString getVpcNetworkBytes()

Network to bind is a standard consumer VPC. Specify the name in the following form for consumer VPC network: projects/{project}/global/networks/{network_id}. {project} can either be a project number or a project ID.

string vpc_network = 14 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for vpcNetwork.

hasCreateTime()

public boolean hasCreateTime()

Output only. Creation time of this resource.

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

Returns
Type Description
boolean

Whether the createTime field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Output only. Last update time of this resource.

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

Returns
Type Description
boolean

Whether the updateTime field is set.

hasVmwareEngineNetwork()

public boolean hasVmwareEngineNetwork()

Network to bind is a VMware Engine network. Specify the name in the following form for VMware engine network: projects/{project}/locations/global/vmwareEngineNetworks/{vmware_engine_network_id}. {project} can either be a project number or a project ID.

string vmware_engine_network = 15 [(.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the vmwareEngineNetwork field is set.

hasVpcNetwork()

public boolean hasVpcNetwork()

Network to bind is a standard consumer VPC. Specify the name in the following form for consumer VPC network: projects/{project}/global/networks/{network_id}. {project} can either be a project number or a project ID.

string vpc_network = 14 [(.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the vpcNetwork field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public ManagementDnsZoneBinding.Builder mergeCreateTime(Timestamp value)

Output only. Creation time of this resource.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
ManagementDnsZoneBinding.Builder

mergeFrom(ManagementDnsZoneBinding other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateTime(Timestamp value)

public ManagementDnsZoneBinding.Builder mergeUpdateTime(Timestamp value)

Output only. Last update time of this resource.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
ManagementDnsZoneBinding.Builder

setCreateTime(Timestamp value)

public ManagementDnsZoneBinding.Builder setCreateTime(Timestamp value)

Output only. Creation time of this resource.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
ManagementDnsZoneBinding.Builder

setCreateTime(Timestamp.Builder builderForValue)

public ManagementDnsZoneBinding.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Creation time of this resource.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ManagementDnsZoneBinding.Builder

setDescription(String value)

public ManagementDnsZoneBinding.Builder setDescription(String value)

User-provided description for this resource.

string description = 13;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
ManagementDnsZoneBinding.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public ManagementDnsZoneBinding.Builder setDescriptionBytes(ByteString value)

User-provided description for this resource.

string description = 13;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
ManagementDnsZoneBinding.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public ManagementDnsZoneBinding.Builder setName(String value)

Output only. The resource name of this binding. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ManagementDnsZoneBinding.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ManagementDnsZoneBinding.Builder setNameBytes(ByteString value)

Output only. The resource name of this binding. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/managementDnsZoneBindings/my-management-dns-zone-binding

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ManagementDnsZoneBinding.Builder

This builder for chaining.

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

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

setState(ManagementDnsZoneBinding.State value)

public ManagementDnsZoneBinding.Builder setState(ManagementDnsZoneBinding.State value)

Output only. The state of the resource.

.google.cloud.vmwareengine.v1.ManagementDnsZoneBinding.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ManagementDnsZoneBinding.State

The state to set.

Returns
Type Description
ManagementDnsZoneBinding.Builder

This builder for chaining.

setStateValue(int value)

public ManagementDnsZoneBinding.Builder setStateValue(int value)

Output only. The state of the resource.

.google.cloud.vmwareengine.v1.ManagementDnsZoneBinding.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
ManagementDnsZoneBinding.Builder

This builder for chaining.

setUid(String value)

public ManagementDnsZoneBinding.Builder setUid(String value)

Output only. System-generated unique identifier for the resource.

string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The uid to set.

Returns
Type Description
ManagementDnsZoneBinding.Builder

This builder for chaining.

setUidBytes(ByteString value)

public ManagementDnsZoneBinding.Builder setUidBytes(ByteString value)

Output only. System-generated unique identifier for the resource.

string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for uid to set.

Returns
Type Description
ManagementDnsZoneBinding.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateTime(Timestamp value)

public ManagementDnsZoneBinding.Builder setUpdateTime(Timestamp value)

Output only. Last update time of this resource.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
ManagementDnsZoneBinding.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public ManagementDnsZoneBinding.Builder setUpdateTime(Timestamp.Builder builderForValue)

Output only. Last update time of this resource.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ManagementDnsZoneBinding.Builder

setVmwareEngineNetwork(String value)

public ManagementDnsZoneBinding.Builder setVmwareEngineNetwork(String value)

Network to bind is a VMware Engine network. Specify the name in the following form for VMware engine network: projects/{project}/locations/global/vmwareEngineNetworks/{vmware_engine_network_id}. {project} can either be a project number or a project ID.

string vmware_engine_network = 15 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The vmwareEngineNetwork to set.

Returns
Type Description
ManagementDnsZoneBinding.Builder

This builder for chaining.

setVmwareEngineNetworkBytes(ByteString value)

public ManagementDnsZoneBinding.Builder setVmwareEngineNetworkBytes(ByteString value)

Network to bind is a VMware Engine network. Specify the name in the following form for VMware engine network: projects/{project}/locations/global/vmwareEngineNetworks/{vmware_engine_network_id}. {project} can either be a project number or a project ID.

string vmware_engine_network = 15 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for vmwareEngineNetwork to set.

Returns
Type Description
ManagementDnsZoneBinding.Builder

This builder for chaining.

setVpcNetwork(String value)

public ManagementDnsZoneBinding.Builder setVpcNetwork(String value)

Network to bind is a standard consumer VPC. Specify the name in the following form for consumer VPC network: projects/{project}/global/networks/{network_id}. {project} can either be a project number or a project ID.

string vpc_network = 14 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The vpcNetwork to set.

Returns
Type Description
ManagementDnsZoneBinding.Builder

This builder for chaining.

setVpcNetworkBytes(ByteString value)

public ManagementDnsZoneBinding.Builder setVpcNetworkBytes(ByteString value)

Network to bind is a standard consumer VPC. Specify the name in the following form for consumer VPC network: projects/{project}/global/networks/{network_id}. {project} can either be a project number or a project ID.

string vpc_network = 14 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for vpcNetwork to set.

Returns
Type Description
ManagementDnsZoneBinding.Builder

This builder for chaining.