Interface BatchDeleteDataPointsRequestOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
BatchDeleteDataPointsRequest, BatchDeleteDataPointsRequest.Builder

@Generated public interface BatchDeleteDataPointsRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getNames(int index)
    Required.
    com.google.protobuf.ByteString
    getNamesBytes(int index)
    Required.
    int
    Required.
    Required.
    Optional.
    com.google.protobuf.ByteString
    Optional.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getParent

      String getParent()
       Optional. Parent (data type) for the Data Point collection
       Format: `users/me/dataTypes/{data_type}`, e.g.:
      
       - `users/me/dataTypes/steps`
       - `users/me/dataTypes/-`
      
       For a list of the supported data types see the
       [DataPoint
       data][google.devicesandservices.health.v4.DataPoint] union
       field.
      
       Deleting data points across multiple data type collections is supported
       following https://aip.dev/159.
      
       If this is set, the parent of all of the data points specified in `names`
       must match this field.
       
      string parent = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Optional. Parent (data type) for the Data Point collection
       Format: `users/me/dataTypes/{data_type}`, e.g.:
      
       - `users/me/dataTypes/steps`
       - `users/me/dataTypes/-`
      
       For a list of the supported data types see the
       [DataPoint
       data][google.devicesandservices.health.v4.DataPoint] union
       field.
      
       Deleting data points across multiple data type collections is supported
       following https://aip.dev/159.
      
       If this is set, the parent of all of the data points specified in `names`
       must match this field.
       
      string parent = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • getNamesList

      List<String> getNamesList()
       Required. The names of the DataPoints to delete.
       A maximum of 10000 data points can be deleted in a single request.
       
      repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      A list containing the names.
    • getNamesCount

      int getNamesCount()
       Required. The names of the DataPoints to delete.
       A maximum of 10000 data points can be deleted in a single request.
       
      repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The count of names.
    • getNames

      String getNames(int index)
       Required. The names of the DataPoints to delete.
       A maximum of 10000 data points can be deleted in a single request.
       
      repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index of the element to return.
      Returns:
      The names at the given index.
    • getNamesBytes

      com.google.protobuf.ByteString getNamesBytes(int index)
       Required. The names of the DataPoints to delete.
       A maximum of 10000 data points can be deleted in a single request.
       
      repeated string names = 2 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the names at the given index.