com.google.protobuf.ApiOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of protobuf-javalite Show documentation
Show all versions of protobuf-javalite Show documentation
Lite version of Protocol Buffers library. This version is optimized for code size, but does
not guarantee API/ABI stability.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/protobuf/api.proto
package com.google.protobuf;
public interface ApiOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.protobuf.Api)
com.google.protobuf.MessageLiteOrBuilder {
/**
* string name = 1 [json_name = "name"];
* @return The name.
*/
java.lang.String getName();
/**
* string name = 1 [json_name = "name"];
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* repeated .google.protobuf.Method methods = 2 [json_name = "methods"];
*/
java.util.List
getMethodsList();
/**
* repeated .google.protobuf.Method methods = 2 [json_name = "methods"];
*/
com.google.protobuf.Method getMethods(int index);
/**
* repeated .google.protobuf.Method methods = 2 [json_name = "methods"];
*/
int getMethodsCount();
/**
* repeated .google.protobuf.Option options = 3 [json_name = "options"];
*/
java.util.List
getOptionsList();
/**
* repeated .google.protobuf.Option options = 3 [json_name = "options"];
*/
com.google.protobuf.Option getOptions(int index);
/**
* repeated .google.protobuf.Option options = 3 [json_name = "options"];
*/
int getOptionsCount();
/**
* string version = 4 [json_name = "version"];
* @return The version.
*/
java.lang.String getVersion();
/**
* string version = 4 [json_name = "version"];
* @return The bytes for version.
*/
com.google.protobuf.ByteString
getVersionBytes();
/**
* .google.protobuf.SourceContext source_context = 5 [json_name = "sourceContext"];
* @return Whether the sourceContext field is set.
*/
boolean hasSourceContext();
/**
* .google.protobuf.SourceContext source_context = 5 [json_name = "sourceContext"];
* @return The sourceContext.
*/
com.google.protobuf.SourceContext getSourceContext();
/**
* repeated .google.protobuf.Mixin mixins = 6 [json_name = "mixins"];
*/
java.util.List
getMixinsList();
/**
* repeated .google.protobuf.Mixin mixins = 6 [json_name = "mixins"];
*/
com.google.protobuf.Mixin getMixins(int index);
/**
* repeated .google.protobuf.Mixin mixins = 6 [json_name = "mixins"];
*/
int getMixinsCount();
/**
* .google.protobuf.Syntax syntax = 7 [json_name = "syntax"];
* @return The enum numeric value on the wire for syntax.
*/
int getSyntaxValue();
/**
* .google.protobuf.Syntax syntax = 7 [json_name = "syntax"];
* @return The syntax.
*/
com.google.protobuf.Syntax getSyntax();
}