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

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

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

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

        public GetStatusVpnGatewayRequest.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<GetStatusVpnGatewayRequest.Builder>
        Throws:
        IOException
      • 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 GetStatusVpnGatewayRequestOrBuilder
        Returns:
        The bytes for project.
      • setProject

        public GetStatusVpnGatewayRequest.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 GetStatusVpnGatewayRequest.Builder clearProject()
         Project ID for this request.
         
        string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setProjectBytes

        public GetStatusVpnGatewayRequest.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.
      • getRegionBytes

        public com.google.protobuf.ByteString getRegionBytes()
         Name of the region for this request.
         
        string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getRegionBytes in interface GetStatusVpnGatewayRequestOrBuilder
        Returns:
        The bytes for region.
      • setRegion

        public GetStatusVpnGatewayRequest.Builder setRegion​(String value)
         Name of the region for this request.
         
        string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The region to set.
        Returns:
        This builder for chaining.
      • clearRegion

        public GetStatusVpnGatewayRequest.Builder clearRegion()
         Name of the region for this request.
         
        string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setRegionBytes

        public GetStatusVpnGatewayRequest.Builder setRegionBytes​(com.google.protobuf.ByteString value)
         Name of the region for this request.
         
        string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for region to set.
        Returns:
        This builder for chaining.
      • getVpnGatewayBytes

        public com.google.protobuf.ByteString getVpnGatewayBytes()
         Name of the VPN gateway to return.
         
        string vpn_gateway = 406684153 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getVpnGatewayBytes in interface GetStatusVpnGatewayRequestOrBuilder
        Returns:
        The bytes for vpnGateway.
      • setVpnGateway

        public GetStatusVpnGatewayRequest.Builder setVpnGateway​(String value)
         Name of the VPN gateway to return.
         
        string vpn_gateway = 406684153 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The vpnGateway to set.
        Returns:
        This builder for chaining.
      • clearVpnGateway

        public GetStatusVpnGatewayRequest.Builder clearVpnGateway()
         Name of the VPN gateway to return.
         
        string vpn_gateway = 406684153 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setVpnGatewayBytes

        public GetStatusVpnGatewayRequest.Builder setVpnGatewayBytes​(com.google.protobuf.ByteString value)
         Name of the VPN gateway to return.
         
        string vpn_gateway = 406684153 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for vpnGateway to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final GetStatusVpnGatewayRequest.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<GetStatusVpnGatewayRequest.Builder>
      • mergeUnknownFields

        public final GetStatusVpnGatewayRequest.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<GetStatusVpnGatewayRequest.Builder>