Package com.google.cloud.vmwareengine.v1
Class ManagementDnsZoneBinding.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ManagementDnsZoneBinding.Builder>
com.google.cloud.vmwareengine.v1.ManagementDnsZoneBinding.Builder
- All Implemented Interfaces:
ManagementDnsZoneBindingOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ManagementDnsZoneBinding
public static final class ManagementDnsZoneBinding.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.User-provided description for this resource.Output only.Output only.clearUid()Output only.Output only.Network to bind is a VMware Engine network.Network to bind is a standard consumer VPC.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.User-provided description for this resource.com.google.protobuf.ByteStringUser-provided description for this resource.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetName()Output only.com.google.protobuf.ByteStringOutput only.getState()Output only.intOutput only.getUid()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Network to bind is a VMware Engine network.com.google.protobuf.ByteStringNetwork to bind is a VMware Engine network.Network to bind is a standard consumer VPC.com.google.protobuf.ByteStringNetwork to bind is a standard consumer VPC.booleanOutput only.booleanOutput only.booleanNetwork to bind is a VMware Engine network.booleanNetwork to bind is a standard consumer VPC.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCreateTime(com.google.protobuf.Timestamp value) Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUpdateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp value) Output only.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setDescription(String value) User-provided description for this resource.setDescriptionBytes(com.google.protobuf.ByteString value) User-provided description for this resource.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.Output only.setStateValue(int value) Output only.Output only.setUidBytes(com.google.protobuf.ByteString value) Output only.setUpdateTime(com.google.protobuf.Timestamp value) Output only.setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setVmwareEngineNetwork(String value) Network to bind is a VMware Engine network.setVmwareEngineNetworkBytes(com.google.protobuf.ByteString value) Network to bind is a VMware Engine network.setVpcNetwork(String value) Network to bind is a standard consumer VPC.setVpcNetworkBytes(com.google.protobuf.ByteString value) Network to bind is a standard consumer VPC.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ManagementDnsZoneBinding.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ManagementDnsZoneBinding.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ManagementDnsZoneBinding.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ManagementDnsZoneBinding.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ManagementDnsZoneBinding.Builder>
-
mergeFrom
public ManagementDnsZoneBinding.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ManagementDnsZoneBinding.Builder>- Throws:
IOException
-
getBindNetworkCase
- Specified by:
getBindNetworkCasein interfaceManagementDnsZoneBindingOrBuilder
-
clearBindNetwork
-
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];- Specified by:
getNamein interfaceManagementDnsZoneBindingOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.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];- Specified by:
getNameBytesin interfaceManagementDnsZoneBindingOrBuilder- Returns:
- The bytes for name.
-
setName
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];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNameBytes
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];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceManagementDnsZoneBindingOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceManagementDnsZoneBindingOrBuilder- Returns:
- The createTime.
-
setCreateTime
Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setCreateTime
public ManagementDnsZoneBinding.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeCreateTime
Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearCreateTime
Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Creation time of this resource.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceManagementDnsZoneBindingOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceManagementDnsZoneBindingOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceManagementDnsZoneBindingOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setUpdateTime
public ManagementDnsZoneBinding.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeUpdateTime
Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearUpdateTime
Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Last update time of this resource.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceManagementDnsZoneBindingOrBuilder
-
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];- Specified by:
getStateValuein interfaceManagementDnsZoneBindingOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
Output only. The state of the resource.
.google.cloud.vmwareengine.v1.ManagementDnsZoneBinding.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
Output only. The state of the resource.
.google.cloud.vmwareengine.v1.ManagementDnsZoneBinding.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceManagementDnsZoneBindingOrBuilder- Returns:
- The state.
-
setState
Output only. The state of the resource.
.google.cloud.vmwareengine.v1.ManagementDnsZoneBinding.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The state to set.- Returns:
- This builder for chaining.
-
clearState
Output only. The state of the resource.
.google.cloud.vmwareengine.v1.ManagementDnsZoneBinding.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getDescription
User-provided description for this resource.
string description = 13;- Specified by:
getDescriptionin interfaceManagementDnsZoneBindingOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()User-provided description for this resource.
string description = 13;- Specified by:
getDescriptionBytesin interfaceManagementDnsZoneBindingOrBuilder- Returns:
- The bytes for description.
-
setDescription
User-provided description for this resource.
string description = 13;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
User-provided description for this resource.
string description = 13;- Returns:
- This builder for chaining.
-
setDescriptionBytes
User-provided description for this resource.
string description = 13;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
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) = { ... }- Specified by:
hasVpcNetworkin interfaceManagementDnsZoneBindingOrBuilder- Returns:
- Whether the vpcNetwork field is set.
-
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) = { ... }- Specified by:
getVpcNetworkin interfaceManagementDnsZoneBindingOrBuilder- Returns:
- The vpcNetwork.
-
getVpcNetworkBytes
public com.google.protobuf.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) = { ... }- Specified by:
getVpcNetworkBytesin interfaceManagementDnsZoneBindingOrBuilder- Returns:
- The bytes for vpcNetwork.
-
setVpcNetwork
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) = { ... }- Parameters:
value- The vpcNetwork to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setVpcNetworkBytes
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) = { ... }- Parameters:
value- The bytes for vpcNetwork to set.- Returns:
- This builder for chaining.
-
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) = { ... }- Specified by:
hasVmwareEngineNetworkin interfaceManagementDnsZoneBindingOrBuilder- Returns:
- Whether the vmwareEngineNetwork field is set.
-
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) = { ... }- Specified by:
getVmwareEngineNetworkin interfaceManagementDnsZoneBindingOrBuilder- Returns:
- The vmwareEngineNetwork.
-
getVmwareEngineNetworkBytes
public com.google.protobuf.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) = { ... }- Specified by:
getVmwareEngineNetworkBytesin interfaceManagementDnsZoneBindingOrBuilder- Returns:
- The bytes for vmwareEngineNetwork.
-
setVmwareEngineNetwork
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) = { ... }- Parameters:
value- The vmwareEngineNetwork to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setVmwareEngineNetworkBytes
public ManagementDnsZoneBinding.Builder setVmwareEngineNetworkBytes(com.google.protobuf.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) = { ... }- Parameters:
value- The bytes for vmwareEngineNetwork to set.- Returns:
- This builder for chaining.
-
getUid
Output only. System-generated unique identifier for the resource.
string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidin interfaceManagementDnsZoneBindingOrBuilder- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()Output only. System-generated unique identifier for the resource.
string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidBytesin interfaceManagementDnsZoneBindingOrBuilder- Returns:
- The bytes for uid.
-
setUid
Output only. System-generated unique identifier for the resource.
string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The uid to set.- Returns:
- This builder for chaining.
-
clearUid
Output only. System-generated unique identifier for the resource.
string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setUidBytes
Output only. System-generated unique identifier for the resource.
string uid = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for uid to set.- Returns:
- This builder for chaining.
-