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