public final class ExportAgentResponse extends GeneratedMessageV3 implements ExportAgentResponseOrBuilder
The response message for Agents.ExportAgent.
Protobuf type google.cloud.dialogflow.cx.v3.ExportAgentResponse
Static Fields
AGENT_CONTENT_FIELD_NUMBER
public static final int AGENT_CONTENT_FIELD_NUMBER
Field Value
AGENT_URI_FIELD_NUMBER
public static final int AGENT_URI_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ExportAgentResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static ExportAgentResponse.Builder newBuilder()
Returns
newBuilder(ExportAgentResponse prototype)
public static ExportAgentResponse.Builder newBuilder(ExportAgentResponse prototype)
Parameter
Returns
public static ExportAgentResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ExportAgentResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ExportAgentResponse parseFrom(byte[] data)
Parameter
Name |
Description |
data |
byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ExportAgentResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ExportAgentResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ExportAgentResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ExportAgentResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ExportAgentResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ExportAgentResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ExportAgentResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ExportAgentResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ExportAgentResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ExportAgentResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAgentCase()
public ExportAgentResponse.AgentCase getAgentCase()
Returns
getAgentContent()
public ByteString getAgentContent()
Uncompressed raw byte content for agent.
bytes agent_content = 2;
Returns
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
getParserForType()
public Parser<ExportAgentResponse> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public ExportAgentResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ExportAgentResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public ExportAgentResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions