All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.protobuf.ApiOrBuilder Maven / Gradle / Ivy

Go to download

Kotlin core Protocol Buffers library. Protocol Buffers are a way of encoding structured data in an efficient yet extensible format.

There is a newer version: 4.29.2
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: google/protobuf/api.proto
// Protobuf Java Version: 4.29.1

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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy