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

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

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

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

        public GetExternalVpnGatewayRequest.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<GetExternalVpnGatewayRequest.Builder>
        Throws:
        IOException
      • getExternalVpnGatewayBytes

        public com.google.protobuf.ByteString getExternalVpnGatewayBytes()
         Name of the externalVpnGateway to return.
         
        string external_vpn_gateway = 109898629 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getExternalVpnGatewayBytes in interface GetExternalVpnGatewayRequestOrBuilder
        Returns:
        The bytes for externalVpnGateway.
      • setExternalVpnGateway

        public GetExternalVpnGatewayRequest.Builder setExternalVpnGateway​(String value)
         Name of the externalVpnGateway to return.
         
        string external_vpn_gateway = 109898629 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The externalVpnGateway to set.
        Returns:
        This builder for chaining.
      • clearExternalVpnGateway

        public GetExternalVpnGatewayRequest.Builder clearExternalVpnGateway()
         Name of the externalVpnGateway to return.
         
        string external_vpn_gateway = 109898629 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setExternalVpnGatewayBytes

        public GetExternalVpnGatewayRequest.Builder setExternalVpnGatewayBytes​(com.google.protobuf.ByteString value)
         Name of the externalVpnGateway to return.
         
        string external_vpn_gateway = 109898629 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for externalVpnGateway to set.
        Returns:
        This builder for chaining.
      • getProjectBytes

        public com.google.protobuf.ByteString getProjectBytes()
         Project ID for this request.
         
        string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getProjectBytes in interface GetExternalVpnGatewayRequestOrBuilder
        Returns:
        The bytes for project.
      • setProject

        public GetExternalVpnGatewayRequest.Builder setProject​(String value)
         Project ID for this request.
         
        string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The project to set.
        Returns:
        This builder for chaining.
      • clearProject

        public GetExternalVpnGatewayRequest.Builder clearProject()
         Project ID for this request.
         
        string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setProjectBytes

        public GetExternalVpnGatewayRequest.Builder setProjectBytes​(com.google.protobuf.ByteString value)
         Project ID for this request.
         
        string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for project to set.
        Returns:
        This builder for chaining.