// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/protobuf/type.proto
package com.google.protobuf;
public interface FieldOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.protobuf.Field)
com.google.protobuf.MessageOrBuilder {
The field type.
.google.protobuf.Field.Kind kind = 1;
Returns: The enum numeric value on the wire for kind.
/**
* <pre>
* The field type.
* </pre>
*
* <code>.google.protobuf.Field.Kind kind = 1;</code>
* @return The enum numeric value on the wire for kind.
*/
int getKindValue();
The field type.
.google.protobuf.Field.Kind kind = 1;
Returns: The kind.
/**
* <pre>
* The field type.
* </pre>
*
* <code>.google.protobuf.Field.Kind kind = 1;</code>
* @return The kind.
*/
com.google.protobuf.Field.Kind getKind();
The field cardinality.
.google.protobuf.Field.Cardinality cardinality = 2;
Returns: The enum numeric value on the wire for cardinality.
/**
* <pre>
* The field cardinality.
* </pre>
*
* <code>.google.protobuf.Field.Cardinality cardinality = 2;</code>
* @return The enum numeric value on the wire for cardinality.
*/
int getCardinalityValue();
The field cardinality.
.google.protobuf.Field.Cardinality cardinality = 2;
Returns: The cardinality.
/**
* <pre>
* The field cardinality.
* </pre>
*
* <code>.google.protobuf.Field.Cardinality cardinality = 2;</code>
* @return The cardinality.
*/
com.google.protobuf.Field.Cardinality getCardinality();
The field number.
int32 number = 3;
Returns: The number.
/**
* <pre>
* The field number.
* </pre>
*
* <code>int32 number = 3;</code>
* @return The number.
*/
int getNumber();
The field name.
string name = 4;
Returns: The name.
/**
* <pre>
* The field name.
* </pre>
*
* <code>string name = 4;</code>
* @return The name.
*/
java.lang.String getName();
The field name.
string name = 4;
Returns: The bytes for name.
/**
* <pre>
* The field name.
* </pre>
*
* <code>string name = 4;</code>
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
The field type URL, without the scheme, for message or enumeration
types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`.
string type_url = 6;
Returns: The typeUrl.
/**
* <pre>
* The field type URL, without the scheme, for message or enumeration
* types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`.
* </pre>
*
* <code>string type_url = 6;</code>
* @return The typeUrl.
*/
java.lang.String getTypeUrl();
The field type URL, without the scheme, for message or enumeration
types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`.
string type_url = 6;
Returns: The bytes for typeUrl.
/**
* <pre>
* The field type URL, without the scheme, for message or enumeration
* types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`.
* </pre>
*
* <code>string type_url = 6;</code>
* @return The bytes for typeUrl.
*/
com.google.protobuf.ByteString
getTypeUrlBytes();
The index of the field type in `Type.oneofs`, for message or enumeration
types. The first type has index 1; zero means the type is not in the list.
int32 oneof_index = 7;
Returns: The oneofIndex.
/**
* <pre>
* The index of the field type in `Type.oneofs`, for message or enumeration
* types. The first type has index 1; zero means the type is not in the list.
* </pre>
*
* <code>int32 oneof_index = 7;</code>
* @return The oneofIndex.
*/
int getOneofIndex();
Whether to use alternative packed wire representation.
bool packed = 8;
Returns: The packed.
/**
* <pre>
* Whether to use alternative packed wire representation.
* </pre>
*
* <code>bool packed = 8;</code>
* @return The packed.
*/
boolean getPacked();
The protocol buffer options.
repeated .google.protobuf.Option options = 9;
/**
* <pre>
* The protocol buffer options.
* </pre>
*
* <code>repeated .google.protobuf.Option options = 9;</code>
*/
java.util.List<com.google.protobuf.Option>
getOptionsList();
The protocol buffer options.
repeated .google.protobuf.Option options = 9;
/**
* <pre>
* The protocol buffer options.
* </pre>
*
* <code>repeated .google.protobuf.Option options = 9;</code>
*/
com.google.protobuf.Option getOptions(int index);
The protocol buffer options.
repeated .google.protobuf.Option options = 9;
/**
* <pre>
* The protocol buffer options.
* </pre>
*
* <code>repeated .google.protobuf.Option options = 9;</code>
*/
int getOptionsCount();
The protocol buffer options.
repeated .google.protobuf.Option options = 9;
/**
* <pre>
* The protocol buffer options.
* </pre>
*
* <code>repeated .google.protobuf.Option options = 9;</code>
*/
java.util.List<? extends com.google.protobuf.OptionOrBuilder>
getOptionsOrBuilderList();
The protocol buffer options.
repeated .google.protobuf.Option options = 9;
/**
* <pre>
* The protocol buffer options.
* </pre>
*
* <code>repeated .google.protobuf.Option options = 9;</code>
*/
com.google.protobuf.OptionOrBuilder getOptionsOrBuilder(
int index);
The field JSON name.
string json_name = 10;
Returns: The jsonName.
/**
* <pre>
* The field JSON name.
* </pre>
*
* <code>string json_name = 10;</code>
* @return The jsonName.
*/
java.lang.String getJsonName();
The field JSON name.
string json_name = 10;
Returns: The bytes for jsonName.
/**
* <pre>
* The field JSON name.
* </pre>
*
* <code>string json_name = 10;</code>
* @return The bytes for jsonName.
*/
com.google.protobuf.ByteString
getJsonNameBytes();
The string value of the default value of this field. Proto2 syntax only.
string default_value = 11;
Returns: The defaultValue.
/**
* <pre>
* The string value of the default value of this field. Proto2 syntax only.
* </pre>
*
* <code>string default_value = 11;</code>
* @return The defaultValue.
*/
java.lang.String getDefaultValue();
The string value of the default value of this field. Proto2 syntax only.
string default_value = 11;
Returns: The bytes for defaultValue.
/**
* <pre>
* The string value of the default value of this field. Proto2 syntax only.
* </pre>
*
* <code>string default_value = 11;</code>
* @return The bytes for defaultValue.
*/
com.google.protobuf.ByteString
getDefaultValueBytes();
}