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 Type
    Method
    Description
    The full comment body.
    com.google.protobuf.ByteString
    The full comment body.
    com.google.protobuf.Timestamp
    Output only.
    com.google.protobuf.TimestampOrBuilder
    Output only.
    Output only.
    Output only.
    Output only.
    com.google.protobuf.ByteString
    Output only.
    Deprecated.
    google.cloud.support.v2beta.Comment.plain_text_body is deprecated.
    com.google.protobuf.ByteString
    Deprecated.
    google.cloud.support.v2beta.Comment.plain_text_body is deprecated.
    boolean
    Output only.
    boolean
    Output only.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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 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:
      The plainTextBody.
    • getPlainTextBodyBytes

      @Deprecated com.google.protobuf.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:
      The bytes for plainTextBody.