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
|