Class BatchDeleteIntentsRequest.Builder

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

public static final class BatchDeleteIntentsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<BatchDeleteIntentsRequest.Builder> implements BatchDeleteIntentsRequestOrBuilder
 The request message for
 [Intents.BatchDeleteIntents][google.cloud.dialogflow.v2.Intents.BatchDeleteIntents].
 
Protobuf type google.cloud.dialogflow.v2.BatchDeleteIntentsRequest
  • 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<BatchDeleteIntentsRequest.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<BatchDeleteIntentsRequest.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<BatchDeleteIntentsRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public BatchDeleteIntentsRequest.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<BatchDeleteIntentsRequest.Builder>
      Throws:
      IOException
    • getParent

      public String getParent()
       Required. The name of the agent to delete all entities types for. Format:
       `projects/<Project ID>/agent`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParent in interface BatchDeleteIntentsRequestOrBuilder
      Returns:
      The parent.
    • getParentBytes

      public com.google.protobuf.ByteString getParentBytes()
       Required. The name of the agent to delete all entities types for. Format:
       `projects/<Project ID>/agent`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getParentBytes in interface BatchDeleteIntentsRequestOrBuilder
      Returns:
      The bytes for parent.
    • setParent

      public BatchDeleteIntentsRequest.Builder setParent(String value)
       Required. The name of the agent to delete all entities types for. Format:
       `projects/<Project ID>/agent`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The parent to set.
      Returns:
      This builder for chaining.
    • clearParent

      public BatchDeleteIntentsRequest.Builder clearParent()
       Required. The name of the agent to delete all entities types for. Format:
       `projects/<Project ID>/agent`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setParentBytes

      public BatchDeleteIntentsRequest.Builder setParentBytes(com.google.protobuf.ByteString value)
       Required. The name of the agent to delete all entities types for. Format:
       `projects/<Project ID>/agent`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for parent to set.
      Returns:
      This builder for chaining.
    • getIntentsList

      public List<Intent> getIntentsList()
       Required. The collection of intents to delete. Only intent `name` must be
       filled in.
       
      repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getIntentsList in interface BatchDeleteIntentsRequestOrBuilder
    • getIntentsCount

      public int getIntentsCount()
       Required. The collection of intents to delete. Only intent `name` must be
       filled in.
       
      repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getIntentsCount in interface BatchDeleteIntentsRequestOrBuilder
    • getIntents

      public Intent getIntents(int index)
       Required. The collection of intents to delete. Only intent `name` must be
       filled in.
       
      repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getIntents in interface BatchDeleteIntentsRequestOrBuilder
    • setIntents

      public BatchDeleteIntentsRequest.Builder setIntents(int index, Intent value)
       Required. The collection of intents to delete. Only intent `name` must be
       filled in.
       
      repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
    • setIntents

      public BatchDeleteIntentsRequest.Builder setIntents(int index, Intent.Builder builderForValue)
       Required. The collection of intents to delete. Only intent `name` must be
       filled in.
       
      repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
    • addIntents

      public BatchDeleteIntentsRequest.Builder addIntents(Intent value)
       Required. The collection of intents to delete. Only intent `name` must be
       filled in.
       
      repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
    • addIntents

      public BatchDeleteIntentsRequest.Builder addIntents(int index, Intent value)
       Required. The collection of intents to delete. Only intent `name` must be
       filled in.
       
      repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
    • addIntents

      public BatchDeleteIntentsRequest.Builder addIntents(Intent.Builder builderForValue)
       Required. The collection of intents to delete. Only intent `name` must be
       filled in.
       
      repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
    • addIntents

      public BatchDeleteIntentsRequest.Builder addIntents(int index, Intent.Builder builderForValue)
       Required. The collection of intents to delete. Only intent `name` must be
       filled in.
       
      repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
    • addAllIntents

      public BatchDeleteIntentsRequest.Builder addAllIntents(Iterable<? extends Intent> values)
       Required. The collection of intents to delete. Only intent `name` must be
       filled in.
       
      repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
    • clearIntents

      public BatchDeleteIntentsRequest.Builder clearIntents()
       Required. The collection of intents to delete. Only intent `name` must be
       filled in.
       
      repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
    • removeIntents

      public BatchDeleteIntentsRequest.Builder removeIntents(int index)
       Required. The collection of intents to delete. Only intent `name` must be
       filled in.
       
      repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
    • getIntentsBuilder

      public Intent.Builder getIntentsBuilder(int index)
       Required. The collection of intents to delete. Only intent `name` must be
       filled in.
       
      repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
    • getIntentsOrBuilder

      public IntentOrBuilder getIntentsOrBuilder(int index)
       Required. The collection of intents to delete. Only intent `name` must be
       filled in.
       
      repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getIntentsOrBuilder in interface BatchDeleteIntentsRequestOrBuilder
    • getIntentsOrBuilderList

      public List<? extends IntentOrBuilder> getIntentsOrBuilderList()
       Required. The collection of intents to delete. Only intent `name` must be
       filled in.
       
      repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getIntentsOrBuilderList in interface BatchDeleteIntentsRequestOrBuilder
    • addIntentsBuilder

      public Intent.Builder addIntentsBuilder()
       Required. The collection of intents to delete. Only intent `name` must be
       filled in.
       
      repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
    • addIntentsBuilder

      public Intent.Builder addIntentsBuilder(int index)
       Required. The collection of intents to delete. Only intent `name` must be
       filled in.
       
      repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];
    • getIntentsBuilderList

      public List<Intent.Builder> getIntentsBuilderList()
       Required. The collection of intents to delete. Only intent `name` must be
       filled in.
       
      repeated .google.cloud.dialogflow.v2.Intent intents = 2 [(.google.api.field_behavior) = REQUIRED];