Interface CreateCommentRequestOrBuilder (0.2.0)

public interface CreateCommentRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getComment()

public abstract Comment getComment()

Required. The comment to create.

.google.cloud.gdchardwaremanagement.v1alpha.Comment comment = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Comment

The comment.

getCommentId()

public abstract 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
Type Description
String

The commentId.

getCommentIdBytes()

public abstract 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
Type Description
ByteString

The bytes for commentId.

getCommentOrBuilder()

public abstract CommentOrBuilder getCommentOrBuilder()

Required. The comment to create.

.google.cloud.gdchardwaremanagement.v1alpha.Comment comment = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CommentOrBuilder

getParent()

public abstract 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
Type Description
String

The parent.

getParentBytes()

public abstract 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
Type Description
ByteString

The bytes for parent.

getRequestId()

public abstract String getRequestId()

Optional. An optional unique identifier for this request. See AIP-155.

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public abstract ByteString getRequestIdBytes()

Optional. An optional unique identifier for this request. See AIP-155.

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for requestId.

hasComment()

public abstract boolean hasComment()

Required. The comment to create.

.google.cloud.gdchardwaremanagement.v1alpha.Comment comment = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the comment field is set.