Service Management V1 API - Class Google::Protobuf::Method (v1.9.0)

Reference documentation and code samples for the Service Management V1 API class Google::Protobuf::Method.

Method represents a method of an API interface.

New usages of this message as an alternative to MethodDescriptorProto are strongly discouraged. This message does not reliability preserve all information necessary to model the schema and preserve semantics. Instead make use of FileDescriptorSet which preserves the necessary information.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#edition

def edition() -> ::String
Returns
  • (::String) — The source edition string, only valid when syntax is SYNTAX_EDITIONS.

    This field should be ignored, instead the edition should be inherited from Api. This is similar to Field and EnumValue.

#edition=

def edition=(value) -> ::String
Parameter
  • value (::String) — The source edition string, only valid when syntax is SYNTAX_EDITIONS.

    This field should be ignored, instead the edition should be inherited from Api. This is similar to Field and EnumValue.

Returns
  • (::String) — The source edition string, only valid when syntax is SYNTAX_EDITIONS.

    This field should be ignored, instead the edition should be inherited from Api. This is similar to Field and EnumValue.

#name

def name() -> ::String
Returns
  • (::String) — The simple name of this method.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The simple name of this method.
Returns
  • (::String) — The simple name of this method.

#options

def options() -> ::Array<::Google::Protobuf::Option>
Returns

#options=

def options=(value) -> ::Array<::Google::Protobuf::Option>
Parameter
Returns

#request_streaming

def request_streaming() -> ::Boolean
Returns
  • (::Boolean) — If true, the request is streamed.

#request_streaming=

def request_streaming=(value) -> ::Boolean
Parameter
  • value (::Boolean) — If true, the request is streamed.
Returns
  • (::Boolean) — If true, the request is streamed.

#request_type_url

def request_type_url() -> ::String
Returns
  • (::String) — A URL of the input message type.

#request_type_url=

def request_type_url=(value) -> ::String
Parameter
  • value (::String) — A URL of the input message type.
Returns
  • (::String) — A URL of the input message type.

#response_streaming

def response_streaming() -> ::Boolean
Returns
  • (::Boolean) — If true, the response is streamed.

#response_streaming=

def response_streaming=(value) -> ::Boolean
Parameter
  • value (::Boolean) — If true, the response is streamed.
Returns
  • (::Boolean) — If true, the response is streamed.

#response_type_url

def response_type_url() -> ::String
Returns
  • (::String) — The URL of the output message type.

#response_type_url=

def response_type_url=(value) -> ::String
Parameter
  • value (::String) — The URL of the output message type.
Returns
  • (::String) — The URL of the output message type.

#syntax

def syntax() -> ::Google::Protobuf::Syntax
Returns
  • (::Google::Protobuf::Syntax) — The source syntax of this method.

    This field should be ignored, instead the syntax should be inherited from Api. This is similar to Field and EnumValue.

#syntax=

def syntax=(value) -> ::Google::Protobuf::Syntax
Parameter
  • value (::Google::Protobuf::Syntax) — The source syntax of this method.

    This field should be ignored, instead the syntax should be inherited from Api. This is similar to Field and EnumValue.

Returns
  • (::Google::Protobuf::Syntax) — The source syntax of this method.

    This field should be ignored, instead the syntax should be inherited from Api. This is similar to Field and EnumValue.