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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<UndeployConversationModelOperationMetadata.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<UndeployConversationModelOperationMetadata.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<UndeployConversationModelOperationMetadata.Builder>
    • getDefaultInstanceForType

      public UndeployConversationModelOperationMetadata getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public UndeployConversationModelOperationMetadata.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UndeployConversationModelOperationMetadata.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UndeployConversationModelOperationMetadata.Builder>
      Throws:
      IOException
    • getConversationModel

      public String getConversationModel()
       The resource name of the conversation model. Format:
       `projects/<Project ID>/conversationModels/<Conversation Model Id>`
       
      string conversation_model = 1;
      Specified by:
      getConversationModel in interface UndeployConversationModelOperationMetadataOrBuilder
      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:
      getConversationModelBytes in interface UndeployConversationModelOperationMetadataOrBuilder
      Returns:
      The bytes for conversationModel.
    • setConversationModel

      public UndeployConversationModelOperationMetadata.Builder setConversationModel(String value)
       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

      public UndeployConversationModelOperationMetadata.Builder 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:
      hasCreateTime in interface UndeployConversationModelOperationMetadataOrBuilder
      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:
      getCreateTime in interface UndeployConversationModelOperationMetadataOrBuilder
      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:
      getCreateTimeOrBuilder in interface UndeployConversationModelOperationMetadataOrBuilder
    • hasDoneTime

      public boolean hasDoneTime()
       The time when the operation finished.
       
      .google.protobuf.Timestamp done_time = 4;
      Specified by:
      hasDoneTime in interface UndeployConversationModelOperationMetadataOrBuilder
      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:
      getDoneTime in interface UndeployConversationModelOperationMetadataOrBuilder
      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:
      getDoneTimeOrBuilder in interface UndeployConversationModelOperationMetadataOrBuilder