Interface FieldInfoOrBuilder (2.44.0)

public interface FieldInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFormat()

public abstract 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
Type Description
FieldInfo.Format

The format.

getFormatValue()

public abstract 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
Type Description
int

The enum numeric value on the wire for format.

getReferencedTypes(int index)

public abstract 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;

Parameter
Name Description
index int
Returns
Type Description
TypeReference

getReferencedTypesCount()

public abstract 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;

Returns
Type Description
int

getReferencedTypesList()

public abstract 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;

Returns
Type Description
List<TypeReference>

getReferencedTypesOrBuilder(int index)

public abstract 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;

Parameter
Name Description
index int
Returns
Type Description
TypeReferenceOrBuilder

getReferencedTypesOrBuilderList()

public abstract 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;

Returns
Type Description
List<? extends com.google.api.TypeReferenceOrBuilder>