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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExportAgentResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ExportAgentResponse build()
Returns
buildPartial()
public ExportAgentResponse buildPartial()
Returns
clear()
public ExportAgentResponse.Builder clear()
Returns
Overrides
clearAgent()
public ExportAgentResponse.Builder clearAgent()
Returns
clearAgentContent()
public ExportAgentResponse.Builder clearAgentContent()
Zip compressed raw byte content for agent.
bytes agent_content = 2;
Returns
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
clearField(Descriptors.FieldDescriptor field)
public ExportAgentResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ExportAgentResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ExportAgentResponse.Builder clone()
Returns
Overrides
getAgentCase()
public ExportAgentResponse.AgentCase getAgentCase()
Returns
getAgentContent()
public ByteString getAgentContent()
Zip compressed 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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ExportAgentResponse other)
public ExportAgentResponse.Builder mergeFrom(ExportAgentResponse other)
Parameter
Returns
public ExportAgentResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ExportAgentResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExportAgentResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
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
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
setField(Descriptors.FieldDescriptor field, Object value)
public ExportAgentResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExportAgentResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ExportAgentResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides