com.google.protobuf.EnumOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/protobuf/type.proto
// Protobuf Java Version: 3.25.3
package com.google.protobuf;
public interface EnumOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.protobuf.Enum)
com.google.protobuf.MessageOrBuilder {
/**
*
* Enum type name.
*
*
* string name = 1;
* @return The name.
*/
java.lang.String getName();
/**
*
* Enum type name.
*
*
* string name = 1;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* Enum value definitions.
*
*
* repeated .google.protobuf.EnumValue enumvalue = 2;
*/
java.util.List
getEnumvalueList();
/**
*
* Enum value definitions.
*
*
* repeated .google.protobuf.EnumValue enumvalue = 2;
*/
com.google.protobuf.EnumValue getEnumvalue(int index);
/**
*
* Enum value definitions.
*
*
* repeated .google.protobuf.EnumValue enumvalue = 2;
*/
int getEnumvalueCount();
/**
*
* Enum value definitions.
*
*
* repeated .google.protobuf.EnumValue enumvalue = 2;
*/
java.util.List extends com.google.protobuf.EnumValueOrBuilder>
getEnumvalueOrBuilderList();
/**
*
* Enum value definitions.
*
*
* repeated .google.protobuf.EnumValue enumvalue = 2;
*/
com.google.protobuf.EnumValueOrBuilder getEnumvalueOrBuilder(
int index);
/**
*
* Protocol buffer options.
*
*
* repeated .google.protobuf.Option options = 3;
*/
java.util.List
getOptionsList();
/**
*
* Protocol buffer options.
*
*
* repeated .google.protobuf.Option options = 3;
*/
com.google.protobuf.Option getOptions(int index);
/**
*
* Protocol buffer options.
*
*
* repeated .google.protobuf.Option options = 3;
*/
int getOptionsCount();
/**
*
* Protocol buffer options.
*
*
* repeated .google.protobuf.Option options = 3;
*/
java.util.List extends com.google.protobuf.OptionOrBuilder>
getOptionsOrBuilderList();
/**
*
* Protocol buffer options.
*
*
* repeated .google.protobuf.Option options = 3;
*/
com.google.protobuf.OptionOrBuilder getOptionsOrBuilder(
int index);
/**
*
* The source context.
*
*
* .google.protobuf.SourceContext source_context = 4;
* @return Whether the sourceContext field is set.
*/
boolean hasSourceContext();
/**
*
* The source context.
*
*
* .google.protobuf.SourceContext source_context = 4;
* @return The sourceContext.
*/
com.google.protobuf.SourceContext getSourceContext();
/**
*
* The source context.
*
*
* .google.protobuf.SourceContext source_context = 4;
*/
com.google.protobuf.SourceContextOrBuilder getSourceContextOrBuilder();
/**
*
* The source syntax.
*
*
* .google.protobuf.Syntax syntax = 5;
* @return The enum numeric value on the wire for syntax.
*/
int getSyntaxValue();
/**
*
* The source syntax.
*
*
* .google.protobuf.Syntax syntax = 5;
* @return The syntax.
*/
com.google.protobuf.Syntax getSyntax();
}