Class BatchGetUsersResponse

  • All Implemented Interfaces:
    java.lang.Cloneable, java.util.Map<java.lang.String,​java.lang.Object>

    public final class BatchGetUsersResponse
    extends com.google.api.client.json.GenericJson
    Response with RBM-reachability user data.

    This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the RCS Business Messaging API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.google.api.client.util.GenericData

        com.google.api.client.util.GenericData.Flags
      • Nested classes/interfaces inherited from class java.util.AbstractMap

        java.util.AbstractMap.SimpleEntry<K extends java.lang.Object,​V extends java.lang.Object>, java.util.AbstractMap.SimpleImmutableEntry<K extends java.lang.Object,​V extends java.lang.Object>
      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      BatchGetUsersResponse clone()  
      java.lang.Integer getReachableRandomSampleUserCount()
      Count of phone numbers from the randomly selected list that are RCS-reachable across all carriers, regardless of the agent's launch status.
      java.util.List<java.lang.String> getReachableUsers()
      List of users' phone numbers that RBM can reach.
      java.lang.Integer getTotalRandomSampleUserCount()
      Count of phone numbers randomly selected from reachable_users.
      BatchGetUsersResponse set​(java.lang.String fieldName, java.lang.Object value)  
      BatchGetUsersResponse setReachableRandomSampleUserCount​(java.lang.Integer reachableRandomSampleUserCount)
      Count of phone numbers from the randomly selected list that are RCS-reachable across all carriers, regardless of the agent's launch status.
      BatchGetUsersResponse setReachableUsers​(java.util.List<java.lang.String> reachableUsers)
      List of users' phone numbers that RBM can reach.
      BatchGetUsersResponse setTotalRandomSampleUserCount​(java.lang.Integer totalRandomSampleUserCount)
      Count of phone numbers randomly selected from reachable_users.
      • Methods inherited from class com.google.api.client.json.GenericJson

        getFactory, setFactory, toPrettyString, toString
      • Methods inherited from class com.google.api.client.util.GenericData

        entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
      • Methods inherited from class java.util.AbstractMap

        clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.util.Map

        compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
    • Constructor Detail

      • BatchGetUsersResponse

        public BatchGetUsersResponse()
    • Method Detail

      • getReachableRandomSampleUserCount

        public java.lang.Integer getReachableRandomSampleUserCount()
        Count of phone numbers from the randomly selected list that are RCS-reachable across all carriers, regardless of the agent's launch status. The ratio between this value and total_random_sample_user_count can approximate the potential reach for a list of users.
        Returns:
        value or null for none
      • setReachableRandomSampleUserCount

        public BatchGetUsersResponse setReachableRandomSampleUserCount​(java.lang.Integer reachableRandomSampleUserCount)
        Count of phone numbers from the randomly selected list that are RCS-reachable across all carriers, regardless of the agent's launch status. The ratio between this value and total_random_sample_user_count can approximate the potential reach for a list of users.
        Parameters:
        reachableRandomSampleUserCount - reachableRandomSampleUserCount or null for none
      • getReachableUsers

        public java.util.List<java.lang.String> getReachableUsers()
        List of users' phone numbers that RBM can reach. Only includes users on carriers that the agent is launched on.
        Returns:
        value or null for none
      • setReachableUsers

        public BatchGetUsersResponse setReachableUsers​(java.util.List<java.lang.String> reachableUsers)
        List of users' phone numbers that RBM can reach. Only includes users on carriers that the agent is launched on.
        Parameters:
        reachableUsers - reachableUsers or null for none
      • getTotalRandomSampleUserCount

        public java.lang.Integer getTotalRandomSampleUserCount()
        Count of phone numbers randomly selected from reachable_users. Typically, this value is ~75% of the total requested phone numbers. This value is `0` if the count of requested phone numbers is less than 500.
        Returns:
        value or null for none
      • setTotalRandomSampleUserCount

        public BatchGetUsersResponse setTotalRandomSampleUserCount​(java.lang.Integer totalRandomSampleUserCount)
        Count of phone numbers randomly selected from reachable_users. Typically, this value is ~75% of the total requested phone numbers. This value is `0` if the count of requested phone numbers is less than 500.
        Parameters:
        totalRandomSampleUserCount - totalRandomSampleUserCount or null for none
      • set

        public BatchGetUsersResponse set​(java.lang.String fieldName,
                                         java.lang.Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public BatchGetUsersResponse clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson