Interface CreateCommentRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CreateCommentRequest, CreateCommentRequest.Builder

@Generated public interface CreateCommentRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    boolean
    Required.

    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

    • getParent

      String getParent()
       Required. The order to create the comment on.
       Format: `projects/{project}/locations/{location}/orders/{order}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Required. The order to create the comment on.
       Format: `projects/{project}/locations/{location}/orders/{order}`
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • getCommentId

      String getCommentId()
       Optional. ID used to uniquely identify the Comment within its parent scope.
       This field should contain at most 63 characters and must start with
       lowercase characters.
       Only lowercase characters, numbers and `-` are accepted.
       The `-` character cannot be the first or the last one.
       A system generated ID will be used if the field is not set.
      
       The comment.name field in the request will be ignored.
       
      string comment_id = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The commentId.
    • getCommentIdBytes

      com.google.protobuf.ByteString getCommentIdBytes()
       Optional. ID used to uniquely identify the Comment within its parent scope.
       This field should contain at most 63 characters and must start with
       lowercase characters.
       Only lowercase characters, numbers and `-` are accepted.
       The `-` character cannot be the first or the last one.
       A system generated ID will be used if the field is not set.
      
       The comment.name field in the request will be ignored.
       
      string comment_id = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for commentId.
    • hasComment

      boolean hasComment()
       Required. The comment to create.
       
      .google.cloud.gdchardwaremanagement.v1alpha.Comment comment = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the comment field is set.
    • getComment

      Comment getComment()
       Required. The comment to create.
       
      .google.cloud.gdchardwaremanagement.v1alpha.Comment comment = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The comment.
    • getCommentOrBuilder

      CommentOrBuilder getCommentOrBuilder()
       Required. The comment to create.
       
      .google.cloud.gdchardwaremanagement.v1alpha.Comment comment = 3 [(.google.api.field_behavior) = REQUIRED];
    • getRequestId

      String getRequestId()
       Optional. An optional unique identifier for this request. See
       [AIP-155](https://google.aip.dev/155).
       
      string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The requestId.
    • getRequestIdBytes

      com.google.protobuf.ByteString getRequestIdBytes()
       Optional. An optional unique identifier for this request. See
       [AIP-155](https://google.aip.dev/155).
       
      string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for requestId.