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

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

Go to download

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.0-RC2
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: google/protobuf/type.proto
// Protobuf Java Version: 4.28.1

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy