Interface FieldSchemaOrBuilder (0.76.0)

public interface FieldSchemaOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getComment()

public abstract String getComment()

Optional. Comment of the field. The maximum length is 256 characters.

string comment = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The comment.

getCommentBytes()

public abstract ByteString getCommentBytes()

Optional. Comment of the field. The maximum length is 256 characters.

string comment = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for comment.

getName()

public abstract String getName()

Required. Name of the field. The maximum length is 767 characters.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. Name of the field. The maximum length is 767 characters.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.

getType()

public abstract String getType()

Required. Type of the field. The maximum length is 128 characters.

string type = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The type.

getTypeBytes()

public abstract ByteString getTypeBytes()

Required. Type of the field. The maximum length is 128 characters.

string type = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for type.