com.google.protobuf.FieldOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/protobuf/type.proto
// Protobuf Java Version: 3.25.3
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;
* @return The enum numeric value on the wire for kind.
*/
int getKindValue();
/**
*
* The field type.
*
*
* .google.protobuf.Field.Kind kind = 1;
* @return The kind.
*/
com.google.protobuf.Field.Kind getKind();
/**
*
* The field cardinality.
*
*
* .google.protobuf.Field.Cardinality cardinality = 2;
* @return The enum numeric value on the wire for cardinality.
*/
int getCardinalityValue();
/**
*
* The field cardinality.
*
*
* .google.protobuf.Field.Cardinality cardinality = 2;
* @return The cardinality.
*/
com.google.protobuf.Field.Cardinality getCardinality();
/**
*
* The field number.
*
*
* int32 number = 3;
* @return The number.
*/
int getNumber();
/**
*
* The field name.
*
*
* string name = 4;
* @return The name.
*/
java.lang.String getName();
/**
*
* The field name.
*
*
* string name = 4;
* @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;
* @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;
* @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;
* @return The oneofIndex.
*/
int getOneofIndex();
/**
*
* Whether to use alternative packed wire representation.
*
*
* bool packed = 8;
* @return The packed.
*/
boolean getPacked();
/**
*
* The protocol buffer options.
*
*
* repeated .google.protobuf.Option options = 9;
*/
java.util.List
getOptionsList();
/**
*
* The protocol buffer options.
*
*
* repeated .google.protobuf.Option options = 9;
*/
com.google.protobuf.Option getOptions(int index);
/**
*
* The protocol buffer options.
*
*
* repeated .google.protobuf.Option options = 9;
*/
int getOptionsCount();
/**
*
* The protocol buffer options.
*
*
* repeated .google.protobuf.Option options = 9;
*/
java.util.List extends com.google.protobuf.OptionOrBuilder>
getOptionsOrBuilderList();
/**
*
* The protocol buffer options.
*
*
* repeated .google.protobuf.Option options = 9;
*/
com.google.protobuf.OptionOrBuilder getOptionsOrBuilder(
int index);
/**
*
* The field JSON name.
*
*
* string json_name = 10;
* @return The jsonName.
*/
java.lang.String getJsonName();
/**
*
* The field JSON name.
*
*
* string json_name = 10;
* @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;
* @return The defaultValue.
*/
java.lang.String getDefaultValue();
/**
*
* The string value of the default value of this field. Proto2 syntax only.
*
*
* string default_value = 11;
* @return The bytes for defaultValue.
*/
com.google.protobuf.ByteString
getDefaultValueBytes();
}