Class ManagementDnsZoneBinding.Builder (0.33.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ManagementDnsZoneBinding.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ManagementDnsZoneBinding.Builder
Overrides

build()

public ManagementDnsZoneBinding build()
Returns
TypeDescription
ManagementDnsZoneBinding

buildPartial()

public ManagementDnsZoneBinding buildPartial()
Returns
TypeDescription
ManagementDnsZoneBinding

clear()

public ManagementDnsZoneBinding.Builder clear()
Returns
TypeDescription
ManagementDnsZoneBinding.Builder
Overrides

clearBindNetwork()

public ManagementDnsZoneBinding.Builder clearBindNetwork()
Returns
TypeDescription
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
TypeDescription
ManagementDnsZoneBinding.Builder

clearDescription()

public ManagementDnsZoneBinding.Builder clearDescription()

User-provided description for this resource.

string description = 13;

Returns
TypeDescription
ManagementDnsZoneBinding.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ManagementDnsZoneBinding.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ManagementDnsZoneBinding.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ManagementDnsZoneBinding.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ManagementDnsZoneBinding.Builder

This builder for chaining.

clone()

public ManagementDnsZoneBinding.Builder clone()
Returns
TypeDescription
ManagementDnsZoneBinding.Builder
Overrides

getBindNetworkCase()

public ManagementDnsZoneBinding.BindNetworkCase getBindNetworkCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public ManagementDnsZoneBinding getDefaultInstanceForType()
Returns
TypeDescription
ManagementDnsZoneBinding

getDescription()

public String getDescription()

User-provided description for this resource.

string description = 13;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

User-provided description for this resource.

string description = 13;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the vpcNetwork field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
ManagementDnsZoneBinding.Builder

mergeFrom(ManagementDnsZoneBinding other)

public ManagementDnsZoneBinding.Builder mergeFrom(ManagementDnsZoneBinding other)
Parameter
NameDescription
otherManagementDnsZoneBinding
Returns
TypeDescription
ManagementDnsZoneBinding.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ManagementDnsZoneBinding.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ManagementDnsZoneBinding.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ManagementDnsZoneBinding.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ManagementDnsZoneBinding.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ManagementDnsZoneBinding.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
ManagementDnsZoneBinding.Builder

setDescription(String value)

public ManagementDnsZoneBinding.Builder setDescription(String value)

User-provided description for this resource.

string description = 13;

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
ManagementDnsZoneBinding.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ManagementDnsZoneBinding.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueManagementDnsZoneBinding.State

The state to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueString

The uid to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for uid to set.

Returns
TypeDescription
ManagementDnsZoneBinding.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ManagementDnsZoneBinding.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueString

The vmwareEngineNetwork to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for vmwareEngineNetwork to set.

Returns
TypeDescription
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
NameDescription
valueString

The vpcNetwork to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for vpcNetwork to set.

Returns
TypeDescription
ManagementDnsZoneBinding.Builder

This builder for chaining.