Class ExportAgentResponse (0.24.0)

public final class ExportAgentResponse extends GeneratedMessageV3 implements ExportAgentResponseOrBuilder

The response message for Agents.ExportAgent.

Protobuf type google.cloud.dialogflow.cx.v3beta1.ExportAgentResponse

Static Fields

AGENT_CONTENT_FIELD_NUMBER

public static final int AGENT_CONTENT_FIELD_NUMBER
Field Value
Type Description
int

AGENT_URI_FIELD_NUMBER

public static final int AGENT_URI_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExportAgentResponse getDefaultInstance()
Returns
Type Description
ExportAgentResponse

getDescriptor()

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

newBuilder()

public static ExportAgentResponse.Builder newBuilder()
Returns
Type Description
ExportAgentResponse.Builder

newBuilder(ExportAgentResponse prototype)

public static ExportAgentResponse.Builder newBuilder(ExportAgentResponse prototype)
Parameter
Name Description
prototype ExportAgentResponse
Returns
Type Description
ExportAgentResponse.Builder

parseDelimitedFrom(InputStream input)

public static ExportAgentResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExportAgentResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportAgentResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportAgentResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ExportAgentResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ExportAgentResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExportAgentResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportAgentResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExportAgentResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ExportAgentResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExportAgentResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportAgentResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExportAgentResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ExportAgentResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportAgentResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportAgentResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ExportAgentResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExportAgentResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportAgentResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportAgentResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ExportAgentResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ExportAgentResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExportAgentResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportAgentResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ExportAgentResponse> parser()
Returns
Type Description
Parser<ExportAgentResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAgentCase()

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

getAgentContent()

public ByteString getAgentContent()

Uncompressed 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

getParserForType()

public Parser<ExportAgentResponse> getParserForType()
Returns
Type Description
Parser<ExportAgentResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

hasAgentContent()

public boolean hasAgentContent()

Uncompressed 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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ExportAgentResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ExportAgentResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException