Package com.google.cloud.support.v2beta
Interface CommentOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Comment,Comment.Builder
@Generated
public interface CommentOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetBody()The full comment body.com.google.protobuf.ByteStringThe full comment body.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Output only.Output only.getName()Output only.com.google.protobuf.ByteStringOutput only.Deprecated.google.cloud.support.v2beta.Comment.plain_text_body is deprecated.com.google.protobuf.ByteStringDeprecated.google.cloud.support.v2beta.Comment.plain_text_body is deprecated.booleanOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
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:
- The name.
-
getNameBytes
com.google.protobuf.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:
- The bytes for name.
-
hasCreateTime
boolean hasCreateTime()Output only. The time when the 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 the 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 the 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 who created the comment.
.google.cloud.support.v2beta.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 who created the comment.
.google.cloud.support.v2beta.Actor creator = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The creator.
-
getCreatorOrBuilder
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]; -
getBody
String getBody()The full comment body. Maximum of 12800 characters.
string body = 4;- Returns:
- The body.
-
getBodyBytes
com.google.protobuf.ByteString getBodyBytes()The full comment body. Maximum of 12800 characters.
string body = 4;- Returns:
- The bytes for body.
-
getPlainTextBody
Deprecated.google.cloud.support.v2beta.Comment.plain_text_body is deprecated. See google/cloud/support/v2beta/comment.proto;l=66Output 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:
- The plainTextBody.
-
getPlainTextBodyBytes
Deprecated.google.cloud.support.v2beta.Comment.plain_text_body is deprecated. See google/cloud/support/v2beta/comment.proto;l=66Output 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:
- The bytes for plainTextBody.
-