Package com.google.api
Interface FieldInfoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FieldInfo
,FieldInfo.Builder
public interface FieldInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FieldInfo.Format
getFormat()
The standard format of a field value.int
getFormatValue()
The standard format of a field value.TypeReference
getReferencedTypes(int index)
The type(s) that the annotated, generic field may represent.int
getReferencedTypesCount()
The type(s) that the annotated, generic field may represent.java.util.List<TypeReference>
getReferencedTypesList()
The type(s) that the annotated, generic field may represent.TypeReferenceOrBuilder
getReferencedTypesOrBuilder(int index)
The type(s) that the annotated, generic field may represent.java.util.List<? extends TypeReferenceOrBuilder>
getReferencedTypesOrBuilderList()
The type(s) that the annotated, generic field may represent.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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;
- 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;
- Returns:
- The format.
-
getReferencedTypesList
java.util.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;
-
getReferencedTypes
TypeReference getReferencedTypes(int index)
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;
-
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;
-
getReferencedTypesOrBuilderList
java.util.List<? extends TypeReferenceOrBuilder> getReferencedTypesOrBuilderList()
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;
-
getReferencedTypesOrBuilder
TypeReferenceOrBuilder getReferencedTypesOrBuilder(int index)
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;
-
-