Class VmwareEngineNetwork.VpcNetwork.Builder

    • 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<VmwareEngineNetwork.VpcNetwork.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<VmwareEngineNetwork.VpcNetwork.Builder>
      • getDefaultInstanceForType

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

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

        public VmwareEngineNetwork.VpcNetwork buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

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

        public int getTypeValue()
         Output only. Type of VPC network (INTRANET, INTERNET, or
         GOOGLE_CLOUD)
         
        .google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetwork.Type type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getTypeValue in interface VmwareEngineNetwork.VpcNetworkOrBuilder
        Returns:
        The enum numeric value on the wire for type.
      • setTypeValue

        public VmwareEngineNetwork.VpcNetwork.Builder setTypeValue​(int value)
         Output only. Type of VPC network (INTRANET, INTERNET, or
         GOOGLE_CLOUD)
         
        .google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetwork.Type type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for type to set.
        Returns:
        This builder for chaining.
      • setType

        public VmwareEngineNetwork.VpcNetwork.Builder setType​(VmwareEngineNetwork.VpcNetwork.Type value)
         Output only. Type of VPC network (INTRANET, INTERNET, or
         GOOGLE_CLOUD)
         
        .google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetwork.Type type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The type to set.
        Returns:
        This builder for chaining.
      • clearType

        public VmwareEngineNetwork.VpcNetwork.Builder clearType()
         Output only. Type of VPC network (INTRANET, INTERNET, or
         GOOGLE_CLOUD)
         
        .google.cloud.vmwareengine.v1.VmwareEngineNetwork.VpcNetwork.Type type = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getNetwork

        public String getNetwork()
         Output only. The relative resource name of the service VPC network this
         VMware Engine network is attached to. For example:
         `projects/123123/global/networks/my-network`
         
        string network = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getNetwork in interface VmwareEngineNetwork.VpcNetworkOrBuilder
        Returns:
        The network.
      • getNetworkBytes

        public com.google.protobuf.ByteString getNetworkBytes()
         Output only. The relative resource name of the service VPC network this
         VMware Engine network is attached to. For example:
         `projects/123123/global/networks/my-network`
         
        string network = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Specified by:
        getNetworkBytes in interface VmwareEngineNetwork.VpcNetworkOrBuilder
        Returns:
        The bytes for network.
      • setNetwork

        public VmwareEngineNetwork.VpcNetwork.Builder setNetwork​(String value)
         Output only. The relative resource name of the service VPC network this
         VMware Engine network is attached to. For example:
         `projects/123123/global/networks/my-network`
         
        string network = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The network to set.
        Returns:
        This builder for chaining.
      • clearNetwork

        public VmwareEngineNetwork.VpcNetwork.Builder clearNetwork()
         Output only. The relative resource name of the service VPC network this
         VMware Engine network is attached to. For example:
         `projects/123123/global/networks/my-network`
         
        string network = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setNetworkBytes

        public VmwareEngineNetwork.VpcNetwork.Builder setNetworkBytes​(com.google.protobuf.ByteString value)
         Output only. The relative resource name of the service VPC network this
         VMware Engine network is attached to. For example:
         `projects/123123/global/networks/my-network`
         
        string network = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for network to set.
        Returns:
        This builder for chaining.