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-
(::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-
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.
-
(::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- (::String) — The simple name of this method.
#name=
def name=(value) -> ::String- value (::String) — The simple name of this method.
- (::String) — The simple name of this method.
#options
def options() -> ::Array<::Google::Protobuf::Option>- (::Array<::Google::Protobuf::Option>) — Any metadata attached to the method.
#options=
def options=(value) -> ::Array<::Google::Protobuf::Option>- value (::Array<::Google::Protobuf::Option>) — Any metadata attached to the method.
- (::Array<::Google::Protobuf::Option>) — Any metadata attached to the method.
#request_streaming
def request_streaming() -> ::Boolean- (::Boolean) — If true, the request is streamed.
#request_streaming=
def request_streaming=(value) -> ::Boolean- value (::Boolean) — If true, the request is streamed.
- (::Boolean) — If true, the request is streamed.
#request_type_url
def request_type_url() -> ::String- (::String) — A URL of the input message type.
#request_type_url=
def request_type_url=(value) -> ::String- value (::String) — A URL of the input message type.
- (::String) — A URL of the input message type.
#response_streaming
def response_streaming() -> ::Boolean- (::Boolean) — If true, the response is streamed.
#response_streaming=
def response_streaming=(value) -> ::Boolean- value (::Boolean) — If true, the response is streamed.
- (::Boolean) — If true, the response is streamed.
#response_type_url
def response_type_url() -> ::String- (::String) — The URL of the output message type.
#response_type_url=
def response_type_url=(value) -> ::String- value (::String) — The URL of the output message type.
- (::String) — The URL of the output message type.
#syntax
def syntax() -> ::Google::Protobuf::Syntax-
(::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-
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.
-
(::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.