public interface TypeReferenceOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getTypeName()
public abstract String getTypeName()
The name of the type that the annotated, generic field may represent.
If the type is in the same protobuf package, the value can be the simple
message name e.g., "MyMessage"
. Otherwise, the value must be the
fully-qualified message name e.g., "google.library.v1.Book"
.
If the type(s) are unknown to the service (e.g. the field accepts generic
user input), use the wildcard "*"
to denote this behavior.
See AIP-202 for more details.
string type_name = 1;
Returns | |
---|---|
Type | Description |
String |
The typeName. |
getTypeNameBytes()
public abstract ByteString getTypeNameBytes()
The name of the type that the annotated, generic field may represent.
If the type is in the same protobuf package, the value can be the simple
message name e.g., "MyMessage"
. Otherwise, the value must be the
fully-qualified message name e.g., "google.library.v1.Book"
.
If the type(s) are unknown to the service (e.g. the field accepts generic
user input), use the wildcard "*"
to denote this behavior.
See AIP-202 for more details.
string type_name = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for typeName. |