public interface CommentOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getBody()
public abstract String getBody()The full comment body.
Maximum of 12800 characters.
string body = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The body. |
getBodyBytes()
public abstract ByteString getBodyBytes()The full comment body.
Maximum of 12800 characters.
string body = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for body. |
getCreateTime()
public abstract Timestamp getCreateTime()Output only. The time when the 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 the 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 who created the comment.
.google.cloud.support.v2beta.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 who created the comment.
.google.cloud.support.v2beta.Actor creator = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ActorOrBuilder |
|
getName()
public abstract String getName()Output only. Identifier. The resource name of the comment.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()Output only. Identifier. The resource name of the comment.
string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getPlainTextBody() (deprecated)
public abstract String getPlainTextBody()Deprecated. google.cloud.support.v2beta.Comment.plain_text_body is deprecated. See google/cloud/support/v2beta/comment.proto;l=66
Output only. DEPRECATED. DO NOT USE.
A duplicate of the body field.
This field is only present for legacy reasons.
string plain_text_body = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The plainTextBody. |
getPlainTextBodyBytes() (deprecated)
public abstract ByteString getPlainTextBodyBytes()Deprecated. google.cloud.support.v2beta.Comment.plain_text_body is deprecated. See google/cloud/support/v2beta/comment.proto;l=66
Output only. DEPRECATED. DO NOT USE.
A duplicate of the body field.
This field is only present for legacy reasons.
string plain_text_body = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for plainTextBody. |
hasCreateTime()
public abstract boolean hasCreateTime()Output only. The time when the 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 who created the comment.
.google.cloud.support.v2beta.Actor creator = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the creator field is set. |