Send feedback
Class UpdateAgentRequest.Builder (0.39.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.39.0 keyboard_arrow_down
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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateAgentRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public UpdateAgentRequest build ()
buildPartial()
public UpdateAgentRequest buildPartial ()
clear()
public UpdateAgentRequest . Builder clear ()
Overrides
clearAgent()
public UpdateAgentRequest . Builder clearAgent ()
Required. The agent to update.
.google.cloud.dialogflow.cx.v3beta1.Agent agent = 1 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public UpdateAgentRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateAgentRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
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;
clone()
public UpdateAgentRequest . Builder clone ()
Overrides
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];
getAgentOrBuilder()
public AgentOrBuilder getAgentOrBuilder ()
Required. The agent to update.
.google.cloud.dialogflow.cx.v3beta1.Agent agent = 1 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public UpdateAgentRequest getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
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;
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;
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 ()
Overrides
isInitialized()
public final boolean isInitialized ()
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
mergeFrom(UpdateAgentRequest other)
public UpdateAgentRequest . Builder mergeFrom ( UpdateAgentRequest other )
public UpdateAgentRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public UpdateAgentRequest . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAgentRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
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;
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
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];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateAgentRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateAgentRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateAgentRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
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;
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]