Package com.google.cloud.support.v2
Interface CommentOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Comment
,Comment.Builder
public interface CommentOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getBody()
The full comment body.com.google.protobuf.ByteString
getBodyBytes()
The full comment body.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.Actor
getCreator()
Output only.ActorOrBuilder
getCreatorOrBuilder()
Output only.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.String
getPlainTextBody()
Output only.com.google.protobuf.ByteString
getPlainTextBodyBytes()
Output only.boolean
hasCreateTime()
Output only.boolean
hasCreator()
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Output only. The resource name for the comment.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Output only. The resource name for the comment.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The bytes for name.
-
hasCreateTime
boolean hasCreateTime()
Output only. The time when this comment was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()
Output only. The time when this comment was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when this comment was created.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
hasCreator
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:
- Whether the creator field is set.
-
getCreator
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:
- The creator.
-
getCreatorOrBuilder
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];
-
getBody
String getBody()
The full comment body. Maximum of 12800 characters. This can contain rich text syntax.
string body = 4;
- Returns:
- The body.
-
getBodyBytes
com.google.protobuf.ByteString getBodyBytes()
The full comment body. Maximum of 12800 characters. This can contain rich text syntax.
string body = 4;
- Returns:
- The bytes for body.
-
getPlainTextBody
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:
- The plainTextBody.
-
getPlainTextBodyBytes
com.google.protobuf.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:
- The bytes for plainTextBody.
-
-