Class GenerateTcpProxyScriptRequest.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<GenerateTcpProxyScriptRequest.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<GenerateTcpProxyScriptRequest.Builder>
      • getDefaultInstanceForType

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

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

        public GenerateTcpProxyScriptRequest 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<GenerateTcpProxyScriptRequest.Builder>
      • mergeFrom

        public GenerateTcpProxyScriptRequest.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<GenerateTcpProxyScriptRequest.Builder>
        Throws:
        IOException
      • getMigrationJob

        public String getMigrationJob()
         Name of the migration job resource to generate the TCP Proxy script.
         
        string migration_job = 1 [(.google.api.resource_reference) = { ... }
        Specified by:
        getMigrationJob in interface GenerateTcpProxyScriptRequestOrBuilder
        Returns:
        The migrationJob.
      • getMigrationJobBytes

        public com.google.protobuf.ByteString getMigrationJobBytes()
         Name of the migration job resource to generate the TCP Proxy script.
         
        string migration_job = 1 [(.google.api.resource_reference) = { ... }
        Specified by:
        getMigrationJobBytes in interface GenerateTcpProxyScriptRequestOrBuilder
        Returns:
        The bytes for migrationJob.
      • setMigrationJob

        public GenerateTcpProxyScriptRequest.Builder setMigrationJob​(String value)
         Name of the migration job resource to generate the TCP Proxy script.
         
        string migration_job = 1 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The migrationJob to set.
        Returns:
        This builder for chaining.
      • clearMigrationJob

        public GenerateTcpProxyScriptRequest.Builder clearMigrationJob()
         Name of the migration job resource to generate the TCP Proxy script.
         
        string migration_job = 1 [(.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setMigrationJobBytes

        public GenerateTcpProxyScriptRequest.Builder setMigrationJobBytes​(com.google.protobuf.ByteString value)
         Name of the migration job resource to generate the TCP Proxy script.
         
        string migration_job = 1 [(.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for migrationJob to set.
        Returns:
        This builder for chaining.
      • getVmName

        public String getVmName()
         Required. The name of the Compute instance that will host the proxy.
         
        string vm_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getVmName in interface GenerateTcpProxyScriptRequestOrBuilder
        Returns:
        The vmName.
      • getVmNameBytes

        public com.google.protobuf.ByteString getVmNameBytes()
         Required. The name of the Compute instance that will host the proxy.
         
        string vm_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getVmNameBytes in interface GenerateTcpProxyScriptRequestOrBuilder
        Returns:
        The bytes for vmName.
      • setVmName

        public GenerateTcpProxyScriptRequest.Builder setVmName​(String value)
         Required. The name of the Compute instance that will host the proxy.
         
        string vm_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The vmName to set.
        Returns:
        This builder for chaining.
      • clearVmName

        public GenerateTcpProxyScriptRequest.Builder clearVmName()
         Required. The name of the Compute instance that will host the proxy.
         
        string vm_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setVmNameBytes

        public GenerateTcpProxyScriptRequest.Builder setVmNameBytes​(com.google.protobuf.ByteString value)
         Required. The name of the Compute instance that will host the proxy.
         
        string vm_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for vmName to set.
        Returns:
        This builder for chaining.
      • getVmMachineType

        public String getVmMachineType()
         Required. The type of the Compute instance that will host the proxy.
         
        string vm_machine_type = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getVmMachineType in interface GenerateTcpProxyScriptRequestOrBuilder
        Returns:
        The vmMachineType.
      • getVmMachineTypeBytes

        public com.google.protobuf.ByteString getVmMachineTypeBytes()
         Required. The type of the Compute instance that will host the proxy.
         
        string vm_machine_type = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getVmMachineTypeBytes in interface GenerateTcpProxyScriptRequestOrBuilder
        Returns:
        The bytes for vmMachineType.
      • setVmMachineType

        public GenerateTcpProxyScriptRequest.Builder setVmMachineType​(String value)
         Required. The type of the Compute instance that will host the proxy.
         
        string vm_machine_type = 3 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The vmMachineType to set.
        Returns:
        This builder for chaining.
      • clearVmMachineType

        public GenerateTcpProxyScriptRequest.Builder clearVmMachineType()
         Required. The type of the Compute instance that will host the proxy.
         
        string vm_machine_type = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setVmMachineTypeBytes

        public GenerateTcpProxyScriptRequest.Builder setVmMachineTypeBytes​(com.google.protobuf.ByteString value)
         Required. The type of the Compute instance that will host the proxy.
         
        string vm_machine_type = 3 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for vmMachineType to set.
        Returns:
        This builder for chaining.
      • getVmZone

        public String getVmZone()
         Optional. The Google Cloud Platform zone to create the VM in. The fully
         qualified name of the zone must be specified, including the region name,
         for example "us-central1-b". If not specified, uses the "-b" zone of the
         destination Connection Profile's region.
         
        string vm_zone = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getVmZone in interface GenerateTcpProxyScriptRequestOrBuilder
        Returns:
        The vmZone.
      • getVmZoneBytes

        public com.google.protobuf.ByteString getVmZoneBytes()
         Optional. The Google Cloud Platform zone to create the VM in. The fully
         qualified name of the zone must be specified, including the region name,
         for example "us-central1-b". If not specified, uses the "-b" zone of the
         destination Connection Profile's region.
         
        string vm_zone = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getVmZoneBytes in interface GenerateTcpProxyScriptRequestOrBuilder
        Returns:
        The bytes for vmZone.
      • setVmZone

        public GenerateTcpProxyScriptRequest.Builder setVmZone​(String value)
         Optional. The Google Cloud Platform zone to create the VM in. The fully
         qualified name of the zone must be specified, including the region name,
         for example "us-central1-b". If not specified, uses the "-b" zone of the
         destination Connection Profile's region.
         
        string vm_zone = 4 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The vmZone to set.
        Returns:
        This builder for chaining.
      • clearVmZone

        public GenerateTcpProxyScriptRequest.Builder clearVmZone()
         Optional. The Google Cloud Platform zone to create the VM in. The fully
         qualified name of the zone must be specified, including the region name,
         for example "us-central1-b". If not specified, uses the "-b" zone of the
         destination Connection Profile's region.
         
        string vm_zone = 4 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setVmZoneBytes

        public GenerateTcpProxyScriptRequest.Builder setVmZoneBytes​(com.google.protobuf.ByteString value)
         Optional. The Google Cloud Platform zone to create the VM in. The fully
         qualified name of the zone must be specified, including the region name,
         for example "us-central1-b". If not specified, uses the "-b" zone of the
         destination Connection Profile's region.
         
        string vm_zone = 4 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The bytes for vmZone to set.
        Returns:
        This builder for chaining.
      • getVmSubnet

        public String getVmSubnet()
         Required. The name of the subnet the Compute instance will use for private
         connectivity. Must be supplied in the form of
         projects/{project}/regions/{region}/subnetworks/{subnetwork}.
         Note: the region for the subnet must match the Compute instance region.
         
        string vm_subnet = 5 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getVmSubnet in interface GenerateTcpProxyScriptRequestOrBuilder
        Returns:
        The vmSubnet.
      • getVmSubnetBytes

        public com.google.protobuf.ByteString getVmSubnetBytes()
         Required. The name of the subnet the Compute instance will use for private
         connectivity. Must be supplied in the form of
         projects/{project}/regions/{region}/subnetworks/{subnetwork}.
         Note: the region for the subnet must match the Compute instance region.
         
        string vm_subnet = 5 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getVmSubnetBytes in interface GenerateTcpProxyScriptRequestOrBuilder
        Returns:
        The bytes for vmSubnet.
      • setVmSubnet

        public GenerateTcpProxyScriptRequest.Builder setVmSubnet​(String value)
         Required. The name of the subnet the Compute instance will use for private
         connectivity. Must be supplied in the form of
         projects/{project}/regions/{region}/subnetworks/{subnetwork}.
         Note: the region for the subnet must match the Compute instance region.
         
        string vm_subnet = 5 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The vmSubnet to set.
        Returns:
        This builder for chaining.
      • clearVmSubnet

        public GenerateTcpProxyScriptRequest.Builder clearVmSubnet()
         Required. The name of the subnet the Compute instance will use for private
         connectivity. Must be supplied in the form of
         projects/{project}/regions/{region}/subnetworks/{subnetwork}.
         Note: the region for the subnet must match the Compute instance region.
         
        string vm_subnet = 5 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setVmSubnetBytes

        public GenerateTcpProxyScriptRequest.Builder setVmSubnetBytes​(com.google.protobuf.ByteString value)
         Required. The name of the subnet the Compute instance will use for private
         connectivity. Must be supplied in the form of
         projects/{project}/regions/{region}/subnetworks/{subnetwork}.
         Note: the region for the subnet must match the Compute instance region.
         
        string vm_subnet = 5 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for vmSubnet to set.
        Returns:
        This builder for chaining.