Class SetSuggestionFeatureConfigOperationMetadata.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SetSuggestionFeatureConfigOperationMetadata.Builder>
com.google.cloud.dialogflow.v2.SetSuggestionFeatureConfigOperationMetadata.Builder
All Implemented Interfaces:
SetSuggestionFeatureConfigOperationMetadataOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
SetSuggestionFeatureConfigOperationMetadata

public static final class SetSuggestionFeatureConfigOperationMetadata.Builder extends com.google.protobuf.GeneratedMessage.Builder<SetSuggestionFeatureConfigOperationMetadata.Builder> implements SetSuggestionFeatureConfigOperationMetadataOrBuilder
 Metadata for a
 [ConversationProfiles.SetSuggestionFeatureConfig][google.cloud.dialogflow.v2.ConversationProfiles.SetSuggestionFeatureConfig]
 operation.
 
Protobuf type google.cloud.dialogflow.v2.SetSuggestionFeatureConfigOperationMetadata
  • 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<SetSuggestionFeatureConfigOperationMetadata.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<SetSuggestionFeatureConfigOperationMetadata.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<SetSuggestionFeatureConfigOperationMetadata.Builder>
    • getDefaultInstanceForType

      public SetSuggestionFeatureConfigOperationMetadata 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 SetSuggestionFeatureConfigOperationMetadata.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<SetSuggestionFeatureConfigOperationMetadata.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<SetSuggestionFeatureConfigOperationMetadata.Builder>
    • mergeFrom

      public SetSuggestionFeatureConfigOperationMetadata.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<SetSuggestionFeatureConfigOperationMetadata.Builder>
      Throws:
      IOException
    • getConversationProfile

      public String getConversationProfile()
       The resource name of the conversation profile. Format:
       `projects/<Project ID>/locations/<Location
       ID>/conversationProfiles/<Conversation Profile ID>`
       
      string conversation_profile = 1;
      Specified by:
      getConversationProfile in interface SetSuggestionFeatureConfigOperationMetadataOrBuilder
      Returns:
      The conversationProfile.
    • getConversationProfileBytes

      public com.google.protobuf.ByteString getConversationProfileBytes()
       The resource name of the conversation profile. Format:
       `projects/<Project ID>/locations/<Location
       ID>/conversationProfiles/<Conversation Profile ID>`
       
      string conversation_profile = 1;
      Specified by:
      getConversationProfileBytes in interface SetSuggestionFeatureConfigOperationMetadataOrBuilder
      Returns:
      The bytes for conversationProfile.
    • setConversationProfile

      public SetSuggestionFeatureConfigOperationMetadata.Builder setConversationProfile(String value)
       The resource name of the conversation profile. Format:
       `projects/<Project ID>/locations/<Location
       ID>/conversationProfiles/<Conversation Profile ID>`
       
      string conversation_profile = 1;
      Parameters:
      value - The conversationProfile to set.
      Returns:
      This builder for chaining.
    • clearConversationProfile

      public SetSuggestionFeatureConfigOperationMetadata.Builder clearConversationProfile()
       The resource name of the conversation profile. Format:
       `projects/<Project ID>/locations/<Location
       ID>/conversationProfiles/<Conversation Profile ID>`
       
      string conversation_profile = 1;
      Returns:
      This builder for chaining.
    • setConversationProfileBytes

      public SetSuggestionFeatureConfigOperationMetadata.Builder setConversationProfileBytes(com.google.protobuf.ByteString value)
       The resource name of the conversation profile. Format:
       `projects/<Project ID>/locations/<Location
       ID>/conversationProfiles/<Conversation Profile ID>`
       
      string conversation_profile = 1;
      Parameters:
      value - The bytes for conversationProfile to set.
      Returns:
      This builder for chaining.
    • getParticipantRoleValue

      public int getParticipantRoleValue()
       Required. The participant role to add or update the suggestion feature
       config. Only HUMAN_AGENT or END_USER can be used.
       
      .google.cloud.dialogflow.v2.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getParticipantRoleValue in interface SetSuggestionFeatureConfigOperationMetadataOrBuilder
      Returns:
      The enum numeric value on the wire for participantRole.
    • setParticipantRoleValue

      public SetSuggestionFeatureConfigOperationMetadata.Builder setParticipantRoleValue(int value)
       Required. The participant role to add or update the suggestion feature
       config. Only HUMAN_AGENT or END_USER can be used.
       
      .google.cloud.dialogflow.v2.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The enum numeric value on the wire for participantRole to set.
      Returns:
      This builder for chaining.
    • getParticipantRole

      public Participant.Role getParticipantRole()
       Required. The participant role to add or update the suggestion feature
       config. Only HUMAN_AGENT or END_USER can be used.
       
      .google.cloud.dialogflow.v2.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getParticipantRole in interface SetSuggestionFeatureConfigOperationMetadataOrBuilder
      Returns:
      The participantRole.
    • setParticipantRole

       Required. The participant role to add or update the suggestion feature
       config. Only HUMAN_AGENT or END_USER can be used.
       
      .google.cloud.dialogflow.v2.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The participantRole to set.
      Returns:
      This builder for chaining.
    • clearParticipantRole

       Required. The participant role to add or update the suggestion feature
       config. Only HUMAN_AGENT or END_USER can be used.
       
      .google.cloud.dialogflow.v2.Participant.Role participant_role = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • getSuggestionFeatureTypeValue

      public int getSuggestionFeatureTypeValue()
       Required. The type of the suggestion feature to add or update.
       
      .google.cloud.dialogflow.v2.SuggestionFeature.Type suggestion_feature_type = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSuggestionFeatureTypeValue in interface SetSuggestionFeatureConfigOperationMetadataOrBuilder
      Returns:
      The enum numeric value on the wire for suggestionFeatureType.
    • setSuggestionFeatureTypeValue

      public SetSuggestionFeatureConfigOperationMetadata.Builder setSuggestionFeatureTypeValue(int value)
       Required. The type of the suggestion feature to add or update.
       
      .google.cloud.dialogflow.v2.SuggestionFeature.Type suggestion_feature_type = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The enum numeric value on the wire for suggestionFeatureType to set.
      Returns:
      This builder for chaining.
    • getSuggestionFeatureType

      public SuggestionFeature.Type getSuggestionFeatureType()
       Required. The type of the suggestion feature to add or update.
       
      .google.cloud.dialogflow.v2.SuggestionFeature.Type suggestion_feature_type = 3 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSuggestionFeatureType in interface SetSuggestionFeatureConfigOperationMetadataOrBuilder
      Returns:
      The suggestionFeatureType.
    • setSuggestionFeatureType

       Required. The type of the suggestion feature to add or update.
       
      .google.cloud.dialogflow.v2.SuggestionFeature.Type suggestion_feature_type = 3 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The suggestionFeatureType to set.
      Returns:
      This builder for chaining.
    • clearSuggestionFeatureType

      public SetSuggestionFeatureConfigOperationMetadata.Builder clearSuggestionFeatureType()
       Required. The type of the suggestion feature to add or update.
       
      .google.cloud.dialogflow.v2.SuggestionFeature.Type suggestion_feature_type = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Timestamp whe the request was created. The time is measured on server side.
       
      .google.protobuf.Timestamp create_time = 4;
      Specified by:
      hasCreateTime in interface SetSuggestionFeatureConfigOperationMetadataOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Timestamp whe the request was created. The time is measured on server side.
       
      .google.protobuf.Timestamp create_time = 4;
      Specified by:
      getCreateTime in interface SetSuggestionFeatureConfigOperationMetadataOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public SetSuggestionFeatureConfigOperationMetadata.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Timestamp whe the request was created. The time is measured on server side.
       
      .google.protobuf.Timestamp create_time = 4;
    • setCreateTime

      public SetSuggestionFeatureConfigOperationMetadata.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Timestamp whe the request was created. The time is measured on server side.
       
      .google.protobuf.Timestamp create_time = 4;
    • mergeCreateTime

      public SetSuggestionFeatureConfigOperationMetadata.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Timestamp whe the request was created. The time is measured on server side.
       
      .google.protobuf.Timestamp create_time = 4;
    • clearCreateTime

       Timestamp whe the request was created. The time is measured on server side.
       
      .google.protobuf.Timestamp create_time = 4;
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Timestamp whe the request was created. The time is measured on server side.
       
      .google.protobuf.Timestamp create_time = 4;
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Timestamp whe the request was created. The time is measured on server side.
       
      .google.protobuf.Timestamp create_time = 4;
      Specified by:
      getCreateTimeOrBuilder in interface SetSuggestionFeatureConfigOperationMetadataOrBuilder