Class BatchDeleteEntityTypesRequest.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntityTypesRequest.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.GeneratedMessageV3.Builder<BatchDeleteEntityTypesRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BatchDeleteEntityTypesRequest.Builder>
      • mergeFrom

        public BatchDeleteEntityTypesRequest.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<BatchDeleteEntityTypesRequest.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 BatchDeleteEntityTypesRequestOrBuilder
        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 BatchDeleteEntityTypesRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public BatchDeleteEntityTypesRequest.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 BatchDeleteEntityTypesRequest.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 BatchDeleteEntityTypesRequest.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.
      • getEntityTypeNamesList

        public com.google.protobuf.ProtocolStringList getEntityTypeNamesList()
         Required. The names entity types to delete. All names must point to the
         same agent as `parent`.
         
        repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getEntityTypeNamesList in interface BatchDeleteEntityTypesRequestOrBuilder
        Returns:
        A list containing the entityTypeNames.
      • getEntityTypeNamesCount

        public int getEntityTypeNamesCount()
         Required. The names entity types to delete. All names must point to the
         same agent as `parent`.
         
        repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getEntityTypeNamesCount in interface BatchDeleteEntityTypesRequestOrBuilder
        Returns:
        The count of entityTypeNames.
      • getEntityTypeNames

        public String getEntityTypeNames​(int index)
         Required. The names entity types to delete. All names must point to the
         same agent as `parent`.
         
        repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getEntityTypeNames in interface BatchDeleteEntityTypesRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The entityTypeNames at the given index.
      • getEntityTypeNamesBytes

        public com.google.protobuf.ByteString getEntityTypeNamesBytes​(int index)
         Required. The names entity types to delete. All names must point to the
         same agent as `parent`.
         
        repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getEntityTypeNamesBytes in interface BatchDeleteEntityTypesRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the entityTypeNames at the given index.
      • setEntityTypeNames

        public BatchDeleteEntityTypesRequest.Builder setEntityTypeNames​(int index,
                                                                        String value)
         Required. The names entity types to delete. All names must point to the
         same agent as `parent`.
         
        repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        index - The index to set the value at.
        value - The entityTypeNames to set.
        Returns:
        This builder for chaining.
      • addEntityTypeNames

        public BatchDeleteEntityTypesRequest.Builder addEntityTypeNames​(String value)
         Required. The names entity types to delete. All names must point to the
         same agent as `parent`.
         
        repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The entityTypeNames to add.
        Returns:
        This builder for chaining.
      • addAllEntityTypeNames

        public BatchDeleteEntityTypesRequest.Builder addAllEntityTypeNames​(Iterable<String> values)
         Required. The names entity types to delete. All names must point to the
         same agent as `parent`.
         
        repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        values - The entityTypeNames to add.
        Returns:
        This builder for chaining.
      • clearEntityTypeNames

        public BatchDeleteEntityTypesRequest.Builder clearEntityTypeNames()
         Required. The names entity types to delete. All names must point to the
         same agent as `parent`.
         
        repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • addEntityTypeNamesBytes

        public BatchDeleteEntityTypesRequest.Builder addEntityTypeNamesBytes​(com.google.protobuf.ByteString value)
         Required. The names entity types to delete. All names must point to the
         same agent as `parent`.
         
        repeated string entity_type_names = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes of the entityTypeNames to add.
        Returns:
        This builder for chaining.