public static final class UpdateAgentRequest.Builder extends GeneratedMessage.Builder<UpdateAgentRequest.Builder> implements UpdateAgentRequestOrBuilderRequest message for AgentService.UpdateAgent.
Protobuf type google.cloud.ces.v1.UpdateAgentRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UpdateAgentRequest.BuilderImplements
UpdateAgentRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public UpdateAgentRequest build()| Returns | |
|---|---|
| Type | Description |
UpdateAgentRequest |
|
buildPartial()
public UpdateAgentRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
UpdateAgentRequest |
|
clear()
public UpdateAgentRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
UpdateAgentRequest.Builder |
|
clearAgent()
public UpdateAgentRequest.Builder clearAgent()Required. The agent to update.
.google.cloud.ces.v1.Agent agent = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
UpdateAgentRequest.Builder |
|
clearUpdateMask()
public UpdateAgentRequest.Builder clearUpdateMask()Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
UpdateAgentRequest.Builder |
|
getAgent()
public Agent getAgent()Required. The agent to update.
.google.cloud.ces.v1.Agent agent = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Agent |
The agent. |
getAgentBuilder()
public Agent.Builder getAgentBuilder()Required. The agent to update.
.google.cloud.ces.v1.Agent agent = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Agent.Builder |
|
getAgentOrBuilder()
public AgentOrBuilder getAgentOrBuilder()Required. The agent to update.
.google.cloud.ces.v1.Agent agent = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
AgentOrBuilder |
|
getDefaultInstanceForType()
public UpdateAgentRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
UpdateAgentRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getUpdateMask()
public FieldMask getUpdateMask()Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMask |
The updateMask. |
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
FieldMaskOrBuilder |
|
hasAgent()
public boolean hasAgent()Required. The agent to update.
.google.cloud.ces.v1.Agent agent = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the agent field is set. |
hasUpdateMask()
public boolean hasUpdateMask()Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateMask field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAgent(Agent value)
public UpdateAgentRequest.Builder mergeAgent(Agent value)Required. The agent to update.
.google.cloud.ces.v1.Agent agent = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Agent |
| Returns | |
|---|---|
| Type | Description |
UpdateAgentRequest.Builder |
|
mergeFrom(UpdateAgentRequest other)
public UpdateAgentRequest.Builder mergeFrom(UpdateAgentRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
UpdateAgentRequest |
| Returns | |
|---|---|
| Type | Description |
UpdateAgentRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateAgentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
UpdateAgentRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UpdateAgentRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UpdateAgentRequest.Builder |
|
mergeUpdateMask(FieldMask value)
public UpdateAgentRequest.Builder mergeUpdateMask(FieldMask value)Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateAgentRequest.Builder |
|
setAgent(Agent value)
public UpdateAgentRequest.Builder setAgent(Agent value)Required. The agent to update.
.google.cloud.ces.v1.Agent agent = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Agent |
| Returns | |
|---|---|
| Type | Description |
UpdateAgentRequest.Builder |
|
setAgent(Agent.Builder builderForValue)
public UpdateAgentRequest.Builder setAgent(Agent.Builder builderForValue)Required. The agent to update.
.google.cloud.ces.v1.Agent agent = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Agent.Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateAgentRequest.Builder |
|
setUpdateMask(FieldMask value)
public UpdateAgentRequest.Builder setUpdateMask(FieldMask value)Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
FieldMask |
| Returns | |
|---|---|
| Type | Description |
UpdateAgentRequest.Builder |
|
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateAgentRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)Optional. Field mask is used to control which fields get updated. If the mask is not present, all fields will be updated.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
UpdateAgentRequest.Builder |
|