// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/protobuf/api.proto

package com.google.protobuf;

public interface MethodOrBuilder extends
    // @@protoc_insertion_point(interface_extends:google.protobuf.Method)
    com.google.protobuf.MessageOrBuilder {

  
The simple name of this method.
string name = 1;
Returns:The name.
/** * <pre> * The simple name of this method. * </pre> * * <code>string name = 1;</code> * @return The name. */
java.lang.String getName();
The simple name of this method.
string name = 1;
Returns:The bytes for name.
/** * <pre> * The simple name of this method. * </pre> * * <code>string name = 1;</code> * @return The bytes for name. */
com.google.protobuf.ByteString getNameBytes();
A URL of the input message type.
string request_type_url = 2;
Returns:The requestTypeUrl.
/** * <pre> * A URL of the input message type. * </pre> * * <code>string request_type_url = 2;</code> * @return The requestTypeUrl. */
java.lang.String getRequestTypeUrl();
A URL of the input message type.
string request_type_url = 2;
Returns:The bytes for requestTypeUrl.
/** * <pre> * A URL of the input message type. * </pre> * * <code>string request_type_url = 2;</code> * @return The bytes for requestTypeUrl. */
com.google.protobuf.ByteString getRequestTypeUrlBytes();
If true, the request is streamed.
bool request_streaming = 3;
Returns:The requestStreaming.
/** * <pre> * If true, the request is streamed. * </pre> * * <code>bool request_streaming = 3;</code> * @return The requestStreaming. */
boolean getRequestStreaming();
The URL of the output message type.
string response_type_url = 4;
Returns:The responseTypeUrl.
/** * <pre> * The URL of the output message type. * </pre> * * <code>string response_type_url = 4;</code> * @return The responseTypeUrl. */
java.lang.String getResponseTypeUrl();
The URL of the output message type.
string response_type_url = 4;
Returns:The bytes for responseTypeUrl.
/** * <pre> * The URL of the output message type. * </pre> * * <code>string response_type_url = 4;</code> * @return The bytes for responseTypeUrl. */
com.google.protobuf.ByteString getResponseTypeUrlBytes();
If true, the response is streamed.
bool response_streaming = 5;
Returns:The responseStreaming.
/** * <pre> * If true, the response is streamed. * </pre> * * <code>bool response_streaming = 5;</code> * @return The responseStreaming. */
boolean getResponseStreaming();
Any metadata attached to the method.
repeated .google.protobuf.Option options = 6;
/** * <pre> * Any metadata attached to the method. * </pre> * * <code>repeated .google.protobuf.Option options = 6;</code> */
java.util.List<com.google.protobuf.Option> getOptionsList();
Any metadata attached to the method.
repeated .google.protobuf.Option options = 6;
/** * <pre> * Any metadata attached to the method. * </pre> * * <code>repeated .google.protobuf.Option options = 6;</code> */
com.google.protobuf.Option getOptions(int index);
Any metadata attached to the method.
repeated .google.protobuf.Option options = 6;
/** * <pre> * Any metadata attached to the method. * </pre> * * <code>repeated .google.protobuf.Option options = 6;</code> */
int getOptionsCount();
Any metadata attached to the method.
repeated .google.protobuf.Option options = 6;
/** * <pre> * Any metadata attached to the method. * </pre> * * <code>repeated .google.protobuf.Option options = 6;</code> */
java.util.List<? extends com.google.protobuf.OptionOrBuilder> getOptionsOrBuilderList();
Any metadata attached to the method.
repeated .google.protobuf.Option options = 6;
/** * <pre> * Any metadata attached to the method. * </pre> * * <code>repeated .google.protobuf.Option options = 6;</code> */
com.google.protobuf.OptionOrBuilder getOptionsOrBuilder( int index);
The source syntax of this method.
.google.protobuf.Syntax syntax = 7;
Returns:The enum numeric value on the wire for syntax.
/** * <pre> * The source syntax of this method. * </pre> * * <code>.google.protobuf.Syntax syntax = 7;</code> * @return The enum numeric value on the wire for syntax. */
int getSyntaxValue();
The source syntax of this method.
.google.protobuf.Syntax syntax = 7;
Returns:The syntax.
/** * <pre> * The source syntax of this method. * </pre> * * <code>.google.protobuf.Syntax syntax = 7;</code> * @return The syntax. */
com.google.protobuf.Syntax getSyntax(); }