Package com.google.cloud.dialogflow.v2
Class UndeployConversationModelOperationMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<UndeployConversationModelOperationMetadata.Builder>
com.google.cloud.dialogflow.v2.UndeployConversationModelOperationMetadata.Builder
- All Implemented Interfaces:
UndeployConversationModelOperationMetadataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- UndeployConversationModelOperationMetadata
public static final class UndeployConversationModelOperationMetadata.Builder
extends com.google.protobuf.GeneratedMessage.Builder<UndeployConversationModelOperationMetadata.Builder>
implements UndeployConversationModelOperationMetadataOrBuilder
Metadata for a [ConversationModels.UndeployConversationModel][google.cloud.dialogflow.v2.ConversationModels.UndeployConversationModel] operation.Protobuf type
google.cloud.dialogflow.v2.UndeployConversationModelOperationMetadata-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The resource name of the conversation model.Timestamp when the request to undeploy conversation model was submitted.The time when the operation finished.The resource name of the conversation model.com.google.protobuf.ByteStringThe resource name of the conversation model.com.google.protobuf.TimestampTimestamp when the request to undeploy conversation model was submitted.com.google.protobuf.Timestamp.BuilderTimestamp when the request to undeploy conversation model was submitted.com.google.protobuf.TimestampOrBuilderTimestamp when the request to undeploy conversation model was submitted.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampThe time when the operation finished.com.google.protobuf.Timestamp.BuilderThe time when the operation finished.com.google.protobuf.TimestampOrBuilderThe time when the operation finished.booleanTimestamp when the request to undeploy conversation model was submitted.booleanThe time when the operation finished.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeCreateTime(com.google.protobuf.Timestamp value) Timestamp when the request to undeploy conversation model was submitted.mergeDoneTime(com.google.protobuf.Timestamp value) The time when the operation finished.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setConversationModel(String value) The resource name of the conversation model.setConversationModelBytes(com.google.protobuf.ByteString value) The resource name of the conversation model.setCreateTime(com.google.protobuf.Timestamp value) Timestamp when the request to undeploy conversation model was submitted.setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp when the request to undeploy conversation model was submitted.setDoneTime(com.google.protobuf.Timestamp value) The time when the operation finished.setDoneTime(com.google.protobuf.Timestamp.Builder builderForValue) The time when the operation finished.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<UndeployConversationModelOperationMetadata.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<UndeployConversationModelOperationMetadata.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<UndeployConversationModelOperationMetadata.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
public UndeployConversationModelOperationMetadata.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UndeployConversationModelOperationMetadata.Builder>
-
mergeFrom
public UndeployConversationModelOperationMetadata.Builder mergeFrom(UndeployConversationModelOperationMetadata other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<UndeployConversationModelOperationMetadata.Builder>
-
mergeFrom
public UndeployConversationModelOperationMetadata.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<UndeployConversationModelOperationMetadata.Builder>- Throws:
IOException
-
getConversationModel
The resource name of the conversation model. Format: `projects/<Project ID>/conversationModels/<Conversation Model Id>`
string conversation_model = 1;- Specified by:
getConversationModelin interfaceUndeployConversationModelOperationMetadataOrBuilder- Returns:
- The conversationModel.
-
getConversationModelBytes
public com.google.protobuf.ByteString getConversationModelBytes()The resource name of the conversation model. Format: `projects/<Project ID>/conversationModels/<Conversation Model Id>`
string conversation_model = 1;- Specified by:
getConversationModelBytesin interfaceUndeployConversationModelOperationMetadataOrBuilder- Returns:
- The bytes for conversationModel.
-
setConversationModel
The resource name of the conversation model. Format: `projects/<Project ID>/conversationModels/<Conversation Model Id>`
string conversation_model = 1;- Parameters:
value- The conversationModel to set.- Returns:
- This builder for chaining.
-
clearConversationModel
The resource name of the conversation model. Format: `projects/<Project ID>/conversationModels/<Conversation Model Id>`
string conversation_model = 1;- Returns:
- This builder for chaining.
-
setConversationModelBytes
public UndeployConversationModelOperationMetadata.Builder setConversationModelBytes(com.google.protobuf.ByteString value) The resource name of the conversation model. Format: `projects/<Project ID>/conversationModels/<Conversation Model Id>`
string conversation_model = 1;- Parameters:
value- The bytes for conversationModel to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()Timestamp when the request to undeploy conversation model was submitted. The time is measured on server side.
.google.protobuf.Timestamp create_time = 3;- Specified by:
hasCreateTimein interfaceUndeployConversationModelOperationMetadataOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()Timestamp when the request to undeploy conversation model was submitted. The time is measured on server side.
.google.protobuf.Timestamp create_time = 3;- Specified by:
getCreateTimein interfaceUndeployConversationModelOperationMetadataOrBuilder- Returns:
- The createTime.
-
setCreateTime
public UndeployConversationModelOperationMetadata.Builder setCreateTime(com.google.protobuf.Timestamp value) Timestamp when the request to undeploy conversation model was submitted. The time is measured on server side.
.google.protobuf.Timestamp create_time = 3; -
setCreateTime
public UndeployConversationModelOperationMetadata.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) Timestamp when the request to undeploy conversation model was submitted. The time is measured on server side.
.google.protobuf.Timestamp create_time = 3; -
mergeCreateTime
public UndeployConversationModelOperationMetadata.Builder mergeCreateTime(com.google.protobuf.Timestamp value) Timestamp when the request to undeploy conversation model was submitted. The time is measured on server side.
.google.protobuf.Timestamp create_time = 3; -
clearCreateTime
Timestamp when the request to undeploy conversation model was submitted. The time is measured on server side.
.google.protobuf.Timestamp create_time = 3; -
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()Timestamp when the request to undeploy conversation model was submitted. The time is measured on server side.
.google.protobuf.Timestamp create_time = 3; -
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Timestamp when the request to undeploy conversation model was submitted. The time is measured on server side.
.google.protobuf.Timestamp create_time = 3;- Specified by:
getCreateTimeOrBuilderin interfaceUndeployConversationModelOperationMetadataOrBuilder
-
hasDoneTime
public boolean hasDoneTime()The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;- Specified by:
hasDoneTimein interfaceUndeployConversationModelOperationMetadataOrBuilder- Returns:
- Whether the doneTime field is set.
-
getDoneTime
public com.google.protobuf.Timestamp getDoneTime()The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;- Specified by:
getDoneTimein interfaceUndeployConversationModelOperationMetadataOrBuilder- Returns:
- The doneTime.
-
setDoneTime
public UndeployConversationModelOperationMetadata.Builder setDoneTime(com.google.protobuf.Timestamp value) The time when the operation finished.
.google.protobuf.Timestamp done_time = 4; -
setDoneTime
public UndeployConversationModelOperationMetadata.Builder setDoneTime(com.google.protobuf.Timestamp.Builder builderForValue) The time when the operation finished.
.google.protobuf.Timestamp done_time = 4; -
mergeDoneTime
public UndeployConversationModelOperationMetadata.Builder mergeDoneTime(com.google.protobuf.Timestamp value) The time when the operation finished.
.google.protobuf.Timestamp done_time = 4; -
clearDoneTime
The time when the operation finished.
.google.protobuf.Timestamp done_time = 4; -
getDoneTimeBuilder
public com.google.protobuf.Timestamp.Builder getDoneTimeBuilder()The time when the operation finished.
.google.protobuf.Timestamp done_time = 4; -
getDoneTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getDoneTimeOrBuilder()The time when the operation finished.
.google.protobuf.Timestamp done_time = 4;- Specified by:
getDoneTimeOrBuilderin interfaceUndeployConversationModelOperationMetadataOrBuilder
-