Class SetAgentRequest (4.4.0)

public final class SetAgentRequest extends GeneratedMessageV3 implements SetAgentRequestOrBuilder

The request message for Agents.SetAgent.

Protobuf type google.cloud.dialogflow.v2beta1.SetAgentRequest

Fields

AGENT_FIELD_NUMBER

public static final int AGENT_FIELD_NUMBER
Field Value
TypeDescription
int

UPDATE_MASK_FIELD_NUMBER

public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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.

getAgentOrBuilder()

public AgentOrBuilder getAgentOrBuilder()

Required. The agent to update.

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

Returns
TypeDescription
AgentOrBuilder

getDefaultInstance()

public static SetAgentRequest getDefaultInstance()
Returns
TypeDescription
SetAgentRequest

getDefaultInstanceForType()

public SetAgentRequest getDefaultInstanceForType()
Returns
TypeDescription
SetAgentRequest

getDescriptor()

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

getParserForType()

public Parser<SetAgentRequest> getParserForType()
Returns
TypeDescription
Parser<SetAgentRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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.

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilder()

public static SetAgentRequest.Builder newBuilder()
Returns
TypeDescription
SetAgentRequest.Builder

newBuilder(SetAgentRequest prototype)

public static SetAgentRequest.Builder newBuilder(SetAgentRequest prototype)
Parameter
NameDescription
prototypeSetAgentRequest
Returns
TypeDescription
SetAgentRequest.Builder

newBuilderForType()

public SetAgentRequest.Builder newBuilderForType()
Returns
TypeDescription
SetAgentRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SetAgentRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SetAgentRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

parseDelimitedFrom(InputStream input)

public static SetAgentRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SetAgentRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SetAgentRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SetAgentRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SetAgentRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SetAgentRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SetAgentRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SetAgentRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SetAgentRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SetAgentRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SetAgentRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SetAgentRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SetAgentRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SetAgentRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SetAgentRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SetAgentRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SetAgentRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SetAgentRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SetAgentRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SetAgentRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SetAgentRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SetAgentRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SetAgentRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SetAgentRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SetAgentRequest> parser()
Returns
TypeDescription
Parser<SetAgentRequest>

toBuilder()

public SetAgentRequest.Builder toBuilder()
Returns
TypeDescription
SetAgentRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException