Class ExportAgentResponse (4.3.1)

public final class ExportAgentResponse extends GeneratedMessageV3 implements ExportAgentResponseOrBuilder

The response message for Agents.ExportAgent.

Protobuf type google.cloud.dialogflow.v2.ExportAgentResponse

Fields

AGENT_CONTENT_FIELD_NUMBER

public static final int AGENT_CONTENT_FIELD_NUMBER
Field Value
TypeDescription
int

AGENT_URI_FIELD_NUMBER

public static final int AGENT_URI_FIELD_NUMBER
Field Value
TypeDescription
int

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAgentCase()

public ExportAgentResponse.AgentCase getAgentCase()
Returns
TypeDescription
ExportAgentResponse.AgentCase

getAgentContent()

public ByteString getAgentContent()

Zip compressed raw byte content for agent.

bytes agent_content = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for agentUri.

getDefaultInstance()

public static ExportAgentResponse getDefaultInstance()
Returns
TypeDescription
ExportAgentResponse

getDefaultInstanceForType()

public ExportAgentResponse getDefaultInstanceForType()
Returns
TypeDescription
ExportAgentResponse

getDescriptor()

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

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasAgentContent()

public boolean hasAgentContent()

Zip compressed raw byte content for agent.

bytes agent_content = 2;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the agentUri 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 ExportAgentResponse.Builder newBuilder()
Returns
TypeDescription
ExportAgentResponse.Builder

newBuilder(ExportAgentResponse prototype)

public static ExportAgentResponse.Builder newBuilder(ExportAgentResponse prototype)
Parameter
NameDescription
prototypeExportAgentResponse
Returns
TypeDescription
ExportAgentResponse.Builder

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

toBuilder()

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

writeTo(CodedOutputStream output)

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