public static final class ExportAgentResponse.Builder extends GeneratedMessageV3.Builder<ExportAgentResponse.Builder> implements ExportAgentResponseOrBuilder
The response message for
Agents.ExportAgent.
Protobuf type google.cloud.dialogflow.v2.ExportAgentResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExportAgentResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ExportAgentResponse build()
buildPartial()
public ExportAgentResponse buildPartial()
clear()
public ExportAgentResponse.Builder clear()
Overrides
clearAgent()
public ExportAgentResponse.Builder clearAgent()
clearAgentContent()
public ExportAgentResponse.Builder clearAgentContent()
Zip compressed raw byte content for agent.
bytes agent_content = 2;
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;
clearField(Descriptors.FieldDescriptor field)
public ExportAgentResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ExportAgentResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ExportAgentResponse.Builder clone()
Overrides
getAgentCase()
public ExportAgentResponse.AgentCase getAgentCase()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ExportAgentResponse other)
public ExportAgentResponse.Builder mergeFrom(ExportAgentResponse other)
public ExportAgentResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ExportAgentResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExportAgentResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ExportAgentResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExportAgentResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ExportAgentResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides