Class SetAgentRequest.Builder (4.7.5)

public static final class SetAgentRequest.Builder extends GeneratedMessageV3.Builder<SetAgentRequest.Builder> implements SetAgentRequestOrBuilder

The request message for Agents.SetAgent.

Protobuf type google.cloud.dialogflow.v2beta1.SetAgentRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SetAgentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SetAgentRequest.Builder
Overrides

build()

public SetAgentRequest build()
Returns
TypeDescription
SetAgentRequest

buildPartial()

public SetAgentRequest buildPartial()
Returns
TypeDescription
SetAgentRequest

clear()

public SetAgentRequest.Builder clear()
Returns
TypeDescription
SetAgentRequest.Builder
Overrides

clearAgent()

public SetAgentRequest.Builder clearAgent()

Required. The agent to update.

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

Returns
TypeDescription
SetAgentRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public SetAgentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SetAgentRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SetAgentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SetAgentRequest.Builder
Overrides

clearUpdateMask()

public SetAgentRequest.Builder clearUpdateMask()

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
SetAgentRequest.Builder

clone()

public SetAgentRequest.Builder clone()
Returns
TypeDescription
SetAgentRequest.Builder
Overrides

getAgent()

public Agent getAgent()

Required. The agent to update.

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

Returns
TypeDescription
Agent

The agent.

getAgentBuilder()

public Agent.Builder getAgentBuilder()

Required. The agent to update.

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

Returns
TypeDescription
Agent.Builder

getAgentOrBuilder()

public AgentOrBuilder getAgentOrBuilder()

Required. The agent to update.

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

Returns
TypeDescription
AgentOrBuilder

getDefaultInstanceForType()

public SetAgentRequest getDefaultInstanceForType()
Returns
TypeDescription
SetAgentRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getUpdateMask()

public FieldMask getUpdateMask()

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
FieldMaskOrBuilder

hasAgent()

public boolean hasAgent()

Required. The agent to update.

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

Returns
TypeDescription
boolean

Whether the agent field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2;

Returns
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAgent(Agent value)

public SetAgentRequest.Builder mergeAgent(Agent value)

Required. The agent to update.

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

Parameter
NameDescription
valueAgent
Returns
TypeDescription
SetAgentRequest.Builder

mergeFrom(SetAgentRequest other)

public SetAgentRequest.Builder mergeFrom(SetAgentRequest other)
Parameter
NameDescription
otherSetAgentRequest
Returns
TypeDescription
SetAgentRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SetAgentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SetAgentRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SetAgentRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SetAgentRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SetAgentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SetAgentRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public SetAgentRequest.Builder mergeUpdateMask(FieldMask value)

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
SetAgentRequest.Builder

setAgent(Agent value)

public SetAgentRequest.Builder setAgent(Agent value)

Required. The agent to update.

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

Parameter
NameDescription
valueAgent
Returns
TypeDescription
SetAgentRequest.Builder

setAgent(Agent.Builder builderForValue)

public SetAgentRequest.Builder setAgent(Agent.Builder builderForValue)

Required. The agent to update.

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

Parameter
NameDescription
builderForValueAgent.Builder
Returns
TypeDescription
SetAgentRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SetAgentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SetAgentRequest.Builder
Overrides

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

public SetAgentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SetAgentRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SetAgentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SetAgentRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public SetAgentRequest.Builder setUpdateMask(FieldMask value)

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
SetAgentRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public SetAgentRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. The mask to control which fields get updated.

.google.protobuf.FieldMask update_mask = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
SetAgentRequest.Builder