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

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

Go to download

Lite version of Protocol Buffers library. This version is optimized for code size, but does not guarantee API/ABI stability.

There is a newer version: 4.29.0-RC2
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/protobuf/type.proto

// Protobuf Java Version: 3.25.0
package com.google.protobuf;

public interface EnumOrBuilder extends
    // @@protoc_insertion_point(interface_extends:google.protobuf.Enum)
    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.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.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();

  /**
   * .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.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