Package com.google.api
Interface FieldInfoOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
FieldInfo
,FieldInfo.Builder
public interface FieldInfoOrBuilder
extends com.google.protobuf.MessageLiteOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe standard format of a field value.int
The standard format of a field value.getReferencedTypes
(int index) The type(s) that the annotated, generic field may represent.int
The type(s) that the annotated, generic field may represent.The type(s) that the annotated, generic field may represent.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
getFormatValue
int getFormatValue()The standard format of a field value. This does not explicitly configure any API consumer, just documents the API's format for the field it is applied to.
.google.api.FieldInfo.Format format = 1 [json_name = "format"];
- Returns:
- The enum numeric value on the wire for format.
-
getFormat
FieldInfo.Format getFormat()The standard format of a field value. This does not explicitly configure any API consumer, just documents the API's format for the field it is applied to.
.google.api.FieldInfo.Format format = 1 [json_name = "format"];
- Returns:
- The format.
-
getReferencedTypesList
List<TypeReference> getReferencedTypesList()The type(s) that the annotated, generic field may represent. Currently, this must only be used on fields of type `google.protobuf.Any`. Supporting other generic types may be considered in the future.
repeated .google.api.TypeReference referenced_types = 2 [json_name = "referencedTypes"];
-
getReferencedTypes
The type(s) that the annotated, generic field may represent. Currently, this must only be used on fields of type `google.protobuf.Any`. Supporting other generic types may be considered in the future.
repeated .google.api.TypeReference referenced_types = 2 [json_name = "referencedTypes"];
-
getReferencedTypesCount
int getReferencedTypesCount()The type(s) that the annotated, generic field may represent. Currently, this must only be used on fields of type `google.protobuf.Any`. Supporting other generic types may be considered in the future.
repeated .google.api.TypeReference referenced_types = 2 [json_name = "referencedTypes"];
-