Class ExportAgentResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExportAgentResponse.Builder>
com.google.cloud.dialogflow.cx.v3beta1.ExportAgentResponse.Builder
- All Implemented Interfaces:
ExportAgentResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ExportAgentResponse
public static final class ExportAgentResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ExportAgentResponse.Builder>
implements ExportAgentResponseOrBuilder
The response message for [Agents.ExportAgent][google.cloud.dialogflow.cx.v3beta1.Agents.ExportAgent].Protobuf type
google.cloud.dialogflow.cx.v3beta1.ExportAgentResponse-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Uncompressed raw byte content for agent.The URI to a file containing the exported agent.Commit SHA of the git push.com.google.protobuf.ByteStringUncompressed raw byte content for agent.The URI to a file containing the exported agent.com.google.protobuf.ByteStringThe URI to a file containing the exported agent.Commit SHA of the git push.com.google.protobuf.ByteStringCommit SHA of the git push.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanUncompressed raw byte content for agent.booleanThe URI to a file containing the exported agent.booleanCommit SHA of the git push.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ExportAgentResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAgentContent(com.google.protobuf.ByteString value) Uncompressed raw byte content for agent.setAgentUri(String value) The URI to a file containing the exported agent.setAgentUriBytes(com.google.protobuf.ByteString value) The URI to a file containing the exported agent.setCommitSha(String value) Commit SHA of the git push.setCommitShaBytes(com.google.protobuf.ByteString value) Commit SHA of the git push.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ExportAgentResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ExportAgentResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ExportAgentResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExportAgentResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ExportAgentResponse.Builder>
-
mergeFrom
public ExportAgentResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExportAgentResponse.Builder>- Throws:
IOException
-
getAgentCase
- Specified by:
getAgentCasein interfaceExportAgentResponseOrBuilder
-
clearAgent
-
hasAgentUri
public boolean hasAgentUri()The URI to a file containing the exported agent. This field is populated if `agent_uri` is specified in [ExportAgentRequest][google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest].
string agent_uri = 1;- Specified by:
hasAgentUriin interfaceExportAgentResponseOrBuilder- Returns:
- Whether the agentUri field is set.
-
getAgentUri
The URI to a file containing the exported agent. This field is populated if `agent_uri` is specified in [ExportAgentRequest][google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest].
string agent_uri = 1;- Specified by:
getAgentUriin interfaceExportAgentResponseOrBuilder- Returns:
- The agentUri.
-
getAgentUriBytes
public com.google.protobuf.ByteString getAgentUriBytes()The URI to a file containing the exported agent. This field is populated if `agent_uri` is specified in [ExportAgentRequest][google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest].
string agent_uri = 1;- Specified by:
getAgentUriBytesin interfaceExportAgentResponseOrBuilder- Returns:
- The bytes for agentUri.
-
setAgentUri
The URI to a file containing the exported agent. This field is populated if `agent_uri` is specified in [ExportAgentRequest][google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest].
string agent_uri = 1;- Parameters:
value- The agentUri to set.- Returns:
- This builder for chaining.
-
clearAgentUri
The URI to a file containing the exported agent. This field is populated if `agent_uri` is specified in [ExportAgentRequest][google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest].
string agent_uri = 1;- Returns:
- This builder for chaining.
-
setAgentUriBytes
The URI to a file containing the exported agent. This field is populated if `agent_uri` is specified in [ExportAgentRequest][google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest].
string agent_uri = 1;- Parameters:
value- The bytes for agentUri to set.- Returns:
- This builder for chaining.
-
hasAgentContent
public boolean hasAgentContent()Uncompressed raw byte content for agent. This field is populated if none of `agent_uri` and `git_destination` are specified in [ExportAgentRequest][google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest].
bytes agent_content = 2;- Specified by:
hasAgentContentin interfaceExportAgentResponseOrBuilder- Returns:
- Whether the agentContent field is set.
-
getAgentContent
public com.google.protobuf.ByteString getAgentContent()Uncompressed raw byte content for agent. This field is populated if none of `agent_uri` and `git_destination` are specified in [ExportAgentRequest][google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest].
bytes agent_content = 2;- Specified by:
getAgentContentin interfaceExportAgentResponseOrBuilder- Returns:
- The agentContent.
-
setAgentContent
Uncompressed raw byte content for agent. This field is populated if none of `agent_uri` and `git_destination` are specified in [ExportAgentRequest][google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest].
bytes agent_content = 2;- Parameters:
value- The agentContent to set.- Returns:
- This builder for chaining.
-
clearAgentContent
Uncompressed raw byte content for agent. This field is populated if none of `agent_uri` and `git_destination` are specified in [ExportAgentRequest][google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest].
bytes agent_content = 2;- Returns:
- This builder for chaining.
-
hasCommitSha
public boolean hasCommitSha()Commit SHA of the git push. This field is populated if `git_destination` is specified in [ExportAgentRequest][google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest].
string commit_sha = 3;- Specified by:
hasCommitShain interfaceExportAgentResponseOrBuilder- Returns:
- Whether the commitSha field is set.
-
getCommitSha
Commit SHA of the git push. This field is populated if `git_destination` is specified in [ExportAgentRequest][google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest].
string commit_sha = 3;- Specified by:
getCommitShain interfaceExportAgentResponseOrBuilder- Returns:
- The commitSha.
-
getCommitShaBytes
public com.google.protobuf.ByteString getCommitShaBytes()Commit SHA of the git push. This field is populated if `git_destination` is specified in [ExportAgentRequest][google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest].
string commit_sha = 3;- Specified by:
getCommitShaBytesin interfaceExportAgentResponseOrBuilder- Returns:
- The bytes for commitSha.
-
setCommitSha
Commit SHA of the git push. This field is populated if `git_destination` is specified in [ExportAgentRequest][google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest].
string commit_sha = 3;- Parameters:
value- The commitSha to set.- Returns:
- This builder for chaining.
-
clearCommitSha
Commit SHA of the git push. This field is populated if `git_destination` is specified in [ExportAgentRequest][google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest].
string commit_sha = 3;- Returns:
- This builder for chaining.
-
setCommitShaBytes
Commit SHA of the git push. This field is populated if `git_destination` is specified in [ExportAgentRequest][google.cloud.dialogflow.cx.v3beta1.ExportAgentRequest].
string commit_sha = 3;- Parameters:
value- The bytes for commitSha to set.- Returns:
- This builder for chaining.
-