Interface CommentOrBuilder (0.38.0)

public interface CommentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBody()

public abstract String getBody()

The full comment body. Maximum of 12800 characters. This can contain rich text syntax.

string body = 4;

Returns
Type Description
String

The body.

getBodyBytes()

public abstract ByteString getBodyBytes()

The full comment body. Maximum of 12800 characters. This can contain rich text syntax.

string body = 4;

Returns
Type Description
ByteString

The bytes for body.

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The time when this comment was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time when this comment was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getCreator()

public abstract Actor getCreator()

Output only. The user or Google Support agent created this comment.

.google.cloud.support.v2.Actor creator = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Actor

The creator.

getCreatorOrBuilder()

public abstract ActorOrBuilder getCreatorOrBuilder()

Output only. The user or Google Support agent created this comment.

.google.cloud.support.v2.Actor creator = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ActorOrBuilder

getName()

public abstract String getName()

Output only. The resource name for the comment.

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

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. The resource name for the comment.

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

Returns
Type Description
ByteString

The bytes for name.

getPlainTextBody()

public abstract String getPlainTextBody()

Output only. DEPRECATED. An automatically generated plain text version of body with all rich text syntax stripped.

string plain_text_body = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The plainTextBody.

getPlainTextBodyBytes()

public abstract ByteString getPlainTextBodyBytes()

Output only. DEPRECATED. An automatically generated plain text version of body with all rich text syntax stripped.

string plain_text_body = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for plainTextBody.

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The time when this comment was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasCreator()

public abstract boolean hasCreator()

Output only. The user or Google Support agent created this comment.

.google.cloud.support.v2.Actor creator = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the creator field is set.