Class FlowImportStrategy.Builder

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

public static final class FlowImportStrategy.Builder extends com.google.protobuf.GeneratedMessage.Builder<FlowImportStrategy.Builder> implements FlowImportStrategyOrBuilder
 The flow import strategy used for resource conflict resolution associated
 with an
 [ImportFlowRequest][google.cloud.dialogflow.cx.v3beta1.ImportFlowRequest].
 
Protobuf type google.cloud.dialogflow.cx.v3beta1.FlowImportStrategy
  • 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<FlowImportStrategy.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<FlowImportStrategy.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<FlowImportStrategy.Builder>
    • getDefaultInstanceForType

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

      public FlowImportStrategy build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public FlowImportStrategy buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public FlowImportStrategy.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<FlowImportStrategy.Builder>
      Throws:
      IOException
    • getGlobalImportStrategyValue

      public int getGlobalImportStrategyValue()
       Optional. Global flow import strategy for resource conflict resolution. The
       import Import strategy for resource conflict resolution, applied globally
       throughout the flow. It will be applied for all
       display name conflicts in the imported content. If not specified,
       'CREATE_NEW' is assumed.
       
      .google.cloud.dialogflow.cx.v3beta1.ImportStrategy global_import_strategy = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGlobalImportStrategyValue in interface FlowImportStrategyOrBuilder
      Returns:
      The enum numeric value on the wire for globalImportStrategy.
    • setGlobalImportStrategyValue

      public FlowImportStrategy.Builder setGlobalImportStrategyValue(int value)
       Optional. Global flow import strategy for resource conflict resolution. The
       import Import strategy for resource conflict resolution, applied globally
       throughout the flow. It will be applied for all
       display name conflicts in the imported content. If not specified,
       'CREATE_NEW' is assumed.
       
      .google.cloud.dialogflow.cx.v3beta1.ImportStrategy global_import_strategy = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for globalImportStrategy to set.
      Returns:
      This builder for chaining.
    • getGlobalImportStrategy

      public ImportStrategy getGlobalImportStrategy()
       Optional. Global flow import strategy for resource conflict resolution. The
       import Import strategy for resource conflict resolution, applied globally
       throughout the flow. It will be applied for all
       display name conflicts in the imported content. If not specified,
       'CREATE_NEW' is assumed.
       
      .google.cloud.dialogflow.cx.v3beta1.ImportStrategy global_import_strategy = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGlobalImportStrategy in interface FlowImportStrategyOrBuilder
      Returns:
      The globalImportStrategy.
    • setGlobalImportStrategy

      public FlowImportStrategy.Builder setGlobalImportStrategy(ImportStrategy value)
       Optional. Global flow import strategy for resource conflict resolution. The
       import Import strategy for resource conflict resolution, applied globally
       throughout the flow. It will be applied for all
       display name conflicts in the imported content. If not specified,
       'CREATE_NEW' is assumed.
       
      .google.cloud.dialogflow.cx.v3beta1.ImportStrategy global_import_strategy = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The globalImportStrategy to set.
      Returns:
      This builder for chaining.
    • clearGlobalImportStrategy

      public FlowImportStrategy.Builder clearGlobalImportStrategy()
       Optional. Global flow import strategy for resource conflict resolution. The
       import Import strategy for resource conflict resolution, applied globally
       throughout the flow. It will be applied for all
       display name conflicts in the imported content. If not specified,
       'CREATE_NEW' is assumed.
       
      .google.cloud.dialogflow.cx.v3beta1.ImportStrategy global_import_strategy = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.