Class BatchGetUsersResponse
- java.lang.Object
-
- java.util.AbstractMap<java.lang.String,java.lang.Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.rcsbusinessmessaging.v1.model.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.GenericJsonResponse 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
-
-
Constructor Summary
Constructors Constructor Description BatchGetUsersResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchGetUsersResponseclone()java.lang.IntegergetReachableRandomSampleUserCount()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.IntegergetTotalRandomSampleUserCount()Count of phone numbers randomly selected from reachable_users.BatchGetUsersResponseset(java.lang.String fieldName, java.lang.Object value)BatchGetUsersResponsesetReachableRandomSampleUserCount(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.BatchGetUsersResponsesetReachableUsers(java.util.List<java.lang.String> reachableUsers)List of users' phone numbers that RBM can reach.BatchGetUsersResponsesetTotalRandomSampleUserCount(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
-
-
-
-
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
nullfor 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 ornullfor 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
nullfor 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 ornullfor 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
nullfor 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 ornullfor none
-
set
public BatchGetUsersResponse set(java.lang.String fieldName, java.lang.Object value)
- Overrides:
setin classcom.google.api.client.json.GenericJson
-
clone
public BatchGetUsersResponse clone()
- Overrides:
clonein classcom.google.api.client.json.GenericJson
-
-