Class UpdateAgentRequest.Builder (0.55.0)

public static final class UpdateAgentRequest.Builder extends GeneratedMessageV3.Builder<UpdateAgentRequest.Builder> implements UpdateAgentRequestOrBuilder

The request message for Agents.UpdateAgent.

Protobuf type google.cloud.dialogflow.cx.v3beta1.UpdateAgentRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateAgentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateAgentRequest.Builder
Overrides

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
Overrides

clearAgent()

public UpdateAgentRequest.Builder clearAgent()

Required. The agent to update.

.google.cloud.dialogflow.cx.v3beta1.Agent agent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateAgentRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateAgentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateAgentRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateAgentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateAgentRequest.Builder
Overrides

clearUpdateMask()

public UpdateAgentRequest.Builder clearUpdateMask()

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateAgentRequest.Builder

clone()

public UpdateAgentRequest.Builder clone()
Returns
Type Description
UpdateAgentRequest.Builder
Overrides

getAgent()

public Agent getAgent()

Required. The agent to update.

.google.cloud.dialogflow.cx.v3beta1.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.dialogflow.cx.v3beta1.Agent agent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Agent.Builder

getAgentOrBuilder()

public AgentOrBuilder getAgentOrBuilder()

Required. The agent to update.

.google.cloud.dialogflow.cx.v3beta1.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
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasAgent()

public boolean hasAgent()

Required. The agent to update.

.google.cloud.dialogflow.cx.v3beta1.Agent agent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the agent field is set.

hasUpdateMask()

public boolean hasUpdateMask()

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAgent(Agent value)

public UpdateAgentRequest.Builder mergeAgent(Agent value)

Required. The agent to update.

.google.cloud.dialogflow.cx.v3beta1.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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateAgentRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateAgentRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateAgentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateAgentRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateAgentRequest.Builder mergeUpdateMask(FieldMask value)

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

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.dialogflow.cx.v3beta1.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.dialogflow.cx.v3beta1.Agent agent = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Agent.Builder
Returns
Type Description
UpdateAgentRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateAgentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateAgentRequest.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateAgentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateAgentRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateAgentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateAgentRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateAgentRequest.Builder setUpdateMask(FieldMask value)

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateAgentRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateAgentRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

The mask to control which fields get updated. If the mask is not present, all fields will be updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateAgentRequest.Builder