public static final class ExportAgentResponse.Builder extends GeneratedMessageV3.Builder<ExportAgentResponse.Builder> implements ExportAgentResponseOrBuilder
The response message for [Agents.ExportAgent][google.cloud.dialogflow.v2.Agents.ExportAgent].Protobuf type
google.cloud.dialogflow.v2.ExportAgentResponse
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ExportAgentResponse.Builder>
public ExportAgentResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ExportAgentResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ExportAgentResponse.Builder>
public ExportAgentResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ExportAgentResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ExportAgentResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ExportAgentResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ExportAgentResponse.Builder>
public ExportAgentResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ExportAgentResponse.Builder>
public ExportAgentResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ExportAgentResponse.Builder>
public ExportAgentResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ExportAgentResponse.Builder>
public ExportAgentResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ExportAgentResponse.Builder>
public ExportAgentResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ExportAgentResponse.Builder>
public ExportAgentResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ExportAgentResponse.Builder>
public ExportAgentResponse.Builder mergeFrom(ExportAgentResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ExportAgentResponse.Builder>
public ExportAgentResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ExportAgentResponse.Builder>
IOException
public ExportAgentResponse.AgentCase getAgentCase()
getAgentCase
in interface ExportAgentResponseOrBuilder
public ExportAgentResponse.Builder clearAgent()
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;
getAgentUri
in interface ExportAgentResponseOrBuilder
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;
getAgentUriBytes
in interface ExportAgentResponseOrBuilder
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;
value
- The agentUri to set.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;
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;
value
- The bytes for agentUri to set.public ByteString getAgentContent()
Zip compressed raw byte content for agent.
bytes agent_content = 2;
getAgentContent
in interface ExportAgentResponseOrBuilder
public ExportAgentResponse.Builder setAgentContent(ByteString value)
Zip compressed raw byte content for agent.
bytes agent_content = 2;
value
- The agentContent to set.public ExportAgentResponse.Builder clearAgentContent()
Zip compressed raw byte content for agent.
bytes agent_content = 2;
public final ExportAgentResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ExportAgentResponse.Builder>
public final ExportAgentResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ExportAgentResponse.Builder>
Copyright © 2021 Google LLC. All rights reserved.