public static final class RecordActionOnCommentRequest.Builder extends GeneratedMessage.Builder<RecordActionOnCommentRequest.Builder> implements RecordActionOnCommentRequestOrBuilderA request to record an action on a comment.
Protobuf type google.cloud.gdchardwaremanagement.v1alpha.RecordActionOnCommentRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RecordActionOnCommentRequest.BuilderImplements
RecordActionOnCommentRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RecordActionOnCommentRequest build()| Returns | |
|---|---|
| Type | Description |
RecordActionOnCommentRequest |
|
buildPartial()
public RecordActionOnCommentRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
RecordActionOnCommentRequest |
|
clear()
public RecordActionOnCommentRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
RecordActionOnCommentRequest.Builder |
|
clearActionType()
public RecordActionOnCommentRequest.Builder clearActionType()Required. The action type of the recorded action.
.google.cloud.gdchardwaremanagement.v1alpha.RecordActionOnCommentRequest.ActionType action_type = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RecordActionOnCommentRequest.Builder |
This builder for chaining. |
clearName()
public RecordActionOnCommentRequest.Builder clearName() Required. The name of the comment.
Format:
projects/{project}/locations/{location}/orders/{order}/comments/{comment}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
RecordActionOnCommentRequest.Builder |
This builder for chaining. |
getActionType()
public RecordActionOnCommentRequest.ActionType getActionType()Required. The action type of the recorded action.
.google.cloud.gdchardwaremanagement.v1alpha.RecordActionOnCommentRequest.ActionType action_type = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
RecordActionOnCommentRequest.ActionType |
The actionType. |
getActionTypeValue()
public int getActionTypeValue()Required. The action type of the recorded action.
.google.cloud.gdchardwaremanagement.v1alpha.RecordActionOnCommentRequest.ActionType action_type = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for actionType. |
getDefaultInstanceForType()
public RecordActionOnCommentRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RecordActionOnCommentRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getName()
public String getName() Required. The name of the comment.
Format:
projects/{project}/locations/{location}/orders/{order}/comments/{comment}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes() Required. The name of the comment.
Format:
projects/{project}/locations/{location}/orders/{order}/comments/{comment}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RecordActionOnCommentRequest other)
public RecordActionOnCommentRequest.Builder mergeFrom(RecordActionOnCommentRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
RecordActionOnCommentRequest |
| Returns | |
|---|---|
| Type | Description |
RecordActionOnCommentRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RecordActionOnCommentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RecordActionOnCommentRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RecordActionOnCommentRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RecordActionOnCommentRequest.Builder |
|
setActionType(RecordActionOnCommentRequest.ActionType value)
public RecordActionOnCommentRequest.Builder setActionType(RecordActionOnCommentRequest.ActionType value)Required. The action type of the recorded action.
.google.cloud.gdchardwaremanagement.v1alpha.RecordActionOnCommentRequest.ActionType action_type = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
RecordActionOnCommentRequest.ActionTypeThe actionType to set. |
| Returns | |
|---|---|
| Type | Description |
RecordActionOnCommentRequest.Builder |
This builder for chaining. |
setActionTypeValue(int value)
public RecordActionOnCommentRequest.Builder setActionTypeValue(int value)Required. The action type of the recorded action.
.google.cloud.gdchardwaremanagement.v1alpha.RecordActionOnCommentRequest.ActionType action_type = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for actionType to set. |
| Returns | |
|---|---|
| Type | Description |
RecordActionOnCommentRequest.Builder |
This builder for chaining. |
setName(String value)
public RecordActionOnCommentRequest.Builder setName(String value) Required. The name of the comment.
Format:
projects/{project}/locations/{location}/orders/{order}/comments/{comment}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
RecordActionOnCommentRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public RecordActionOnCommentRequest.Builder setNameBytes(ByteString value) Required. The name of the comment.
Format:
projects/{project}/locations/{location}/orders/{order}/comments/{comment}
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
RecordActionOnCommentRequest.Builder |
This builder for chaining. |