com.google.protobuf.FieldOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of protobuf-javalite Show documentation
Show all versions of protobuf-javalite Show documentation
Lite version of Protocol Buffers library. This version is optimized for code size, but does
not guarantee API/ABI stability.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: google/protobuf/type.proto
// Protobuf Java Version: 4.28.0
package com.google.protobuf;
public interface FieldOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.protobuf.Field)
com.google.protobuf.MessageLiteOrBuilder {
/**
* .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();
/**
* 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();
}