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

com.google.protobuf.FieldOrBuilder 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.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.27.0

package com.google.protobuf;

public interface FieldOrBuilder extends
    // @@protoc_insertion_point(interface_extends:google.protobuf.Field)
    com.google.protobuf.MessageOrBuilder {

  /**
   * .google.protobuf.Field.Kind kind = 1 [json_name = "kind"];
   * @return The enum numeric value on the wire for kind.
   */
  int getKindValue();
  /**
   * .google.protobuf.Field.Kind kind = 1 [json_name = "kind"];
   * @return The kind.
   */
  com.google.protobuf.Field.Kind getKind();

  /**
   * .google.protobuf.Field.Cardinality cardinality = 2 [json_name = "cardinality"];
   * @return The enum numeric value on the wire for cardinality.
   */
  int getCardinalityValue();
  /**
   * .google.protobuf.Field.Cardinality cardinality = 2 [json_name = "cardinality"];
   * @return The cardinality.
   */
  com.google.protobuf.Field.Cardinality getCardinality();

  /**
   * int32 number = 3 [json_name = "number"];
   * @return The number.
   */
  int getNumber();

  /**
   * string name = 4 [json_name = "name"];
   * @return The name.
   */
  java.lang.String getName();
  /**
   * string name = 4 [json_name = "name"];
   * @return The bytes for name.
   */
  com.google.protobuf.ByteString
      getNameBytes();

  /**
   * string type_url = 6 [json_name = "typeUrl"];
   * @return The typeUrl.
   */
  java.lang.String getTypeUrl();
  /**
   * string type_url = 6 [json_name = "typeUrl"];
   * @return The bytes for typeUrl.
   */
  com.google.protobuf.ByteString
      getTypeUrlBytes();

  /**
   * int32 oneof_index = 7 [json_name = "oneofIndex"];
   * @return The oneofIndex.
   */
  int getOneofIndex();

  /**
   * bool packed = 8 [json_name = "packed"];
   * @return The packed.
   */
  boolean getPacked();

  /**
   * repeated .google.protobuf.Option options = 9 [json_name = "options"];
   */
  java.util.List 
      getOptionsList();
  /**
   * repeated .google.protobuf.Option options = 9 [json_name = "options"];
   */
  com.google.protobuf.Option getOptions(int index);
  /**
   * repeated .google.protobuf.Option options = 9 [json_name = "options"];
   */
  int getOptionsCount();
  /**
   * repeated .google.protobuf.Option options = 9 [json_name = "options"];
   */
  java.util.List 
      getOptionsOrBuilderList();
  /**
   * repeated .google.protobuf.Option options = 9 [json_name = "options"];
   */
  com.google.protobuf.OptionOrBuilder getOptionsOrBuilder(
      int index);

  /**
   * string json_name = 10 [json_name = "jsonName"];
   * @return The jsonName.
   */
  java.lang.String getJsonName();
  /**
   * string json_name = 10 [json_name = "jsonName"];
   * @return The bytes for jsonName.
   */
  com.google.protobuf.ByteString
      getJsonNameBytes();

  /**
   * string default_value = 11 [json_name = "defaultValue"];
   * @return The defaultValue.
   */
  java.lang.String getDefaultValue();
  /**
   * string default_value = 11 [json_name = "defaultValue"];
   * @return The bytes for defaultValue.
   */
  com.google.protobuf.ByteString
      getDefaultValueBytes();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy