com.google.protobuf.EnumOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of protobuf-kotlin Show documentation
Show all versions of protobuf-kotlin Show documentation
Kotlin core Protocol Buffers library. Protocol Buffers are a way of encoding structured data in an
efficient yet extensible format.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: google/protobuf/type.proto
// Protobuf Java Version: 4.27.0
package com.google.protobuf;
public interface EnumOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.protobuf.Enum)
com.google.protobuf.MessageOrBuilder {
/**
* 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.EnumValue enumvalue = 2 [json_name = "enumvalue"];
*/
java.util.List
getEnumvalueList();
/**
* repeated .google.protobuf.EnumValue enumvalue = 2 [json_name = "enumvalue"];
*/
com.google.protobuf.EnumValue getEnumvalue(int index);
/**
* repeated .google.protobuf.EnumValue enumvalue = 2 [json_name = "enumvalue"];
*/
int getEnumvalueCount();
/**
* repeated .google.protobuf.EnumValue enumvalue = 2 [json_name = "enumvalue"];
*/
java.util.List extends com.google.protobuf.EnumValueOrBuilder>
getEnumvalueOrBuilderList();
/**
* repeated .google.protobuf.EnumValue enumvalue = 2 [json_name = "enumvalue"];
*/
com.google.protobuf.EnumValueOrBuilder getEnumvalueOrBuilder(
int index);
/**
* 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();
/**
* repeated .google.protobuf.Option options = 3 [json_name = "options"];
*/
java.util.List extends com.google.protobuf.OptionOrBuilder>
getOptionsOrBuilderList();
/**
* repeated .google.protobuf.Option options = 3 [json_name = "options"];
*/
com.google.protobuf.OptionOrBuilder getOptionsOrBuilder(
int index);
/**
* .google.protobuf.SourceContext source_context = 4 [json_name = "sourceContext"];
* @return Whether the sourceContext field is set.
*/
boolean hasSourceContext();
/**
* .google.protobuf.SourceContext source_context = 4 [json_name = "sourceContext"];
* @return The sourceContext.
*/
com.google.protobuf.SourceContext getSourceContext();
/**
* .google.protobuf.SourceContext source_context = 4 [json_name = "sourceContext"];
*/
com.google.protobuf.SourceContextOrBuilder getSourceContextOrBuilder();
/**
* .google.protobuf.Syntax syntax = 5 [json_name = "syntax"];
* @return The enum numeric value on the wire for syntax.
*/
int getSyntaxValue();
/**
* .google.protobuf.Syntax syntax = 5 [json_name = "syntax"];
* @return The syntax.
*/
com.google.protobuf.Syntax getSyntax();
/**
* string edition = 6 [json_name = "edition"];
* @return The edition.
*/
java.lang.String getEdition();
/**
* string edition = 6 [json_name = "edition"];
* @return The bytes for edition.
*/
com.google.protobuf.ByteString
getEditionBytes();
}