| Modifier and Type | Method and Description |
|---|---|
| public Field. | |
| public int | |
| public String | |
| public ByteString | |
| public String | |
| public ByteString | |
| public Field. | |
| public int | |
| public String | |
| public ByteString | |
| public int | |
| public int | |
| public Option | |
| public int | |
| public List | |
| public OptionOrBuilder | |
| public List | |
| public boolean | |
| public String | |
| public ByteString |
| getCardinality | back to summary |
|---|---|
public Field.The field cardinality. .google.protobuf.Field.Cardinality cardinality = 2;
| |
| getCardinalityValue | back to summary |
|---|---|
public int getCardinalityValue()The field cardinality. .google.protobuf.Field.Cardinality cardinality = 2;
| |
| getDefaultValue | back to summary |
|---|---|
public String getDefaultValue()The string value of the default value of this field. Proto2 syntax only. string default_value = 11;
| |
| getDefaultValueBytes | back to summary |
|---|---|
public ByteString getDefaultValueBytes()The string value of the default value of this field. Proto2 syntax only. string default_value = 11;
| |
| getJsonName | back to summary |
|---|---|
public String getJsonName()The field JSON name. string json_name = 10;
| |
| getJsonNameBytes | back to summary |
|---|---|
public ByteString getJsonNameBytes()The field JSON name. string json_name = 10;
| |
| getKind | back to summary |
|---|---|
public Field.The field type. .google.protobuf.Field.Kind kind = 1;
| |
| getKindValue | back to summary |
|---|---|
public int getKindValue()The field type. .google.protobuf.Field.Kind kind = 1;
| |
| getName | back to summary |
|---|---|
public String getName()The field name. string name = 4;
| |
| getNameBytes | back to summary |
|---|---|
public ByteString getNameBytes()The field name. string name = 4;
| |
| getNumber | back to summary |
|---|---|
public int getNumber()The field number. int32 number = 3;
| |
| getOneofIndex | back to summary |
|---|---|
public int getOneofIndex()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;
| |
| getOptions | back to summary |
|---|---|
public Option getOptions(int index)The protocol buffer options. repeated .google.protobuf.Option options = 9;
| |
| getOptionsCount | back to summary |
|---|---|
public int getOptionsCount()The protocol buffer options. repeated .google.protobuf.Option options = 9;
| |
| getOptionsList | back to summary |
|---|---|
public ListThe protocol buffer options. repeated .google.protobuf.Option options = 9;
| |
| getOptionsOrBuilder | back to summary |
|---|---|
public OptionOrBuilder getOptionsOrBuilder(int index)The protocol buffer options. repeated .google.protobuf.Option options = 9;
| |
| getOptionsOrBuilderList | back to summary |
|---|---|
public ListThe protocol buffer options. repeated .google.protobuf.Option options = 9;
| |
| getPacked | back to summary |
|---|---|
public boolean getPacked()Whether to use alternative packed wire representation. bool packed = 8;
| |
| getTypeUrl | back to summary |
|---|---|
public 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;
| |
| getTypeUrlBytes | back to summary |
|---|---|
public ByteString getTypeUrlBytes()The field type URL, without the scheme, for message or enumeration types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`. string type_url = 6;
| |