public static final class ExportAgentResponse.Builder extends GeneratedMessage.Builder<ExportAgentResponse.Builder> implements ExportAgentResponseOrBuilderThe response message for Agents.ExportAgent.
Protobuf type google.cloud.dialogflow.v2.ExportAgentResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ExportAgentResponse.BuilderImplements
ExportAgentResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
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 |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ExportAgentResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ExportAgentResponse.Builder |
|
setAgentContent(ByteString value)
public ExportAgentResponse.Builder setAgentContent(ByteString value)Zip compressed raw byte content for agent.
bytes agent_content = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for agentUri to set. |
| Returns | |
|---|---|
| Type | Description |
ExportAgentResponse.Builder |
This builder for chaining. |