Class PrivateConnection.Builder

  • All Implemented Interfaces:
    PrivateConnectionOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    PrivateConnection

    public static final class PrivateConnection.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<PrivateConnection.Builder>
    implements PrivateConnectionOrBuilder
     Private connection resource that provides connectivity for VMware Engine
     private clouds.
     
    Protobuf type google.cloud.vmwareengine.v1.PrivateConnection
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PrivateConnection.Builder>
      • clear

        public PrivateConnection.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<PrivateConnection.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PrivateConnection.Builder>
      • getDefaultInstanceForType

        public PrivateConnection getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public PrivateConnection build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public PrivateConnection buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public PrivateConnection.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<PrivateConnection.Builder>
      • setField

        public PrivateConnection.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                  Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<PrivateConnection.Builder>
      • clearField

        public PrivateConnection.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<PrivateConnection.Builder>
      • clearOneof

        public PrivateConnection.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PrivateConnection.Builder>
      • setRepeatedField

        public PrivateConnection.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          int index,
                                                          Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PrivateConnection.Builder>
      • addRepeatedField

        public PrivateConnection.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PrivateConnection.Builder>
      • mergeFrom

        public PrivateConnection.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PrivateConnection.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PrivateConnection.Builder>
      • mergeFrom

        public PrivateConnection.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PrivateConnection.Builder>
        Throws:
        IOException
      • getName

        public String getName()
         Output only. The resource name of the private connection.
         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/privateConnections/my-connection`
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getName in interface PrivateConnectionOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Output only. The resource name of the private connection.
         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/privateConnections/my-connection`
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNameBytes in interface PrivateConnectionOrBuilder
        Returns:
        The bytes for name.
      • setName

        public PrivateConnection.Builder setName​(String value)
         Output only. The resource name of the private connection.
         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/privateConnections/my-connection`
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public PrivateConnection.Builder clearName()
         Output only. The resource name of the private connection.
         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/privateConnections/my-connection`
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setNameBytes

        public PrivateConnection.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Output only. The resource name of the private connection.
         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/privateConnections/my-connection`
         
        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:
        hasCreateTime in interface PrivateConnectionOrBuilder
        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:
        getCreateTime in interface PrivateConnectionOrBuilder
        Returns:
        The createTime.
      • setCreateTime

        public PrivateConnection.Builder setCreateTime​(com.google.protobuf.Timestamp value)
         Output only. Creation time of this resource.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setCreateTime

        public PrivateConnection.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

        public PrivateConnection.Builder mergeCreateTime​(com.google.protobuf.Timestamp value)
         Output only. Creation time of this resource.
         
        .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearCreateTime

        public PrivateConnection.Builder 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:
        getCreateTimeOrBuilder in interface PrivateConnectionOrBuilder
      • 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:
        hasUpdateTime in interface PrivateConnectionOrBuilder
        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:
        getUpdateTime in interface PrivateConnectionOrBuilder
        Returns:
        The updateTime.
      • setUpdateTime

        public PrivateConnection.Builder setUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. Last update time of this resource.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setUpdateTime

        public PrivateConnection.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

        public PrivateConnection.Builder mergeUpdateTime​(com.google.protobuf.Timestamp value)
         Output only. Last update time of this resource.
         
        .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearUpdateTime

        public PrivateConnection.Builder 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:
        getUpdateTimeOrBuilder in interface PrivateConnectionOrBuilder
      • getDescription

        public String getDescription()
         Optional. User-provided description for this private connection.
         
        string description = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getDescription in interface PrivateConnectionOrBuilder
        Returns:
        The description.
      • getDescriptionBytes

        public com.google.protobuf.ByteString getDescriptionBytes()
         Optional. User-provided description for this private connection.
         
        string description = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getDescriptionBytes in interface PrivateConnectionOrBuilder
        Returns:
        The bytes for description.
      • setDescription

        public PrivateConnection.Builder setDescription​(String value)
         Optional. User-provided description for this private connection.
         
        string description = 4 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The description to set.
        Returns:
        This builder for chaining.
      • clearDescription

        public PrivateConnection.Builder clearDescription()
         Optional. User-provided description for this private connection.
         
        string description = 4 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setDescriptionBytes

        public PrivateConnection.Builder setDescriptionBytes​(com.google.protobuf.ByteString value)
         Optional. User-provided description for this private connection.
         
        string description = 4 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for description to set.
        Returns:
        This builder for chaining.
      • getStateValue

        public int getStateValue()
         Output only. State of the private connection.
         
        .google.cloud.vmwareengine.v1.PrivateConnection.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getStateValue in interface PrivateConnectionOrBuilder
        Returns:
        The enum numeric value on the wire for state.
      • setStateValue

        public PrivateConnection.Builder setStateValue​(int value)
         Output only. State of the private connection.
         
        .google.cloud.vmwareengine.v1.PrivateConnection.State state = 5 [(.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

        public PrivateConnection.State getState()
         Output only. State of the private connection.
         
        .google.cloud.vmwareengine.v1.PrivateConnection.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getState in interface PrivateConnectionOrBuilder
        Returns:
        The state.
      • setState

        public PrivateConnection.Builder setState​(PrivateConnection.State value)
         Output only. State of the private connection.
         
        .google.cloud.vmwareengine.v1.PrivateConnection.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The state to set.
        Returns:
        This builder for chaining.
      • clearState

        public PrivateConnection.Builder clearState()
         Output only. State of the private connection.
         
        .google.cloud.vmwareengine.v1.PrivateConnection.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getVmwareEngineNetwork

        public String getVmwareEngineNetwork()
         Required. The relative resource name of Legacy VMware Engine network.
         Specify the name in the following form:
         `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}`
         where `{project}`, `{location}` will be same as specified in private
         connection resource name and `{vmware_engine_network_id}` will be in the
         form of `{location}`-default e.g.
         projects/project/locations/us-central1/vmwareEngineNetworks/us-central1-default.
         
        string vmware_engine_network = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getVmwareEngineNetwork in interface PrivateConnectionOrBuilder
        Returns:
        The vmwareEngineNetwork.
      • getVmwareEngineNetworkBytes

        public com.google.protobuf.ByteString getVmwareEngineNetworkBytes()
         Required. The relative resource name of Legacy VMware Engine network.
         Specify the name in the following form:
         `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}`
         where `{project}`, `{location}` will be same as specified in private
         connection resource name and `{vmware_engine_network_id}` will be in the
         form of `{location}`-default e.g.
         projects/project/locations/us-central1/vmwareEngineNetworks/us-central1-default.
         
        string vmware_engine_network = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getVmwareEngineNetworkBytes in interface PrivateConnectionOrBuilder
        Returns:
        The bytes for vmwareEngineNetwork.
      • setVmwareEngineNetwork

        public PrivateConnection.Builder setVmwareEngineNetwork​(String value)
         Required. The relative resource name of Legacy VMware Engine network.
         Specify the name in the following form:
         `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}`
         where `{project}`, `{location}` will be same as specified in private
         connection resource name and `{vmware_engine_network_id}` will be in the
         form of `{location}`-default e.g.
         projects/project/locations/us-central1/vmwareEngineNetworks/us-central1-default.
         
        string vmware_engine_network = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The vmwareEngineNetwork to set.
        Returns:
        This builder for chaining.
      • clearVmwareEngineNetwork

        public PrivateConnection.Builder clearVmwareEngineNetwork()
         Required. The relative resource name of Legacy VMware Engine network.
         Specify the name in the following form:
         `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}`
         where `{project}`, `{location}` will be same as specified in private
         connection resource name and `{vmware_engine_network_id}` will be in the
         form of `{location}`-default e.g.
         projects/project/locations/us-central1/vmwareEngineNetworks/us-central1-default.
         
        string vmware_engine_network = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setVmwareEngineNetworkBytes

        public PrivateConnection.Builder setVmwareEngineNetworkBytes​(com.google.protobuf.ByteString value)
         Required. The relative resource name of Legacy VMware Engine network.
         Specify the name in the following form:
         `projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}`
         where `{project}`, `{location}` will be same as specified in private
         connection resource name and `{vmware_engine_network_id}` will be in the
         form of `{location}`-default e.g.
         projects/project/locations/us-central1/vmwareEngineNetworks/us-central1-default.
         
        string vmware_engine_network = 8 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for vmwareEngineNetwork to set.
        Returns:
        This builder for chaining.
      • getVmwareEngineNetworkCanonical

        public String getVmwareEngineNetworkCanonical()
         Output only. The canonical name of the VMware Engine network in the form:
         `projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}`
         
        string vmware_engine_network_canonical = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getVmwareEngineNetworkCanonical in interface PrivateConnectionOrBuilder
        Returns:
        The vmwareEngineNetworkCanonical.
      • getVmwareEngineNetworkCanonicalBytes

        public com.google.protobuf.ByteString getVmwareEngineNetworkCanonicalBytes()
         Output only. The canonical name of the VMware Engine network in the form:
         `projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}`
         
        string vmware_engine_network_canonical = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getVmwareEngineNetworkCanonicalBytes in interface PrivateConnectionOrBuilder
        Returns:
        The bytes for vmwareEngineNetworkCanonical.
      • setVmwareEngineNetworkCanonical

        public PrivateConnection.Builder setVmwareEngineNetworkCanonical​(String value)
         Output only. The canonical name of the VMware Engine network in the form:
         `projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}`
         
        string vmware_engine_network_canonical = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The vmwareEngineNetworkCanonical to set.
        Returns:
        This builder for chaining.
      • clearVmwareEngineNetworkCanonical

        public PrivateConnection.Builder clearVmwareEngineNetworkCanonical()
         Output only. The canonical name of the VMware Engine network in the form:
         `projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}`
         
        string vmware_engine_network_canonical = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setVmwareEngineNetworkCanonicalBytes

        public PrivateConnection.Builder setVmwareEngineNetworkCanonicalBytes​(com.google.protobuf.ByteString value)
         Output only. The canonical name of the VMware Engine network in the form:
         `projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}`
         
        string vmware_engine_network_canonical = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for vmwareEngineNetworkCanonical to set.
        Returns:
        This builder for chaining.
      • getTypeValue

        public int getTypeValue()
         Required. Private connection type.
         
        .google.cloud.vmwareengine.v1.PrivateConnection.Type type = 10 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getTypeValue in interface PrivateConnectionOrBuilder
        Returns:
        The enum numeric value on the wire for type.
      • setTypeValue

        public PrivateConnection.Builder setTypeValue​(int value)
         Required. Private connection type.
         
        .google.cloud.vmwareengine.v1.PrivateConnection.Type type = 10 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The enum numeric value on the wire for type to set.
        Returns:
        This builder for chaining.
      • getType

        public PrivateConnection.Type getType()
         Required. Private connection type.
         
        .google.cloud.vmwareengine.v1.PrivateConnection.Type type = 10 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getType in interface PrivateConnectionOrBuilder
        Returns:
        The type.
      • setType

        public PrivateConnection.Builder setType​(PrivateConnection.Type value)
         Required. Private connection type.
         
        .google.cloud.vmwareengine.v1.PrivateConnection.Type type = 10 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The type to set.
        Returns:
        This builder for chaining.
      • clearType

        public PrivateConnection.Builder clearType()
         Required. Private connection type.
         
        .google.cloud.vmwareengine.v1.PrivateConnection.Type type = 10 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • getPeeringId

        public String getPeeringId()
         Output only. VPC network peering id between given network VPC and
         VMwareEngineNetwork.
         
        string peering_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPeeringId in interface PrivateConnectionOrBuilder
        Returns:
        The peeringId.
      • getPeeringIdBytes

        public com.google.protobuf.ByteString getPeeringIdBytes()
         Output only. VPC network peering id between given network VPC and
         VMwareEngineNetwork.
         
        string peering_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPeeringIdBytes in interface PrivateConnectionOrBuilder
        Returns:
        The bytes for peeringId.
      • setPeeringId

        public PrivateConnection.Builder setPeeringId​(String value)
         Output only. VPC network peering id between given network VPC and
         VMwareEngineNetwork.
         
        string peering_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The peeringId to set.
        Returns:
        This builder for chaining.
      • clearPeeringId

        public PrivateConnection.Builder clearPeeringId()
         Output only. VPC network peering id between given network VPC and
         VMwareEngineNetwork.
         
        string peering_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setPeeringIdBytes

        public PrivateConnection.Builder setPeeringIdBytes​(com.google.protobuf.ByteString value)
         Output only. VPC network peering id between given network VPC and
         VMwareEngineNetwork.
         
        string peering_id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for peeringId to set.
        Returns:
        This builder for chaining.
      • getRoutingModeValue

        public int getRoutingModeValue()
         Optional. Routing Mode.
         Default value is set to GLOBAL.
         For type = PRIVATE_SERVICE_ACCESS, this field can be set to GLOBAL or
         REGIONAL, for other types only GLOBAL is supported.
         
        .google.cloud.vmwareengine.v1.PrivateConnection.RoutingMode routing_mode = 13 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getRoutingModeValue in interface PrivateConnectionOrBuilder
        Returns:
        The enum numeric value on the wire for routingMode.
      • setRoutingModeValue

        public PrivateConnection.Builder setRoutingModeValue​(int value)
         Optional. Routing Mode.
         Default value is set to GLOBAL.
         For type = PRIVATE_SERVICE_ACCESS, this field can be set to GLOBAL or
         REGIONAL, for other types only GLOBAL is supported.
         
        .google.cloud.vmwareengine.v1.PrivateConnection.RoutingMode routing_mode = 13 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The enum numeric value on the wire for routingMode to set.
        Returns:
        This builder for chaining.
      • getRoutingMode

        public PrivateConnection.RoutingMode getRoutingMode()
         Optional. Routing Mode.
         Default value is set to GLOBAL.
         For type = PRIVATE_SERVICE_ACCESS, this field can be set to GLOBAL or
         REGIONAL, for other types only GLOBAL is supported.
         
        .google.cloud.vmwareengine.v1.PrivateConnection.RoutingMode routing_mode = 13 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getRoutingMode in interface PrivateConnectionOrBuilder
        Returns:
        The routingMode.
      • setRoutingMode

        public PrivateConnection.Builder setRoutingMode​(PrivateConnection.RoutingMode value)
         Optional. Routing Mode.
         Default value is set to GLOBAL.
         For type = PRIVATE_SERVICE_ACCESS, this field can be set to GLOBAL or
         REGIONAL, for other types only GLOBAL is supported.
         
        .google.cloud.vmwareengine.v1.PrivateConnection.RoutingMode routing_mode = 13 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The routingMode to set.
        Returns:
        This builder for chaining.
      • clearRoutingMode

        public PrivateConnection.Builder clearRoutingMode()
         Optional. Routing Mode.
         Default value is set to GLOBAL.
         For type = PRIVATE_SERVICE_ACCESS, this field can be set to GLOBAL or
         REGIONAL, for other types only GLOBAL is supported.
         
        .google.cloud.vmwareengine.v1.PrivateConnection.RoutingMode routing_mode = 13 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • getUid

        public String getUid()
         Output only. System-generated unique identifier for the resource.
         
        string uid = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUid in interface PrivateConnectionOrBuilder
        Returns:
        The uid.
      • getUidBytes

        public com.google.protobuf.ByteString getUidBytes()
         Output only. System-generated unique identifier for the resource.
         
        string uid = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getUidBytes in interface PrivateConnectionOrBuilder
        Returns:
        The bytes for uid.
      • setUid

        public PrivateConnection.Builder setUid​(String value)
         Output only. System-generated unique identifier for the resource.
         
        string uid = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The uid to set.
        Returns:
        This builder for chaining.
      • clearUid

        public PrivateConnection.Builder clearUid()
         Output only. System-generated unique identifier for the resource.
         
        string uid = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setUidBytes

        public PrivateConnection.Builder setUidBytes​(com.google.protobuf.ByteString value)
         Output only. System-generated unique identifier for the resource.
         
        string uid = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for uid to set.
        Returns:
        This builder for chaining.
      • getServiceNetwork

        public String getServiceNetwork()
         Required. Service network to create private connection.
         Specify the name in the following form:
         `projects/{project}/global/networks/{network_id}`
         For type = PRIVATE_SERVICE_ACCESS, this field represents servicenetworking
         VPC, e.g. projects/project-tp/global/networks/servicenetworking.
         For type = NETAPP_CLOUD_VOLUME, this field represents NetApp service VPC,
         e.g. projects/project-tp/global/networks/netapp-tenant-vpc.
         For type = DELL_POWERSCALE, this field represent Dell service VPC, e.g.
         projects/project-tp/global/networks/dell-tenant-vpc.
         For type= THIRD_PARTY_SERVICE, this field could represent a consumer VPC or
         any other producer VPC to which the VMware Engine Network needs to be
         connected, e.g. projects/project/global/networks/vpc.
         
        string service_network = 16 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getServiceNetwork in interface PrivateConnectionOrBuilder
        Returns:
        The serviceNetwork.
      • getServiceNetworkBytes

        public com.google.protobuf.ByteString getServiceNetworkBytes()
         Required. Service network to create private connection.
         Specify the name in the following form:
         `projects/{project}/global/networks/{network_id}`
         For type = PRIVATE_SERVICE_ACCESS, this field represents servicenetworking
         VPC, e.g. projects/project-tp/global/networks/servicenetworking.
         For type = NETAPP_CLOUD_VOLUME, this field represents NetApp service VPC,
         e.g. projects/project-tp/global/networks/netapp-tenant-vpc.
         For type = DELL_POWERSCALE, this field represent Dell service VPC, e.g.
         projects/project-tp/global/networks/dell-tenant-vpc.
         For type= THIRD_PARTY_SERVICE, this field could represent a consumer VPC or
         any other producer VPC to which the VMware Engine Network needs to be
         connected, e.g. projects/project/global/networks/vpc.
         
        string service_network = 16 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getServiceNetworkBytes in interface PrivateConnectionOrBuilder
        Returns:
        The bytes for serviceNetwork.
      • setServiceNetwork

        public PrivateConnection.Builder setServiceNetwork​(String value)
         Required. Service network to create private connection.
         Specify the name in the following form:
         `projects/{project}/global/networks/{network_id}`
         For type = PRIVATE_SERVICE_ACCESS, this field represents servicenetworking
         VPC, e.g. projects/project-tp/global/networks/servicenetworking.
         For type = NETAPP_CLOUD_VOLUME, this field represents NetApp service VPC,
         e.g. projects/project-tp/global/networks/netapp-tenant-vpc.
         For type = DELL_POWERSCALE, this field represent Dell service VPC, e.g.
         projects/project-tp/global/networks/dell-tenant-vpc.
         For type= THIRD_PARTY_SERVICE, this field could represent a consumer VPC or
         any other producer VPC to which the VMware Engine Network needs to be
         connected, e.g. projects/project/global/networks/vpc.
         
        string service_network = 16 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The serviceNetwork to set.
        Returns:
        This builder for chaining.
      • clearServiceNetwork

        public PrivateConnection.Builder clearServiceNetwork()
         Required. Service network to create private connection.
         Specify the name in the following form:
         `projects/{project}/global/networks/{network_id}`
         For type = PRIVATE_SERVICE_ACCESS, this field represents servicenetworking
         VPC, e.g. projects/project-tp/global/networks/servicenetworking.
         For type = NETAPP_CLOUD_VOLUME, this field represents NetApp service VPC,
         e.g. projects/project-tp/global/networks/netapp-tenant-vpc.
         For type = DELL_POWERSCALE, this field represent Dell service VPC, e.g.
         projects/project-tp/global/networks/dell-tenant-vpc.
         For type= THIRD_PARTY_SERVICE, this field could represent a consumer VPC or
         any other producer VPC to which the VMware Engine Network needs to be
         connected, e.g. projects/project/global/networks/vpc.
         
        string service_network = 16 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setServiceNetworkBytes

        public PrivateConnection.Builder setServiceNetworkBytes​(com.google.protobuf.ByteString value)
         Required. Service network to create private connection.
         Specify the name in the following form:
         `projects/{project}/global/networks/{network_id}`
         For type = PRIVATE_SERVICE_ACCESS, this field represents servicenetworking
         VPC, e.g. projects/project-tp/global/networks/servicenetworking.
         For type = NETAPP_CLOUD_VOLUME, this field represents NetApp service VPC,
         e.g. projects/project-tp/global/networks/netapp-tenant-vpc.
         For type = DELL_POWERSCALE, this field represent Dell service VPC, e.g.
         projects/project-tp/global/networks/dell-tenant-vpc.
         For type= THIRD_PARTY_SERVICE, this field could represent a consumer VPC or
         any other producer VPC to which the VMware Engine Network needs to be
         connected, e.g. projects/project/global/networks/vpc.
         
        string service_network = 16 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for serviceNetwork to set.
        Returns:
        This builder for chaining.
      • getPeeringStateValue

        public int getPeeringStateValue()
         Output only. Peering state between service network and VMware Engine
         network.
         
        .google.cloud.vmwareengine.v1.PrivateConnection.PeeringState peering_state = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPeeringStateValue in interface PrivateConnectionOrBuilder
        Returns:
        The enum numeric value on the wire for peeringState.
      • setPeeringStateValue

        public PrivateConnection.Builder setPeeringStateValue​(int value)
         Output only. Peering state between service network and VMware Engine
         network.
         
        .google.cloud.vmwareengine.v1.PrivateConnection.PeeringState peering_state = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for peeringState to set.
        Returns:
        This builder for chaining.
      • getPeeringState

        public PrivateConnection.PeeringState getPeeringState()
         Output only. Peering state between service network and VMware Engine
         network.
         
        .google.cloud.vmwareengine.v1.PrivateConnection.PeeringState peering_state = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getPeeringState in interface PrivateConnectionOrBuilder
        Returns:
        The peeringState.
      • setPeeringState

        public PrivateConnection.Builder setPeeringState​(PrivateConnection.PeeringState value)
         Output only. Peering state between service network and VMware Engine
         network.
         
        .google.cloud.vmwareengine.v1.PrivateConnection.PeeringState peering_state = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The peeringState to set.
        Returns:
        This builder for chaining.
      • clearPeeringState

        public PrivateConnection.Builder clearPeeringState()
         Output only. Peering state between service network and VMware Engine
         network.
         
        .google.cloud.vmwareengine.v1.PrivateConnection.PeeringState peering_state = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final PrivateConnection.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PrivateConnection.Builder>
      • mergeUnknownFields

        public final PrivateConnection.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PrivateConnection.Builder>