Class ExportAgentResponse.Builder (4.28.0)

public static final class ExportAgentResponse.Builder extends GeneratedMessageV3.Builder<ExportAgentResponse.Builder> implements ExportAgentResponseOrBuilder

The response message for Agents.ExportAgent.

Protobuf type google.cloud.dialogflow.v2beta1.ExportAgentResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ExportAgentResponse build()
Returns
Type Description
ExportAgentResponse

buildPartial()

public ExportAgentResponse buildPartial()
Returns
Type Description
ExportAgentResponse

clear()

public ExportAgentResponse.Builder clear()
Returns
Type Description
ExportAgentResponse.Builder
Overrides

clearAgent()

public ExportAgentResponse.Builder clearAgent()
Returns
Type Description
ExportAgentResponse.Builder

clearAgentContent()

public ExportAgentResponse.Builder clearAgentContent()

Zip compressed raw byte content for agent.

bytes agent_content = 2;

Returns
Type Description
ExportAgentResponse.Builder

This builder for chaining.

clearAgentUri()

public ExportAgentResponse.Builder clearAgentUri()

The URI to a file containing the exported agent. This field is populated only if agent_uri is specified in ExportAgentRequest.

string agent_uri = 1;

Returns
Type Description
ExportAgentResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAgentCase()

public ExportAgentResponse.AgentCase getAgentCase()
Returns
Type Description
ExportAgentResponse.AgentCase

getAgentContent()

public ByteString getAgentContent()

Zip compressed raw byte content for agent.

bytes agent_content = 2;

Returns
Type Description
ByteString

The agentContent.

getAgentUri()

public String getAgentUri()

The URI to a file containing the exported agent. This field is populated only if agent_uri is specified in ExportAgentRequest.

string agent_uri = 1;

Returns
Type Description
String

The agentUri.

getAgentUriBytes()

public ByteString getAgentUriBytes()

The URI to a file containing the exported agent. This field is populated only if agent_uri is specified in ExportAgentRequest.

string agent_uri = 1;

Returns
Type Description
ByteString

The bytes for agentUri.

getDefaultInstanceForType()

public ExportAgentResponse getDefaultInstanceForType()
Returns
Type Description
ExportAgentResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

hasAgentContent()

public boolean hasAgentContent()

Zip compressed raw byte content for agent.

bytes agent_content = 2;

Returns
Type Description
boolean

Whether the agentContent field is set.

hasAgentUri()

public boolean hasAgentUri()

The URI to a file containing the exported agent. This field is populated only if agent_uri is specified in ExportAgentRequest.

string agent_uri = 1;

Returns
Type Description
boolean

Whether the agentUri field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExportAgentResponse other)

public ExportAgentResponse.Builder mergeFrom(ExportAgentResponse other)
Parameter
Name Description
other ExportAgentResponse
Returns
Type Description
ExportAgentResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExportAgentResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportAgentResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAgentContent(ByteString value)

public ExportAgentResponse.Builder setAgentContent(ByteString value)

Zip compressed raw byte content for agent.

bytes agent_content = 2;

Parameter
Name Description
value ByteString

The agentContent to set.

Returns
Type Description
ExportAgentResponse.Builder

This builder for chaining.

setAgentUri(String value)

public ExportAgentResponse.Builder setAgentUri(String value)

The URI to a file containing the exported agent. This field is populated only if agent_uri is specified in ExportAgentRequest.

string agent_uri = 1;

Parameter
Name Description
value String

The agentUri to set.

Returns
Type Description
ExportAgentResponse.Builder

This builder for chaining.

setAgentUriBytes(ByteString value)

public ExportAgentResponse.Builder setAgentUriBytes(ByteString value)

The URI to a file containing the exported agent. This field is populated only if agent_uri is specified in ExportAgentRequest.

string agent_uri = 1;

Parameter
Name Description
value ByteString

The bytes for agentUri to set.

Returns
Type Description
ExportAgentResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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