diff --git a/java-accessapproval/README.md b/java-accessapproval/README.md
index 948d60ef1911..1b446ae078fc 100644
--- a/java-accessapproval/README.md
+++ b/java-accessapproval/README.md
@@ -41,7 +41,7 @@ If you are using Maven without the BOM, add this to your dependencies:
SearchMessages
Searches for messages in Google Chat that the calling user has access to. Returns a list of messages matching the search criteria. + *
To search across all spaces the user has access to, set `parent` to `spaces/-`. Using any other value for `parent` results in an `INVALID_ARGUMENT` error. The returned messages have their `name` field populated with the full resource name, which includes the specific `space` in which the message resides. + *
This API doesn't return all message types. The types of messages listed below aren't included in the response. Use [ListMessages][google.chat.v1.ChatService.ListMessages] to list all messages. + *
- Private Messages that are visible to the authenticated user. - Messages posted by Chat apps in spaces or group chats. - Messages in a Chat app DM. - Messages from blocked users. - Messages in spaces that the caller has muted. + *
Requires [user authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user) with one of the following [authorization scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes): + *
- `https://www.googleapis.com/auth/chat.messages.readonly` - `https://www.googleapis.com/auth/chat.messages`
Request object method variants only take one parameter, a request object, which must be constructed before the call.
+ *searchMessages(SearchMessagesRequest request) + *
"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.
+ *searchMessages(SpaceName parent, String filter) + *
searchMessages(String parent, String filter) + *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
+ *searchMessagesPagedCallable() + *
searchMessagesCallable() + *
GetAttachment
Gets the metadata of a message attachment. The attachment data is fetched using the [media API](https://developers.google.com/workspace/chat/api/reference/rest/v1/media/download). For an example, see [Get metadata about a message attachment](https://developers.google.com/workspace/chat/get-media-attachments). *
Requires [app authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-app) with the [authorization scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
@@ -2862,6 +2887,450 @@ public final UnaryCallable To search across all spaces the user has access to, set `parent` to `spaces/-`. Using any
+ * other value for `parent` results in an `INVALID_ARGUMENT` error. The returned messages have
+ * their `name` field populated with the full resource name, which includes the specific `space`
+ * in which the message resides.
+ *
+ * This API doesn't return all message types. The types of messages listed below aren't
+ * included in the response. Use [ListMessages][google.chat.v1.ChatService.ListMessages] to list
+ * all messages.
+ *
+ * - Private Messages that are visible to the authenticated user. - Messages posted by Chat
+ * apps in spaces or group chats. - Messages in a Chat app DM. - Messages from blocked users. -
+ * Messages in spaces that the caller has muted.
+ *
+ * Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * with one of the following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.messages.readonly` -
+ * `https://www.googleapis.com/auth/chat.messages`
+ *
+ * Sample code:
+ *
+ * To search across all spaces the user has access to, set this field to `spaces/-`. Using
+ * any other value for `parent` results in an `INVALID_ARGUMENT` error.
+ * To limit the search to one or more spaces, use `space.name` or `space.display_name` in
+ * the `filter`.
+ * @param filter Required. A search query.
+ * The query can specify one or more search keywords, which are used to filter the results,
+ * You can also filter the results using the following message fields:
+ * - `create_time`: Accepts a timestamp in
+ * [RFC-3339](https://www.rfc-editor.org/rfc/rfc3339) format and the supported comparison
+ * operators are: `<` and `>=`. - `sender.name`: The resource name of the sender
+ * (`users/{user}`). Only supports `=`. You can use the e-mail as an alias for `{user}`. For
+ * example, `users/example{@literal @}gmail.com`, where `example{@literal @}gmail.com` is the
+ * e-mail of the Google Chat user. - `space.name`: The resource name of the space where the
+ * message is posted. (`spaces/{space}`). Only supports `=`. If this filter is not set, the
+ * search is performed across all direct messages and spaces the user has access to as a space
+ * member. - `space.display_name`: Supports the operator `:` (has) and filters spaces based on
+ * a partial match of their display name. Results are limited to the top five space matches.
+ * For example, `space.display_name:Project` searches for messages in the top five spaces that
+ * contain the word "Project" in their display names. - `attachment`: Supports the operator
+ * `:*` (has any) to check for the presence of attachments. If `attachment:*` is
+ * specified, only messages that have at least one attachment are returned. -
+ * `annotations.user_mentions.user.name`: The resource name of the mentioned user
+ * (`users/{user}`). Only supports `:` (has). For example:
+ * `annotations.user_mentions.user.name:"users/1234567890"` returns only messages that contain
+ * a mention to the specified user. Alternatively, the alias `me` can be used to filter for
+ * messages that mention the caller user, for example:
+ * `annotations.user_mentions.user.name:users/me`. You can also use the e-mail as an alias for
+ * `{user}`, for example, `users/example{@literal @}gmail.com`.
+ * For advanced filtering, the following functions are also available:
+ * - `has_link()`: Returns only messages that have at least one hyperlink in the message
+ * text. - `is_unread()`: Filters out messages that have been read by the calling user.
+ * Using the `space.display_name` filter requires that the calling credentials include one
+ * of the following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ * - `https://www.googleapis.com/auth/chat.spaces.readonly` -
+ * `https://www.googleapis.com/auth/chat.spaces`
+ * Using the `is_unread()` filter requires that the calling credentials include one of the
+ * following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ * - `https://www.googleapis.com/auth/chat.users.readstate.readonly` -
+ * `https://www.googleapis.com/auth/chat.users.readstate`
+ * Across different fields, only `AND` operators are supported. A valid example is
+ * `sender.name = "users/1234567890" AND is_unread()`. The word `AND` is optional and is
+ * implied if omitted. For example, `sender.name = "users/1234567890" is_unread()` is valid
+ * and is equivalent to the previous example. An invalid example is `sender.name =
+ * "users/1234567890" OR is_unread()` because `OR` is not supported between different fields.
+ * Among the same field:
+ * - `create_time` supports only `AND`, and can only be used to represent an interval, such
+ * as `create_time >= "2022-01-01T00:00:00+00:00" AND create_time <
+ * "2023-01-01T00:00:00+00:00"`. - `sender.name` supports only the `OR` operator, for example:
+ * `sender.name = "users/1234567890" OR sender.name = "users/0987654321"`. - `space.name`
+ * supports only the `OR` operator, for example: `space.name = "spaces/ABCDEFGH" OR space.name
+ * = "spaces/QWERTYUI"`. - `space.display_name` supports the operators `AND` and `OR`, but not
+ * a mix of both. For example: `space.display_name:Project AND space.display_name:Tasks`
+ * returns messages that are in spaces with display names containing both `Project` and
+ * `Tasks`, whereas `space.display_name:Project OR space.display_name:Tasks` returns messages
+ * that are in spaces with display names containing either `Project` or `Tasks` or both. -
+ * `annotations.user_mentions.user.name` supports the operators `AND` and `OR`, but not a mix
+ * of both. For example: `annotations.user_mentions.user.name:"users/1234567890" AND
+ * annotations.user_mentions.user.name:"users/0987654321"` returns only messages that mentions
+ * both users, whereas `annotations.user_mentions.user.name:"users/1234567890" OR
+ * annotations.user_mentions.user.name:"users/0987654321"` returns messages that mention
+ * either user or both.
+ * Parentheses are required to disambiguate operator precedence when combining `AND` and
+ * `OR` operators in the same query. For example: `(sender.name="users/me" OR
+ * sender.name="users/123456") AND is_unread()`. Otherwise, parentheses are optional.
+ * The following example queries are valid:
+ * ``` "Pending reports" AND create_time >= "2023-01-01T00:00:00Z"
+ * sender.name = "users/example{@literal @}gmail.com"
+ * annotations.user_mentions.user.name:"users/0987654321"
+ * attachment:* AND space.name = "spaces/ABCDEFGH"
+ * tasks AND is_unread() AND sender.name = "users/1234567890"
+ * "things to do" "urgent"
+ * (sender.name = "users/1234567890") AND (create_time < "2023-05-01T00:00:00Z")
+ * tasks AND space.name = "spaces/ABCDEFGH" AND has_link()
+ * "project one" is_unread()
+ * space.display_name:Project tasks ```
+ * The maximum query length is 1,000 characters.
+ * Invalid queries are rejected by the server with an `INVALID_ARGUMENT` error.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final SearchMessagesPagedResponse searchMessages(
+ @Nullable SpaceName parent, String filter) {
+ SearchMessagesRequest request =
+ SearchMessagesRequest.newBuilder()
+ .setParent(parent == null ? null : parent.toString())
+ .setFilter(filter)
+ .build();
+ return searchMessages(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Searches for messages in Google Chat that the calling user has access to. Returns a list of
+ * messages matching the search criteria.
+ *
+ * To search across all spaces the user has access to, set `parent` to `spaces/-`. Using any
+ * other value for `parent` results in an `INVALID_ARGUMENT` error. The returned messages have
+ * their `name` field populated with the full resource name, which includes the specific `space`
+ * in which the message resides.
+ *
+ * This API doesn't return all message types. The types of messages listed below aren't
+ * included in the response. Use [ListMessages][google.chat.v1.ChatService.ListMessages] to list
+ * all messages.
+ *
+ * - Private Messages that are visible to the authenticated user. - Messages posted by Chat
+ * apps in spaces or group chats. - Messages in a Chat app DM. - Messages from blocked users. -
+ * Messages in spaces that the caller has muted.
+ *
+ * Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * with one of the following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.messages.readonly` -
+ * `https://www.googleapis.com/auth/chat.messages`
+ *
+ * Sample code:
+ *
+ * To search across all spaces the user has access to, set this field to `spaces/-`. Using
+ * any other value for `parent` results in an `INVALID_ARGUMENT` error.
+ * To limit the search to one or more spaces, use `space.name` or `space.display_name` in
+ * the `filter`.
+ * @param filter Required. A search query.
+ * The query can specify one or more search keywords, which are used to filter the results,
+ * You can also filter the results using the following message fields:
+ * - `create_time`: Accepts a timestamp in
+ * [RFC-3339](https://www.rfc-editor.org/rfc/rfc3339) format and the supported comparison
+ * operators are: `<` and `>=`. - `sender.name`: The resource name of the sender
+ * (`users/{user}`). Only supports `=`. You can use the e-mail as an alias for `{user}`. For
+ * example, `users/example{@literal @}gmail.com`, where `example{@literal @}gmail.com` is the
+ * e-mail of the Google Chat user. - `space.name`: The resource name of the space where the
+ * message is posted. (`spaces/{space}`). Only supports `=`. If this filter is not set, the
+ * search is performed across all direct messages and spaces the user has access to as a space
+ * member. - `space.display_name`: Supports the operator `:` (has) and filters spaces based on
+ * a partial match of their display name. Results are limited to the top five space matches.
+ * For example, `space.display_name:Project` searches for messages in the top five spaces that
+ * contain the word "Project" in their display names. - `attachment`: Supports the operator
+ * `:*` (has any) to check for the presence of attachments. If `attachment:*` is
+ * specified, only messages that have at least one attachment are returned. -
+ * `annotations.user_mentions.user.name`: The resource name of the mentioned user
+ * (`users/{user}`). Only supports `:` (has). For example:
+ * `annotations.user_mentions.user.name:"users/1234567890"` returns only messages that contain
+ * a mention to the specified user. Alternatively, the alias `me` can be used to filter for
+ * messages that mention the caller user, for example:
+ * `annotations.user_mentions.user.name:users/me`. You can also use the e-mail as an alias for
+ * `{user}`, for example, `users/example{@literal @}gmail.com`.
+ * For advanced filtering, the following functions are also available:
+ * - `has_link()`: Returns only messages that have at least one hyperlink in the message
+ * text. - `is_unread()`: Filters out messages that have been read by the calling user.
+ * Using the `space.display_name` filter requires that the calling credentials include one
+ * of the following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ * - `https://www.googleapis.com/auth/chat.spaces.readonly` -
+ * `https://www.googleapis.com/auth/chat.spaces`
+ * Using the `is_unread()` filter requires that the calling credentials include one of the
+ * following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ * - `https://www.googleapis.com/auth/chat.users.readstate.readonly` -
+ * `https://www.googleapis.com/auth/chat.users.readstate`
+ * Across different fields, only `AND` operators are supported. A valid example is
+ * `sender.name = "users/1234567890" AND is_unread()`. The word `AND` is optional and is
+ * implied if omitted. For example, `sender.name = "users/1234567890" is_unread()` is valid
+ * and is equivalent to the previous example. An invalid example is `sender.name =
+ * "users/1234567890" OR is_unread()` because `OR` is not supported between different fields.
+ * Among the same field:
+ * - `create_time` supports only `AND`, and can only be used to represent an interval, such
+ * as `create_time >= "2022-01-01T00:00:00+00:00" AND create_time <
+ * "2023-01-01T00:00:00+00:00"`. - `sender.name` supports only the `OR` operator, for example:
+ * `sender.name = "users/1234567890" OR sender.name = "users/0987654321"`. - `space.name`
+ * supports only the `OR` operator, for example: `space.name = "spaces/ABCDEFGH" OR space.name
+ * = "spaces/QWERTYUI"`. - `space.display_name` supports the operators `AND` and `OR`, but not
+ * a mix of both. For example: `space.display_name:Project AND space.display_name:Tasks`
+ * returns messages that are in spaces with display names containing both `Project` and
+ * `Tasks`, whereas `space.display_name:Project OR space.display_name:Tasks` returns messages
+ * that are in spaces with display names containing either `Project` or `Tasks` or both. -
+ * `annotations.user_mentions.user.name` supports the operators `AND` and `OR`, but not a mix
+ * of both. For example: `annotations.user_mentions.user.name:"users/1234567890" AND
+ * annotations.user_mentions.user.name:"users/0987654321"` returns only messages that mentions
+ * both users, whereas `annotations.user_mentions.user.name:"users/1234567890" OR
+ * annotations.user_mentions.user.name:"users/0987654321"` returns messages that mention
+ * either user or both.
+ * Parentheses are required to disambiguate operator precedence when combining `AND` and
+ * `OR` operators in the same query. For example: `(sender.name="users/me" OR
+ * sender.name="users/123456") AND is_unread()`. Otherwise, parentheses are optional.
+ * The following example queries are valid:
+ * ``` "Pending reports" AND create_time >= "2023-01-01T00:00:00Z"
+ * sender.name = "users/example{@literal @}gmail.com"
+ * annotations.user_mentions.user.name:"users/0987654321"
+ * attachment:* AND space.name = "spaces/ABCDEFGH"
+ * tasks AND is_unread() AND sender.name = "users/1234567890"
+ * "things to do" "urgent"
+ * (sender.name = "users/1234567890") AND (create_time < "2023-05-01T00:00:00Z")
+ * tasks AND space.name = "spaces/ABCDEFGH" AND has_link()
+ * "project one" is_unread()
+ * space.display_name:Project tasks ```
+ * The maximum query length is 1,000 characters.
+ * Invalid queries are rejected by the server with an `INVALID_ARGUMENT` error.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final SearchMessagesPagedResponse searchMessages(String parent, String filter) {
+ SearchMessagesRequest request =
+ SearchMessagesRequest.newBuilder().setParent(parent).setFilter(filter).build();
+ return searchMessages(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Searches for messages in Google Chat that the calling user has access to. Returns a list of
+ * messages matching the search criteria.
+ *
+ * To search across all spaces the user has access to, set `parent` to `spaces/-`. Using any
+ * other value for `parent` results in an `INVALID_ARGUMENT` error. The returned messages have
+ * their `name` field populated with the full resource name, which includes the specific `space`
+ * in which the message resides.
+ *
+ * This API doesn't return all message types. The types of messages listed below aren't
+ * included in the response. Use [ListMessages][google.chat.v1.ChatService.ListMessages] to list
+ * all messages.
+ *
+ * - Private Messages that are visible to the authenticated user. - Messages posted by Chat
+ * apps in spaces or group chats. - Messages in a Chat app DM. - Messages from blocked users. -
+ * Messages in spaces that the caller has muted.
+ *
+ * Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * with one of the following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.messages.readonly` -
+ * `https://www.googleapis.com/auth/chat.messages`
+ *
+ * Sample code:
+ *
+ * To search across all spaces the user has access to, set `parent` to `spaces/-`. Using any
+ * other value for `parent` results in an `INVALID_ARGUMENT` error. The returned messages have
+ * their `name` field populated with the full resource name, which includes the specific `space`
+ * in which the message resides.
+ *
+ * This API doesn't return all message types. The types of messages listed below aren't
+ * included in the response. Use [ListMessages][google.chat.v1.ChatService.ListMessages] to list
+ * all messages.
+ *
+ * - Private Messages that are visible to the authenticated user. - Messages posted by Chat
+ * apps in spaces or group chats. - Messages in a Chat app DM. - Messages from blocked users. -
+ * Messages in spaces that the caller has muted.
+ *
+ * Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * with one of the following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.messages.readonly` -
+ * `https://www.googleapis.com/auth/chat.messages`
+ *
+ * Sample code:
+ *
+ * To search across all spaces the user has access to, set `parent` to `spaces/-`. Using any
+ * other value for `parent` results in an `INVALID_ARGUMENT` error. The returned messages have
+ * their `name` field populated with the full resource name, which includes the specific `space`
+ * in which the message resides.
+ *
+ * This API doesn't return all message types. The types of messages listed below aren't
+ * included in the response. Use [ListMessages][google.chat.v1.ChatService.ListMessages] to list
+ * all messages.
+ *
+ * - Private Messages that are visible to the authenticated user. - Messages posted by Chat
+ * apps in spaces or group chats. - Messages in a Chat app DM. - Messages from blocked users. -
+ * Messages in spaces that the caller has muted.
+ *
+ * Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * with one of the following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.messages.readonly` -
+ * `https://www.googleapis.com/auth/chat.messages`
+ *
+ * Sample code:
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ChatServiceClient chatServiceClient = ChatServiceClient.create()) {
+ * SpaceName parent = SpaceName.of("[SPACE]");
+ * String filter = "filter-1274492040";
+ * for (SearchMessageResult element :
+ * chatServiceClient.searchMessages(parent, filter).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the space to search within.
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ChatServiceClient chatServiceClient = ChatServiceClient.create()) {
+ * String parent = SpaceName.of("[SPACE]").toString();
+ * String filter = "filter-1274492040";
+ * for (SearchMessageResult element :
+ * chatServiceClient.searchMessages(parent, filter).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param parent Required. The resource name of the space to search within.
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ChatServiceClient chatServiceClient = ChatServiceClient.create()) {
+ * SearchMessagesRequest request =
+ * SearchMessagesRequest.newBuilder()
+ * .setParent(SpaceName.of("[SPACE]").toString())
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .setOrderBy("orderBy-1207110587")
+ * .build();
+ * for (SearchMessageResult element : chatServiceClient.searchMessages(request).iterateAll()) {
+ * // doThingsWith(element);
+ * }
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final SearchMessagesPagedResponse searchMessages(SearchMessagesRequest request) {
+ return searchMessagesPagedCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Searches for messages in Google Chat that the calling user has access to. Returns a list of
+ * messages matching the search criteria.
+ *
+ * {@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ChatServiceClient chatServiceClient = ChatServiceClient.create()) {
+ * SearchMessagesRequest request =
+ * SearchMessagesRequest.newBuilder()
+ * .setParent(SpaceName.of("[SPACE]").toString())
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .setOrderBy("orderBy-1207110587")
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (ChatServiceClient chatServiceClient = ChatServiceClient.create()) {
+ * SearchMessagesRequest request =
+ * SearchMessagesRequest.newBuilder()
+ * .setParent(SpaceName.of("[SPACE]").toString())
+ * .setFilter("filter-1274492040")
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .setOrderBy("orderBy-1207110587")
+ * .build();
+ * while (true) {
+ * SearchMessagesResponse response = chatServiceClient.searchMessagesCallable().call(request);
+ * for (SearchMessageResult element : response.getResultsList()) {
+ * // doThingsWith(element);
+ * }
+ * String nextPageToken = response.getNextPageToken();
+ * if (!Strings.isNullOrEmpty(nextPageToken)) {
+ * request = request.toBuilder().setPageToken(nextPageToken).build();
+ * } else {
+ * break;
+ * }
+ * }
+ * }
+ * }
+ */
+ public final UnaryCallable
+ * Searches for messages in Google Chat that the calling user has access to.
+ * Returns a list of messages matching the search criteria.
+ * To search across all spaces the user has access to, set `parent` to
+ * `spaces/-`. Using any other value for `parent` results in an
+ * `INVALID_ARGUMENT` error. The returned messages have their `name` field
+ * populated with the full resource name, which includes the specific `space`
+ * in which the message resides.
+ * This API doesn't return all message types. The types of messages listed
+ * below aren't included in the response. Use
+ * [ListMessages][google.chat.v1.ChatService.ListMessages] to list all
+ * messages.
+ * - Private Messages that are visible to the authenticated user.
+ * - Messages posted by Chat apps in spaces or group chats.
+ * - Messages in a Chat app DM.
+ * - Messages from blocked users.
+ * - Messages in spaces that the caller has muted.
+ * Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * with one of the following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ * - `https://www.googleapis.com/auth/chat.messages.readonly`
+ * - `https://www.googleapis.com/auth/chat.messages`
+ *
+ */
+ default void searchMessages(
+ com.google.chat.v1.SearchMessagesRequest request,
+ io.grpc.stub.StreamObserver
+ * Searches for messages in Google Chat that the calling user has access to.
+ * Returns a list of messages matching the search criteria.
+ * To search across all spaces the user has access to, set `parent` to
+ * `spaces/-`. Using any other value for `parent` results in an
+ * `INVALID_ARGUMENT` error. The returned messages have their `name` field
+ * populated with the full resource name, which includes the specific `space`
+ * in which the message resides.
+ * This API doesn't return all message types. The types of messages listed
+ * below aren't included in the response. Use
+ * [ListMessages][google.chat.v1.ChatService.ListMessages] to list all
+ * messages.
+ * - Private Messages that are visible to the authenticated user.
+ * - Messages posted by Chat apps in spaces or group chats.
+ * - Messages in a Chat app DM.
+ * - Messages from blocked users.
+ * - Messages in spaces that the caller has muted.
+ * Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * with one of the following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ * - `https://www.googleapis.com/auth/chat.messages.readonly`
+ * - `https://www.googleapis.com/auth/chat.messages`
+ *
+ */
+ public void searchMessages(
+ com.google.chat.v1.SearchMessagesRequest request,
+ io.grpc.stub.StreamObserver
+ * Searches for messages in Google Chat that the calling user has access to.
+ * Returns a list of messages matching the search criteria.
+ * To search across all spaces the user has access to, set `parent` to
+ * `spaces/-`. Using any other value for `parent` results in an
+ * `INVALID_ARGUMENT` error. The returned messages have their `name` field
+ * populated with the full resource name, which includes the specific `space`
+ * in which the message resides.
+ * This API doesn't return all message types. The types of messages listed
+ * below aren't included in the response. Use
+ * [ListMessages][google.chat.v1.ChatService.ListMessages] to list all
+ * messages.
+ * - Private Messages that are visible to the authenticated user.
+ * - Messages posted by Chat apps in spaces or group chats.
+ * - Messages in a Chat app DM.
+ * - Messages from blocked users.
+ * - Messages in spaces that the caller has muted.
+ * Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * with one of the following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ * - `https://www.googleapis.com/auth/chat.messages.readonly`
+ * - `https://www.googleapis.com/auth/chat.messages`
+ *
+ */
+ public com.google.chat.v1.SearchMessagesResponse searchMessages(
+ com.google.chat.v1.SearchMessagesRequest request) throws io.grpc.StatusException {
+ return io.grpc.stub.ClientCalls.blockingV2UnaryCall(
+ getChannel(), getSearchMessagesMethod(), getCallOptions(), request);
+ }
+
/**
*
*
@@ -6829,6 +6977,40 @@ public com.google.protobuf.Empty deleteMessage(
getChannel(), getDeleteMessageMethod(), getCallOptions(), request);
}
+ /**
+ *
+ *
+ *
+ * Searches for messages in Google Chat that the calling user has access to.
+ * Returns a list of messages matching the search criteria.
+ * To search across all spaces the user has access to, set `parent` to
+ * `spaces/-`. Using any other value for `parent` results in an
+ * `INVALID_ARGUMENT` error. The returned messages have their `name` field
+ * populated with the full resource name, which includes the specific `space`
+ * in which the message resides.
+ * This API doesn't return all message types. The types of messages listed
+ * below aren't included in the response. Use
+ * [ListMessages][google.chat.v1.ChatService.ListMessages] to list all
+ * messages.
+ * - Private Messages that are visible to the authenticated user.
+ * - Messages posted by Chat apps in spaces or group chats.
+ * - Messages in a Chat app DM.
+ * - Messages from blocked users.
+ * - Messages in spaces that the caller has muted.
+ * Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * with one of the following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ * - `https://www.googleapis.com/auth/chat.messages.readonly`
+ * - `https://www.googleapis.com/auth/chat.messages`
+ *
+ */
+ public com.google.chat.v1.SearchMessagesResponse searchMessages(
+ com.google.chat.v1.SearchMessagesRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getSearchMessagesMethod(), getCallOptions(), request);
+ }
+
/**
*
*
@@ -8264,6 +8446,41 @@ protected ChatServiceFutureStub build(
getChannel().newCall(getDeleteMessageMethod(), getCallOptions()), request);
}
+ /**
+ *
+ *
+ *
+ * Searches for messages in Google Chat that the calling user has access to.
+ * Returns a list of messages matching the search criteria.
+ * To search across all spaces the user has access to, set `parent` to
+ * `spaces/-`. Using any other value for `parent` results in an
+ * `INVALID_ARGUMENT` error. The returned messages have their `name` field
+ * populated with the full resource name, which includes the specific `space`
+ * in which the message resides.
+ * This API doesn't return all message types. The types of messages listed
+ * below aren't included in the response. Use
+ * [ListMessages][google.chat.v1.ChatService.ListMessages] to list all
+ * messages.
+ * - Private Messages that are visible to the authenticated user.
+ * - Messages posted by Chat apps in spaces or group chats.
+ * - Messages in a Chat app DM.
+ * - Messages from blocked users.
+ * - Messages in spaces that the caller has muted.
+ * Requires [user
+ * authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ * with one of the following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ * - `https://www.googleapis.com/auth/chat.messages.readonly`
+ * - `https://www.googleapis.com/auth/chat.messages`
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture<
+ com.google.chat.v1.SearchMessagesResponse>
+ searchMessages(com.google.chat.v1.SearchMessagesRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getSearchMessagesMethod(), getCallOptions()), request);
+ }
+
/**
*
*
@@ -9447,47 +9664,48 @@ public com.google.common.util.concurrent.ListenableFuture
- * Silence the notification as if the recipients have [Chat Do Not
- * Disturb](https://support.google.com/chat/answer/9093489) enabled or
- * have muted the space.
+ * Do not notify recipients, and do not mark the message as unread.
+ * This behaves similarly to the user muting the conversation or enabling
+ * [Chat Do Not Disturb](https://support.google.com/chat/answer/9093489).
*
* Requires [app authentication]
* (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
@@ -171,9 +171,9 @@ public enum NotificationType implements com.google.protobuf.ProtocolMessageEnum
*
*
*
- * Silence the notification as if the recipients have [Chat Do Not
- * Disturb](https://support.google.com/chat/answer/9093489) enabled or
- * have muted the space.
+ * Do not notify recipients, and do not mark the message as unread.
+ * This behaves similarly to the user muting the conversation or enabling
+ * [Chat Do Not Disturb](https://support.google.com/chat/answer/9093489).
*
* Requires [app authentication]
* (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/CreateMessageRequest.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/CreateMessageRequest.java
index d2ece8258a89..dcec5d02f0d1 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/CreateMessageRequest.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/CreateMessageRequest.java
@@ -398,7 +398,7 @@ public com.google.chat.v1.MessageOrBuilder getMessageOrBuilder() {
*
*
* @deprecated google.chat.v1.CreateMessageRequest.thread_key is deprecated. See
- * google/chat/v1/message.proto;l=618
+ * google/chat/v1/message.proto;l=619
* @return The threadKey.
*/
@java.lang.Override
@@ -432,7 +432,7 @@ public java.lang.String getThreadKey() {
*
*
* @deprecated google.chat.v1.CreateMessageRequest.thread_key is deprecated. See
- * google/chat/v1/message.proto;l=618
+ * google/chat/v1/message.proto;l=619
* @return The bytes for threadKey.
*/
@java.lang.Override
@@ -1543,7 +1543,7 @@ public com.google.chat.v1.MessageOrBuilder getMessageOrBuilder() {
*
*
* @deprecated google.chat.v1.CreateMessageRequest.thread_key is deprecated. See
- * google/chat/v1/message.proto;l=618
+ * google/chat/v1/message.proto;l=619
* @return The threadKey.
*/
@java.lang.Deprecated
@@ -1576,7 +1576,7 @@ public java.lang.String getThreadKey() {
*
*
* @deprecated google.chat.v1.CreateMessageRequest.thread_key is deprecated. See
- * google/chat/v1/message.proto;l=618
+ * google/chat/v1/message.proto;l=619
* @return The bytes for threadKey.
*/
@java.lang.Deprecated
@@ -1609,7 +1609,7 @@ public com.google.protobuf.ByteString getThreadKeyBytes() {
*
*
* @deprecated google.chat.v1.CreateMessageRequest.thread_key is deprecated. See
- * google/chat/v1/message.proto;l=618
+ * google/chat/v1/message.proto;l=619
* @param value The threadKey to set.
* @return This builder for chaining.
*/
@@ -1641,7 +1641,7 @@ public Builder setThreadKey(java.lang.String value) {
*
*
* @deprecated google.chat.v1.CreateMessageRequest.thread_key is deprecated. See
- * google/chat/v1/message.proto;l=618
+ * google/chat/v1/message.proto;l=619
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -1669,7 +1669,7 @@ public Builder clearThreadKey() {
*
*
* @deprecated google.chat.v1.CreateMessageRequest.thread_key is deprecated. See
- * google/chat/v1/message.proto;l=618
+ * google/chat/v1/message.proto;l=619
* @param value The bytes for threadKey to set.
* @return This builder for chaining.
*/
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/CreateMessageRequestOrBuilder.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/CreateMessageRequestOrBuilder.java
index e468f02d75fa..ac7a995833ad 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/CreateMessageRequestOrBuilder.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/CreateMessageRequestOrBuilder.java
@@ -114,7 +114,7 @@ public interface CreateMessageRequestOrBuilder
*
*
* @deprecated google.chat.v1.CreateMessageRequest.thread_key is deprecated. See
- * google/chat/v1/message.proto;l=618
+ * google/chat/v1/message.proto;l=619
* @return The threadKey.
*/
@java.lang.Deprecated
@@ -137,7 +137,7 @@ public interface CreateMessageRequestOrBuilder
*
*
* @deprecated google.chat.v1.CreateMessageRequest.thread_key is deprecated. See
- * google/chat/v1/message.proto;l=618
+ * google/chat/v1/message.proto;l=619
* @return The bytes for threadKey.
*/
@java.lang.Deprecated
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/Message.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/Message.java
index 54e3d62bd978..c45f8ecd1cdd 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/Message.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/Message.java
@@ -499,8 +499,8 @@ public com.google.protobuf.ByteString getTextBytes() {
*
* * [Markup
* syntax](https://developers.google.com/workspace/chat/format-messages)
- * for bold, italic, strikethrough, monospace, monospace block, and bulleted
- * list.
+ * for bold, italic, strikethrough, monospace, monospace block, bulleted
+ * list, and block quote.
*
* * [User
* mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention)
@@ -547,8 +547,8 @@ public java.lang.String getFormattedText() {
*
* * [Markup
* syntax](https://developers.google.com/workspace/chat/format-messages)
- * for bold, italic, strikethrough, monospace, monospace block, and bulleted
- * list.
+ * for bold, italic, strikethrough, monospace, monospace block, bulleted
+ * list, and block quote.
*
* * [User
* mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention)
@@ -1363,8 +1363,8 @@ public com.google.chat.v1.AttachmentOrBuilder getAttachmentOrBuilder(int index)
*
*
*
- * Output only. A URL in `spaces.messages.text` that matches a link preview
- * pattern. For more information, see [Preview
+ * Output only. A URL in the Chat message `text` field that matches a link
+ * preview pattern. For more information, see [Preview
* links](https://developers.google.com/workspace/chat/preview-links).
*
*
@@ -1382,8 +1382,8 @@ public boolean hasMatchedUrl() {
*
*
*
- * Output only. A URL in `spaces.messages.text` that matches a link preview
- * pattern. For more information, see [Preview
+ * Output only. A URL in the Chat message `text` field that matches a link
+ * preview pattern. For more information, see [Preview
* links](https://developers.google.com/workspace/chat/preview-links).
*
*
@@ -1401,8 +1401,8 @@ public com.google.chat.v1.MatchedUrl getMatchedUrl() {
*
*
*
- * Output only. A URL in `spaces.messages.text` that matches a link preview
- * pattern. For more information, see [Preview
+ * Output only. A URL in the Chat message `text` field that matches a link
+ * preview pattern. For more information, see [Preview
* links](https://developers.google.com/workspace/chat/preview-links).
*
*
@@ -4720,8 +4720,8 @@ public Builder setTextBytes(com.google.protobuf.ByteString value) {
*
* * [Markup
* syntax](https://developers.google.com/workspace/chat/format-messages)
- * for bold, italic, strikethrough, monospace, monospace block, and bulleted
- * list.
+ * for bold, italic, strikethrough, monospace, monospace block, bulleted
+ * list, and block quote.
*
* * [User
* mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention)
@@ -4767,8 +4767,8 @@ public java.lang.String getFormattedText() {
*
* * [Markup
* syntax](https://developers.google.com/workspace/chat/format-messages)
- * for bold, italic, strikethrough, monospace, monospace block, and bulleted
- * list.
+ * for bold, italic, strikethrough, monospace, monospace block, bulleted
+ * list, and block quote.
*
* * [User
* mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention)
@@ -4814,8 +4814,8 @@ public com.google.protobuf.ByteString getFormattedTextBytes() {
*
* * [Markup
* syntax](https://developers.google.com/workspace/chat/format-messages)
- * for bold, italic, strikethrough, monospace, monospace block, and bulleted
- * list.
+ * for bold, italic, strikethrough, monospace, monospace block, bulleted
+ * list, and block quote.
*
* * [User
* mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention)
@@ -4860,8 +4860,8 @@ public Builder setFormattedText(java.lang.String value) {
*
* * [Markup
* syntax](https://developers.google.com/workspace/chat/format-messages)
- * for bold, italic, strikethrough, monospace, monospace block, and bulleted
- * list.
+ * for bold, italic, strikethrough, monospace, monospace block, bulleted
+ * list, and block quote.
*
* * [User
* mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention)
@@ -4902,8 +4902,8 @@ public Builder clearFormattedText() {
*
* * [Markup
* syntax](https://developers.google.com/workspace/chat/format-messages)
- * for bold, italic, strikethrough, monospace, monospace block, and bulleted
- * list.
+ * for bold, italic, strikethrough, monospace, monospace block, bulleted
+ * list, and block quote.
*
* * [User
* mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention)
@@ -7954,8 +7954,8 @@ public java.util.List
- * Output only. A URL in `spaces.messages.text` that matches a link preview
- * pattern. For more information, see [Preview
+ * Output only. A URL in the Chat message `text` field that matches a link
+ * preview pattern. For more information, see [Preview
* links](https://developers.google.com/workspace/chat/preview-links).
*
*
@@ -7973,8 +7973,8 @@ public boolean hasMatchedUrl() {
*
*
*
- * Output only. A URL in `spaces.messages.text` that matches a link preview
- * pattern. For more information, see [Preview
+ * Output only. A URL in the Chat message `text` field that matches a link
+ * preview pattern. For more information, see [Preview
* links](https://developers.google.com/workspace/chat/preview-links).
*
*
@@ -7998,8 +7998,8 @@ public com.google.chat.v1.MatchedUrl getMatchedUrl() {
*
*
*
- * Output only. A URL in `spaces.messages.text` that matches a link preview
- * pattern. For more information, see [Preview
+ * Output only. A URL in the Chat message `text` field that matches a link
+ * preview pattern. For more information, see [Preview
* links](https://developers.google.com/workspace/chat/preview-links).
*
*
@@ -8025,8 +8025,8 @@ public Builder setMatchedUrl(com.google.chat.v1.MatchedUrl value) {
*
*
*
- * Output only. A URL in `spaces.messages.text` that matches a link preview
- * pattern. For more information, see [Preview
+ * Output only. A URL in the Chat message `text` field that matches a link
+ * preview pattern. For more information, see [Preview
* links](https://developers.google.com/workspace/chat/preview-links).
*
*
@@ -8049,8 +8049,8 @@ public Builder setMatchedUrl(com.google.chat.v1.MatchedUrl.Builder builderForVal
*
*
*
- * Output only. A URL in `spaces.messages.text` that matches a link preview
- * pattern. For more information, see [Preview
+ * Output only. A URL in the Chat message `text` field that matches a link
+ * preview pattern. For more information, see [Preview
* links](https://developers.google.com/workspace/chat/preview-links).
*
*
@@ -8081,8 +8081,8 @@ public Builder mergeMatchedUrl(com.google.chat.v1.MatchedUrl value) {
*
*
*
- * Output only. A URL in `spaces.messages.text` that matches a link preview
- * pattern. For more information, see [Preview
+ * Output only. A URL in the Chat message `text` field that matches a link
+ * preview pattern. For more information, see [Preview
* links](https://developers.google.com/workspace/chat/preview-links).
*
*
@@ -8105,8 +8105,8 @@ public Builder clearMatchedUrl() {
*
*
*
- * Output only. A URL in `spaces.messages.text` that matches a link preview
- * pattern. For more information, see [Preview
+ * Output only. A URL in the Chat message `text` field that matches a link
+ * preview pattern. For more information, see [Preview
* links](https://developers.google.com/workspace/chat/preview-links).
*
*
@@ -8124,8 +8124,8 @@ public com.google.chat.v1.MatchedUrl.Builder getMatchedUrlBuilder() {
*
*
*
- * Output only. A URL in `spaces.messages.text` that matches a link preview
- * pattern. For more information, see [Preview
+ * Output only. A URL in the Chat message `text` field that matches a link
+ * preview pattern. For more information, see [Preview
* links](https://developers.google.com/workspace/chat/preview-links).
*
*
@@ -8147,8 +8147,8 @@ public com.google.chat.v1.MatchedUrlOrBuilder getMatchedUrlOrBuilder() {
*
*
*
- * Output only. A URL in `spaces.messages.text` that matches a link preview
- * pattern. For more information, see [Preview
+ * Output only. A URL in the Chat message `text` field that matches a link
+ * preview pattern. For more information, see [Preview
* links](https://developers.google.com/workspace/chat/preview-links).
*
*
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/MessageOrBuilder.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/MessageOrBuilder.java
index 1f2919a39bcd..32b87c9a6932 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/MessageOrBuilder.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/MessageOrBuilder.java
@@ -334,8 +334,8 @@ public interface MessageOrBuilder
*
* * [Markup
* syntax](https://developers.google.com/workspace/chat/format-messages)
- * for bold, italic, strikethrough, monospace, monospace block, and bulleted
- * list.
+ * for bold, italic, strikethrough, monospace, monospace block, bulleted
+ * list, and block quote.
*
* * [User
* mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention)
@@ -371,8 +371,8 @@ public interface MessageOrBuilder
*
* * [Markup
* syntax](https://developers.google.com/workspace/chat/format-messages)
- * for bold, italic, strikethrough, monospace, monospace block, and bulleted
- * list.
+ * for bold, italic, strikethrough, monospace, monospace block, bulleted
+ * list, and block quote.
*
* * [User
* mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention)
@@ -980,8 +980,8 @@ public interface MessageOrBuilder
*
*
*
- * Output only. A URL in `spaces.messages.text` that matches a link preview
- * pattern. For more information, see [Preview
+ * Output only. A URL in the Chat message `text` field that matches a link
+ * preview pattern. For more information, see [Preview
* links](https://developers.google.com/workspace/chat/preview-links).
*
*
@@ -996,8 +996,8 @@ public interface MessageOrBuilder
*
*
*
- * Output only. A URL in `spaces.messages.text` that matches a link preview
- * pattern. For more information, see [Preview
+ * Output only. A URL in the Chat message `text` field that matches a link
+ * preview pattern. For more information, see [Preview
* links](https://developers.google.com/workspace/chat/preview-links).
*
*
@@ -1012,8 +1012,8 @@ public interface MessageOrBuilder
*
*
*
- * Output only. A URL in `spaces.messages.text` that matches a link preview
- * pattern. For more information, see [Preview
+ * Output only. A URL in the Chat message `text` field that matches a link
+ * preview pattern. For more information, see [Preview
* links](https://developers.google.com/workspace/chat/preview-links).
*
*
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/MessageProto.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/MessageProto.java
index 9bba0d3f8822..46c021ffb966 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/MessageProto.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/MessageProto.java
@@ -120,6 +120,18 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_chat_v1_CardWithId_descriptor;
static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_google_chat_v1_CardWithId_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_chat_v1_SearchMessagesRequest_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_chat_v1_SearchMessagesRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_chat_v1_SearchMessagesResponse_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_chat_v1_SearchMessagesResponse_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_chat_v1_SearchMessageResult_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_chat_v1_SearchMessageResult_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
return descriptor;
@@ -140,7 +152,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "&google/chat/v1/deletion_metadata.proto\032"
+ " google/chat/v1/matched_url.proto\032\035googl"
+ "e/chat/v1/reaction.proto\032\"google/chat/v1"
- + "/slash_command.proto\032\032google/chat/v1/space.proto\032\031google/chat/v1/user.proto\032"
+ + "/slash_command.proto\032\032google/chat/v1/spa"
+ + "ce.proto\032/google/chat/v1/space_notificat"
+ + "ion_setting.proto\032\031google/chat/v1/user.proto\032"
+ " google/protobuf/field_mask.proto\032\037google/protobuf/timestamp.proto\"\351\n\n"
+ "\007Message\022\021\n"
+ "\004name\030\001 \001(\tB\003\340A\010\022)\n"
@@ -192,18 +206,18 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\033chat.googleapis.com/Message\0229\n"
+ "\020last_update_time\030\002"
+ " \001(\0132\032.google.protobuf.TimestampB\003\340A\002\022H\n\n"
- + "quote_type\030\004 \001(\0162"
- + "/.google.chat.v1.QuotedMessageMetadata.QuoteTypeB\003\340A\001\022K\n"
+ + "quote_type\030\004"
+ + " \001(\0162/.google.chat.v1.QuotedMessageMetadata.QuoteTypeB\003\340A\001\022K\n"
+ "\027quoted_message_snapshot\030\005"
+ " \001(\0132%.google.chat.v1.QuotedMessageSnapshotB\003\340A\003\022B\n"
- + "\022forwarded_metadata\030\006 \001(\0132!"
- + ".google.chat.v1.ForwardedMetadataB\003\340A\003\"?\n"
+ + "\022forwarded_metadata\030\006"
+ + " \001(\0132!.google.chat.v1.ForwardedMetadataB\003\340A\003\"?\n"
+ "\tQuoteType\022\032\n"
+ "\026QUOTE_TYPE_UNSPECIFIED\020\000\022\t\n"
+ "\005REPLY\020\001\022\013\n"
+ "\007FORWARD\020\002:\201\001\352A~\n"
- + ")chat.googleapis.com/QuotedMessageMetadata\022Qspaces"
- + "/{space}/messages/{message}/quotedMessageMetadata/{quoted_message_metadata}\"\310\001\n"
+ + ")chat.googleapis.com/QuotedMessageMetadata\022Qspaces/{space}/messages/{message}/quo"
+ + "tedMessageMetadata/{quoted_message_metadata}\"\310\001\n"
+ "\025QuotedMessageSnapshot\022\023\n"
+ "\006sender\030\001 \001(\tB\003\340A\003\022\021\n"
+ "\004text\030\002 \001(\tB\003\340A\003\022\033\n"
@@ -254,8 +268,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\024UpdateMessageRequest\022-\n"
+ "\007message\030\001 \001(\0132\027.google.chat.v1.MessageB\003\340A\002\0224\n"
+ "\013update_mask\030\002"
- + " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\022\032\n"
- + "\r"
+ + " \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\022\032\n\r"
+ "allow_missing\030\004 \001(\010B\003\340A\001\"\210\004\n"
+ "\024CreateMessageRequest\0223\n"
+ "\006parent\030\001 \001("
@@ -263,8 +276,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\007message\030\004 \001(\0132\027.google.chat.v1.MessageB\003\340A\002\022\031\n\n"
+ "thread_key\030\006 \001(\tB\005\030\001\340A\001\022\027\n\n"
+ "request_id\030\007 \001(\tB\003\340A\001\022Z\n"
- + "\024message_reply_option\030\010 \001(\01627.googl"
- + "e.chat.v1.CreateMessageRequest.MessageReplyOptionB\003\340A\001\022\027\n\n"
+ + "\024message_reply_option\030\010 \001("
+ + "\01627.google.chat.v1.CreateMessageRequest.MessageReplyOptionB\003\340A\001\022\027\n\n"
+ "message_id\030\t \001(\tB\003\340A\001\022b\n"
+ "#create_message_notification_options\030\n"
+ " \001(\01320.google.chat.v1.CreateMessageNotificationOptionsB\003\340A\001\"\177\n"
@@ -273,8 +286,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "$REPLY_MESSAGE_FALLBACK_TO_NEW_THREAD\020\001\022\031\n"
+ "\025REPLY_MESSAGE_OR_FAIL\020\002\"\362\001\n"
+ " CreateMessageNotificationOptions\022\\\n"
- + "\021notification_type\030\001 \001(\0162A.google.chat.v1.CreateMess"
- + "ageNotificationOptions.NotificationType\"p\n"
+ + "\021notification_type\030\001 \001(\0162A.google.chat.v1.C"
+ + "reateMessageNotificationOptions.NotificationType\"p\n"
+ "\020NotificationType\022\032\n"
+ "\026NOTIFICATION_TYPE_NONE\020\000\022\"\n"
+ "\036NOTIFICATION_TYPE_FORCE_NOTIFY\020\002\022\034\n"
@@ -298,11 +311,32 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\004body\030\001 \001(\0132\031.google.apps.card.v1.CardB\003\340A\004\"F\n\n"
+ "CardWithId\022\017\n"
+ "\007card_id\030\001 \001(\t\022\'\n"
- + "\004card\030\002 \001(\0132\031.google.apps.card.v1.CardB\245\001\n"
- + "\022com.google.chat.v1B\014MessageProtoP\001Z,cloud.google.com/"
- + "go/chat/apiv1/chatpb;chatpb\242\002\013DYNAPIProt"
- + "o\252\002\023Google.Apps.Chat.V1\312\002\023Google\\Apps\\Ch"
- + "at\\V1\352\002\026Google::Apps::Chat::V1b\006proto3"
+ + "\004card\030\002 \001(\0132\031.google.apps.card.v1.Card\"\357\002\n"
+ + "\025SearchMessagesRequest\0221\n"
+ + "\006parent\030\001 \001(\tB!\340A\002\372A\033\n"
+ + "\031chat.googleapis.com/Space\022\023\n"
+ + "\006filter\030\002 \001(\tB\003\340A\002\022\026\n"
+ + "\tpage_size\030\003 \001(\005B\003\340A\001\022\027\n\n"
+ + "page_token\030\004 \001(\tB\003\340A\001\022\025\n"
+ + "\010order_by\030\005 \001(\tB\003\340A\001\022K\n"
+ + "\004view\030\007 \001(\01628.google.chat.v1.SearchM"
+ + "essagesRequest.SearchMessagesViewB\003\340A\001\"y\n"
+ + "\022SearchMessagesView\022$\n"
+ + " SEARCH_MESSAGES_VIEW_UNSPECIFIED\020\000\022\036\n"
+ + "\032SEARCH_MESSAGES_VIEW_BASIC\020\001\022\035\n"
+ + "\031SEARCH_MESSAGES_VIEW_FULL\020\002\"g\n"
+ + "\026SearchMessagesResponse\0224\n"
+ + "\007results\030\001 \003(\0132#.google.chat.v1.SearchMessageResult\022\027\n"
+ + "\017next_page_token\030\002 \001(\t\"\255\001\n"
+ + "\023SearchMessageResult\022(\n"
+ + "\007message\030\001 \001(\0132\027.google.chat.v1.Message\022\021\n"
+ + "\004read\030\003 \001(\010H\000\210\001\001\022P\n"
+ + "\022space_mute_setting\030\004"
+ + " \001(\01624.google.chat.v1.SpaceNotificationSetting.MuteSettingB\007\n"
+ + "\005_readB\245\001\n"
+ + "\022com.google.chat.v1B\014MessageProtoP\001Z,cloud.google.com/go/chat/apiv1/chatpb"
+ + ";chatpb\242\002\013DYNAPIProto\252\002\023Google.Apps.Chat"
+ + ".V1\312\002\023Google\\Apps\\Chat\\V1\352\002\026Google::Apps::Chat::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -320,6 +354,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.chat.v1.ReactionProto.getDescriptor(),
com.google.chat.v1.SlashCommandProto.getDescriptor(),
com.google.chat.v1.SpaceProto.getDescriptor(),
+ com.google.chat.v1.SpaceNotificationSettingProto.getDescriptor(),
com.google.chat.v1.UserProto.getDescriptor(),
com.google.protobuf.FieldMaskProto.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
@@ -506,6 +541,30 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"CardId", "Card",
});
+ internal_static_google_chat_v1_SearchMessagesRequest_descriptor =
+ getDescriptor().getMessageType(18);
+ internal_static_google_chat_v1_SearchMessagesRequest_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_chat_v1_SearchMessagesRequest_descriptor,
+ new java.lang.String[] {
+ "Parent", "Filter", "PageSize", "PageToken", "OrderBy", "View",
+ });
+ internal_static_google_chat_v1_SearchMessagesResponse_descriptor =
+ getDescriptor().getMessageType(19);
+ internal_static_google_chat_v1_SearchMessagesResponse_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_chat_v1_SearchMessagesResponse_descriptor,
+ new java.lang.String[] {
+ "Results", "NextPageToken",
+ });
+ internal_static_google_chat_v1_SearchMessageResult_descriptor =
+ getDescriptor().getMessageType(20);
+ internal_static_google_chat_v1_SearchMessageResult_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_chat_v1_SearchMessageResult_descriptor,
+ new java.lang.String[] {
+ "Message", "Read", "SpaceMuteSetting",
+ });
descriptor.resolveAllFeaturesImmutable();
com.google.api.FieldBehaviorProto.getDescriptor();
com.google.api.ResourceProto.getDescriptor();
@@ -519,6 +578,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.chat.v1.ReactionProto.getDescriptor();
com.google.chat.v1.SlashCommandProto.getDescriptor();
com.google.chat.v1.SpaceProto.getDescriptor();
+ com.google.chat.v1.SpaceNotificationSettingProto.getDescriptor();
com.google.chat.v1.UserProto.getDescriptor();
com.google.protobuf.FieldMaskProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/SearchMessageResult.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/SearchMessageResult.java
new file mode 100644
index 000000000000..fa73b0d38814
--- /dev/null
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/SearchMessageResult.java
@@ -0,0 +1,1085 @@
+/*
+ * Copyright 2026 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: google/chat/v1/message.proto
+// Protobuf Java Version: 4.33.6
+
+package com.google.chat.v1;
+
+/**
+ *
+ *
+ *
+ * A single result item from a message search.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.SearchMessageResult}
+ */
+@com.google.protobuf.Generated
+public final class SearchMessageResult extends com.google.protobuf.GeneratedMessage
+ implements
+ // @@protoc_insertion_point(message_implements:google.chat.v1.SearchMessageResult)
+ SearchMessageResultOrBuilder {
+ private static final long serialVersionUID = 0L;
+
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 6,
+ /* suffix= */ "",
+ "SearchMessageResult");
+ }
+
+ // Use SearchMessageResult.newBuilder() to construct.
+ private SearchMessageResult(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+
+ private SearchMessageResult() {
+ spaceMuteSetting_ = 0;
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.chat.v1.MessageProto
+ .internal_static_google_chat_v1_SearchMessageResult_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.chat.v1.MessageProto
+ .internal_static_google_chat_v1_SearchMessageResult_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.chat.v1.SearchMessageResult.class,
+ com.google.chat.v1.SearchMessageResult.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int MESSAGE_FIELD_NUMBER = 1;
+ private com.google.chat.v1.Message message_;
+
+ /**
+ *
+ *
+ *
+ * The matched message.
+ *
+ *
+ * .google.chat.v1.Message message = 1;
+ *
+ * @return Whether the message field is set.
+ */
+ @java.lang.Override
+ public boolean hasMessage() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * The matched message.
+ *
+ *
+ * .google.chat.v1.Message message = 1;
+ *
+ * @return The message.
+ */
+ @java.lang.Override
+ public com.google.chat.v1.Message getMessage() {
+ return message_ == null ? com.google.chat.v1.Message.getDefaultInstance() : message_;
+ }
+
+ /**
+ *
+ *
+ *
+ * The matched message.
+ *
+ *
+ * .google.chat.v1.Message message = 1;
+ */
+ @java.lang.Override
+ public com.google.chat.v1.MessageOrBuilder getMessageOrBuilder() {
+ return message_ == null ? com.google.chat.v1.Message.getDefaultInstance() : message_;
+ }
+
+ public static final int READ_FIELD_NUMBER = 3;
+ private boolean read_ = false;
+
+ /**
+ *
+ *
+ *
+ * Indicates if the matched message is read by the calling user.
+ *
+ * Only returned if the request view is `SEARCH_MESSAGES_VIEW_FULL` and the
+ * calling credentials include one of the following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.users.readstate.readonly`
+ * - `https://www.googleapis.com/auth/chat.users.readstate`
+ *
+ *
+ * optional bool read = 3;
+ *
+ * @return Whether the read field is set.
+ */
+ @java.lang.Override
+ public boolean hasRead() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Indicates if the matched message is read by the calling user.
+ *
+ * Only returned if the request view is `SEARCH_MESSAGES_VIEW_FULL` and the
+ * calling credentials include one of the following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.users.readstate.readonly`
+ * - `https://www.googleapis.com/auth/chat.users.readstate`
+ *
+ *
+ * optional bool read = 3;
+ *
+ * @return The read.
+ */
+ @java.lang.Override
+ public boolean getRead() {
+ return read_;
+ }
+
+ public static final int SPACE_MUTE_SETTING_FIELD_NUMBER = 4;
+ private int spaceMuteSetting_ = 0;
+
+ /**
+ *
+ *
+ *
+ * The mute setting of the calling user for the space where the message is
+ * posted. The caller app can use this information to decide how to process
+ * the message depending on whether the space is muted for the user or not.
+ *
+ * Only returned if the request view is `SEARCH_MESSAGES_VIEW_FULL` and the
+ * calling credentials include the following [authorization
+ * scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.users.spacesettings`
+ *
+ *
+ * .google.chat.v1.SpaceNotificationSetting.MuteSetting space_mute_setting = 4;
+ *
+ * @return The enum numeric value on the wire for spaceMuteSetting.
+ */
+ @java.lang.Override
+ public int getSpaceMuteSettingValue() {
+ return spaceMuteSetting_;
+ }
+
+ /**
+ *
+ *
+ *
+ * The mute setting of the calling user for the space where the message is
+ * posted. The caller app can use this information to decide how to process
+ * the message depending on whether the space is muted for the user or not.
+ *
+ * Only returned if the request view is `SEARCH_MESSAGES_VIEW_FULL` and the
+ * calling credentials include the following [authorization
+ * scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.users.spacesettings`
+ *
+ *
+ * .google.chat.v1.SpaceNotificationSetting.MuteSetting space_mute_setting = 4;
+ *
+ * @return The spaceMuteSetting.
+ */
+ @java.lang.Override
+ public com.google.chat.v1.SpaceNotificationSetting.MuteSetting getSpaceMuteSetting() {
+ com.google.chat.v1.SpaceNotificationSetting.MuteSetting result =
+ com.google.chat.v1.SpaceNotificationSetting.MuteSetting.forNumber(spaceMuteSetting_);
+ return result == null
+ ? com.google.chat.v1.SpaceNotificationSetting.MuteSetting.UNRECOGNIZED
+ : result;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(1, getMessage());
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ output.writeBool(3, read_);
+ }
+ if (spaceMuteSetting_
+ != com.google.chat.v1.SpaceNotificationSetting.MuteSetting.MUTE_SETTING_UNSPECIFIED
+ .getNumber()) {
+ output.writeEnum(4, spaceMuteSetting_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getMessage());
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, read_);
+ }
+ if (spaceMuteSetting_
+ != com.google.chat.v1.SpaceNotificationSetting.MuteSetting.MUTE_SETTING_UNSPECIFIED
+ .getNumber()) {
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, spaceMuteSetting_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.chat.v1.SearchMessageResult)) {
+ return super.equals(obj);
+ }
+ com.google.chat.v1.SearchMessageResult other = (com.google.chat.v1.SearchMessageResult) obj;
+
+ if (hasMessage() != other.hasMessage()) return false;
+ if (hasMessage()) {
+ if (!getMessage().equals(other.getMessage())) return false;
+ }
+ if (hasRead() != other.hasRead()) return false;
+ if (hasRead()) {
+ if (getRead() != other.getRead()) return false;
+ }
+ if (spaceMuteSetting_ != other.spaceMuteSetting_) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasMessage()) {
+ hash = (37 * hash) + MESSAGE_FIELD_NUMBER;
+ hash = (53 * hash) + getMessage().hashCode();
+ }
+ if (hasRead()) {
+ hash = (37 * hash) + READ_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRead());
+ }
+ hash = (37 * hash) + SPACE_MUTE_SETTING_FIELD_NUMBER;
+ hash = (53 * hash) + spaceMuteSetting_;
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.chat.v1.SearchMessageResult parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.chat.v1.SearchMessageResult parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.chat.v1.SearchMessageResult parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.chat.v1.SearchMessageResult parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.chat.v1.SearchMessageResult parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.chat.v1.SearchMessageResult parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.chat.v1.SearchMessageResult parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.chat.v1.SearchMessageResult parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.chat.v1.SearchMessageResult parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.chat.v1.SearchMessageResult parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.chat.v1.SearchMessageResult parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.chat.v1.SearchMessageResult parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(com.google.chat.v1.SearchMessageResult prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ *
+ *
+ *
+ * A single result item from a message search.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.SearchMessageResult}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ * The matched message.
+ *
+ *
+ * .google.chat.v1.Message message = 1;
+ *
+ * @return Whether the message field is set.
+ */
+ public boolean hasMessage() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * The matched message.
+ *
+ *
+ * .google.chat.v1.Message message = 1;
+ *
+ * @return The message.
+ */
+ public com.google.chat.v1.Message getMessage() {
+ if (messageBuilder_ == null) {
+ return message_ == null ? com.google.chat.v1.Message.getDefaultInstance() : message_;
+ } else {
+ return messageBuilder_.getMessage();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The matched message.
+ *
+ *
+ * .google.chat.v1.Message message = 1;
+ */
+ public Builder setMessage(com.google.chat.v1.Message value) {
+ if (messageBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ message_ = value;
+ } else {
+ messageBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The matched message.
+ *
+ *
+ * .google.chat.v1.Message message = 1;
+ */
+ public Builder setMessage(com.google.chat.v1.Message.Builder builderForValue) {
+ if (messageBuilder_ == null) {
+ message_ = builderForValue.build();
+ } else {
+ messageBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The matched message.
+ *
+ *
+ * .google.chat.v1.Message message = 1;
+ */
+ public Builder mergeMessage(com.google.chat.v1.Message value) {
+ if (messageBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0)
+ && message_ != null
+ && message_ != com.google.chat.v1.Message.getDefaultInstance()) {
+ getMessageBuilder().mergeFrom(value);
+ } else {
+ message_ = value;
+ }
+ } else {
+ messageBuilder_.mergeFrom(value);
+ }
+ if (message_ != null) {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The matched message.
+ *
+ *
+ * .google.chat.v1.Message message = 1;
+ */
+ public Builder clearMessage() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ message_ = null;
+ if (messageBuilder_ != null) {
+ messageBuilder_.dispose();
+ messageBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The matched message.
+ *
+ *
+ * .google.chat.v1.Message message = 1;
+ */
+ public com.google.chat.v1.Message.Builder getMessageBuilder() {
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return internalGetMessageFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * The matched message.
+ *
+ *
+ * .google.chat.v1.Message message = 1;
+ */
+ public com.google.chat.v1.MessageOrBuilder getMessageOrBuilder() {
+ if (messageBuilder_ != null) {
+ return messageBuilder_.getMessageOrBuilder();
+ } else {
+ return message_ == null ? com.google.chat.v1.Message.getDefaultInstance() : message_;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The matched message.
+ *
+ *
+ * .google.chat.v1.Message message = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.chat.v1.Message,
+ com.google.chat.v1.Message.Builder,
+ com.google.chat.v1.MessageOrBuilder>
+ internalGetMessageFieldBuilder() {
+ if (messageBuilder_ == null) {
+ messageBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.chat.v1.Message,
+ com.google.chat.v1.Message.Builder,
+ com.google.chat.v1.MessageOrBuilder>(
+ getMessage(), getParentForChildren(), isClean());
+ message_ = null;
+ }
+ return messageBuilder_;
+ }
+
+ private boolean read_;
+
+ /**
+ *
+ *
+ *
+ * Indicates if the matched message is read by the calling user.
+ *
+ * Only returned if the request view is `SEARCH_MESSAGES_VIEW_FULL` and the
+ * calling credentials include one of the following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.users.readstate.readonly`
+ * - `https://www.googleapis.com/auth/chat.users.readstate`
+ *
+ *
+ * optional bool read = 3;
+ *
+ * @return Whether the read field is set.
+ */
+ @java.lang.Override
+ public boolean hasRead() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Indicates if the matched message is read by the calling user.
+ *
+ * Only returned if the request view is `SEARCH_MESSAGES_VIEW_FULL` and the
+ * calling credentials include one of the following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.users.readstate.readonly`
+ * - `https://www.googleapis.com/auth/chat.users.readstate`
+ *
+ *
+ * optional bool read = 3;
+ *
+ * @return The read.
+ */
+ @java.lang.Override
+ public boolean getRead() {
+ return read_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Indicates if the matched message is read by the calling user.
+ *
+ * Only returned if the request view is `SEARCH_MESSAGES_VIEW_FULL` and the
+ * calling credentials include one of the following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.users.readstate.readonly`
+ * - `https://www.googleapis.com/auth/chat.users.readstate`
+ *
+ *
+ * optional bool read = 3;
+ *
+ * @param value The read to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRead(boolean value) {
+
+ read_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Indicates if the matched message is read by the calling user.
+ *
+ * Only returned if the request view is `SEARCH_MESSAGES_VIEW_FULL` and the
+ * calling credentials include one of the following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.users.readstate.readonly`
+ * - `https://www.googleapis.com/auth/chat.users.readstate`
+ *
+ *
+ * optional bool read = 3;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearRead() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ read_ = false;
+ onChanged();
+ return this;
+ }
+
+ private int spaceMuteSetting_ = 0;
+
+ /**
+ *
+ *
+ *
+ * The mute setting of the calling user for the space where the message is
+ * posted. The caller app can use this information to decide how to process
+ * the message depending on whether the space is muted for the user or not.
+ *
+ * Only returned if the request view is `SEARCH_MESSAGES_VIEW_FULL` and the
+ * calling credentials include the following [authorization
+ * scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.users.spacesettings`
+ *
+ *
+ * .google.chat.v1.SpaceNotificationSetting.MuteSetting space_mute_setting = 4;
+ *
+ * @return The enum numeric value on the wire for spaceMuteSetting.
+ */
+ @java.lang.Override
+ public int getSpaceMuteSettingValue() {
+ return spaceMuteSetting_;
+ }
+
+ /**
+ *
+ *
+ *
+ * The mute setting of the calling user for the space where the message is
+ * posted. The caller app can use this information to decide how to process
+ * the message depending on whether the space is muted for the user or not.
+ *
+ * Only returned if the request view is `SEARCH_MESSAGES_VIEW_FULL` and the
+ * calling credentials include the following [authorization
+ * scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.users.spacesettings`
+ *
+ *
+ * .google.chat.v1.SpaceNotificationSetting.MuteSetting space_mute_setting = 4;
+ *
+ * @param value The enum numeric value on the wire for spaceMuteSetting to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSpaceMuteSettingValue(int value) {
+ spaceMuteSetting_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The mute setting of the calling user for the space where the message is
+ * posted. The caller app can use this information to decide how to process
+ * the message depending on whether the space is muted for the user or not.
+ *
+ * Only returned if the request view is `SEARCH_MESSAGES_VIEW_FULL` and the
+ * calling credentials include the following [authorization
+ * scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.users.spacesettings`
+ *
+ *
+ * .google.chat.v1.SpaceNotificationSetting.MuteSetting space_mute_setting = 4;
+ *
+ * @return The spaceMuteSetting.
+ */
+ @java.lang.Override
+ public com.google.chat.v1.SpaceNotificationSetting.MuteSetting getSpaceMuteSetting() {
+ com.google.chat.v1.SpaceNotificationSetting.MuteSetting result =
+ com.google.chat.v1.SpaceNotificationSetting.MuteSetting.forNumber(spaceMuteSetting_);
+ return result == null
+ ? com.google.chat.v1.SpaceNotificationSetting.MuteSetting.UNRECOGNIZED
+ : result;
+ }
+
+ /**
+ *
+ *
+ *
+ * The mute setting of the calling user for the space where the message is
+ * posted. The caller app can use this information to decide how to process
+ * the message depending on whether the space is muted for the user or not.
+ *
+ * Only returned if the request view is `SEARCH_MESSAGES_VIEW_FULL` and the
+ * calling credentials include the following [authorization
+ * scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.users.spacesettings`
+ *
+ *
+ * .google.chat.v1.SpaceNotificationSetting.MuteSetting space_mute_setting = 4;
+ *
+ * @param value The spaceMuteSetting to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSpaceMuteSetting(
+ com.google.chat.v1.SpaceNotificationSetting.MuteSetting value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
+ spaceMuteSetting_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The mute setting of the calling user for the space where the message is
+ * posted. The caller app can use this information to decide how to process
+ * the message depending on whether the space is muted for the user or not.
+ *
+ * Only returned if the request view is `SEARCH_MESSAGES_VIEW_FULL` and the
+ * calling credentials include the following [authorization
+ * scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.users.spacesettings`
+ *
+ *
+ * .google.chat.v1.SpaceNotificationSetting.MuteSetting space_mute_setting = 4;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearSpaceMuteSetting() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ spaceMuteSetting_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.chat.v1.SearchMessageResult)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.chat.v1.SearchMessageResult)
+ private static final com.google.chat.v1.SearchMessageResult DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.chat.v1.SearchMessageResult();
+ }
+
+ public static com.google.chat.v1.SearchMessageResult getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * The matched message.
+ *
+ *
+ * .google.chat.v1.Message message = 1;
+ *
+ * @return Whether the message field is set.
+ */
+ boolean hasMessage();
+
+ /**
+ *
+ *
+ *
+ * The matched message.
+ *
+ *
+ * .google.chat.v1.Message message = 1;
+ *
+ * @return The message.
+ */
+ com.google.chat.v1.Message getMessage();
+
+ /**
+ *
+ *
+ *
+ * The matched message.
+ *
+ *
+ * .google.chat.v1.Message message = 1;
+ */
+ com.google.chat.v1.MessageOrBuilder getMessageOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Indicates if the matched message is read by the calling user.
+ *
+ * Only returned if the request view is `SEARCH_MESSAGES_VIEW_FULL` and the
+ * calling credentials include one of the following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.users.readstate.readonly`
+ * - `https://www.googleapis.com/auth/chat.users.readstate`
+ *
+ *
+ * optional bool read = 3;
+ *
+ * @return Whether the read field is set.
+ */
+ boolean hasRead();
+
+ /**
+ *
+ *
+ *
+ * Indicates if the matched message is read by the calling user.
+ *
+ * Only returned if the request view is `SEARCH_MESSAGES_VIEW_FULL` and the
+ * calling credentials include one of the following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.users.readstate.readonly`
+ * - `https://www.googleapis.com/auth/chat.users.readstate`
+ *
+ *
+ * optional bool read = 3;
+ *
+ * @return The read.
+ */
+ boolean getRead();
+
+ /**
+ *
+ *
+ *
+ * The mute setting of the calling user for the space where the message is
+ * posted. The caller app can use this information to decide how to process
+ * the message depending on whether the space is muted for the user or not.
+ *
+ * Only returned if the request view is `SEARCH_MESSAGES_VIEW_FULL` and the
+ * calling credentials include the following [authorization
+ * scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.users.spacesettings`
+ *
+ *
+ * .google.chat.v1.SpaceNotificationSetting.MuteSetting space_mute_setting = 4;
+ *
+ * @return The enum numeric value on the wire for spaceMuteSetting.
+ */
+ int getSpaceMuteSettingValue();
+
+ /**
+ *
+ *
+ *
+ * The mute setting of the calling user for the space where the message is
+ * posted. The caller app can use this information to decide how to process
+ * the message depending on whether the space is muted for the user or not.
+ *
+ * Only returned if the request view is `SEARCH_MESSAGES_VIEW_FULL` and the
+ * calling credentials include the following [authorization
+ * scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.users.spacesettings`
+ *
+ *
+ * .google.chat.v1.SpaceNotificationSetting.MuteSetting space_mute_setting = 4;
+ *
+ * @return The spaceMuteSetting.
+ */
+ com.google.chat.v1.SpaceNotificationSetting.MuteSetting getSpaceMuteSetting();
+}
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/SearchMessagesRequest.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/SearchMessagesRequest.java
new file mode 100644
index 000000000000..0a46e12262a8
--- /dev/null
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/SearchMessagesRequest.java
@@ -0,0 +1,2682 @@
+/*
+ * Copyright 2026 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: google/chat/v1/message.proto
+// Protobuf Java Version: 4.33.6
+
+package com.google.chat.v1;
+
+/**
+ *
+ *
+ *
+ * Request message for searching messages.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.SearchMessagesRequest}
+ */
+@com.google.protobuf.Generated
+public final class SearchMessagesRequest extends com.google.protobuf.GeneratedMessage
+ implements
+ // @@protoc_insertion_point(message_implements:google.chat.v1.SearchMessagesRequest)
+ SearchMessagesRequestOrBuilder {
+ private static final long serialVersionUID = 0L;
+
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 6,
+ /* suffix= */ "",
+ "SearchMessagesRequest");
+ }
+
+ // Use SearchMessagesRequest.newBuilder() to construct.
+ private SearchMessagesRequest(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+
+ private SearchMessagesRequest() {
+ parent_ = "";
+ filter_ = "";
+ pageToken_ = "";
+ orderBy_ = "";
+ view_ = 0;
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.chat.v1.MessageProto
+ .internal_static_google_chat_v1_SearchMessagesRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.chat.v1.MessageProto
+ .internal_static_google_chat_v1_SearchMessagesRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.chat.v1.SearchMessagesRequest.class,
+ com.google.chat.v1.SearchMessagesRequest.Builder.class);
+ }
+
+ /**
+ *
+ *
+ *
+ * The kinds of view that are supported for partial search results.
+ *
+ *
+ * Protobuf enum {@code google.chat.v1.SearchMessagesRequest.SearchMessagesView}
+ */
+ public enum SearchMessagesView implements com.google.protobuf.ProtocolMessageEnum {
+ /**
+ *
+ *
+ *
+ * The default / unset value.
+ * The API will default to the BASIC view.
+ *
+ *
+ * SEARCH_MESSAGES_VIEW_UNSPECIFIED = 0;
+ */
+ SEARCH_MESSAGES_VIEW_UNSPECIFIED(0),
+ /**
+ *
+ *
+ *
+ * Includes only the matched messages in the results, but no additional
+ * metadata. This is the default value.
+ *
+ *
+ * SEARCH_MESSAGES_VIEW_BASIC = 1;
+ */
+ SEARCH_MESSAGES_VIEW_BASIC(1),
+ /**
+ *
+ *
+ *
+ * Includes everything in the results: the matched messages and additional
+ * metadata.
+ *
+ *
+ * SEARCH_MESSAGES_VIEW_FULL = 2;
+ */
+ SEARCH_MESSAGES_VIEW_FULL(2),
+ UNRECOGNIZED(-1),
+ ;
+
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 6,
+ /* suffix= */ "",
+ "SearchMessagesView");
+ }
+
+ /**
+ *
+ *
+ *
+ * The default / unset value.
+ * The API will default to the BASIC view.
+ *
+ *
+ * SEARCH_MESSAGES_VIEW_UNSPECIFIED = 0;
+ */
+ public static final int SEARCH_MESSAGES_VIEW_UNSPECIFIED_VALUE = 0;
+
+ /**
+ *
+ *
+ *
+ * Includes only the matched messages in the results, but no additional
+ * metadata. This is the default value.
+ *
+ *
+ * SEARCH_MESSAGES_VIEW_BASIC = 1;
+ */
+ public static final int SEARCH_MESSAGES_VIEW_BASIC_VALUE = 1;
+
+ /**
+ *
+ *
+ *
+ * Includes everything in the results: the matched messages and additional
+ * metadata.
+ *
+ *
+ * SEARCH_MESSAGES_VIEW_FULL = 2;
+ */
+ public static final int SEARCH_MESSAGES_VIEW_FULL_VALUE = 2;
+
+ public final int getNumber() {
+ if (this == UNRECOGNIZED) {
+ throw new java.lang.IllegalArgumentException(
+ "Can't get the number of an unknown enum value.");
+ }
+ return value;
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
+ @java.lang.Deprecated
+ public static SearchMessagesView valueOf(int value) {
+ return forNumber(value);
+ }
+
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
+ public static SearchMessagesView forNumber(int value) {
+ switch (value) {
+ case 0:
+ return SEARCH_MESSAGES_VIEW_UNSPECIFIED;
+ case 1:
+ return SEARCH_MESSAGES_VIEW_BASIC;
+ case 2:
+ return SEARCH_MESSAGES_VIEW_FULL;
+ default:
+ return null;
+ }
+ }
+
+ public static com.google.protobuf.Internal.EnumLiteMap
+ * Required. The resource name of the space to search within.
+ *
+ * To search across all spaces the user has access to, set this field to
+ * `spaces/-`. Using any other value for `parent` results in an
+ * `INVALID_ARGUMENT` error.
+ *
+ * To limit the search to one or more spaces, use `space.name` or
+ * `space.display_name` in the `filter`.
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The parent.
+ */
+ @java.lang.Override
+ public java.lang.String getParent() {
+ java.lang.Object ref = parent_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ parent_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The resource name of the space to search within.
+ *
+ * To search across all spaces the user has access to, set this field to
+ * `spaces/-`. Using any other value for `parent` results in an
+ * `INVALID_ARGUMENT` error.
+ *
+ * To limit the search to one or more spaces, use `space.name` or
+ * `space.display_name` in the `filter`.
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for parent.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getParentBytes() {
+ java.lang.Object ref = parent_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ parent_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int FILTER_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object filter_ = "";
+
+ /**
+ *
+ *
+ *
+ * Required. A search query.
+ *
+ * The query can specify one or more search keywords, which are used to filter
+ * the results,
+ *
+ * You can also filter the results using the following message fields:
+ *
+ * - `create_time`: Accepts a timestamp in
+ * [RFC-3339](https://www.rfc-editor.org/rfc/rfc3339) format and the
+ * supported comparison operators are: `<` and `>=`.
+ * - `sender.name`: The resource name of the sender (`users/{user}`). Only
+ * supports `=`. You can use the e-mail as an alias for `{user}`. For
+ * example, `users/example@gmail.com`, where `example@gmail.com` is the
+ * e-mail of the Google Chat user.
+ * - `space.name`: The resource name of the space where the message is posted.
+ * (`spaces/{space}`). Only supports `=`. If this filter is not set, the
+ * search is performed across all direct messages and spaces the user has
+ * access to as a space member.
+ * - `space.display_name`: Supports the operator `:` (has) and filters spaces
+ * based on a partial match of their display name. Results are limited to
+ * the top five space matches. For example, `space.display_name:Project`
+ * searches for messages in the top five spaces that contain the word
+ * "Project" in their display names.
+ * - `attachment`: Supports the operator `:*` (has any) to check for the
+ * presence of attachments. If `attachment:*` is specified, only messages
+ * that have at least one attachment are returned.
+ * - `annotations.user_mentions.user.name`: The resource name of the mentioned
+ * user (`users/{user}`). Only supports `:` (has). For example:
+ * `annotations.user_mentions.user.name:"users/1234567890"` returns only
+ * messages that contain a mention to the specified user. Alternatively, the
+ * alias `me` can be used to filter for messages that mention the caller
+ * user, for example: `annotations.user_mentions.user.name:users/me`. You
+ * can also use the e-mail as an alias for `{user}`, for example,
+ * `users/example@gmail.com`.
+ *
+ * For advanced filtering, the following functions are also available:
+ *
+ * - `has_link()`: Returns only messages that have at least one hyperlink in
+ * the message text.
+ * - `is_unread()`: Filters out messages that have been read by the calling
+ * user.
+ *
+ * Using the `space.display_name` filter requires that the calling credentials
+ * include one of the following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.spaces.readonly`
+ * - `https://www.googleapis.com/auth/chat.spaces`
+ *
+ * Using the `is_unread()` filter requires that the calling credentials
+ * include one of the following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.users.readstate.readonly`
+ * - `https://www.googleapis.com/auth/chat.users.readstate`
+ *
+ *
+ * Across different fields, only `AND` operators are supported. A valid
+ * example is `sender.name = "users/1234567890" AND is_unread()`. The word
+ * `AND` is optional and is implied if omitted. For example, `sender.name =
+ * "users/1234567890" is_unread()` is valid and is equivalent to the previous
+ * example. An invalid example is `sender.name = "users/1234567890" OR
+ * is_unread()` because `OR` is not supported between different fields.
+ *
+ * Among the same field:
+ *
+ * - `create_time` supports only `AND`, and can only be used to represent
+ * an interval, such as `create_time >= "2022-01-01T00:00:00+00:00" AND
+ * create_time < "2023-01-01T00:00:00+00:00"`.
+ * - `sender.name` supports only the `OR` operator, for example:
+ * `sender.name = "users/1234567890" OR sender.name = "users/0987654321"`.
+ * - `space.name` supports only the `OR` operator, for example:
+ * `space.name = "spaces/ABCDEFGH" OR space.name = "spaces/QWERTYUI"`.
+ * - `space.display_name` supports the operators `AND` and `OR`, but not a
+ * mix of both. For example:
+ * `space.display_name:Project AND space.display_name:Tasks` returns
+ * messages that are in spaces with display names containing both `Project`
+ * and `Tasks`, whereas
+ * `space.display_name:Project OR space.display_name:Tasks` returns messages
+ * that are in spaces with display names containing either `Project` or
+ * `Tasks` or both.
+ * - `annotations.user_mentions.user.name` supports the operators `AND` and
+ * `OR`, but not a mix of both. For example:
+ * `annotations.user_mentions.user.name:"users/1234567890" AND
+ * annotations.user_mentions.user.name:"users/0987654321"` returns only
+ * messages that mentions both users, whereas
+ * `annotations.user_mentions.user.name:"users/1234567890" OR
+ * annotations.user_mentions.user.name:"users/0987654321"` returns messages
+ * that mention either user or both.
+ *
+ * Parentheses are required to disambiguate operator precedence when combining
+ * `AND` and `OR` operators in the same query. For example:
+ * `(sender.name="users/me" OR sender.name="users/123456") AND is_unread()`.
+ * Otherwise, parentheses are optional.
+ *
+ * The following example queries are valid:
+ *
+ * ```
+ * "Pending reports" AND create_time >= "2023-01-01T00:00:00Z"
+ *
+ * sender.name = "users/example@gmail.com"
+ *
+ * annotations.user_mentions.user.name:"users/0987654321"
+ *
+ * attachment:* AND space.name = "spaces/ABCDEFGH"
+ *
+ * tasks AND is_unread() AND sender.name = "users/1234567890"
+ *
+ * "things to do" "urgent"
+ *
+ * (sender.name = "users/1234567890")
+ * AND (create_time < "2023-05-01T00:00:00Z")
+ *
+ * tasks AND space.name = "spaces/ABCDEFGH" AND has_link()
+ *
+ * "project one" is_unread()
+ *
+ * space.display_name:Project tasks
+ * ```
+ *
+ * The maximum query length is 1,000 characters.
+ *
+ * Invalid queries are rejected by the server with an `INVALID_ARGUMENT`
+ * error.
+ *
+ *
+ * string filter = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The filter.
+ */
+ @java.lang.Override
+ public java.lang.String getFilter() {
+ java.lang.Object ref = filter_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ filter_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. A search query.
+ *
+ * The query can specify one or more search keywords, which are used to filter
+ * the results,
+ *
+ * You can also filter the results using the following message fields:
+ *
+ * - `create_time`: Accepts a timestamp in
+ * [RFC-3339](https://www.rfc-editor.org/rfc/rfc3339) format and the
+ * supported comparison operators are: `<` and `>=`.
+ * - `sender.name`: The resource name of the sender (`users/{user}`). Only
+ * supports `=`. You can use the e-mail as an alias for `{user}`. For
+ * example, `users/example@gmail.com`, where `example@gmail.com` is the
+ * e-mail of the Google Chat user.
+ * - `space.name`: The resource name of the space where the message is posted.
+ * (`spaces/{space}`). Only supports `=`. If this filter is not set, the
+ * search is performed across all direct messages and spaces the user has
+ * access to as a space member.
+ * - `space.display_name`: Supports the operator `:` (has) and filters spaces
+ * based on a partial match of their display name. Results are limited to
+ * the top five space matches. For example, `space.display_name:Project`
+ * searches for messages in the top five spaces that contain the word
+ * "Project" in their display names.
+ * - `attachment`: Supports the operator `:*` (has any) to check for the
+ * presence of attachments. If `attachment:*` is specified, only messages
+ * that have at least one attachment are returned.
+ * - `annotations.user_mentions.user.name`: The resource name of the mentioned
+ * user (`users/{user}`). Only supports `:` (has). For example:
+ * `annotations.user_mentions.user.name:"users/1234567890"` returns only
+ * messages that contain a mention to the specified user. Alternatively, the
+ * alias `me` can be used to filter for messages that mention the caller
+ * user, for example: `annotations.user_mentions.user.name:users/me`. You
+ * can also use the e-mail as an alias for `{user}`, for example,
+ * `users/example@gmail.com`.
+ *
+ * For advanced filtering, the following functions are also available:
+ *
+ * - `has_link()`: Returns only messages that have at least one hyperlink in
+ * the message text.
+ * - `is_unread()`: Filters out messages that have been read by the calling
+ * user.
+ *
+ * Using the `space.display_name` filter requires that the calling credentials
+ * include one of the following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.spaces.readonly`
+ * - `https://www.googleapis.com/auth/chat.spaces`
+ *
+ * Using the `is_unread()` filter requires that the calling credentials
+ * include one of the following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.users.readstate.readonly`
+ * - `https://www.googleapis.com/auth/chat.users.readstate`
+ *
+ *
+ * Across different fields, only `AND` operators are supported. A valid
+ * example is `sender.name = "users/1234567890" AND is_unread()`. The word
+ * `AND` is optional and is implied if omitted. For example, `sender.name =
+ * "users/1234567890" is_unread()` is valid and is equivalent to the previous
+ * example. An invalid example is `sender.name = "users/1234567890" OR
+ * is_unread()` because `OR` is not supported between different fields.
+ *
+ * Among the same field:
+ *
+ * - `create_time` supports only `AND`, and can only be used to represent
+ * an interval, such as `create_time >= "2022-01-01T00:00:00+00:00" AND
+ * create_time < "2023-01-01T00:00:00+00:00"`.
+ * - `sender.name` supports only the `OR` operator, for example:
+ * `sender.name = "users/1234567890" OR sender.name = "users/0987654321"`.
+ * - `space.name` supports only the `OR` operator, for example:
+ * `space.name = "spaces/ABCDEFGH" OR space.name = "spaces/QWERTYUI"`.
+ * - `space.display_name` supports the operators `AND` and `OR`, but not a
+ * mix of both. For example:
+ * `space.display_name:Project AND space.display_name:Tasks` returns
+ * messages that are in spaces with display names containing both `Project`
+ * and `Tasks`, whereas
+ * `space.display_name:Project OR space.display_name:Tasks` returns messages
+ * that are in spaces with display names containing either `Project` or
+ * `Tasks` or both.
+ * - `annotations.user_mentions.user.name` supports the operators `AND` and
+ * `OR`, but not a mix of both. For example:
+ * `annotations.user_mentions.user.name:"users/1234567890" AND
+ * annotations.user_mentions.user.name:"users/0987654321"` returns only
+ * messages that mentions both users, whereas
+ * `annotations.user_mentions.user.name:"users/1234567890" OR
+ * annotations.user_mentions.user.name:"users/0987654321"` returns messages
+ * that mention either user or both.
+ *
+ * Parentheses are required to disambiguate operator precedence when combining
+ * `AND` and `OR` operators in the same query. For example:
+ * `(sender.name="users/me" OR sender.name="users/123456") AND is_unread()`.
+ * Otherwise, parentheses are optional.
+ *
+ * The following example queries are valid:
+ *
+ * ```
+ * "Pending reports" AND create_time >= "2023-01-01T00:00:00Z"
+ *
+ * sender.name = "users/example@gmail.com"
+ *
+ * annotations.user_mentions.user.name:"users/0987654321"
+ *
+ * attachment:* AND space.name = "spaces/ABCDEFGH"
+ *
+ * tasks AND is_unread() AND sender.name = "users/1234567890"
+ *
+ * "things to do" "urgent"
+ *
+ * (sender.name = "users/1234567890")
+ * AND (create_time < "2023-05-01T00:00:00Z")
+ *
+ * tasks AND space.name = "spaces/ABCDEFGH" AND has_link()
+ *
+ * "project one" is_unread()
+ *
+ * space.display_name:Project tasks
+ * ```
+ *
+ * The maximum query length is 1,000 characters.
+ *
+ * Invalid queries are rejected by the server with an `INVALID_ARGUMENT`
+ * error.
+ *
+ *
+ * string filter = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for filter.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getFilterBytes() {
+ java.lang.Object ref = filter_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ filter_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int PAGE_SIZE_FIELD_NUMBER = 3;
+ private int pageSize_ = 0;
+
+ /**
+ *
+ *
+ *
+ * Optional. The maximum number of results to return. The service may return
+ * fewer than this value.
+ *
+ * If unspecified, at most 25 are returned.
+ *
+ * The maximum value is 100. If you use a value more than 100, it's
+ * automatically changed to 100.
+ *
+ *
+ * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The pageSize.
+ */
+ @java.lang.Override
+ public int getPageSize() {
+ return pageSize_;
+ }
+
+ public static final int PAGE_TOKEN_FIELD_NUMBER = 4;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object pageToken_ = "";
+
+ /**
+ *
+ *
+ *
+ * Optional. A token, received from the previous search messages call. Provide
+ * this parameter to retrieve the subsequent page.
+ *
+ * When paginating, all other parameters provided should match the call that
+ * provided the page token. Passing different values to the other parameters
+ * might lead to unexpected results.
+ *
+ *
+ * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The pageToken.
+ */
+ @java.lang.Override
+ public java.lang.String getPageToken() {
+ java.lang.Object ref = pageToken_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ pageToken_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A token, received from the previous search messages call. Provide
+ * this parameter to retrieve the subsequent page.
+ *
+ * When paginating, all other parameters provided should match the call that
+ * provided the page token. Passing different values to the other parameters
+ * might lead to unexpected results.
+ *
+ *
+ * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for pageToken.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getPageTokenBytes() {
+ java.lang.Object ref = pageToken_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ pageToken_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int ORDER_BY_FIELD_NUMBER = 5;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object orderBy_ = "";
+
+ /**
+ *
+ *
+ *
+ * Optional. How the results list is ordered.
+ *
+ * Supported attributes to order by are:
+ *
+ * - `create_time`: Sorts the results by the time of the message creation.
+ * Default value.
+ * - `relevance`: Sorts the results by relevance.
+ * [Developer Preview](https://developers.google.com/workspace/preview).
+ *
+ * The default ordering is `create_time desc`. Only a single order per query
+ * (`create_time` or `relevance`) is supported. Only descending order (`desc`)
+ * is supported, and it must be specified after the order attribute.
+ *
+ *
+ * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The orderBy.
+ */
+ @java.lang.Override
+ public java.lang.String getOrderBy() {
+ java.lang.Object ref = orderBy_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ orderBy_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. How the results list is ordered.
+ *
+ * Supported attributes to order by are:
+ *
+ * - `create_time`: Sorts the results by the time of the message creation.
+ * Default value.
+ * - `relevance`: Sorts the results by relevance.
+ * [Developer Preview](https://developers.google.com/workspace/preview).
+ *
+ * The default ordering is `create_time desc`. Only a single order per query
+ * (`create_time` or `relevance`) is supported. Only descending order (`desc`)
+ * is supported, and it must be specified after the order attribute.
+ *
+ *
+ * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for orderBy.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getOrderByBytes() {
+ java.lang.Object ref = orderBy_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ orderBy_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int VIEW_FIELD_NUMBER = 7;
+ private int view_ = 0;
+
+ /**
+ *
+ *
+ *
+ * Optional. Specifies what kind of search results view to return. The default
+ * is `SEARCH_MESSAGES_VIEW_BASIC`.
+ *
+ *
+ *
+ * .google.chat.v1.SearchMessagesRequest.SearchMessagesView view = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The enum numeric value on the wire for view.
+ */
+ @java.lang.Override
+ public int getViewValue() {
+ return view_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Specifies what kind of search results view to return. The default
+ * is `SEARCH_MESSAGES_VIEW_BASIC`.
+ *
+ *
+ *
+ * .google.chat.v1.SearchMessagesRequest.SearchMessagesView view = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The view.
+ */
+ @java.lang.Override
+ public com.google.chat.v1.SearchMessagesRequest.SearchMessagesView getView() {
+ com.google.chat.v1.SearchMessagesRequest.SearchMessagesView result =
+ com.google.chat.v1.SearchMessagesRequest.SearchMessagesView.forNumber(view_);
+ return result == null
+ ? com.google.chat.v1.SearchMessagesRequest.SearchMessagesView.UNRECOGNIZED
+ : result;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, parent_);
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 2, filter_);
+ }
+ if (pageSize_ != 0) {
+ output.writeInt32(3, pageSize_);
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 4, pageToken_);
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(orderBy_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 5, orderBy_);
+ }
+ if (view_
+ != com.google.chat.v1.SearchMessagesRequest.SearchMessagesView
+ .SEARCH_MESSAGES_VIEW_UNSPECIFIED
+ .getNumber()) {
+ output.writeEnum(7, view_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(parent_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(1, parent_);
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(filter_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(2, filter_);
+ }
+ if (pageSize_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, pageSize_);
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(pageToken_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(4, pageToken_);
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(orderBy_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(5, orderBy_);
+ }
+ if (view_
+ != com.google.chat.v1.SearchMessagesRequest.SearchMessagesView
+ .SEARCH_MESSAGES_VIEW_UNSPECIFIED
+ .getNumber()) {
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, view_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.chat.v1.SearchMessagesRequest)) {
+ return super.equals(obj);
+ }
+ com.google.chat.v1.SearchMessagesRequest other = (com.google.chat.v1.SearchMessagesRequest) obj;
+
+ if (!getParent().equals(other.getParent())) return false;
+ if (!getFilter().equals(other.getFilter())) return false;
+ if (getPageSize() != other.getPageSize()) return false;
+ if (!getPageToken().equals(other.getPageToken())) return false;
+ if (!getOrderBy().equals(other.getOrderBy())) return false;
+ if (view_ != other.view_) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + PARENT_FIELD_NUMBER;
+ hash = (53 * hash) + getParent().hashCode();
+ hash = (37 * hash) + FILTER_FIELD_NUMBER;
+ hash = (53 * hash) + getFilter().hashCode();
+ hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER;
+ hash = (53 * hash) + getPageSize();
+ hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER;
+ hash = (53 * hash) + getPageToken().hashCode();
+ hash = (37 * hash) + ORDER_BY_FIELD_NUMBER;
+ hash = (53 * hash) + getOrderBy().hashCode();
+ hash = (37 * hash) + VIEW_FIELD_NUMBER;
+ hash = (53 * hash) + view_;
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.chat.v1.SearchMessagesRequest parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.chat.v1.SearchMessagesRequest parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.chat.v1.SearchMessagesRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.chat.v1.SearchMessagesRequest parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.chat.v1.SearchMessagesRequest parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.chat.v1.SearchMessagesRequest parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.chat.v1.SearchMessagesRequest parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.chat.v1.SearchMessagesRequest parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.chat.v1.SearchMessagesRequest parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.chat.v1.SearchMessagesRequest parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.chat.v1.SearchMessagesRequest parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.chat.v1.SearchMessagesRequest parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(com.google.chat.v1.SearchMessagesRequest prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ *
+ *
+ *
+ * Request message for searching messages.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.SearchMessagesRequest}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ * Required. The resource name of the space to search within.
+ *
+ * To search across all spaces the user has access to, set this field to
+ * `spaces/-`. Using any other value for `parent` results in an
+ * `INVALID_ARGUMENT` error.
+ *
+ * To limit the search to one or more spaces, use `space.name` or
+ * `space.display_name` in the `filter`.
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The parent.
+ */
+ public java.lang.String getParent() {
+ java.lang.Object ref = parent_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ parent_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The resource name of the space to search within.
+ *
+ * To search across all spaces the user has access to, set this field to
+ * `spaces/-`. Using any other value for `parent` results in an
+ * `INVALID_ARGUMENT` error.
+ *
+ * To limit the search to one or more spaces, use `space.name` or
+ * `space.display_name` in the `filter`.
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for parent.
+ */
+ public com.google.protobuf.ByteString getParentBytes() {
+ java.lang.Object ref = parent_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ parent_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The resource name of the space to search within.
+ *
+ * To search across all spaces the user has access to, set this field to
+ * `spaces/-`. Using any other value for `parent` results in an
+ * `INVALID_ARGUMENT` error.
+ *
+ * To limit the search to one or more spaces, use `space.name` or
+ * `space.display_name` in the `filter`.
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
+ */
+ public Builder setParent(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ parent_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The resource name of the space to search within.
+ *
+ * To search across all spaces the user has access to, set this field to
+ * `spaces/-`. Using any other value for `parent` results in an
+ * `INVALID_ARGUMENT` error.
+ *
+ * To limit the search to one or more spaces, use `space.name` or
+ * `space.display_name` in the `filter`.
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearParent() {
+ parent_ = getDefaultInstance().getParent();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The resource name of the space to search within.
+ *
+ * To search across all spaces the user has access to, set this field to
+ * `spaces/-`. Using any other value for `parent` results in an
+ * `INVALID_ARGUMENT` error.
+ *
+ * To limit the search to one or more spaces, use `space.name` or
+ * `space.display_name` in the `filter`.
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
+ */
+ public Builder setParentBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ parent_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object filter_ = "";
+
+ /**
+ *
+ *
+ *
+ * Required. A search query.
+ *
+ * The query can specify one or more search keywords, which are used to filter
+ * the results,
+ *
+ * You can also filter the results using the following message fields:
+ *
+ * - `create_time`: Accepts a timestamp in
+ * [RFC-3339](https://www.rfc-editor.org/rfc/rfc3339) format and the
+ * supported comparison operators are: `<` and `>=`.
+ * - `sender.name`: The resource name of the sender (`users/{user}`). Only
+ * supports `=`. You can use the e-mail as an alias for `{user}`. For
+ * example, `users/example@gmail.com`, where `example@gmail.com` is the
+ * e-mail of the Google Chat user.
+ * - `space.name`: The resource name of the space where the message is posted.
+ * (`spaces/{space}`). Only supports `=`. If this filter is not set, the
+ * search is performed across all direct messages and spaces the user has
+ * access to as a space member.
+ * - `space.display_name`: Supports the operator `:` (has) and filters spaces
+ * based on a partial match of their display name. Results are limited to
+ * the top five space matches. For example, `space.display_name:Project`
+ * searches for messages in the top five spaces that contain the word
+ * "Project" in their display names.
+ * - `attachment`: Supports the operator `:*` (has any) to check for the
+ * presence of attachments. If `attachment:*` is specified, only messages
+ * that have at least one attachment are returned.
+ * - `annotations.user_mentions.user.name`: The resource name of the mentioned
+ * user (`users/{user}`). Only supports `:` (has). For example:
+ * `annotations.user_mentions.user.name:"users/1234567890"` returns only
+ * messages that contain a mention to the specified user. Alternatively, the
+ * alias `me` can be used to filter for messages that mention the caller
+ * user, for example: `annotations.user_mentions.user.name:users/me`. You
+ * can also use the e-mail as an alias for `{user}`, for example,
+ * `users/example@gmail.com`.
+ *
+ * For advanced filtering, the following functions are also available:
+ *
+ * - `has_link()`: Returns only messages that have at least one hyperlink in
+ * the message text.
+ * - `is_unread()`: Filters out messages that have been read by the calling
+ * user.
+ *
+ * Using the `space.display_name` filter requires that the calling credentials
+ * include one of the following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.spaces.readonly`
+ * - `https://www.googleapis.com/auth/chat.spaces`
+ *
+ * Using the `is_unread()` filter requires that the calling credentials
+ * include one of the following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.users.readstate.readonly`
+ * - `https://www.googleapis.com/auth/chat.users.readstate`
+ *
+ *
+ * Across different fields, only `AND` operators are supported. A valid
+ * example is `sender.name = "users/1234567890" AND is_unread()`. The word
+ * `AND` is optional and is implied if omitted. For example, `sender.name =
+ * "users/1234567890" is_unread()` is valid and is equivalent to the previous
+ * example. An invalid example is `sender.name = "users/1234567890" OR
+ * is_unread()` because `OR` is not supported between different fields.
+ *
+ * Among the same field:
+ *
+ * - `create_time` supports only `AND`, and can only be used to represent
+ * an interval, such as `create_time >= "2022-01-01T00:00:00+00:00" AND
+ * create_time < "2023-01-01T00:00:00+00:00"`.
+ * - `sender.name` supports only the `OR` operator, for example:
+ * `sender.name = "users/1234567890" OR sender.name = "users/0987654321"`.
+ * - `space.name` supports only the `OR` operator, for example:
+ * `space.name = "spaces/ABCDEFGH" OR space.name = "spaces/QWERTYUI"`.
+ * - `space.display_name` supports the operators `AND` and `OR`, but not a
+ * mix of both. For example:
+ * `space.display_name:Project AND space.display_name:Tasks` returns
+ * messages that are in spaces with display names containing both `Project`
+ * and `Tasks`, whereas
+ * `space.display_name:Project OR space.display_name:Tasks` returns messages
+ * that are in spaces with display names containing either `Project` or
+ * `Tasks` or both.
+ * - `annotations.user_mentions.user.name` supports the operators `AND` and
+ * `OR`, but not a mix of both. For example:
+ * `annotations.user_mentions.user.name:"users/1234567890" AND
+ * annotations.user_mentions.user.name:"users/0987654321"` returns only
+ * messages that mentions both users, whereas
+ * `annotations.user_mentions.user.name:"users/1234567890" OR
+ * annotations.user_mentions.user.name:"users/0987654321"` returns messages
+ * that mention either user or both.
+ *
+ * Parentheses are required to disambiguate operator precedence when combining
+ * `AND` and `OR` operators in the same query. For example:
+ * `(sender.name="users/me" OR sender.name="users/123456") AND is_unread()`.
+ * Otherwise, parentheses are optional.
+ *
+ * The following example queries are valid:
+ *
+ * ```
+ * "Pending reports" AND create_time >= "2023-01-01T00:00:00Z"
+ *
+ * sender.name = "users/example@gmail.com"
+ *
+ * annotations.user_mentions.user.name:"users/0987654321"
+ *
+ * attachment:* AND space.name = "spaces/ABCDEFGH"
+ *
+ * tasks AND is_unread() AND sender.name = "users/1234567890"
+ *
+ * "things to do" "urgent"
+ *
+ * (sender.name = "users/1234567890")
+ * AND (create_time < "2023-05-01T00:00:00Z")
+ *
+ * tasks AND space.name = "spaces/ABCDEFGH" AND has_link()
+ *
+ * "project one" is_unread()
+ *
+ * space.display_name:Project tasks
+ * ```
+ *
+ * The maximum query length is 1,000 characters.
+ *
+ * Invalid queries are rejected by the server with an `INVALID_ARGUMENT`
+ * error.
+ *
+ *
+ * string filter = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The filter.
+ */
+ public java.lang.String getFilter() {
+ java.lang.Object ref = filter_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ filter_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. A search query.
+ *
+ * The query can specify one or more search keywords, which are used to filter
+ * the results,
+ *
+ * You can also filter the results using the following message fields:
+ *
+ * - `create_time`: Accepts a timestamp in
+ * [RFC-3339](https://www.rfc-editor.org/rfc/rfc3339) format and the
+ * supported comparison operators are: `<` and `>=`.
+ * - `sender.name`: The resource name of the sender (`users/{user}`). Only
+ * supports `=`. You can use the e-mail as an alias for `{user}`. For
+ * example, `users/example@gmail.com`, where `example@gmail.com` is the
+ * e-mail of the Google Chat user.
+ * - `space.name`: The resource name of the space where the message is posted.
+ * (`spaces/{space}`). Only supports `=`. If this filter is not set, the
+ * search is performed across all direct messages and spaces the user has
+ * access to as a space member.
+ * - `space.display_name`: Supports the operator `:` (has) and filters spaces
+ * based on a partial match of their display name. Results are limited to
+ * the top five space matches. For example, `space.display_name:Project`
+ * searches for messages in the top five spaces that contain the word
+ * "Project" in their display names.
+ * - `attachment`: Supports the operator `:*` (has any) to check for the
+ * presence of attachments. If `attachment:*` is specified, only messages
+ * that have at least one attachment are returned.
+ * - `annotations.user_mentions.user.name`: The resource name of the mentioned
+ * user (`users/{user}`). Only supports `:` (has). For example:
+ * `annotations.user_mentions.user.name:"users/1234567890"` returns only
+ * messages that contain a mention to the specified user. Alternatively, the
+ * alias `me` can be used to filter for messages that mention the caller
+ * user, for example: `annotations.user_mentions.user.name:users/me`. You
+ * can also use the e-mail as an alias for `{user}`, for example,
+ * `users/example@gmail.com`.
+ *
+ * For advanced filtering, the following functions are also available:
+ *
+ * - `has_link()`: Returns only messages that have at least one hyperlink in
+ * the message text.
+ * - `is_unread()`: Filters out messages that have been read by the calling
+ * user.
+ *
+ * Using the `space.display_name` filter requires that the calling credentials
+ * include one of the following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.spaces.readonly`
+ * - `https://www.googleapis.com/auth/chat.spaces`
+ *
+ * Using the `is_unread()` filter requires that the calling credentials
+ * include one of the following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.users.readstate.readonly`
+ * - `https://www.googleapis.com/auth/chat.users.readstate`
+ *
+ *
+ * Across different fields, only `AND` operators are supported. A valid
+ * example is `sender.name = "users/1234567890" AND is_unread()`. The word
+ * `AND` is optional and is implied if omitted. For example, `sender.name =
+ * "users/1234567890" is_unread()` is valid and is equivalent to the previous
+ * example. An invalid example is `sender.name = "users/1234567890" OR
+ * is_unread()` because `OR` is not supported between different fields.
+ *
+ * Among the same field:
+ *
+ * - `create_time` supports only `AND`, and can only be used to represent
+ * an interval, such as `create_time >= "2022-01-01T00:00:00+00:00" AND
+ * create_time < "2023-01-01T00:00:00+00:00"`.
+ * - `sender.name` supports only the `OR` operator, for example:
+ * `sender.name = "users/1234567890" OR sender.name = "users/0987654321"`.
+ * - `space.name` supports only the `OR` operator, for example:
+ * `space.name = "spaces/ABCDEFGH" OR space.name = "spaces/QWERTYUI"`.
+ * - `space.display_name` supports the operators `AND` and `OR`, but not a
+ * mix of both. For example:
+ * `space.display_name:Project AND space.display_name:Tasks` returns
+ * messages that are in spaces with display names containing both `Project`
+ * and `Tasks`, whereas
+ * `space.display_name:Project OR space.display_name:Tasks` returns messages
+ * that are in spaces with display names containing either `Project` or
+ * `Tasks` or both.
+ * - `annotations.user_mentions.user.name` supports the operators `AND` and
+ * `OR`, but not a mix of both. For example:
+ * `annotations.user_mentions.user.name:"users/1234567890" AND
+ * annotations.user_mentions.user.name:"users/0987654321"` returns only
+ * messages that mentions both users, whereas
+ * `annotations.user_mentions.user.name:"users/1234567890" OR
+ * annotations.user_mentions.user.name:"users/0987654321"` returns messages
+ * that mention either user or both.
+ *
+ * Parentheses are required to disambiguate operator precedence when combining
+ * `AND` and `OR` operators in the same query. For example:
+ * `(sender.name="users/me" OR sender.name="users/123456") AND is_unread()`.
+ * Otherwise, parentheses are optional.
+ *
+ * The following example queries are valid:
+ *
+ * ```
+ * "Pending reports" AND create_time >= "2023-01-01T00:00:00Z"
+ *
+ * sender.name = "users/example@gmail.com"
+ *
+ * annotations.user_mentions.user.name:"users/0987654321"
+ *
+ * attachment:* AND space.name = "spaces/ABCDEFGH"
+ *
+ * tasks AND is_unread() AND sender.name = "users/1234567890"
+ *
+ * "things to do" "urgent"
+ *
+ * (sender.name = "users/1234567890")
+ * AND (create_time < "2023-05-01T00:00:00Z")
+ *
+ * tasks AND space.name = "spaces/ABCDEFGH" AND has_link()
+ *
+ * "project one" is_unread()
+ *
+ * space.display_name:Project tasks
+ * ```
+ *
+ * The maximum query length is 1,000 characters.
+ *
+ * Invalid queries are rejected by the server with an `INVALID_ARGUMENT`
+ * error.
+ *
+ *
+ * string filter = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for filter.
+ */
+ public com.google.protobuf.ByteString getFilterBytes() {
+ java.lang.Object ref = filter_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ filter_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. A search query.
+ *
+ * The query can specify one or more search keywords, which are used to filter
+ * the results,
+ *
+ * You can also filter the results using the following message fields:
+ *
+ * - `create_time`: Accepts a timestamp in
+ * [RFC-3339](https://www.rfc-editor.org/rfc/rfc3339) format and the
+ * supported comparison operators are: `<` and `>=`.
+ * - `sender.name`: The resource name of the sender (`users/{user}`). Only
+ * supports `=`. You can use the e-mail as an alias for `{user}`. For
+ * example, `users/example@gmail.com`, where `example@gmail.com` is the
+ * e-mail of the Google Chat user.
+ * - `space.name`: The resource name of the space where the message is posted.
+ * (`spaces/{space}`). Only supports `=`. If this filter is not set, the
+ * search is performed across all direct messages and spaces the user has
+ * access to as a space member.
+ * - `space.display_name`: Supports the operator `:` (has) and filters spaces
+ * based on a partial match of their display name. Results are limited to
+ * the top five space matches. For example, `space.display_name:Project`
+ * searches for messages in the top five spaces that contain the word
+ * "Project" in their display names.
+ * - `attachment`: Supports the operator `:*` (has any) to check for the
+ * presence of attachments. If `attachment:*` is specified, only messages
+ * that have at least one attachment are returned.
+ * - `annotations.user_mentions.user.name`: The resource name of the mentioned
+ * user (`users/{user}`). Only supports `:` (has). For example:
+ * `annotations.user_mentions.user.name:"users/1234567890"` returns only
+ * messages that contain a mention to the specified user. Alternatively, the
+ * alias `me` can be used to filter for messages that mention the caller
+ * user, for example: `annotations.user_mentions.user.name:users/me`. You
+ * can also use the e-mail as an alias for `{user}`, for example,
+ * `users/example@gmail.com`.
+ *
+ * For advanced filtering, the following functions are also available:
+ *
+ * - `has_link()`: Returns only messages that have at least one hyperlink in
+ * the message text.
+ * - `is_unread()`: Filters out messages that have been read by the calling
+ * user.
+ *
+ * Using the `space.display_name` filter requires that the calling credentials
+ * include one of the following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.spaces.readonly`
+ * - `https://www.googleapis.com/auth/chat.spaces`
+ *
+ * Using the `is_unread()` filter requires that the calling credentials
+ * include one of the following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.users.readstate.readonly`
+ * - `https://www.googleapis.com/auth/chat.users.readstate`
+ *
+ *
+ * Across different fields, only `AND` operators are supported. A valid
+ * example is `sender.name = "users/1234567890" AND is_unread()`. The word
+ * `AND` is optional and is implied if omitted. For example, `sender.name =
+ * "users/1234567890" is_unread()` is valid and is equivalent to the previous
+ * example. An invalid example is `sender.name = "users/1234567890" OR
+ * is_unread()` because `OR` is not supported between different fields.
+ *
+ * Among the same field:
+ *
+ * - `create_time` supports only `AND`, and can only be used to represent
+ * an interval, such as `create_time >= "2022-01-01T00:00:00+00:00" AND
+ * create_time < "2023-01-01T00:00:00+00:00"`.
+ * - `sender.name` supports only the `OR` operator, for example:
+ * `sender.name = "users/1234567890" OR sender.name = "users/0987654321"`.
+ * - `space.name` supports only the `OR` operator, for example:
+ * `space.name = "spaces/ABCDEFGH" OR space.name = "spaces/QWERTYUI"`.
+ * - `space.display_name` supports the operators `AND` and `OR`, but not a
+ * mix of both. For example:
+ * `space.display_name:Project AND space.display_name:Tasks` returns
+ * messages that are in spaces with display names containing both `Project`
+ * and `Tasks`, whereas
+ * `space.display_name:Project OR space.display_name:Tasks` returns messages
+ * that are in spaces with display names containing either `Project` or
+ * `Tasks` or both.
+ * - `annotations.user_mentions.user.name` supports the operators `AND` and
+ * `OR`, but not a mix of both. For example:
+ * `annotations.user_mentions.user.name:"users/1234567890" AND
+ * annotations.user_mentions.user.name:"users/0987654321"` returns only
+ * messages that mentions both users, whereas
+ * `annotations.user_mentions.user.name:"users/1234567890" OR
+ * annotations.user_mentions.user.name:"users/0987654321"` returns messages
+ * that mention either user or both.
+ *
+ * Parentheses are required to disambiguate operator precedence when combining
+ * `AND` and `OR` operators in the same query. For example:
+ * `(sender.name="users/me" OR sender.name="users/123456") AND is_unread()`.
+ * Otherwise, parentheses are optional.
+ *
+ * The following example queries are valid:
+ *
+ * ```
+ * "Pending reports" AND create_time >= "2023-01-01T00:00:00Z"
+ *
+ * sender.name = "users/example@gmail.com"
+ *
+ * annotations.user_mentions.user.name:"users/0987654321"
+ *
+ * attachment:* AND space.name = "spaces/ABCDEFGH"
+ *
+ * tasks AND is_unread() AND sender.name = "users/1234567890"
+ *
+ * "things to do" "urgent"
+ *
+ * (sender.name = "users/1234567890")
+ * AND (create_time < "2023-05-01T00:00:00Z")
+ *
+ * tasks AND space.name = "spaces/ABCDEFGH" AND has_link()
+ *
+ * "project one" is_unread()
+ *
+ * space.display_name:Project tasks
+ * ```
+ *
+ * The maximum query length is 1,000 characters.
+ *
+ * Invalid queries are rejected by the server with an `INVALID_ARGUMENT`
+ * error.
+ *
+ *
+ * string filter = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The filter to set.
+ * @return This builder for chaining.
+ */
+ public Builder setFilter(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ filter_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. A search query.
+ *
+ * The query can specify one or more search keywords, which are used to filter
+ * the results,
+ *
+ * You can also filter the results using the following message fields:
+ *
+ * - `create_time`: Accepts a timestamp in
+ * [RFC-3339](https://www.rfc-editor.org/rfc/rfc3339) format and the
+ * supported comparison operators are: `<` and `>=`.
+ * - `sender.name`: The resource name of the sender (`users/{user}`). Only
+ * supports `=`. You can use the e-mail as an alias for `{user}`. For
+ * example, `users/example@gmail.com`, where `example@gmail.com` is the
+ * e-mail of the Google Chat user.
+ * - `space.name`: The resource name of the space where the message is posted.
+ * (`spaces/{space}`). Only supports `=`. If this filter is not set, the
+ * search is performed across all direct messages and spaces the user has
+ * access to as a space member.
+ * - `space.display_name`: Supports the operator `:` (has) and filters spaces
+ * based on a partial match of their display name. Results are limited to
+ * the top five space matches. For example, `space.display_name:Project`
+ * searches for messages in the top five spaces that contain the word
+ * "Project" in their display names.
+ * - `attachment`: Supports the operator `:*` (has any) to check for the
+ * presence of attachments. If `attachment:*` is specified, only messages
+ * that have at least one attachment are returned.
+ * - `annotations.user_mentions.user.name`: The resource name of the mentioned
+ * user (`users/{user}`). Only supports `:` (has). For example:
+ * `annotations.user_mentions.user.name:"users/1234567890"` returns only
+ * messages that contain a mention to the specified user. Alternatively, the
+ * alias `me` can be used to filter for messages that mention the caller
+ * user, for example: `annotations.user_mentions.user.name:users/me`. You
+ * can also use the e-mail as an alias for `{user}`, for example,
+ * `users/example@gmail.com`.
+ *
+ * For advanced filtering, the following functions are also available:
+ *
+ * - `has_link()`: Returns only messages that have at least one hyperlink in
+ * the message text.
+ * - `is_unread()`: Filters out messages that have been read by the calling
+ * user.
+ *
+ * Using the `space.display_name` filter requires that the calling credentials
+ * include one of the following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.spaces.readonly`
+ * - `https://www.googleapis.com/auth/chat.spaces`
+ *
+ * Using the `is_unread()` filter requires that the calling credentials
+ * include one of the following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.users.readstate.readonly`
+ * - `https://www.googleapis.com/auth/chat.users.readstate`
+ *
+ *
+ * Across different fields, only `AND` operators are supported. A valid
+ * example is `sender.name = "users/1234567890" AND is_unread()`. The word
+ * `AND` is optional and is implied if omitted. For example, `sender.name =
+ * "users/1234567890" is_unread()` is valid and is equivalent to the previous
+ * example. An invalid example is `sender.name = "users/1234567890" OR
+ * is_unread()` because `OR` is not supported between different fields.
+ *
+ * Among the same field:
+ *
+ * - `create_time` supports only `AND`, and can only be used to represent
+ * an interval, such as `create_time >= "2022-01-01T00:00:00+00:00" AND
+ * create_time < "2023-01-01T00:00:00+00:00"`.
+ * - `sender.name` supports only the `OR` operator, for example:
+ * `sender.name = "users/1234567890" OR sender.name = "users/0987654321"`.
+ * - `space.name` supports only the `OR` operator, for example:
+ * `space.name = "spaces/ABCDEFGH" OR space.name = "spaces/QWERTYUI"`.
+ * - `space.display_name` supports the operators `AND` and `OR`, but not a
+ * mix of both. For example:
+ * `space.display_name:Project AND space.display_name:Tasks` returns
+ * messages that are in spaces with display names containing both `Project`
+ * and `Tasks`, whereas
+ * `space.display_name:Project OR space.display_name:Tasks` returns messages
+ * that are in spaces with display names containing either `Project` or
+ * `Tasks` or both.
+ * - `annotations.user_mentions.user.name` supports the operators `AND` and
+ * `OR`, but not a mix of both. For example:
+ * `annotations.user_mentions.user.name:"users/1234567890" AND
+ * annotations.user_mentions.user.name:"users/0987654321"` returns only
+ * messages that mentions both users, whereas
+ * `annotations.user_mentions.user.name:"users/1234567890" OR
+ * annotations.user_mentions.user.name:"users/0987654321"` returns messages
+ * that mention either user or both.
+ *
+ * Parentheses are required to disambiguate operator precedence when combining
+ * `AND` and `OR` operators in the same query. For example:
+ * `(sender.name="users/me" OR sender.name="users/123456") AND is_unread()`.
+ * Otherwise, parentheses are optional.
+ *
+ * The following example queries are valid:
+ *
+ * ```
+ * "Pending reports" AND create_time >= "2023-01-01T00:00:00Z"
+ *
+ * sender.name = "users/example@gmail.com"
+ *
+ * annotations.user_mentions.user.name:"users/0987654321"
+ *
+ * attachment:* AND space.name = "spaces/ABCDEFGH"
+ *
+ * tasks AND is_unread() AND sender.name = "users/1234567890"
+ *
+ * "things to do" "urgent"
+ *
+ * (sender.name = "users/1234567890")
+ * AND (create_time < "2023-05-01T00:00:00Z")
+ *
+ * tasks AND space.name = "spaces/ABCDEFGH" AND has_link()
+ *
+ * "project one" is_unread()
+ *
+ * space.display_name:Project tasks
+ * ```
+ *
+ * The maximum query length is 1,000 characters.
+ *
+ * Invalid queries are rejected by the server with an `INVALID_ARGUMENT`
+ * error.
+ *
+ *
+ * string filter = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearFilter() {
+ filter_ = getDefaultInstance().getFilter();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. A search query.
+ *
+ * The query can specify one or more search keywords, which are used to filter
+ * the results,
+ *
+ * You can also filter the results using the following message fields:
+ *
+ * - `create_time`: Accepts a timestamp in
+ * [RFC-3339](https://www.rfc-editor.org/rfc/rfc3339) format and the
+ * supported comparison operators are: `<` and `>=`.
+ * - `sender.name`: The resource name of the sender (`users/{user}`). Only
+ * supports `=`. You can use the e-mail as an alias for `{user}`. For
+ * example, `users/example@gmail.com`, where `example@gmail.com` is the
+ * e-mail of the Google Chat user.
+ * - `space.name`: The resource name of the space where the message is posted.
+ * (`spaces/{space}`). Only supports `=`. If this filter is not set, the
+ * search is performed across all direct messages and spaces the user has
+ * access to as a space member.
+ * - `space.display_name`: Supports the operator `:` (has) and filters spaces
+ * based on a partial match of their display name. Results are limited to
+ * the top five space matches. For example, `space.display_name:Project`
+ * searches for messages in the top five spaces that contain the word
+ * "Project" in their display names.
+ * - `attachment`: Supports the operator `:*` (has any) to check for the
+ * presence of attachments. If `attachment:*` is specified, only messages
+ * that have at least one attachment are returned.
+ * - `annotations.user_mentions.user.name`: The resource name of the mentioned
+ * user (`users/{user}`). Only supports `:` (has). For example:
+ * `annotations.user_mentions.user.name:"users/1234567890"` returns only
+ * messages that contain a mention to the specified user. Alternatively, the
+ * alias `me` can be used to filter for messages that mention the caller
+ * user, for example: `annotations.user_mentions.user.name:users/me`. You
+ * can also use the e-mail as an alias for `{user}`, for example,
+ * `users/example@gmail.com`.
+ *
+ * For advanced filtering, the following functions are also available:
+ *
+ * - `has_link()`: Returns only messages that have at least one hyperlink in
+ * the message text.
+ * - `is_unread()`: Filters out messages that have been read by the calling
+ * user.
+ *
+ * Using the `space.display_name` filter requires that the calling credentials
+ * include one of the following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.spaces.readonly`
+ * - `https://www.googleapis.com/auth/chat.spaces`
+ *
+ * Using the `is_unread()` filter requires that the calling credentials
+ * include one of the following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.users.readstate.readonly`
+ * - `https://www.googleapis.com/auth/chat.users.readstate`
+ *
+ *
+ * Across different fields, only `AND` operators are supported. A valid
+ * example is `sender.name = "users/1234567890" AND is_unread()`. The word
+ * `AND` is optional and is implied if omitted. For example, `sender.name =
+ * "users/1234567890" is_unread()` is valid and is equivalent to the previous
+ * example. An invalid example is `sender.name = "users/1234567890" OR
+ * is_unread()` because `OR` is not supported between different fields.
+ *
+ * Among the same field:
+ *
+ * - `create_time` supports only `AND`, and can only be used to represent
+ * an interval, such as `create_time >= "2022-01-01T00:00:00+00:00" AND
+ * create_time < "2023-01-01T00:00:00+00:00"`.
+ * - `sender.name` supports only the `OR` operator, for example:
+ * `sender.name = "users/1234567890" OR sender.name = "users/0987654321"`.
+ * - `space.name` supports only the `OR` operator, for example:
+ * `space.name = "spaces/ABCDEFGH" OR space.name = "spaces/QWERTYUI"`.
+ * - `space.display_name` supports the operators `AND` and `OR`, but not a
+ * mix of both. For example:
+ * `space.display_name:Project AND space.display_name:Tasks` returns
+ * messages that are in spaces with display names containing both `Project`
+ * and `Tasks`, whereas
+ * `space.display_name:Project OR space.display_name:Tasks` returns messages
+ * that are in spaces with display names containing either `Project` or
+ * `Tasks` or both.
+ * - `annotations.user_mentions.user.name` supports the operators `AND` and
+ * `OR`, but not a mix of both. For example:
+ * `annotations.user_mentions.user.name:"users/1234567890" AND
+ * annotations.user_mentions.user.name:"users/0987654321"` returns only
+ * messages that mentions both users, whereas
+ * `annotations.user_mentions.user.name:"users/1234567890" OR
+ * annotations.user_mentions.user.name:"users/0987654321"` returns messages
+ * that mention either user or both.
+ *
+ * Parentheses are required to disambiguate operator precedence when combining
+ * `AND` and `OR` operators in the same query. For example:
+ * `(sender.name="users/me" OR sender.name="users/123456") AND is_unread()`.
+ * Otherwise, parentheses are optional.
+ *
+ * The following example queries are valid:
+ *
+ * ```
+ * "Pending reports" AND create_time >= "2023-01-01T00:00:00Z"
+ *
+ * sender.name = "users/example@gmail.com"
+ *
+ * annotations.user_mentions.user.name:"users/0987654321"
+ *
+ * attachment:* AND space.name = "spaces/ABCDEFGH"
+ *
+ * tasks AND is_unread() AND sender.name = "users/1234567890"
+ *
+ * "things to do" "urgent"
+ *
+ * (sender.name = "users/1234567890")
+ * AND (create_time < "2023-05-01T00:00:00Z")
+ *
+ * tasks AND space.name = "spaces/ABCDEFGH" AND has_link()
+ *
+ * "project one" is_unread()
+ *
+ * space.display_name:Project tasks
+ * ```
+ *
+ * The maximum query length is 1,000 characters.
+ *
+ * Invalid queries are rejected by the server with an `INVALID_ARGUMENT`
+ * error.
+ *
+ *
+ * string filter = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for filter to set.
+ * @return This builder for chaining.
+ */
+ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ filter_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ private int pageSize_;
+
+ /**
+ *
+ *
+ *
+ * Optional. The maximum number of results to return. The service may return
+ * fewer than this value.
+ *
+ * If unspecified, at most 25 are returned.
+ *
+ * The maximum value is 100. If you use a value more than 100, it's
+ * automatically changed to 100.
+ *
+ *
+ * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The pageSize.
+ */
+ @java.lang.Override
+ public int getPageSize() {
+ return pageSize_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The maximum number of results to return. The service may return
+ * fewer than this value.
+ *
+ * If unspecified, at most 25 are returned.
+ *
+ * The maximum value is 100. If you use a value more than 100, it's
+ * automatically changed to 100.
+ *
+ *
+ * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The pageSize to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPageSize(int value) {
+
+ pageSize_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The maximum number of results to return. The service may return
+ * fewer than this value.
+ *
+ * If unspecified, at most 25 are returned.
+ *
+ * The maximum value is 100. If you use a value more than 100, it's
+ * automatically changed to 100.
+ *
+ *
+ * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearPageSize() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ pageSize_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object pageToken_ = "";
+
+ /**
+ *
+ *
+ *
+ * Optional. A token, received from the previous search messages call. Provide
+ * this parameter to retrieve the subsequent page.
+ *
+ * When paginating, all other parameters provided should match the call that
+ * provided the page token. Passing different values to the other parameters
+ * might lead to unexpected results.
+ *
+ *
+ * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The pageToken.
+ */
+ public java.lang.String getPageToken() {
+ java.lang.Object ref = pageToken_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ pageToken_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A token, received from the previous search messages call. Provide
+ * this parameter to retrieve the subsequent page.
+ *
+ * When paginating, all other parameters provided should match the call that
+ * provided the page token. Passing different values to the other parameters
+ * might lead to unexpected results.
+ *
+ *
+ * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for pageToken.
+ */
+ public com.google.protobuf.ByteString getPageTokenBytes() {
+ java.lang.Object ref = pageToken_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ pageToken_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A token, received from the previous search messages call. Provide
+ * this parameter to retrieve the subsequent page.
+ *
+ * When paginating, all other parameters provided should match the call that
+ * provided the page token. Passing different values to the other parameters
+ * might lead to unexpected results.
+ *
+ *
+ * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The pageToken to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPageToken(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ pageToken_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A token, received from the previous search messages call. Provide
+ * this parameter to retrieve the subsequent page.
+ *
+ * When paginating, all other parameters provided should match the call that
+ * provided the page token. Passing different values to the other parameters
+ * might lead to unexpected results.
+ *
+ *
+ * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearPageToken() {
+ pageToken_ = getDefaultInstance().getPageToken();
+ bitField0_ = (bitField0_ & ~0x00000008);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. A token, received from the previous search messages call. Provide
+ * this parameter to retrieve the subsequent page.
+ *
+ * When paginating, all other parameters provided should match the call that
+ * provided the page token. Passing different values to the other parameters
+ * might lead to unexpected results.
+ *
+ *
+ * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes for pageToken to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ pageToken_ = value;
+ bitField0_ |= 0x00000008;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object orderBy_ = "";
+
+ /**
+ *
+ *
+ *
+ * Optional. How the results list is ordered.
+ *
+ * Supported attributes to order by are:
+ *
+ * - `create_time`: Sorts the results by the time of the message creation.
+ * Default value.
+ * - `relevance`: Sorts the results by relevance.
+ * [Developer Preview](https://developers.google.com/workspace/preview).
+ *
+ * The default ordering is `create_time desc`. Only a single order per query
+ * (`create_time` or `relevance`) is supported. Only descending order (`desc`)
+ * is supported, and it must be specified after the order attribute.
+ *
+ *
+ * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The orderBy.
+ */
+ public java.lang.String getOrderBy() {
+ java.lang.Object ref = orderBy_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ orderBy_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. How the results list is ordered.
+ *
+ * Supported attributes to order by are:
+ *
+ * - `create_time`: Sorts the results by the time of the message creation.
+ * Default value.
+ * - `relevance`: Sorts the results by relevance.
+ * [Developer Preview](https://developers.google.com/workspace/preview).
+ *
+ * The default ordering is `create_time desc`. Only a single order per query
+ * (`create_time` or `relevance`) is supported. Only descending order (`desc`)
+ * is supported, and it must be specified after the order attribute.
+ *
+ *
+ * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for orderBy.
+ */
+ public com.google.protobuf.ByteString getOrderByBytes() {
+ java.lang.Object ref = orderBy_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ orderBy_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. How the results list is ordered.
+ *
+ * Supported attributes to order by are:
+ *
+ * - `create_time`: Sorts the results by the time of the message creation.
+ * Default value.
+ * - `relevance`: Sorts the results by relevance.
+ * [Developer Preview](https://developers.google.com/workspace/preview).
+ *
+ * The default ordering is `create_time desc`. Only a single order per query
+ * (`create_time` or `relevance`) is supported. Only descending order (`desc`)
+ * is supported, and it must be specified after the order attribute.
+ *
+ *
+ * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The orderBy to set.
+ * @return This builder for chaining.
+ */
+ public Builder setOrderBy(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ orderBy_ = value;
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. How the results list is ordered.
+ *
+ * Supported attributes to order by are:
+ *
+ * - `create_time`: Sorts the results by the time of the message creation.
+ * Default value.
+ * - `relevance`: Sorts the results by relevance.
+ * [Developer Preview](https://developers.google.com/workspace/preview).
+ *
+ * The default ordering is `create_time desc`. Only a single order per query
+ * (`create_time` or `relevance`) is supported. Only descending order (`desc`)
+ * is supported, and it must be specified after the order attribute.
+ *
+ *
+ * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearOrderBy() {
+ orderBy_ = getDefaultInstance().getOrderBy();
+ bitField0_ = (bitField0_ & ~0x00000010);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. How the results list is ordered.
+ *
+ * Supported attributes to order by are:
+ *
+ * - `create_time`: Sorts the results by the time of the message creation.
+ * Default value.
+ * - `relevance`: Sorts the results by relevance.
+ * [Developer Preview](https://developers.google.com/workspace/preview).
+ *
+ * The default ordering is `create_time desc`. Only a single order per query
+ * (`create_time` or `relevance`) is supported. Only descending order (`desc`)
+ * is supported, and it must be specified after the order attribute.
+ *
+ *
+ * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes for orderBy to set.
+ * @return This builder for chaining.
+ */
+ public Builder setOrderByBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ orderBy_ = value;
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+
+ private int view_ = 0;
+
+ /**
+ *
+ *
+ *
+ * Optional. Specifies what kind of search results view to return. The default
+ * is `SEARCH_MESSAGES_VIEW_BASIC`.
+ *
+ *
+ *
+ * .google.chat.v1.SearchMessagesRequest.SearchMessagesView view = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The enum numeric value on the wire for view.
+ */
+ @java.lang.Override
+ public int getViewValue() {
+ return view_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Specifies what kind of search results view to return. The default
+ * is `SEARCH_MESSAGES_VIEW_BASIC`.
+ *
+ *
+ *
+ * .google.chat.v1.SearchMessagesRequest.SearchMessagesView view = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @param value The enum numeric value on the wire for view to set.
+ * @return This builder for chaining.
+ */
+ public Builder setViewValue(int value) {
+ view_ = value;
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Specifies what kind of search results view to return. The default
+ * is `SEARCH_MESSAGES_VIEW_BASIC`.
+ *
+ *
+ *
+ * .google.chat.v1.SearchMessagesRequest.SearchMessagesView view = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The view.
+ */
+ @java.lang.Override
+ public com.google.chat.v1.SearchMessagesRequest.SearchMessagesView getView() {
+ com.google.chat.v1.SearchMessagesRequest.SearchMessagesView result =
+ com.google.chat.v1.SearchMessagesRequest.SearchMessagesView.forNumber(view_);
+ return result == null
+ ? com.google.chat.v1.SearchMessagesRequest.SearchMessagesView.UNRECOGNIZED
+ : result;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Specifies what kind of search results view to return. The default
+ * is `SEARCH_MESSAGES_VIEW_BASIC`.
+ *
+ *
+ *
+ * .google.chat.v1.SearchMessagesRequest.SearchMessagesView view = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @param value The view to set.
+ * @return This builder for chaining.
+ */
+ public Builder setView(com.google.chat.v1.SearchMessagesRequest.SearchMessagesView value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000020;
+ view_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. Specifies what kind of search results view to return. The default
+ * is `SEARCH_MESSAGES_VIEW_BASIC`.
+ *
+ *
+ *
+ * .google.chat.v1.SearchMessagesRequest.SearchMessagesView view = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearView() {
+ bitField0_ = (bitField0_ & ~0x00000020);
+ view_ = 0;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.chat.v1.SearchMessagesRequest)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.chat.v1.SearchMessagesRequest)
+ private static final com.google.chat.v1.SearchMessagesRequest DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.chat.v1.SearchMessagesRequest();
+ }
+
+ public static com.google.chat.v1.SearchMessagesRequest getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * Required. The resource name of the space to search within.
+ *
+ * To search across all spaces the user has access to, set this field to
+ * `spaces/-`. Using any other value for `parent` results in an
+ * `INVALID_ARGUMENT` error.
+ *
+ * To limit the search to one or more spaces, use `space.name` or
+ * `space.display_name` in the `filter`.
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The parent.
+ */
+ java.lang.String getParent();
+
+ /**
+ *
+ *
+ *
+ * Required. The resource name of the space to search within.
+ *
+ * To search across all spaces the user has access to, set this field to
+ * `spaces/-`. Using any other value for `parent` results in an
+ * `INVALID_ARGUMENT` error.
+ *
+ * To limit the search to one or more spaces, use `space.name` or
+ * `space.display_name` in the `filter`.
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for parent.
+ */
+ com.google.protobuf.ByteString getParentBytes();
+
+ /**
+ *
+ *
+ *
+ * Required. A search query.
+ *
+ * The query can specify one or more search keywords, which are used to filter
+ * the results,
+ *
+ * You can also filter the results using the following message fields:
+ *
+ * - `create_time`: Accepts a timestamp in
+ * [RFC-3339](https://www.rfc-editor.org/rfc/rfc3339) format and the
+ * supported comparison operators are: `<` and `>=`.
+ * - `sender.name`: The resource name of the sender (`users/{user}`). Only
+ * supports `=`. You can use the e-mail as an alias for `{user}`. For
+ * example, `users/example@gmail.com`, where `example@gmail.com` is the
+ * e-mail of the Google Chat user.
+ * - `space.name`: The resource name of the space where the message is posted.
+ * (`spaces/{space}`). Only supports `=`. If this filter is not set, the
+ * search is performed across all direct messages and spaces the user has
+ * access to as a space member.
+ * - `space.display_name`: Supports the operator `:` (has) and filters spaces
+ * based on a partial match of their display name. Results are limited to
+ * the top five space matches. For example, `space.display_name:Project`
+ * searches for messages in the top five spaces that contain the word
+ * "Project" in their display names.
+ * - `attachment`: Supports the operator `:*` (has any) to check for the
+ * presence of attachments. If `attachment:*` is specified, only messages
+ * that have at least one attachment are returned.
+ * - `annotations.user_mentions.user.name`: The resource name of the mentioned
+ * user (`users/{user}`). Only supports `:` (has). For example:
+ * `annotations.user_mentions.user.name:"users/1234567890"` returns only
+ * messages that contain a mention to the specified user. Alternatively, the
+ * alias `me` can be used to filter for messages that mention the caller
+ * user, for example: `annotations.user_mentions.user.name:users/me`. You
+ * can also use the e-mail as an alias for `{user}`, for example,
+ * `users/example@gmail.com`.
+ *
+ * For advanced filtering, the following functions are also available:
+ *
+ * - `has_link()`: Returns only messages that have at least one hyperlink in
+ * the message text.
+ * - `is_unread()`: Filters out messages that have been read by the calling
+ * user.
+ *
+ * Using the `space.display_name` filter requires that the calling credentials
+ * include one of the following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.spaces.readonly`
+ * - `https://www.googleapis.com/auth/chat.spaces`
+ *
+ * Using the `is_unread()` filter requires that the calling credentials
+ * include one of the following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.users.readstate.readonly`
+ * - `https://www.googleapis.com/auth/chat.users.readstate`
+ *
+ *
+ * Across different fields, only `AND` operators are supported. A valid
+ * example is `sender.name = "users/1234567890" AND is_unread()`. The word
+ * `AND` is optional and is implied if omitted. For example, `sender.name =
+ * "users/1234567890" is_unread()` is valid and is equivalent to the previous
+ * example. An invalid example is `sender.name = "users/1234567890" OR
+ * is_unread()` because `OR` is not supported between different fields.
+ *
+ * Among the same field:
+ *
+ * - `create_time` supports only `AND`, and can only be used to represent
+ * an interval, such as `create_time >= "2022-01-01T00:00:00+00:00" AND
+ * create_time < "2023-01-01T00:00:00+00:00"`.
+ * - `sender.name` supports only the `OR` operator, for example:
+ * `sender.name = "users/1234567890" OR sender.name = "users/0987654321"`.
+ * - `space.name` supports only the `OR` operator, for example:
+ * `space.name = "spaces/ABCDEFGH" OR space.name = "spaces/QWERTYUI"`.
+ * - `space.display_name` supports the operators `AND` and `OR`, but not a
+ * mix of both. For example:
+ * `space.display_name:Project AND space.display_name:Tasks` returns
+ * messages that are in spaces with display names containing both `Project`
+ * and `Tasks`, whereas
+ * `space.display_name:Project OR space.display_name:Tasks` returns messages
+ * that are in spaces with display names containing either `Project` or
+ * `Tasks` or both.
+ * - `annotations.user_mentions.user.name` supports the operators `AND` and
+ * `OR`, but not a mix of both. For example:
+ * `annotations.user_mentions.user.name:"users/1234567890" AND
+ * annotations.user_mentions.user.name:"users/0987654321"` returns only
+ * messages that mentions both users, whereas
+ * `annotations.user_mentions.user.name:"users/1234567890" OR
+ * annotations.user_mentions.user.name:"users/0987654321"` returns messages
+ * that mention either user or both.
+ *
+ * Parentheses are required to disambiguate operator precedence when combining
+ * `AND` and `OR` operators in the same query. For example:
+ * `(sender.name="users/me" OR sender.name="users/123456") AND is_unread()`.
+ * Otherwise, parentheses are optional.
+ *
+ * The following example queries are valid:
+ *
+ * ```
+ * "Pending reports" AND create_time >= "2023-01-01T00:00:00Z"
+ *
+ * sender.name = "users/example@gmail.com"
+ *
+ * annotations.user_mentions.user.name:"users/0987654321"
+ *
+ * attachment:* AND space.name = "spaces/ABCDEFGH"
+ *
+ * tasks AND is_unread() AND sender.name = "users/1234567890"
+ *
+ * "things to do" "urgent"
+ *
+ * (sender.name = "users/1234567890")
+ * AND (create_time < "2023-05-01T00:00:00Z")
+ *
+ * tasks AND space.name = "spaces/ABCDEFGH" AND has_link()
+ *
+ * "project one" is_unread()
+ *
+ * space.display_name:Project tasks
+ * ```
+ *
+ * The maximum query length is 1,000 characters.
+ *
+ * Invalid queries are rejected by the server with an `INVALID_ARGUMENT`
+ * error.
+ *
+ *
+ * string filter = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The filter.
+ */
+ java.lang.String getFilter();
+
+ /**
+ *
+ *
+ *
+ * Required. A search query.
+ *
+ * The query can specify one or more search keywords, which are used to filter
+ * the results,
+ *
+ * You can also filter the results using the following message fields:
+ *
+ * - `create_time`: Accepts a timestamp in
+ * [RFC-3339](https://www.rfc-editor.org/rfc/rfc3339) format and the
+ * supported comparison operators are: `<` and `>=`.
+ * - `sender.name`: The resource name of the sender (`users/{user}`). Only
+ * supports `=`. You can use the e-mail as an alias for `{user}`. For
+ * example, `users/example@gmail.com`, where `example@gmail.com` is the
+ * e-mail of the Google Chat user.
+ * - `space.name`: The resource name of the space where the message is posted.
+ * (`spaces/{space}`). Only supports `=`. If this filter is not set, the
+ * search is performed across all direct messages and spaces the user has
+ * access to as a space member.
+ * - `space.display_name`: Supports the operator `:` (has) and filters spaces
+ * based on a partial match of their display name. Results are limited to
+ * the top five space matches. For example, `space.display_name:Project`
+ * searches for messages in the top five spaces that contain the word
+ * "Project" in their display names.
+ * - `attachment`: Supports the operator `:*` (has any) to check for the
+ * presence of attachments. If `attachment:*` is specified, only messages
+ * that have at least one attachment are returned.
+ * - `annotations.user_mentions.user.name`: The resource name of the mentioned
+ * user (`users/{user}`). Only supports `:` (has). For example:
+ * `annotations.user_mentions.user.name:"users/1234567890"` returns only
+ * messages that contain a mention to the specified user. Alternatively, the
+ * alias `me` can be used to filter for messages that mention the caller
+ * user, for example: `annotations.user_mentions.user.name:users/me`. You
+ * can also use the e-mail as an alias for `{user}`, for example,
+ * `users/example@gmail.com`.
+ *
+ * For advanced filtering, the following functions are also available:
+ *
+ * - `has_link()`: Returns only messages that have at least one hyperlink in
+ * the message text.
+ * - `is_unread()`: Filters out messages that have been read by the calling
+ * user.
+ *
+ * Using the `space.display_name` filter requires that the calling credentials
+ * include one of the following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.spaces.readonly`
+ * - `https://www.googleapis.com/auth/chat.spaces`
+ *
+ * Using the `is_unread()` filter requires that the calling credentials
+ * include one of the following [authorization
+ * scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ *
+ * - `https://www.googleapis.com/auth/chat.users.readstate.readonly`
+ * - `https://www.googleapis.com/auth/chat.users.readstate`
+ *
+ *
+ * Across different fields, only `AND` operators are supported. A valid
+ * example is `sender.name = "users/1234567890" AND is_unread()`. The word
+ * `AND` is optional and is implied if omitted. For example, `sender.name =
+ * "users/1234567890" is_unread()` is valid and is equivalent to the previous
+ * example. An invalid example is `sender.name = "users/1234567890" OR
+ * is_unread()` because `OR` is not supported between different fields.
+ *
+ * Among the same field:
+ *
+ * - `create_time` supports only `AND`, and can only be used to represent
+ * an interval, such as `create_time >= "2022-01-01T00:00:00+00:00" AND
+ * create_time < "2023-01-01T00:00:00+00:00"`.
+ * - `sender.name` supports only the `OR` operator, for example:
+ * `sender.name = "users/1234567890" OR sender.name = "users/0987654321"`.
+ * - `space.name` supports only the `OR` operator, for example:
+ * `space.name = "spaces/ABCDEFGH" OR space.name = "spaces/QWERTYUI"`.
+ * - `space.display_name` supports the operators `AND` and `OR`, but not a
+ * mix of both. For example:
+ * `space.display_name:Project AND space.display_name:Tasks` returns
+ * messages that are in spaces with display names containing both `Project`
+ * and `Tasks`, whereas
+ * `space.display_name:Project OR space.display_name:Tasks` returns messages
+ * that are in spaces with display names containing either `Project` or
+ * `Tasks` or both.
+ * - `annotations.user_mentions.user.name` supports the operators `AND` and
+ * `OR`, but not a mix of both. For example:
+ * `annotations.user_mentions.user.name:"users/1234567890" AND
+ * annotations.user_mentions.user.name:"users/0987654321"` returns only
+ * messages that mentions both users, whereas
+ * `annotations.user_mentions.user.name:"users/1234567890" OR
+ * annotations.user_mentions.user.name:"users/0987654321"` returns messages
+ * that mention either user or both.
+ *
+ * Parentheses are required to disambiguate operator precedence when combining
+ * `AND` and `OR` operators in the same query. For example:
+ * `(sender.name="users/me" OR sender.name="users/123456") AND is_unread()`.
+ * Otherwise, parentheses are optional.
+ *
+ * The following example queries are valid:
+ *
+ * ```
+ * "Pending reports" AND create_time >= "2023-01-01T00:00:00Z"
+ *
+ * sender.name = "users/example@gmail.com"
+ *
+ * annotations.user_mentions.user.name:"users/0987654321"
+ *
+ * attachment:* AND space.name = "spaces/ABCDEFGH"
+ *
+ * tasks AND is_unread() AND sender.name = "users/1234567890"
+ *
+ * "things to do" "urgent"
+ *
+ * (sender.name = "users/1234567890")
+ * AND (create_time < "2023-05-01T00:00:00Z")
+ *
+ * tasks AND space.name = "spaces/ABCDEFGH" AND has_link()
+ *
+ * "project one" is_unread()
+ *
+ * space.display_name:Project tasks
+ * ```
+ *
+ * The maximum query length is 1,000 characters.
+ *
+ * Invalid queries are rejected by the server with an `INVALID_ARGUMENT`
+ * error.
+ *
+ *
+ * string filter = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for filter.
+ */
+ com.google.protobuf.ByteString getFilterBytes();
+
+ /**
+ *
+ *
+ *
+ * Optional. The maximum number of results to return. The service may return
+ * fewer than this value.
+ *
+ * If unspecified, at most 25 are returned.
+ *
+ * The maximum value is 100. If you use a value more than 100, it's
+ * automatically changed to 100.
+ *
+ *
+ * int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The pageSize.
+ */
+ int getPageSize();
+
+ /**
+ *
+ *
+ *
+ * Optional. A token, received from the previous search messages call. Provide
+ * this parameter to retrieve the subsequent page.
+ *
+ * When paginating, all other parameters provided should match the call that
+ * provided the page token. Passing different values to the other parameters
+ * might lead to unexpected results.
+ *
+ *
+ * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The pageToken.
+ */
+ java.lang.String getPageToken();
+
+ /**
+ *
+ *
+ *
+ * Optional. A token, received from the previous search messages call. Provide
+ * this parameter to retrieve the subsequent page.
+ *
+ * When paginating, all other parameters provided should match the call that
+ * provided the page token. Passing different values to the other parameters
+ * might lead to unexpected results.
+ *
+ *
+ * string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for pageToken.
+ */
+ com.google.protobuf.ByteString getPageTokenBytes();
+
+ /**
+ *
+ *
+ *
+ * Optional. How the results list is ordered.
+ *
+ * Supported attributes to order by are:
+ *
+ * - `create_time`: Sorts the results by the time of the message creation.
+ * Default value.
+ * - `relevance`: Sorts the results by relevance.
+ * [Developer Preview](https://developers.google.com/workspace/preview).
+ *
+ * The default ordering is `create_time desc`. Only a single order per query
+ * (`create_time` or `relevance`) is supported. Only descending order (`desc`)
+ * is supported, and it must be specified after the order attribute.
+ *
+ *
+ * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The orderBy.
+ */
+ java.lang.String getOrderBy();
+
+ /**
+ *
+ *
+ *
+ * Optional. How the results list is ordered.
+ *
+ * Supported attributes to order by are:
+ *
+ * - `create_time`: Sorts the results by the time of the message creation.
+ * Default value.
+ * - `relevance`: Sorts the results by relevance.
+ * [Developer Preview](https://developers.google.com/workspace/preview).
+ *
+ * The default ordering is `create_time desc`. Only a single order per query
+ * (`create_time` or `relevance`) is supported. Only descending order (`desc`)
+ * is supported, and it must be specified after the order attribute.
+ *
+ *
+ * string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for orderBy.
+ */
+ com.google.protobuf.ByteString getOrderByBytes();
+
+ /**
+ *
+ *
+ *
+ * Optional. Specifies what kind of search results view to return. The default
+ * is `SEARCH_MESSAGES_VIEW_BASIC`.
+ *
+ *
+ *
+ * .google.chat.v1.SearchMessagesRequest.SearchMessagesView view = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The enum numeric value on the wire for view.
+ */
+ int getViewValue();
+
+ /**
+ *
+ *
+ *
+ * Optional. Specifies what kind of search results view to return. The default
+ * is `SEARCH_MESSAGES_VIEW_BASIC`.
+ *
+ *
+ *
+ * .google.chat.v1.SearchMessagesRequest.SearchMessagesView view = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The view.
+ */
+ com.google.chat.v1.SearchMessagesRequest.SearchMessagesView getView();
+}
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/SearchMessagesResponse.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/SearchMessagesResponse.java
new file mode 100644
index 000000000000..cec5f78914d7
--- /dev/null
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/SearchMessagesResponse.java
@@ -0,0 +1,1115 @@
+/*
+ * Copyright 2026 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: google/chat/v1/message.proto
+// Protobuf Java Version: 4.33.6
+
+package com.google.chat.v1;
+
+/**
+ *
+ *
+ *
+ * Response message for searching messages.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.SearchMessagesResponse}
+ */
+@com.google.protobuf.Generated
+public final class SearchMessagesResponse extends com.google.protobuf.GeneratedMessage
+ implements
+ // @@protoc_insertion_point(message_implements:google.chat.v1.SearchMessagesResponse)
+ SearchMessagesResponseOrBuilder {
+ private static final long serialVersionUID = 0L;
+
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 6,
+ /* suffix= */ "",
+ "SearchMessagesResponse");
+ }
+
+ // Use SearchMessagesResponse.newBuilder() to construct.
+ private SearchMessagesResponse(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+
+ private SearchMessagesResponse() {
+ results_ = java.util.Collections.emptyList();
+ nextPageToken_ = "";
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.chat.v1.MessageProto
+ .internal_static_google_chat_v1_SearchMessagesResponse_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.chat.v1.MessageProto
+ .internal_static_google_chat_v1_SearchMessagesResponse_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.chat.v1.SearchMessagesResponse.class,
+ com.google.chat.v1.SearchMessagesResponse.Builder.class);
+ }
+
+ public static final int RESULTS_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private java.util.List
+ * The list of search results that matched the query.
+ *
+ *
+ * repeated .google.chat.v1.SearchMessageResult results = 1;
+ */
+ @java.lang.Override
+ public java.util.List
+ * The list of search results that matched the query.
+ *
+ *
+ * repeated .google.chat.v1.SearchMessageResult results = 1;
+ */
+ @java.lang.Override
+ public java.util.List extends com.google.chat.v1.SearchMessageResultOrBuilder>
+ getResultsOrBuilderList() {
+ return results_;
+ }
+
+ /**
+ *
+ *
+ *
+ * The list of search results that matched the query.
+ *
+ *
+ * repeated .google.chat.v1.SearchMessageResult results = 1;
+ */
+ @java.lang.Override
+ public int getResultsCount() {
+ return results_.size();
+ }
+
+ /**
+ *
+ *
+ *
+ * The list of search results that matched the query.
+ *
+ *
+ * repeated .google.chat.v1.SearchMessageResult results = 1;
+ */
+ @java.lang.Override
+ public com.google.chat.v1.SearchMessageResult getResults(int index) {
+ return results_.get(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * The list of search results that matched the query.
+ *
+ *
+ * repeated .google.chat.v1.SearchMessageResult results = 1;
+ */
+ @java.lang.Override
+ public com.google.chat.v1.SearchMessageResultOrBuilder getResultsOrBuilder(int index) {
+ return results_.get(index);
+ }
+
+ public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object nextPageToken_ = "";
+
+ /**
+ *
+ *
+ *
+ * A token that can be used to retrieve the next page. If this field is empty,
+ * there are no subsequent pages.
+ *
+ *
+ * string next_page_token = 2;
+ *
+ * @return The nextPageToken.
+ */
+ @java.lang.Override
+ public java.lang.String getNextPageToken() {
+ java.lang.Object ref = nextPageToken_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ nextPageToken_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * A token that can be used to retrieve the next page. If this field is empty,
+ * there are no subsequent pages.
+ *
+ *
+ * string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getNextPageTokenBytes() {
+ java.lang.Object ref = nextPageToken_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ nextPageToken_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ for (int i = 0; i < results_.size(); i++) {
+ output.writeMessage(1, results_.get(i));
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 2, nextPageToken_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (int i = 0; i < results_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, results_.get(i));
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(nextPageToken_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(2, nextPageToken_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.chat.v1.SearchMessagesResponse)) {
+ return super.equals(obj);
+ }
+ com.google.chat.v1.SearchMessagesResponse other =
+ (com.google.chat.v1.SearchMessagesResponse) obj;
+
+ if (!getResultsList().equals(other.getResultsList())) return false;
+ if (!getNextPageToken().equals(other.getNextPageToken())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (getResultsCount() > 0) {
+ hash = (37 * hash) + RESULTS_FIELD_NUMBER;
+ hash = (53 * hash) + getResultsList().hashCode();
+ }
+ hash = (37 * hash) + NEXT_PAGE_TOKEN_FIELD_NUMBER;
+ hash = (53 * hash) + getNextPageToken().hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.chat.v1.SearchMessagesResponse parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.chat.v1.SearchMessagesResponse parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.chat.v1.SearchMessagesResponse parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.chat.v1.SearchMessagesResponse parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.chat.v1.SearchMessagesResponse parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.chat.v1.SearchMessagesResponse parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.chat.v1.SearchMessagesResponse parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.chat.v1.SearchMessagesResponse parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.chat.v1.SearchMessagesResponse parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.chat.v1.SearchMessagesResponse parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.chat.v1.SearchMessagesResponse parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.chat.v1.SearchMessagesResponse parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(com.google.chat.v1.SearchMessagesResponse prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ *
+ *
+ *
+ * Response message for searching messages.
+ *
+ *
+ * Protobuf type {@code google.chat.v1.SearchMessagesResponse}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ * The list of search results that matched the query.
+ *
+ *
+ * repeated .google.chat.v1.SearchMessageResult results = 1;
+ */
+ public java.util.List
+ * The list of search results that matched the query.
+ *
+ *
+ * repeated .google.chat.v1.SearchMessageResult results = 1;
+ */
+ public int getResultsCount() {
+ if (resultsBuilder_ == null) {
+ return results_.size();
+ } else {
+ return resultsBuilder_.getCount();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The list of search results that matched the query.
+ *
+ *
+ * repeated .google.chat.v1.SearchMessageResult results = 1;
+ */
+ public com.google.chat.v1.SearchMessageResult getResults(int index) {
+ if (resultsBuilder_ == null) {
+ return results_.get(index);
+ } else {
+ return resultsBuilder_.getMessage(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The list of search results that matched the query.
+ *
+ *
+ * repeated .google.chat.v1.SearchMessageResult results = 1;
+ */
+ public Builder setResults(int index, com.google.chat.v1.SearchMessageResult value) {
+ if (resultsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureResultsIsMutable();
+ results_.set(index, value);
+ onChanged();
+ } else {
+ resultsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The list of search results that matched the query.
+ *
+ *
+ * repeated .google.chat.v1.SearchMessageResult results = 1;
+ */
+ public Builder setResults(
+ int index, com.google.chat.v1.SearchMessageResult.Builder builderForValue) {
+ if (resultsBuilder_ == null) {
+ ensureResultsIsMutable();
+ results_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ resultsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The list of search results that matched the query.
+ *
+ *
+ * repeated .google.chat.v1.SearchMessageResult results = 1;
+ */
+ public Builder addResults(com.google.chat.v1.SearchMessageResult value) {
+ if (resultsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureResultsIsMutable();
+ results_.add(value);
+ onChanged();
+ } else {
+ resultsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The list of search results that matched the query.
+ *
+ *
+ * repeated .google.chat.v1.SearchMessageResult results = 1;
+ */
+ public Builder addResults(int index, com.google.chat.v1.SearchMessageResult value) {
+ if (resultsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureResultsIsMutable();
+ results_.add(index, value);
+ onChanged();
+ } else {
+ resultsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The list of search results that matched the query.
+ *
+ *
+ * repeated .google.chat.v1.SearchMessageResult results = 1;
+ */
+ public Builder addResults(com.google.chat.v1.SearchMessageResult.Builder builderForValue) {
+ if (resultsBuilder_ == null) {
+ ensureResultsIsMutable();
+ results_.add(builderForValue.build());
+ onChanged();
+ } else {
+ resultsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The list of search results that matched the query.
+ *
+ *
+ * repeated .google.chat.v1.SearchMessageResult results = 1;
+ */
+ public Builder addResults(
+ int index, com.google.chat.v1.SearchMessageResult.Builder builderForValue) {
+ if (resultsBuilder_ == null) {
+ ensureResultsIsMutable();
+ results_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ resultsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The list of search results that matched the query.
+ *
+ *
+ * repeated .google.chat.v1.SearchMessageResult results = 1;
+ */
+ public Builder addAllResults(
+ java.lang.Iterable extends com.google.chat.v1.SearchMessageResult> values) {
+ if (resultsBuilder_ == null) {
+ ensureResultsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, results_);
+ onChanged();
+ } else {
+ resultsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The list of search results that matched the query.
+ *
+ *
+ * repeated .google.chat.v1.SearchMessageResult results = 1;
+ */
+ public Builder clearResults() {
+ if (resultsBuilder_ == null) {
+ results_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ resultsBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The list of search results that matched the query.
+ *
+ *
+ * repeated .google.chat.v1.SearchMessageResult results = 1;
+ */
+ public Builder removeResults(int index) {
+ if (resultsBuilder_ == null) {
+ ensureResultsIsMutable();
+ results_.remove(index);
+ onChanged();
+ } else {
+ resultsBuilder_.remove(index);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The list of search results that matched the query.
+ *
+ *
+ * repeated .google.chat.v1.SearchMessageResult results = 1;
+ */
+ public com.google.chat.v1.SearchMessageResult.Builder getResultsBuilder(int index) {
+ return internalGetResultsFieldBuilder().getBuilder(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * The list of search results that matched the query.
+ *
+ *
+ * repeated .google.chat.v1.SearchMessageResult results = 1;
+ */
+ public com.google.chat.v1.SearchMessageResultOrBuilder getResultsOrBuilder(int index) {
+ if (resultsBuilder_ == null) {
+ return results_.get(index);
+ } else {
+ return resultsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The list of search results that matched the query.
+ *
+ *
+ * repeated .google.chat.v1.SearchMessageResult results = 1;
+ */
+ public java.util.List extends com.google.chat.v1.SearchMessageResultOrBuilder>
+ getResultsOrBuilderList() {
+ if (resultsBuilder_ != null) {
+ return resultsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(results_);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The list of search results that matched the query.
+ *
+ *
+ * repeated .google.chat.v1.SearchMessageResult results = 1;
+ */
+ public com.google.chat.v1.SearchMessageResult.Builder addResultsBuilder() {
+ return internalGetResultsFieldBuilder()
+ .addBuilder(com.google.chat.v1.SearchMessageResult.getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * The list of search results that matched the query.
+ *
+ *
+ * repeated .google.chat.v1.SearchMessageResult results = 1;
+ */
+ public com.google.chat.v1.SearchMessageResult.Builder addResultsBuilder(int index) {
+ return internalGetResultsFieldBuilder()
+ .addBuilder(index, com.google.chat.v1.SearchMessageResult.getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * The list of search results that matched the query.
+ *
+ *
+ * repeated .google.chat.v1.SearchMessageResult results = 1;
+ */
+ public java.util.List
+ * A token that can be used to retrieve the next page. If this field is empty,
+ * there are no subsequent pages.
+ *
+ *
+ * string next_page_token = 2;
+ *
+ * @return The nextPageToken.
+ */
+ public java.lang.String getNextPageToken() {
+ java.lang.Object ref = nextPageToken_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ nextPageToken_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * A token that can be used to retrieve the next page. If this field is empty,
+ * there are no subsequent pages.
+ *
+ *
+ * string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
+ */
+ public com.google.protobuf.ByteString getNextPageTokenBytes() {
+ java.lang.Object ref = nextPageToken_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ nextPageToken_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * A token that can be used to retrieve the next page. If this field is empty,
+ * there are no subsequent pages.
+ *
+ *
+ * string next_page_token = 2;
+ *
+ * @param value The nextPageToken to set.
+ * @return This builder for chaining.
+ */
+ public Builder setNextPageToken(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ nextPageToken_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * A token that can be used to retrieve the next page. If this field is empty,
+ * there are no subsequent pages.
+ *
+ *
+ * string next_page_token = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearNextPageToken() {
+ nextPageToken_ = getDefaultInstance().getNextPageToken();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * A token that can be used to retrieve the next page. If this field is empty,
+ * there are no subsequent pages.
+ *
+ *
+ * string next_page_token = 2;
+ *
+ * @param value The bytes for nextPageToken to set.
+ * @return This builder for chaining.
+ */
+ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ nextPageToken_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.chat.v1.SearchMessagesResponse)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.chat.v1.SearchMessagesResponse)
+ private static final com.google.chat.v1.SearchMessagesResponse DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.chat.v1.SearchMessagesResponse();
+ }
+
+ public static com.google.chat.v1.SearchMessagesResponse getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser
+ * The list of search results that matched the query.
+ *
+ *
+ * repeated .google.chat.v1.SearchMessageResult results = 1;
+ */
+ java.util.List
+ * The list of search results that matched the query.
+ *
+ *
+ * repeated .google.chat.v1.SearchMessageResult results = 1;
+ */
+ com.google.chat.v1.SearchMessageResult getResults(int index);
+
+ /**
+ *
+ *
+ *
+ * The list of search results that matched the query.
+ *
+ *
+ * repeated .google.chat.v1.SearchMessageResult results = 1;
+ */
+ int getResultsCount();
+
+ /**
+ *
+ *
+ *
+ * The list of search results that matched the query.
+ *
+ *
+ * repeated .google.chat.v1.SearchMessageResult results = 1;
+ */
+ java.util.List extends com.google.chat.v1.SearchMessageResultOrBuilder>
+ getResultsOrBuilderList();
+
+ /**
+ *
+ *
+ *
+ * The list of search results that matched the query.
+ *
+ *
+ * repeated .google.chat.v1.SearchMessageResult results = 1;
+ */
+ com.google.chat.v1.SearchMessageResultOrBuilder getResultsOrBuilder(int index);
+
+ /**
+ *
+ *
+ *
+ * A token that can be used to retrieve the next page. If this field is empty,
+ * there are no subsequent pages.
+ *
+ *
+ * string next_page_token = 2;
+ *
+ * @return The nextPageToken.
+ */
+ java.lang.String getNextPageToken();
+
+ /**
+ *
+ *
+ *
+ * A token that can be used to retrieve the next page. If this field is empty,
+ * there are no subsequent pages.
+ *
+ *
+ * string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
+ */
+ com.google.protobuf.ByteString getNextPageTokenBytes();
+}
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/Space.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/Space.java
index 09209593adc9..675bf2368d67 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/Space.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/Space.java
@@ -467,9 +467,9 @@ public enum SpaceThreadingState implements com.google.protobuf.ProtocolMessageEn
*
*
*
- * Named spaces that support message threads. When users respond to a
- * message, they can reply in-thread, which keeps their response in the
- * context of the original message.
+ * Spaces that support message threads. When users respond to a message,
+ * they can reply in-thread, which keeps their response in the context of
+ * the original message.
*
*
* THREADED_MESSAGES = 2;
@@ -490,8 +490,11 @@ public enum SpaceThreadingState implements com.google.protobuf.ProtocolMessageEn
*
*
*
- * Direct messages (DMs) between two people and group conversations between
- * 3 or more people.
+ * Spaces that don't support message threading. This space threading state
+ * is only used for special cases including:
+ *
+ * * Continuous meeting chat where threading is intentionally turned off.
+ * * Legacy group conversations that were created prior to 2022.
*
*
* UNTHREADED_MESSAGES = 4;
@@ -525,9 +528,9 @@ public enum SpaceThreadingState implements com.google.protobuf.ProtocolMessageEn
*
*
*
- * Named spaces that support message threads. When users respond to a
- * message, they can reply in-thread, which keeps their response in the
- * context of the original message.
+ * Spaces that support message threads. When users respond to a message,
+ * they can reply in-thread, which keeps their response in the context of
+ * the original message.
*
*
* THREADED_MESSAGES = 2;
@@ -550,8 +553,11 @@ public enum SpaceThreadingState implements com.google.protobuf.ProtocolMessageEn
*
*
*
- * Direct messages (DMs) between two people and group conversations between
- * 3 or more people.
+ * Spaces that don't support message threading. This space threading state
+ * is only used for special cases including:
+ *
+ * * Continuous meeting chat where threading is intentionally turned off.
+ * * Legacy group conversations that were created prior to 2022.
*
*
* UNTHREADED_MESSAGES = 4;
@@ -11132,7 +11138,7 @@ public com.google.protobuf.ByteString getNameBytes() {
* .google.chat.v1.Space.Type type = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
*
*
- * @deprecated google.chat.v1.Space.type is deprecated. See google/chat/v1/space.proto;l=302
+ * @deprecated google.chat.v1.Space.type is deprecated. See google/chat/v1/space.proto;l=305
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override
@@ -11153,7 +11159,7 @@ public int getTypeValue() {
* .google.chat.v1.Space.Type type = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
*
*
- * @deprecated google.chat.v1.Space.type is deprecated. See google/chat/v1/space.proto;l=302
+ * @deprecated google.chat.v1.Space.type is deprecated. See google/chat/v1/space.proto;l=305
* @return The type.
*/
@java.lang.Override
@@ -11239,7 +11245,7 @@ public boolean getSingleUserBotDm() {
*
* bool threaded = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
*
- * @deprecated google.chat.v1.Space.threaded is deprecated. See google/chat/v1/space.proto;l=314
+ * @deprecated google.chat.v1.Space.threaded is deprecated. See google/chat/v1/space.proto;l=317
* @return The threaded.
*/
@java.lang.Override
@@ -13329,7 +13335,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
* .google.chat.v1.Space.Type type = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
*
*
- * @deprecated google.chat.v1.Space.type is deprecated. See google/chat/v1/space.proto;l=302
+ * @deprecated google.chat.v1.Space.type is deprecated. See google/chat/v1/space.proto;l=305
* @return The enum numeric value on the wire for type.
*/
@java.lang.Override
@@ -13350,7 +13356,7 @@ public int getTypeValue() {
* .google.chat.v1.Space.Type type = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
*
*
- * @deprecated google.chat.v1.Space.type is deprecated. See google/chat/v1/space.proto;l=302
+ * @deprecated google.chat.v1.Space.type is deprecated. See google/chat/v1/space.proto;l=305
* @param value The enum numeric value on the wire for type to set.
* @return This builder for chaining.
*/
@@ -13374,7 +13380,7 @@ public Builder setTypeValue(int value) {
* .google.chat.v1.Space.Type type = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
*
*
- * @deprecated google.chat.v1.Space.type is deprecated. See google/chat/v1/space.proto;l=302
+ * @deprecated google.chat.v1.Space.type is deprecated. See google/chat/v1/space.proto;l=305
* @return The type.
*/
@java.lang.Override
@@ -13396,7 +13402,7 @@ public com.google.chat.v1.Space.Type getType() {
* .google.chat.v1.Space.Type type = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
*
*
- * @deprecated google.chat.v1.Space.type is deprecated. See google/chat/v1/space.proto;l=302
+ * @deprecated google.chat.v1.Space.type is deprecated. See google/chat/v1/space.proto;l=305
* @param value The type to set.
* @return This builder for chaining.
*/
@@ -13423,7 +13429,7 @@ public Builder setType(com.google.chat.v1.Space.Type value) {
* .google.chat.v1.Space.Type type = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
*
*
- * @deprecated google.chat.v1.Space.type is deprecated. See google/chat/v1/space.proto;l=302
+ * @deprecated google.chat.v1.Space.type is deprecated. See google/chat/v1/space.proto;l=305
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -13616,7 +13622,7 @@ public Builder clearSingleUserBotDm() {
* bool threaded = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
*
*
- * @deprecated google.chat.v1.Space.threaded is deprecated. See google/chat/v1/space.proto;l=314
+ * @deprecated google.chat.v1.Space.threaded is deprecated. See google/chat/v1/space.proto;l=317
* @return The threaded.
*/
@java.lang.Override
@@ -13636,7 +13642,7 @@ public boolean getThreaded() {
* bool threaded = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
*
*
- * @deprecated google.chat.v1.Space.threaded is deprecated. See google/chat/v1/space.proto;l=314
+ * @deprecated google.chat.v1.Space.threaded is deprecated. See google/chat/v1/space.proto;l=317
* @param value The threaded to set.
* @return This builder for chaining.
*/
@@ -13660,7 +13666,7 @@ public Builder setThreaded(boolean value) {
* bool threaded = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
*
*
- * @deprecated google.chat.v1.Space.threaded is deprecated. See google/chat/v1/space.proto;l=314
+ * @deprecated google.chat.v1.Space.threaded is deprecated. See google/chat/v1/space.proto;l=317
* @return This builder for chaining.
*/
@java.lang.Deprecated
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/SpaceOrBuilder.java b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/SpaceOrBuilder.java
index 1618944c9001..e54aa0bf1ba8 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/SpaceOrBuilder.java
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/java/com/google/chat/v1/SpaceOrBuilder.java
@@ -82,7 +82,7 @@ public interface SpaceOrBuilder
* .google.chat.v1.Space.Type type = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
*
*
- * @deprecated google.chat.v1.Space.type is deprecated. See google/chat/v1/space.proto;l=302
+ * @deprecated google.chat.v1.Space.type is deprecated. See google/chat/v1/space.proto;l=305
* @return The enum numeric value on the wire for type.
*/
@java.lang.Deprecated
@@ -100,7 +100,7 @@ public interface SpaceOrBuilder
* .google.chat.v1.Space.Type type = 2 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
*
*
- * @deprecated google.chat.v1.Space.type is deprecated. See google/chat/v1/space.proto;l=302
+ * @deprecated google.chat.v1.Space.type is deprecated. See google/chat/v1/space.proto;l=305
* @return The type.
*/
@java.lang.Deprecated
@@ -162,7 +162,7 @@ public interface SpaceOrBuilder
*
* bool threaded = 5 [deprecated = true, (.google.api.field_behavior) = OUTPUT_ONLY];
*
- * @deprecated google.chat.v1.Space.threaded is deprecated. See google/chat/v1/space.proto;l=314
+ * @deprecated google.chat.v1.Space.threaded is deprecated. See google/chat/v1/space.proto;l=317
* @return The threaded.
*/
@java.lang.Deprecated
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/chat_service.proto b/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/chat_service.proto
index fcf714fb95aa..02fc5e445163 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/chat_service.proto
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/chat_service.proto
@@ -342,6 +342,41 @@ service ChatService {
option (google.api.method_signature) = "name";
}
+ // Searches for messages in Google Chat that the calling user has access to.
+ // Returns a list of messages matching the search criteria.
+ //
+ // To search across all spaces the user has access to, set `parent` to
+ // `spaces/-`. Using any other value for `parent` results in an
+ // `INVALID_ARGUMENT` error. The returned messages have their `name` field
+ // populated with the full resource name, which includes the specific `space`
+ // in which the message resides.
+ //
+ // This API doesn't return all message types. The types of messages listed
+ // below aren't included in the response. Use
+ // [ListMessages][google.chat.v1.ChatService.ListMessages] to list all
+ // messages.
+ //
+ // - Private Messages that are visible to the authenticated user.
+ // - Messages posted by Chat apps in spaces or group chats.
+ // - Messages in a Chat app DM.
+ // - Messages from blocked users.
+ // - Messages in spaces that the caller has muted.
+ //
+ // Requires [user
+ // authentication](https://developers.google.com/workspace/chat/authenticate-authorize-chat-user)
+ // with one of the following [authorization
+ // scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ //
+ // - `https://www.googleapis.com/auth/chat.messages.readonly`
+ // - `https://www.googleapis.com/auth/chat.messages`
+ rpc SearchMessages(SearchMessagesRequest) returns (SearchMessagesResponse) {
+ option (google.api.http) = {
+ post: "/v1/{parent=spaces/*}/messages:search"
+ body: "*"
+ };
+ option (google.api.method_signature) = "parent,filter";
+ }
+
// Gets the metadata of a message attachment. The attachment data is fetched
// using the [media
// API](https://developers.google.com/workspace/chat/api/reference/rest/v1/media/download).
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/message.proto b/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/message.proto
index ed78f5e50c99..22d53f09d3d6 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/message.proto
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/message.proto
@@ -28,6 +28,7 @@ import "google/chat/v1/matched_url.proto";
import "google/chat/v1/reaction.proto";
import "google/chat/v1/slash_command.proto";
import "google/chat/v1/space.proto";
+import "google/chat/v1/space_notification_setting.proto";
import "google/chat/v1/user.proto";
import "google/protobuf/field_mask.proto";
import "google/protobuf/timestamp.proto";
@@ -112,8 +113,8 @@ message Message {
//
// * [Markup
// syntax](https://developers.google.com/workspace/chat/format-messages)
- // for bold, italic, strikethrough, monospace, monospace block, and bulleted
- // list.
+ // for bold, italic, strikethrough, monospace, monospace block, bulleted
+ // list, and block quote.
//
// * [User
// mentions](https://developers.google.com/workspace/chat/format-messages#messages-@mention)
@@ -191,8 +192,8 @@ message Message {
// Optional. User-uploaded attachment.
repeated Attachment attachment = 18 [(google.api.field_behavior) = OPTIONAL];
- // Output only. A URL in `spaces.messages.text` that matches a link preview
- // pattern. For more information, see [Preview
+ // Output only. A URL in the Chat message `text` field that matches a link
+ // preview pattern. For more information, see [Preview
// links](https://developers.google.com/workspace/chat/preview-links).
MatchedUrl matched_url = 20 [(google.api.field_behavior) = OUTPUT_ONLY];
@@ -677,9 +678,9 @@ message CreateMessageNotificationOptions {
// (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
NOTIFICATION_TYPE_FORCE_NOTIFY = 2;
- // Silence the notification as if the recipients have [Chat Do Not
- // Disturb](https://support.google.com/chat/answer/9093489) enabled or
- // have muted the space.
+ // Do not notify recipients, and do not mark the message as unread.
+ // This behaves similarly to the user muting the conversation or enabling
+ // [Chat Do Not Disturb](https://support.google.com/chat/answer/9093489).
//
// Requires [app authentication]
// (https://developers.google.com/workspace/chat/authenticate-authorize-chat-app).
@@ -830,3 +831,232 @@ message CardWithId {
// A card. Maximum size is 32 KB.
google.apps.card.v1.Card card = 2;
}
+
+// Request message for searching messages.
+message SearchMessagesRequest {
+ // The kinds of view that are supported for partial search results.
+ enum SearchMessagesView {
+ // The default / unset value.
+ // The API will default to the BASIC view.
+ SEARCH_MESSAGES_VIEW_UNSPECIFIED = 0;
+
+ // Includes only the matched messages in the results, but no additional
+ // metadata. This is the default value.
+ SEARCH_MESSAGES_VIEW_BASIC = 1;
+
+ // Includes everything in the results: the matched messages and additional
+ // metadata.
+ SEARCH_MESSAGES_VIEW_FULL = 2;
+ }
+
+ // Required. The resource name of the space to search within.
+ //
+ // To search across all spaces the user has access to, set this field to
+ // `spaces/-`. Using any other value for `parent` results in an
+ // `INVALID_ARGUMENT` error.
+ //
+ // To limit the search to one or more spaces, use `space.name` or
+ // `space.display_name` in the `filter`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = { type: "chat.googleapis.com/Space" }
+ ];
+
+ // Required. A search query.
+ //
+ // The query can specify one or more search keywords, which are used to filter
+ // the results,
+ //
+ // You can also filter the results using the following message fields:
+ //
+ // - `create_time`: Accepts a timestamp in
+ // [RFC-3339](https://www.rfc-editor.org/rfc/rfc3339) format and the
+ // supported comparison operators are: `<` and `>=`.
+ // - `sender.name`: The resource name of the sender (`users/{user}`). Only
+ // supports `=`. You can use the e-mail as an alias for `{user}`. For
+ // example, `users/example@gmail.com`, where `example@gmail.com` is the
+ // e-mail of the Google Chat user.
+ // - `space.name`: The resource name of the space where the message is posted.
+ // (`spaces/{space}`). Only supports `=`. If this filter is not set, the
+ // search is performed across all direct messages and spaces the user has
+ // access to as a space member.
+ // - `space.display_name`: Supports the operator `:` (has) and filters spaces
+ // based on a partial match of their display name. Results are limited to
+ // the top five space matches. For example, `space.display_name:Project`
+ // searches for messages in the top five spaces that contain the word
+ // "Project" in their display names.
+ // - `attachment`: Supports the operator `:*` (has any) to check for the
+ // presence of attachments. If `attachment:*` is specified, only messages
+ // that have at least one attachment are returned.
+ // - `annotations.user_mentions.user.name`: The resource name of the mentioned
+ // user (`users/{user}`). Only supports `:` (has). For example:
+ // `annotations.user_mentions.user.name:"users/1234567890"` returns only
+ // messages that contain a mention to the specified user. Alternatively, the
+ // alias `me` can be used to filter for messages that mention the caller
+ // user, for example: `annotations.user_mentions.user.name:users/me`. You
+ // can also use the e-mail as an alias for `{user}`, for example,
+ // `users/example@gmail.com`.
+ //
+ // For advanced filtering, the following functions are also available:
+ //
+ // - `has_link()`: Returns only messages that have at least one hyperlink in
+ // the message text.
+ // - `is_unread()`: Filters out messages that have been read by the calling
+ // user.
+ //
+ // Using the `space.display_name` filter requires that the calling credentials
+ // include one of the following [authorization
+ // scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ //
+ // - `https://www.googleapis.com/auth/chat.spaces.readonly`
+ // - `https://www.googleapis.com/auth/chat.spaces`
+ //
+ // Using the `is_unread()` filter requires that the calling credentials
+ // include one of the following [authorization
+ // scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ //
+ // - `https://www.googleapis.com/auth/chat.users.readstate.readonly`
+ // - `https://www.googleapis.com/auth/chat.users.readstate`
+ //
+ //
+ // Across different fields, only `AND` operators are supported. A valid
+ // example is `sender.name = "users/1234567890" AND is_unread()`. The word
+ // `AND` is optional and is implied if omitted. For example, `sender.name =
+ // "users/1234567890" is_unread()` is valid and is equivalent to the previous
+ // example. An invalid example is `sender.name = "users/1234567890" OR
+ // is_unread()` because `OR` is not supported between different fields.
+ //
+ // Among the same field:
+ //
+ // - `create_time` supports only `AND`, and can only be used to represent
+ // an interval, such as `create_time >= "2022-01-01T00:00:00+00:00" AND
+ // create_time < "2023-01-01T00:00:00+00:00"`.
+ // - `sender.name` supports only the `OR` operator, for example:
+ // `sender.name = "users/1234567890" OR sender.name = "users/0987654321"`.
+ // - `space.name` supports only the `OR` operator, for example:
+ // `space.name = "spaces/ABCDEFGH" OR space.name = "spaces/QWERTYUI"`.
+ // - `space.display_name` supports the operators `AND` and `OR`, but not a
+ // mix of both. For example:
+ // `space.display_name:Project AND space.display_name:Tasks` returns
+ // messages that are in spaces with display names containing both `Project`
+ // and `Tasks`, whereas
+ // `space.display_name:Project OR space.display_name:Tasks` returns messages
+ // that are in spaces with display names containing either `Project` or
+ // `Tasks` or both.
+ // - `annotations.user_mentions.user.name` supports the operators `AND` and
+ // `OR`, but not a mix of both. For example:
+ // `annotations.user_mentions.user.name:"users/1234567890" AND
+ // annotations.user_mentions.user.name:"users/0987654321"` returns only
+ // messages that mentions both users, whereas
+ // `annotations.user_mentions.user.name:"users/1234567890" OR
+ // annotations.user_mentions.user.name:"users/0987654321"` returns messages
+ // that mention either user or both.
+ //
+ // Parentheses are required to disambiguate operator precedence when combining
+ // `AND` and `OR` operators in the same query. For example:
+ // `(sender.name="users/me" OR sender.name="users/123456") AND is_unread()`.
+ // Otherwise, parentheses are optional.
+ //
+ // The following example queries are valid:
+ //
+ // ```
+ // "Pending reports" AND create_time >= "2023-01-01T00:00:00Z"
+ //
+ // sender.name = "users/example@gmail.com"
+ //
+ // annotations.user_mentions.user.name:"users/0987654321"
+ //
+ // attachment:* AND space.name = "spaces/ABCDEFGH"
+ //
+ // tasks AND is_unread() AND sender.name = "users/1234567890"
+ //
+ // "things to do" "urgent"
+ //
+ // (sender.name = "users/1234567890")
+ // AND (create_time < "2023-05-01T00:00:00Z")
+ //
+ // tasks AND space.name = "spaces/ABCDEFGH" AND has_link()
+ //
+ // "project one" is_unread()
+ //
+ // space.display_name:Project tasks
+ // ```
+ //
+ // The maximum query length is 1,000 characters.
+ //
+ // Invalid queries are rejected by the server with an `INVALID_ARGUMENT`
+ // error.
+ string filter = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. The maximum number of results to return. The service may return
+ // fewer than this value.
+ //
+ // If unspecified, at most 25 are returned.
+ //
+ // The maximum value is 100. If you use a value more than 100, it's
+ // automatically changed to 100.
+ int32 page_size = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A token, received from the previous search messages call. Provide
+ // this parameter to retrieve the subsequent page.
+ //
+ // When paginating, all other parameters provided should match the call that
+ // provided the page token. Passing different values to the other parameters
+ // might lead to unexpected results.
+ string page_token = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. How the results list is ordered.
+ //
+ // Supported attributes to order by are:
+ //
+ // - `create_time`: Sorts the results by the time of the message creation.
+ // Default value.
+ // - `relevance`: Sorts the results by relevance.
+ // [Developer Preview](https://developers.google.com/workspace/preview).
+ //
+ // The default ordering is `create_time desc`. Only a single order per query
+ // (`create_time` or `relevance`) is supported. Only descending order (`desc`)
+ // is supported, and it must be specified after the order attribute.
+ string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Specifies what kind of search results view to return. The default
+ // is `SEARCH_MESSAGES_VIEW_BASIC`.
+ SearchMessagesView view = 7 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Response message for searching messages.
+message SearchMessagesResponse {
+ // The list of search results that matched the query.
+ repeated SearchMessageResult results = 1;
+
+ // A token that can be used to retrieve the next page. If this field is empty,
+ // there are no subsequent pages.
+ string next_page_token = 2;
+}
+
+// A single result item from a message search.
+message SearchMessageResult {
+ // The matched message.
+ Message message = 1;
+
+ // Indicates if the matched message is read by the calling user.
+ //
+ // Only returned if the request view is `SEARCH_MESSAGES_VIEW_FULL` and the
+ // calling credentials include one of the following [authorization
+ // scopes](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ //
+ // - `https://www.googleapis.com/auth/chat.users.readstate.readonly`
+ // - `https://www.googleapis.com/auth/chat.users.readstate`
+ optional bool read = 3;
+
+ // The mute setting of the calling user for the space where the message is
+ // posted. The caller app can use this information to decide how to process
+ // the message depending on whether the space is muted for the user or not.
+ //
+ // Only returned if the request view is `SEARCH_MESSAGES_VIEW_FULL` and the
+ // calling credentials include the following [authorization
+ // scope](https://developers.google.com/workspace/chat/authenticate-authorize#chat-api-scopes):
+ //
+ // - `https://www.googleapis.com/auth/chat.users.spacesettings`
+ SpaceNotificationSetting.MuteSetting space_mute_setting = 4;
+}
diff --git a/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/space.proto b/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/space.proto
index 4530c86093f3..3e01510ec32c 100644
--- a/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/space.proto
+++ b/java-chat/proto-google-cloud-chat-v1/src/main/proto/google/chat/v1/space.proto
@@ -76,17 +76,20 @@ message Space {
// Reserved.
SPACE_THREADING_STATE_UNSPECIFIED = 0;
- // Named spaces that support message threads. When users respond to a
- // message, they can reply in-thread, which keeps their response in the
- // context of the original message.
+ // Spaces that support message threads. When users respond to a message,
+ // they can reply in-thread, which keeps their response in the context of
+ // the original message.
THREADED_MESSAGES = 2;
// Named spaces where the conversation is organized by topic. Topics and
// their replies are grouped together.
GROUPED_MESSAGES = 3;
- // Direct messages (DMs) between two people and group conversations between
- // 3 or more people.
+ // Spaces that don't support message threading. This space threading state
+ // is only used for special cases including:
+ //
+ // * Continuous meeting chat where threading is intentionally turned off.
+ // * Legacy group conversations that were created prior to 2022.
UNTHREADED_MESSAGES = 4;
}
diff --git a/java-chat/samples/snippets/generated/com/google/chat/v1/chatservice/searchmessages/AsyncSearchMessages.java b/java-chat/samples/snippets/generated/com/google/chat/v1/chatservice/searchmessages/AsyncSearchMessages.java
new file mode 100644
index 000000000000..2f107a6d6f6d
--- /dev/null
+++ b/java-chat/samples/snippets/generated/com/google/chat/v1/chatservice/searchmessages/AsyncSearchMessages.java
@@ -0,0 +1,56 @@
+/*
+ * Copyright 2026 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package com.google.chat.v1.samples;
+
+// [START chat_v1_generated_ChatService_SearchMessages_async]
+import com.google.api.core.ApiFuture;
+import com.google.chat.v1.ChatServiceClient;
+import com.google.chat.v1.SearchMessageResult;
+import com.google.chat.v1.SearchMessagesRequest;
+import com.google.chat.v1.SpaceName;
+
+public class AsyncSearchMessages {
+
+ public static void main(String[] args) throws Exception {
+ asyncSearchMessages();
+ }
+
+ public static void asyncSearchMessages() throws Exception {
+ // This snippet has been automatically generated and should be regarded as a code template only.
+ // It will require modifications to work:
+ // - It may require correct/in-range values for request initialization.
+ // - It may require specifying regional endpoints when creating the service client as shown in
+ // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ try (ChatServiceClient chatServiceClient = ChatServiceClient.create()) {
+ SearchMessagesRequest request =
+ SearchMessagesRequest.newBuilder()
+ .setParent(SpaceName.of("[SPACE]").toString())
+ .setFilter("filter-1274492040")
+ .setPageSize(883849137)
+ .setPageToken("pageToken873572522")
+ .setOrderBy("orderBy-1207110587")
+ .build();
+ ApiFuture
RemoveAllAudienceMembers
Removes all audience members from the provided destinations.
Request object method variants only take one parameter, a request object, which must be constructed before the call.
+ *removeAllAudienceMembers(RemoveAllAudienceMembersRequest request) + *
Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.
+ *removeAllAudienceMembersCallable() + *
IngestEvents
Uploads a list of [Event][google.ads.datamanager.v1.Event] resources from the provided [Destination][google.ads.datamanager.v1.Destination].
Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (IngestionServiceClient ingestionServiceClient = IngestionServiceClient.create()) {
+ * RemoveAllAudienceMembersRequest request =
+ * RemoveAllAudienceMembersRequest.newBuilder()
+ * .addAllDestinations(new ArrayList())
+ * .setRemoveAsOfTime(Timestamp.newBuilder().build())
+ * .setValidateOnly(true)
+ * .build();
+ * RemoveAllAudienceMembersResponse response =
+ * ingestionServiceClient.removeAllAudienceMembers(request);
+ * }
+ * }
+ *
+ * @param request The request object containing all of the parameters for the API call.
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final RemoveAllAudienceMembersResponse removeAllAudienceMembers(
+ RemoveAllAudienceMembersRequest request) {
+ return removeAllAudienceMembersCallable().call(request);
+ }
+
+ // AUTO-GENERATED DOCUMENTATION AND METHOD.
+ /**
+ * Removes all audience members from the provided destinations.
+ *
+ * Sample code: + * + *
{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (IngestionServiceClient ingestionServiceClient = IngestionServiceClient.create()) {
+ * RemoveAllAudienceMembersRequest request =
+ * RemoveAllAudienceMembersRequest.newBuilder()
+ * .addAllDestinations(new ArrayList())
+ * .setRemoveAsOfTime(Timestamp.newBuilder().build())
+ * .setValidateOnly(true)
+ * .build();
+ * ApiFuture future =
+ * ingestionServiceClient.removeAllAudienceMembersCallable().futureCall(request);
+ * // Do something.
+ * RemoveAllAudienceMembersResponse response = future.get();
+ * }
+ * }
+ */
+ public final UnaryCallable+ * Removes all audience members from the provided destinations. + *+ */ + default void removeAllAudienceMembers( + com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest request, + io.grpc.stub.StreamObserver
+ * Removes all audience members from the provided destinations. + *+ */ + public void removeAllAudienceMembers( + com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest request, + io.grpc.stub.StreamObserver
+ * Removes all audience members from the provided destinations. + *+ */ + public com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse removeAllAudienceMembers( + com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest request) + throws io.grpc.StatusException { + return io.grpc.stub.ClientCalls.blockingV2UnaryCall( + getChannel(), getRemoveAllAudienceMembersMethod(), getCallOptions(), request); + } + /** * * @@ -701,6 +798,19 @@ public com.google.ads.datamanager.v1.RemoveAudienceMembersResponse removeAudienc getChannel(), getRemoveAudienceMembersMethod(), getCallOptions(), request); } + /** + * + * + *
+ * Removes all audience members from the provided destinations. + *+ */ + public com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse removeAllAudienceMembers( + com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRemoveAllAudienceMembersMethod(), getCallOptions(), request); + } + /** * * @@ -797,6 +907,21 @@ protected IngestionServiceFutureStub build( getChannel().newCall(getRemoveAudienceMembersMethod(), getCallOptions()), request); } + /** + * + * + *
+ * Removes all audience members from the provided destinations. + *+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse> + removeAllAudienceMembers( + com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getRemoveAllAudienceMembersMethod(), getCallOptions()), request); + } + /** * * @@ -847,9 +972,10 @@ protected IngestionServiceFutureStub build( private static final int METHODID_INGEST_AUDIENCE_MEMBERS = 0; private static final int METHODID_REMOVE_AUDIENCE_MEMBERS = 1; - private static final int METHODID_INGEST_EVENTS = 2; - private static final int METHODID_INGEST_AD_EVENTS = 3; - private static final int METHODID_RETRIEVE_REQUEST_STATUS = 4; + private static final int METHODID_REMOVE_ALL_AUDIENCE_MEMBERS = 2; + private static final int METHODID_INGEST_EVENTS = 3; + private static final int METHODID_INGEST_AD_EVENTS = 4; + private static final int METHODID_RETRIEVE_REQUEST_STATUS = 5; private static final class MethodHandlers
- * Optional. Information gathered about the device being used when the ad
+ * Required. Information gathered about the device being used when the ad
* event happened.
*
*
*
- * .google.ads.datamanager.v1.DeviceInfo device_info = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.ads.datamanager.v1.DeviceInfo device_info = 8 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return Whether the deviceInfo field is set.
@@ -1258,12 +1258,12 @@ public boolean hasDeviceInfo() {
*
*
*
- * Optional. Information gathered about the device being used when the ad
+ * Required. Information gathered about the device being used when the ad
* event happened.
*
*
*
- * .google.ads.datamanager.v1.DeviceInfo device_info = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.ads.datamanager.v1.DeviceInfo device_info = 8 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The deviceInfo.
@@ -1279,12 +1279,12 @@ public com.google.ads.datamanager.v1.DeviceInfo getDeviceInfo() {
*
*
*
- * Optional. Information gathered about the device being used when the ad
+ * Required. Information gathered about the device being used when the ad
* event happened.
*
*
*
- * .google.ads.datamanager.v1.DeviceInfo device_info = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.ads.datamanager.v1.DeviceInfo device_info = 8 [(.google.api.field_behavior) = REQUIRED];
*
*/
@java.lang.Override
@@ -1991,10 +1991,10 @@ public int getAdWidth() {
*
*
*
- * Required. The ISO 3166-2 country plus subdivision.
+ * Optional. The ISO 3166-2 country plus subdivision.
*
*
- * string region_code = 22 [(.google.api.field_behavior) = REQUIRED];
+ * string region_code = 22 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The regionCode.
*/
@@ -2015,10 +2015,10 @@ public java.lang.String getRegionCode() {
*
*
*
- * Required. The ISO 3166-2 country plus subdivision.
+ * Optional. The ISO 3166-2 country plus subdivision.
*
*
- * string region_code = 22 [(.google.api.field_behavior) = REQUIRED];
+ * string region_code = 22 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for regionCode.
*/
@@ -5171,12 +5171,12 @@ public com.google.ads.datamanager.v1.UserDataOrBuilder getUserDataOrBuilder() {
*
*
*
- * Optional. Information gathered about the device being used when the ad
+ * Required. Information gathered about the device being used when the ad
* event happened.
*
*
*
- * .google.ads.datamanager.v1.DeviceInfo device_info = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.ads.datamanager.v1.DeviceInfo device_info = 8 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return Whether the deviceInfo field is set.
@@ -5189,12 +5189,12 @@ public boolean hasDeviceInfo() {
*
*
*
- * Optional. Information gathered about the device being used when the ad
+ * Required. Information gathered about the device being used when the ad
* event happened.
*
*
*
- * .google.ads.datamanager.v1.DeviceInfo device_info = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.ads.datamanager.v1.DeviceInfo device_info = 8 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The deviceInfo.
@@ -5213,12 +5213,12 @@ public com.google.ads.datamanager.v1.DeviceInfo getDeviceInfo() {
*
*
*
- * Optional. Information gathered about the device being used when the ad
+ * Required. Information gathered about the device being used when the ad
* event happened.
*
*
*
- * .google.ads.datamanager.v1.DeviceInfo device_info = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.ads.datamanager.v1.DeviceInfo device_info = 8 [(.google.api.field_behavior) = REQUIRED];
*
*/
public Builder setDeviceInfo(com.google.ads.datamanager.v1.DeviceInfo value) {
@@ -5239,12 +5239,12 @@ public Builder setDeviceInfo(com.google.ads.datamanager.v1.DeviceInfo value) {
*
*
*
- * Optional. Information gathered about the device being used when the ad
+ * Required. Information gathered about the device being used when the ad
* event happened.
*
*
*
- * .google.ads.datamanager.v1.DeviceInfo device_info = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.ads.datamanager.v1.DeviceInfo device_info = 8 [(.google.api.field_behavior) = REQUIRED];
*
*/
public Builder setDeviceInfo(com.google.ads.datamanager.v1.DeviceInfo.Builder builderForValue) {
@@ -5262,12 +5262,12 @@ public Builder setDeviceInfo(com.google.ads.datamanager.v1.DeviceInfo.Builder bu
*
*
*
- * Optional. Information gathered about the device being used when the ad
+ * Required. Information gathered about the device being used when the ad
* event happened.
*
*
*
- * .google.ads.datamanager.v1.DeviceInfo device_info = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.ads.datamanager.v1.DeviceInfo device_info = 8 [(.google.api.field_behavior) = REQUIRED];
*
*/
public Builder mergeDeviceInfo(com.google.ads.datamanager.v1.DeviceInfo value) {
@@ -5293,12 +5293,12 @@ public Builder mergeDeviceInfo(com.google.ads.datamanager.v1.DeviceInfo value) {
*
*
*
- * Optional. Information gathered about the device being used when the ad
+ * Required. Information gathered about the device being used when the ad
* event happened.
*
*
*
- * .google.ads.datamanager.v1.DeviceInfo device_info = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.ads.datamanager.v1.DeviceInfo device_info = 8 [(.google.api.field_behavior) = REQUIRED];
*
*/
public Builder clearDeviceInfo() {
@@ -5316,12 +5316,12 @@ public Builder clearDeviceInfo() {
*
*
*
- * Optional. Information gathered about the device being used when the ad
+ * Required. Information gathered about the device being used when the ad
* event happened.
*
*
*
- * .google.ads.datamanager.v1.DeviceInfo device_info = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.ads.datamanager.v1.DeviceInfo device_info = 8 [(.google.api.field_behavior) = REQUIRED];
*
*/
public com.google.ads.datamanager.v1.DeviceInfo.Builder getDeviceInfoBuilder() {
@@ -5334,12 +5334,12 @@ public com.google.ads.datamanager.v1.DeviceInfo.Builder getDeviceInfoBuilder() {
*
*
*
- * Optional. Information gathered about the device being used when the ad
+ * Required. Information gathered about the device being used when the ad
* event happened.
*
*
*
- * .google.ads.datamanager.v1.DeviceInfo device_info = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.ads.datamanager.v1.DeviceInfo device_info = 8 [(.google.api.field_behavior) = REQUIRED];
*
*/
public com.google.ads.datamanager.v1.DeviceInfoOrBuilder getDeviceInfoOrBuilder() {
@@ -5356,12 +5356,12 @@ public com.google.ads.datamanager.v1.DeviceInfoOrBuilder getDeviceInfoOrBuilder(
*
*
*
- * Optional. Information gathered about the device being used when the ad
+ * Required. Information gathered about the device being used when the ad
* event happened.
*
*
*
- * .google.ads.datamanager.v1.DeviceInfo device_info = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.ads.datamanager.v1.DeviceInfo device_info = 8 [(.google.api.field_behavior) = REQUIRED];
*
*/
private com.google.protobuf.SingleFieldBuilder<
@@ -6823,10 +6823,10 @@ public Builder clearAdWidth() {
*
*
*
- * Required. The ISO 3166-2 country plus subdivision.
+ * Optional. The ISO 3166-2 country plus subdivision.
*
*
- * string region_code = 22 [(.google.api.field_behavior) = REQUIRED];
+ * string region_code = 22 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The regionCode.
*/
@@ -6846,10 +6846,10 @@ public java.lang.String getRegionCode() {
*
*
*
- * Required. The ISO 3166-2 country plus subdivision.
+ * Optional. The ISO 3166-2 country plus subdivision.
*
*
- * string region_code = 22 [(.google.api.field_behavior) = REQUIRED];
+ * string region_code = 22 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for regionCode.
*/
@@ -6869,10 +6869,10 @@ public com.google.protobuf.ByteString getRegionCodeBytes() {
*
*
*
- * Required. The ISO 3166-2 country plus subdivision.
+ * Optional. The ISO 3166-2 country plus subdivision.
*
*
- * string region_code = 22 [(.google.api.field_behavior) = REQUIRED];
+ * string region_code = 22 [(.google.api.field_behavior) = OPTIONAL];
*
* @param value The regionCode to set.
* @return This builder for chaining.
@@ -6891,10 +6891,10 @@ public Builder setRegionCode(java.lang.String value) {
*
*
*
- * Required. The ISO 3166-2 country plus subdivision.
+ * Optional. The ISO 3166-2 country plus subdivision.
*
*
- * string region_code = 22 [(.google.api.field_behavior) = REQUIRED];
+ * string region_code = 22 [(.google.api.field_behavior) = OPTIONAL];
*
* @return This builder for chaining.
*/
@@ -6909,10 +6909,10 @@ public Builder clearRegionCode() {
*
*
*
- * Required. The ISO 3166-2 country plus subdivision.
+ * Optional. The ISO 3166-2 country plus subdivision.
*
*
- * string region_code = 22 [(.google.api.field_behavior) = REQUIRED];
+ * string region_code = 22 [(.google.api.field_behavior) = OPTIONAL];
*
* @param value The bytes for regionCode to set.
* @return This builder for chaining.
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/AdEventOrBuilder.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/AdEventOrBuilder.java
index 4238f1a505b0..b112cabc706f 100644
--- a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/AdEventOrBuilder.java
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/AdEventOrBuilder.java
@@ -300,12 +300,12 @@ public interface AdEventOrBuilder
*
*
*
- * Optional. Information gathered about the device being used when the ad
+ * Required. Information gathered about the device being used when the ad
* event happened.
*
*
*
- * .google.ads.datamanager.v1.DeviceInfo device_info = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.ads.datamanager.v1.DeviceInfo device_info = 8 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return Whether the deviceInfo field is set.
@@ -316,12 +316,12 @@ public interface AdEventOrBuilder
*
*
*
- * Optional. Information gathered about the device being used when the ad
+ * Required. Information gathered about the device being used when the ad
* event happened.
*
*
*
- * .google.ads.datamanager.v1.DeviceInfo device_info = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.ads.datamanager.v1.DeviceInfo device_info = 8 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The deviceInfo.
@@ -332,12 +332,12 @@ public interface AdEventOrBuilder
*
*
*
- * Optional. Information gathered about the device being used when the ad
+ * Required. Information gathered about the device being used when the ad
* event happened.
*
*
*
- * .google.ads.datamanager.v1.DeviceInfo device_info = 8 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.ads.datamanager.v1.DeviceInfo device_info = 8 [(.google.api.field_behavior) = REQUIRED];
*
*/
com.google.ads.datamanager.v1.DeviceInfoOrBuilder getDeviceInfoOrBuilder();
@@ -736,10 +736,10 @@ public interface AdEventOrBuilder
*
*
*
- * Required. The ISO 3166-2 country plus subdivision.
+ * Optional. The ISO 3166-2 country plus subdivision.
*
*
- * string region_code = 22 [(.google.api.field_behavior) = REQUIRED];
+ * string region_code = 22 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The regionCode.
*/
@@ -749,10 +749,10 @@ public interface AdEventOrBuilder
*
*
*
- * Required. The ISO 3166-2 country plus subdivision.
+ * Optional. The ISO 3166-2 country plus subdivision.
*
*
- * string region_code = 22 [(.google.api.field_behavior) = REQUIRED];
+ * string region_code = 22 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for regionCode.
*/
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/AdEventProto.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/AdEventProto.java
index 92c917f69447..08f2c20c1c0d 100644
--- a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/AdEventProto.java
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/AdEventProto.java
@@ -71,7 +71,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\tuser_data\030\007"
+ " \001(\0132#.google.ads.datamanager.v1.UserDataB\003\340A\001\022?\n"
+ "\013device_info\030\010"
- + " \001(\0132%.google.ads.datamanager.v1.DeviceInfoB\003\340A\001\022\035\n"
+ + " \001(\0132%.google.ads.datamanager.v1.DeviceInfoB\003\340A\002\022\035\n"
+ "\020mobile_device_id\030\t \001(\tB\003\340A\001\022\030\n"
+ "\013campaign_id\030\n"
+ " \001(\tB\003\340A\002\022\032\n\r"
@@ -88,7 +88,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\023ad_placement_string\030\023 \001(\tH\003\022\026\n"
+ "\tad_height\030\024 \001(\005B\003\340A\001\022\025\n"
+ "\010ad_width\030\025 \001(\005B\003\340A\001\022\030\n"
- + "\013region_code\030\026 \001(\tB\003\340A\002\022\023\n"
+ + "\013region_code\030\026 \001(\tB\003\340A\001\022\023\n"
+ "\006source\030\027 \001(\tB\003\340A\002\022\023\n"
+ "\006medium\030\030 \001(\tB\003\340A\002\022B\n"
+ "\016targeting_type\030\031"
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/AddressInfo.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/AddressInfo.java
index 44edde16df15..099792ea86c5 100644
--- a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/AddressInfo.java
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/AddressInfo.java
@@ -56,6 +56,9 @@ private AddressInfo() {
familyName_ = "";
regionCode_ = "";
postalCode_ = "";
+ addressLine_ = "";
+ city_ = "";
+ administrativeArea_ = "";
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
@@ -291,6 +294,205 @@ public com.google.protobuf.ByteString getPostalCodeBytes() {
}
}
+ public static final int ADDRESS_LINE_FIELD_NUMBER = 5;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object addressLine_ = "";
+
+ /**
+ *
+ *
+ * + * Optional. The street and number of the user's address. Used only for + * Google Analytics. This field is hashed and possibly encrypted. + * + * Normalize the value before hashing: + * + * - Remove symbol characters + * - Convert to lowercase + * - Remove leading and trailing whitespace + *+ * + *
string address_line = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The addressLine.
+ */
+ @java.lang.Override
+ public java.lang.String getAddressLine() {
+ java.lang.Object ref = addressLine_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ addressLine_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Optional. The street and number of the user's address. Used only for + * Google Analytics. This field is hashed and possibly encrypted. + * + * Normalize the value before hashing: + * + * - Remove symbol characters + * - Convert to lowercase + * - Remove leading and trailing whitespace + *+ * + *
string address_line = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for addressLine.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getAddressLineBytes() {
+ java.lang.Object ref = addressLine_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ addressLine_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int CITY_FIELD_NUMBER = 6;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object city_ = "";
+
+ /**
+ *
+ *
+ * + * Optional. The city of the user's address. Used only for Google Analytics. + * + * The value should be normalized as such: + * + * - Remove symbol characters + * - Convert to lowercase + * - Remove leading and trailing whitespace + *+ * + *
string city = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The city.
+ */
+ @java.lang.Override
+ public java.lang.String getCity() {
+ java.lang.Object ref = city_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ city_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Optional. The city of the user's address. Used only for Google Analytics. + * + * The value should be normalized as such: + * + * - Remove symbol characters + * - Convert to lowercase + * - Remove leading and trailing whitespace + *+ * + *
string city = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for city.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getCityBytes() {
+ java.lang.Object ref = city_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ city_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int ADMINISTRATIVE_AREA_FIELD_NUMBER = 7;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object administrativeArea_ = "";
+
+ /**
+ *
+ *
+ * + * Optional. The administrative area (state/province) of the user's address. + * Used only for Google Analytics. + * + * The value should be normalized as such: + * + * - Remove symbol characters + * - Convert to lowercase + * - Remove leading and trailing whitespace + *+ * + *
string administrative_area = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The administrativeArea.
+ */
+ @java.lang.Override
+ public java.lang.String getAdministrativeArea() {
+ java.lang.Object ref = administrativeArea_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ administrativeArea_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Optional. The administrative area (state/province) of the user's address. + * Used only for Google Analytics. + * + * The value should be normalized as such: + * + * - Remove symbol characters + * - Convert to lowercase + * - Remove leading and trailing whitespace + *+ * + *
string administrative_area = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for administrativeArea.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getAdministrativeAreaBytes() {
+ java.lang.Object ref = administrativeArea_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ administrativeArea_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -317,6 +519,15 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(postalCode_)) {
com.google.protobuf.GeneratedMessage.writeString(output, 4, postalCode_);
}
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(addressLine_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 5, addressLine_);
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(city_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 6, city_);
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(administrativeArea_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 7, administrativeArea_);
+ }
getUnknownFields().writeTo(output);
}
@@ -338,6 +549,15 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(postalCode_)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(4, postalCode_);
}
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(addressLine_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(5, addressLine_);
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(city_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(6, city_);
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(administrativeArea_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(7, administrativeArea_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -358,6 +578,9 @@ public boolean equals(final java.lang.Object obj) {
if (!getFamilyName().equals(other.getFamilyName())) return false;
if (!getRegionCode().equals(other.getRegionCode())) return false;
if (!getPostalCode().equals(other.getPostalCode())) return false;
+ if (!getAddressLine().equals(other.getAddressLine())) return false;
+ if (!getCity().equals(other.getCity())) return false;
+ if (!getAdministrativeArea().equals(other.getAdministrativeArea())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -377,6 +600,12 @@ public int hashCode() {
hash = (53 * hash) + getRegionCode().hashCode();
hash = (37 * hash) + POSTAL_CODE_FIELD_NUMBER;
hash = (53 * hash) + getPostalCode().hashCode();
+ hash = (37 * hash) + ADDRESS_LINE_FIELD_NUMBER;
+ hash = (53 * hash) + getAddressLine().hashCode();
+ hash = (37 * hash) + CITY_FIELD_NUMBER;
+ hash = (53 * hash) + getCity().hashCode();
+ hash = (37 * hash) + ADMINISTRATIVE_AREA_FIELD_NUMBER;
+ hash = (53 * hash) + getAdministrativeArea().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -521,6 +750,9 @@ public Builder clear() {
familyName_ = "";
regionCode_ = "";
postalCode_ = "";
+ addressLine_ = "";
+ city_ = "";
+ administrativeArea_ = "";
return this;
}
@@ -569,6 +801,15 @@ private void buildPartial0(com.google.ads.datamanager.v1.AddressInfo result) {
if (((from_bitField0_ & 0x00000008) != 0)) {
result.postalCode_ = postalCode_;
}
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.addressLine_ = addressLine_;
+ }
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ result.city_ = city_;
+ }
+ if (((from_bitField0_ & 0x00000040) != 0)) {
+ result.administrativeArea_ = administrativeArea_;
+ }
}
@java.lang.Override
@@ -603,6 +844,21 @@ public Builder mergeFrom(com.google.ads.datamanager.v1.AddressInfo other) {
bitField0_ |= 0x00000008;
onChanged();
}
+ if (!other.getAddressLine().isEmpty()) {
+ addressLine_ = other.addressLine_;
+ bitField0_ |= 0x00000010;
+ onChanged();
+ }
+ if (!other.getCity().isEmpty()) {
+ city_ = other.city_;
+ bitField0_ |= 0x00000020;
+ onChanged();
+ }
+ if (!other.getAdministrativeArea().isEmpty()) {
+ administrativeArea_ = other.administrativeArea_;
+ bitField0_ |= 0x00000040;
+ onChanged();
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -653,6 +909,24 @@ public Builder mergeFrom(
bitField0_ |= 0x00000008;
break;
} // case 34
+ case 42:
+ {
+ addressLine_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000010;
+ break;
+ } // case 42
+ case 50:
+ {
+ city_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000020;
+ break;
+ } // case 50
+ case 58:
+ {
+ administrativeArea_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000040;
+ break;
+ } // case 58
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -1131,6 +1405,439 @@ public Builder setPostalCodeBytes(com.google.protobuf.ByteString value) {
return this;
}
+ private java.lang.Object addressLine_ = "";
+
+ /**
+ *
+ *
+ * + * Optional. The street and number of the user's address. Used only for + * Google Analytics. This field is hashed and possibly encrypted. + * + * Normalize the value before hashing: + * + * - Remove symbol characters + * - Convert to lowercase + * - Remove leading and trailing whitespace + *+ * + *
string address_line = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The addressLine.
+ */
+ public java.lang.String getAddressLine() {
+ java.lang.Object ref = addressLine_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ addressLine_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Optional. The street and number of the user's address. Used only for + * Google Analytics. This field is hashed and possibly encrypted. + * + * Normalize the value before hashing: + * + * - Remove symbol characters + * - Convert to lowercase + * - Remove leading and trailing whitespace + *+ * + *
string address_line = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for addressLine.
+ */
+ public com.google.protobuf.ByteString getAddressLineBytes() {
+ java.lang.Object ref = addressLine_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ addressLine_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Optional. The street and number of the user's address. Used only for + * Google Analytics. This field is hashed and possibly encrypted. + * + * Normalize the value before hashing: + * + * - Remove symbol characters + * - Convert to lowercase + * - Remove leading and trailing whitespace + *+ * + *
string address_line = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The addressLine to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAddressLine(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ addressLine_ = value;
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Optional. The street and number of the user's address. Used only for + * Google Analytics. This field is hashed and possibly encrypted. + * + * Normalize the value before hashing: + * + * - Remove symbol characters + * - Convert to lowercase + * - Remove leading and trailing whitespace + *+ * + *
string address_line = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearAddressLine() {
+ addressLine_ = getDefaultInstance().getAddressLine();
+ bitField0_ = (bitField0_ & ~0x00000010);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Optional. The street and number of the user's address. Used only for + * Google Analytics. This field is hashed and possibly encrypted. + * + * Normalize the value before hashing: + * + * - Remove symbol characters + * - Convert to lowercase + * - Remove leading and trailing whitespace + *+ * + *
string address_line = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes for addressLine to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAddressLineBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ addressLine_ = value;
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object city_ = "";
+
+ /**
+ *
+ *
+ * + * Optional. The city of the user's address. Used only for Google Analytics. + * + * The value should be normalized as such: + * + * - Remove symbol characters + * - Convert to lowercase + * - Remove leading and trailing whitespace + *+ * + *
string city = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The city.
+ */
+ public java.lang.String getCity() {
+ java.lang.Object ref = city_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ city_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Optional. The city of the user's address. Used only for Google Analytics. + * + * The value should be normalized as such: + * + * - Remove symbol characters + * - Convert to lowercase + * - Remove leading and trailing whitespace + *+ * + *
string city = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for city.
+ */
+ public com.google.protobuf.ByteString getCityBytes() {
+ java.lang.Object ref = city_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ city_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Optional. The city of the user's address. Used only for Google Analytics. + * + * The value should be normalized as such: + * + * - Remove symbol characters + * - Convert to lowercase + * - Remove leading and trailing whitespace + *+ * + *
string city = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The city to set.
+ * @return This builder for chaining.
+ */
+ public Builder setCity(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ city_ = value;
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Optional. The city of the user's address. Used only for Google Analytics. + * + * The value should be normalized as such: + * + * - Remove symbol characters + * - Convert to lowercase + * - Remove leading and trailing whitespace + *+ * + *
string city = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearCity() {
+ city_ = getDefaultInstance().getCity();
+ bitField0_ = (bitField0_ & ~0x00000020);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Optional. The city of the user's address. Used only for Google Analytics. + * + * The value should be normalized as such: + * + * - Remove symbol characters + * - Convert to lowercase + * - Remove leading and trailing whitespace + *+ * + *
string city = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes for city to set.
+ * @return This builder for chaining.
+ */
+ public Builder setCityBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ city_ = value;
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object administrativeArea_ = "";
+
+ /**
+ *
+ *
+ * + * Optional. The administrative area (state/province) of the user's address. + * Used only for Google Analytics. + * + * The value should be normalized as such: + * + * - Remove symbol characters + * - Convert to lowercase + * - Remove leading and trailing whitespace + *+ * + *
string administrative_area = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The administrativeArea.
+ */
+ public java.lang.String getAdministrativeArea() {
+ java.lang.Object ref = administrativeArea_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ administrativeArea_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Optional. The administrative area (state/province) of the user's address. + * Used only for Google Analytics. + * + * The value should be normalized as such: + * + * - Remove symbol characters + * - Convert to lowercase + * - Remove leading and trailing whitespace + *+ * + *
string administrative_area = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for administrativeArea.
+ */
+ public com.google.protobuf.ByteString getAdministrativeAreaBytes() {
+ java.lang.Object ref = administrativeArea_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ administrativeArea_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Optional. The administrative area (state/province) of the user's address. + * Used only for Google Analytics. + * + * The value should be normalized as such: + * + * - Remove symbol characters + * - Convert to lowercase + * - Remove leading and trailing whitespace + *+ * + *
string administrative_area = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The administrativeArea to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAdministrativeArea(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ administrativeArea_ = value;
+ bitField0_ |= 0x00000040;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Optional. The administrative area (state/province) of the user's address. + * Used only for Google Analytics. + * + * The value should be normalized as such: + * + * - Remove symbol characters + * - Convert to lowercase + * - Remove leading and trailing whitespace + *+ * + *
string administrative_area = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearAdministrativeArea() {
+ administrativeArea_ = getDefaultInstance().getAdministrativeArea();
+ bitField0_ = (bitField0_ & ~0x00000040);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Optional. The administrative area (state/province) of the user's address. + * Used only for Google Analytics. + * + * The value should be normalized as such: + * + * - Remove symbol characters + * - Convert to lowercase + * - Remove leading and trailing whitespace + *+ * + *
string administrative_area = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes for administrativeArea to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAdministrativeAreaBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ administrativeArea_ = value;
+ bitField0_ |= 0x00000040;
+ onChanged();
+ return this;
+ }
+
// @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.AddressInfo)
}
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/AddressInfoOrBuilder.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/AddressInfoOrBuilder.java
index 687472f21131..c76be3282592 100644
--- a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/AddressInfoOrBuilder.java
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/AddressInfoOrBuilder.java
@@ -135,4 +135,122 @@ public interface AddressInfoOrBuilder
* @return The bytes for postalCode.
*/
com.google.protobuf.ByteString getPostalCodeBytes();
+
+ /**
+ *
+ *
+ * + * Optional. The street and number of the user's address. Used only for + * Google Analytics. This field is hashed and possibly encrypted. + * + * Normalize the value before hashing: + * + * - Remove symbol characters + * - Convert to lowercase + * - Remove leading and trailing whitespace + *+ * + *
string address_line = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The addressLine.
+ */
+ java.lang.String getAddressLine();
+
+ /**
+ *
+ *
+ * + * Optional. The street and number of the user's address. Used only for + * Google Analytics. This field is hashed and possibly encrypted. + * + * Normalize the value before hashing: + * + * - Remove symbol characters + * - Convert to lowercase + * - Remove leading and trailing whitespace + *+ * + *
string address_line = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for addressLine.
+ */
+ com.google.protobuf.ByteString getAddressLineBytes();
+
+ /**
+ *
+ *
+ * + * Optional. The city of the user's address. Used only for Google Analytics. + * + * The value should be normalized as such: + * + * - Remove symbol characters + * - Convert to lowercase + * - Remove leading and trailing whitespace + *+ * + *
string city = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The city.
+ */
+ java.lang.String getCity();
+
+ /**
+ *
+ *
+ * + * Optional. The city of the user's address. Used only for Google Analytics. + * + * The value should be normalized as such: + * + * - Remove symbol characters + * - Convert to lowercase + * - Remove leading and trailing whitespace + *+ * + *
string city = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for city.
+ */
+ com.google.protobuf.ByteString getCityBytes();
+
+ /**
+ *
+ *
+ * + * Optional. The administrative area (state/province) of the user's address. + * Used only for Google Analytics. + * + * The value should be normalized as such: + * + * - Remove symbol characters + * - Convert to lowercase + * - Remove leading and trailing whitespace + *+ * + *
string administrative_area = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The administrativeArea.
+ */
+ java.lang.String getAdministrativeArea();
+
+ /**
+ *
+ *
+ * + * Optional. The administrative area (state/province) of the user's address. + * Used only for Google Analytics. + * + * The value should be normalized as such: + * + * - Remove symbol characters + * - Convert to lowercase + * - Remove leading and trailing whitespace + *+ * + *
string administrative_area = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for administrativeArea.
+ */
+ com.google.protobuf.ByteString getAdministrativeAreaBytes();
}
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/AudienceMember.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/AudienceMember.java
index 5acdbfc27aa5..0e6362e4943b 100644
--- a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/AudienceMember.java
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/AudienceMember.java
@@ -86,6 +86,8 @@ public enum DataCase
USER_ID_DATA(6),
PPID_DATA(7),
COMPOSITE_DATA(8),
+ GOOGLE_USER_ID_DATA(9),
+ PARTNER_PROVIDED_ID_DATA(10),
DATA_NOT_SET(0);
private final int value;
@@ -117,6 +119,10 @@ public static DataCase forNumber(int value) {
return PPID_DATA;
case 8:
return COMPOSITE_DATA;
+ case 9:
+ return GOOGLE_USER_ID_DATA;
+ case 10:
+ return PARTNER_PROVIDED_ID_DATA;
case 0:
return DATA_NOT_SET;
default:
@@ -555,6 +561,115 @@ public com.google.ads.datamanager.v1.CompositeDataOrBuilder getCompositeDataOrBu
return com.google.ads.datamanager.v1.CompositeData.getDefaultInstance();
}
+ public static final int GOOGLE_USER_ID_DATA_FIELD_NUMBER = 9;
+
+ /**
+ *
+ *
+ * + * Encrypted Google User IDs. + *+ * + *
.google.ads.datamanager.v1.GoogleUserIdData google_user_id_data = 9;
+ *
+ * @return Whether the googleUserIdData field is set.
+ */
+ @java.lang.Override
+ public boolean hasGoogleUserIdData() {
+ return dataCase_ == 9;
+ }
+
+ /**
+ *
+ *
+ * + * Encrypted Google User IDs. + *+ * + *
.google.ads.datamanager.v1.GoogleUserIdData google_user_id_data = 9;
+ *
+ * @return The googleUserIdData.
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.GoogleUserIdData getGoogleUserIdData() {
+ if (dataCase_ == 9) {
+ return (com.google.ads.datamanager.v1.GoogleUserIdData) data_;
+ }
+ return com.google.ads.datamanager.v1.GoogleUserIdData.getDefaultInstance();
+ }
+
+ /**
+ *
+ *
+ * + * Encrypted Google User IDs. + *+ * + *
.google.ads.datamanager.v1.GoogleUserIdData google_user_id_data = 9;
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.GoogleUserIdDataOrBuilder getGoogleUserIdDataOrBuilder() {
+ if (dataCase_ == 9) {
+ return (com.google.ads.datamanager.v1.GoogleUserIdData) data_;
+ }
+ return com.google.ads.datamanager.v1.GoogleUserIdData.getDefaultInstance();
+ }
+
+ public static final int PARTNER_PROVIDED_ID_DATA_FIELD_NUMBER = 10;
+
+ /**
+ *
+ *
+ * + * Partner-provided identifiers. + *+ * + *
.google.ads.datamanager.v1.PartnerProvidedIdData partner_provided_id_data = 10;
+ *
+ * @return Whether the partnerProvidedIdData field is set.
+ */
+ @java.lang.Override
+ public boolean hasPartnerProvidedIdData() {
+ return dataCase_ == 10;
+ }
+
+ /**
+ *
+ *
+ * + * Partner-provided identifiers. + *+ * + *
.google.ads.datamanager.v1.PartnerProvidedIdData partner_provided_id_data = 10;
+ *
+ * @return The partnerProvidedIdData.
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.PartnerProvidedIdData getPartnerProvidedIdData() {
+ if (dataCase_ == 10) {
+ return (com.google.ads.datamanager.v1.PartnerProvidedIdData) data_;
+ }
+ return com.google.ads.datamanager.v1.PartnerProvidedIdData.getDefaultInstance();
+ }
+
+ /**
+ *
+ *
+ * + * Partner-provided identifiers. + *+ * + *
.google.ads.datamanager.v1.PartnerProvidedIdData partner_provided_id_data = 10;
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.PartnerProvidedIdDataOrBuilder
+ getPartnerProvidedIdDataOrBuilder() {
+ if (dataCase_ == 10) {
+ return (com.google.ads.datamanager.v1.PartnerProvidedIdData) data_;
+ }
+ return com.google.ads.datamanager.v1.PartnerProvidedIdData.getDefaultInstance();
+ }
+
public static final int CONSENT_FIELD_NUMBER = 3;
private com.google.ads.datamanager.v1.Consent consent_;
@@ -645,6 +760,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (dataCase_ == 8) {
output.writeMessage(8, (com.google.ads.datamanager.v1.CompositeData) data_);
}
+ if (dataCase_ == 9) {
+ output.writeMessage(9, (com.google.ads.datamanager.v1.GoogleUserIdData) data_);
+ }
+ if (dataCase_ == 10) {
+ output.writeMessage(10, (com.google.ads.datamanager.v1.PartnerProvidedIdData) data_);
+ }
getUnknownFields().writeTo(output);
}
@@ -695,6 +816,16 @@ public int getSerializedSize() {
com.google.protobuf.CodedOutputStream.computeMessageSize(
8, (com.google.ads.datamanager.v1.CompositeData) data_);
}
+ if (dataCase_ == 9) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 9, (com.google.ads.datamanager.v1.GoogleUserIdData) data_);
+ }
+ if (dataCase_ == 10) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 10, (com.google.ads.datamanager.v1.PartnerProvidedIdData) data_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -736,6 +867,12 @@ public boolean equals(final java.lang.Object obj) {
case 8:
if (!getCompositeData().equals(other.getCompositeData())) return false;
break;
+ case 9:
+ if (!getGoogleUserIdData().equals(other.getGoogleUserIdData())) return false;
+ break;
+ case 10:
+ if (!getPartnerProvidedIdData().equals(other.getPartnerProvidedIdData())) return false;
+ break;
case 0:
default:
}
@@ -783,6 +920,14 @@ public int hashCode() {
hash = (37 * hash) + COMPOSITE_DATA_FIELD_NUMBER;
hash = (53 * hash) + getCompositeData().hashCode();
break;
+ case 9:
+ hash = (37 * hash) + GOOGLE_USER_ID_DATA_FIELD_NUMBER;
+ hash = (53 * hash) + getGoogleUserIdData().hashCode();
+ break;
+ case 10:
+ hash = (37 * hash) + PARTNER_PROVIDED_ID_DATA_FIELD_NUMBER;
+ hash = (53 * hash) + getPartnerProvidedIdData().hashCode();
+ break;
case 0:
default:
}
@@ -954,6 +1099,12 @@ public Builder clear() {
if (compositeDataBuilder_ != null) {
compositeDataBuilder_.clear();
}
+ if (googleUserIdDataBuilder_ != null) {
+ googleUserIdDataBuilder_.clear();
+ }
+ if (partnerProvidedIdDataBuilder_ != null) {
+ partnerProvidedIdDataBuilder_.clear();
+ }
consent_ = null;
if (consentBuilder_ != null) {
consentBuilder_.dispose();
@@ -1003,7 +1154,7 @@ private void buildPartial0(com.google.ads.datamanager.v1.AudienceMember result)
result.destinationReferences_ = destinationReferences_;
}
int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000080) != 0)) {
+ if (((from_bitField0_ & 0x00000200) != 0)) {
result.consent_ = consentBuilder_ == null ? consent_ : consentBuilder_.build();
to_bitField0_ |= 0x00000001;
}
@@ -1031,6 +1182,12 @@ private void buildPartialOneofs(com.google.ads.datamanager.v1.AudienceMember res
if (dataCase_ == 8 && compositeDataBuilder_ != null) {
result.data_ = compositeDataBuilder_.build();
}
+ if (dataCase_ == 9 && googleUserIdDataBuilder_ != null) {
+ result.data_ = googleUserIdDataBuilder_.build();
+ }
+ if (dataCase_ == 10 && partnerProvidedIdDataBuilder_ != null) {
+ result.data_ = partnerProvidedIdDataBuilder_.build();
+ }
}
@java.lang.Override
@@ -1089,6 +1246,16 @@ public Builder mergeFrom(com.google.ads.datamanager.v1.AudienceMember other) {
mergeCompositeData(other.getCompositeData());
break;
}
+ case GOOGLE_USER_ID_DATA:
+ {
+ mergeGoogleUserIdData(other.getGoogleUserIdData());
+ break;
+ }
+ case PARTNER_PROVIDED_ID_DATA:
+ {
+ mergePartnerProvidedIdData(other.getPartnerProvidedIdData());
+ break;
+ }
case DATA_NOT_SET:
{
break;
@@ -1137,7 +1304,7 @@ public Builder mergeFrom(
case 26:
{
input.readMessage(internalGetConsentFieldBuilder().getBuilder(), extensionRegistry);
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000200;
break;
} // case 26
case 34:
@@ -1175,6 +1342,20 @@ public Builder mergeFrom(
dataCase_ = 8;
break;
} // case 66
+ case 74:
+ {
+ input.readMessage(
+ internalGetGoogleUserIdDataFieldBuilder().getBuilder(), extensionRegistry);
+ dataCase_ = 9;
+ break;
+ } // case 74
+ case 82:
+ {
+ input.readMessage(
+ internalGetPartnerProvidedIdDataFieldBuilder().getBuilder(), extensionRegistry);
+ dataCase_ = 10;
+ break;
+ } // case 82
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -2770,6 +2951,446 @@ public com.google.ads.datamanager.v1.CompositeDataOrBuilder getCompositeDataOrBu
return compositeDataBuilder_;
}
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.ads.datamanager.v1.GoogleUserIdData,
+ com.google.ads.datamanager.v1.GoogleUserIdData.Builder,
+ com.google.ads.datamanager.v1.GoogleUserIdDataOrBuilder>
+ googleUserIdDataBuilder_;
+
+ /**
+ *
+ *
+ * + * Encrypted Google User IDs. + *+ * + *
.google.ads.datamanager.v1.GoogleUserIdData google_user_id_data = 9;
+ *
+ * @return Whether the googleUserIdData field is set.
+ */
+ @java.lang.Override
+ public boolean hasGoogleUserIdData() {
+ return dataCase_ == 9;
+ }
+
+ /**
+ *
+ *
+ * + * Encrypted Google User IDs. + *+ * + *
.google.ads.datamanager.v1.GoogleUserIdData google_user_id_data = 9;
+ *
+ * @return The googleUserIdData.
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.GoogleUserIdData getGoogleUserIdData() {
+ if (googleUserIdDataBuilder_ == null) {
+ if (dataCase_ == 9) {
+ return (com.google.ads.datamanager.v1.GoogleUserIdData) data_;
+ }
+ return com.google.ads.datamanager.v1.GoogleUserIdData.getDefaultInstance();
+ } else {
+ if (dataCase_ == 9) {
+ return googleUserIdDataBuilder_.getMessage();
+ }
+ return com.google.ads.datamanager.v1.GoogleUserIdData.getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Encrypted Google User IDs. + *+ * + *
.google.ads.datamanager.v1.GoogleUserIdData google_user_id_data = 9;
+ */
+ public Builder setGoogleUserIdData(com.google.ads.datamanager.v1.GoogleUserIdData value) {
+ if (googleUserIdDataBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ data_ = value;
+ onChanged();
+ } else {
+ googleUserIdDataBuilder_.setMessage(value);
+ }
+ dataCase_ = 9;
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Encrypted Google User IDs. + *+ * + *
.google.ads.datamanager.v1.GoogleUserIdData google_user_id_data = 9;
+ */
+ public Builder setGoogleUserIdData(
+ com.google.ads.datamanager.v1.GoogleUserIdData.Builder builderForValue) {
+ if (googleUserIdDataBuilder_ == null) {
+ data_ = builderForValue.build();
+ onChanged();
+ } else {
+ googleUserIdDataBuilder_.setMessage(builderForValue.build());
+ }
+ dataCase_ = 9;
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Encrypted Google User IDs. + *+ * + *
.google.ads.datamanager.v1.GoogleUserIdData google_user_id_data = 9;
+ */
+ public Builder mergeGoogleUserIdData(com.google.ads.datamanager.v1.GoogleUserIdData value) {
+ if (googleUserIdDataBuilder_ == null) {
+ if (dataCase_ == 9
+ && data_ != com.google.ads.datamanager.v1.GoogleUserIdData.getDefaultInstance()) {
+ data_ =
+ com.google.ads.datamanager.v1.GoogleUserIdData.newBuilder(
+ (com.google.ads.datamanager.v1.GoogleUserIdData) data_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ data_ = value;
+ }
+ onChanged();
+ } else {
+ if (dataCase_ == 9) {
+ googleUserIdDataBuilder_.mergeFrom(value);
+ } else {
+ googleUserIdDataBuilder_.setMessage(value);
+ }
+ }
+ dataCase_ = 9;
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Encrypted Google User IDs. + *+ * + *
.google.ads.datamanager.v1.GoogleUserIdData google_user_id_data = 9;
+ */
+ public Builder clearGoogleUserIdData() {
+ if (googleUserIdDataBuilder_ == null) {
+ if (dataCase_ == 9) {
+ dataCase_ = 0;
+ data_ = null;
+ onChanged();
+ }
+ } else {
+ if (dataCase_ == 9) {
+ dataCase_ = 0;
+ data_ = null;
+ }
+ googleUserIdDataBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Encrypted Google User IDs. + *+ * + *
.google.ads.datamanager.v1.GoogleUserIdData google_user_id_data = 9;
+ */
+ public com.google.ads.datamanager.v1.GoogleUserIdData.Builder getGoogleUserIdDataBuilder() {
+ return internalGetGoogleUserIdDataFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ * + * Encrypted Google User IDs. + *+ * + *
.google.ads.datamanager.v1.GoogleUserIdData google_user_id_data = 9;
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.GoogleUserIdDataOrBuilder getGoogleUserIdDataOrBuilder() {
+ if ((dataCase_ == 9) && (googleUserIdDataBuilder_ != null)) {
+ return googleUserIdDataBuilder_.getMessageOrBuilder();
+ } else {
+ if (dataCase_ == 9) {
+ return (com.google.ads.datamanager.v1.GoogleUserIdData) data_;
+ }
+ return com.google.ads.datamanager.v1.GoogleUserIdData.getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Encrypted Google User IDs. + *+ * + *
.google.ads.datamanager.v1.GoogleUserIdData google_user_id_data = 9;
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.ads.datamanager.v1.GoogleUserIdData,
+ com.google.ads.datamanager.v1.GoogleUserIdData.Builder,
+ com.google.ads.datamanager.v1.GoogleUserIdDataOrBuilder>
+ internalGetGoogleUserIdDataFieldBuilder() {
+ if (googleUserIdDataBuilder_ == null) {
+ if (!(dataCase_ == 9)) {
+ data_ = com.google.ads.datamanager.v1.GoogleUserIdData.getDefaultInstance();
+ }
+ googleUserIdDataBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.ads.datamanager.v1.GoogleUserIdData,
+ com.google.ads.datamanager.v1.GoogleUserIdData.Builder,
+ com.google.ads.datamanager.v1.GoogleUserIdDataOrBuilder>(
+ (com.google.ads.datamanager.v1.GoogleUserIdData) data_,
+ getParentForChildren(),
+ isClean());
+ data_ = null;
+ }
+ dataCase_ = 9;
+ onChanged();
+ return googleUserIdDataBuilder_;
+ }
+
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.ads.datamanager.v1.PartnerProvidedIdData,
+ com.google.ads.datamanager.v1.PartnerProvidedIdData.Builder,
+ com.google.ads.datamanager.v1.PartnerProvidedIdDataOrBuilder>
+ partnerProvidedIdDataBuilder_;
+
+ /**
+ *
+ *
+ * + * Partner-provided identifiers. + *+ * + *
.google.ads.datamanager.v1.PartnerProvidedIdData partner_provided_id_data = 10;
+ *
+ * @return Whether the partnerProvidedIdData field is set.
+ */
+ @java.lang.Override
+ public boolean hasPartnerProvidedIdData() {
+ return dataCase_ == 10;
+ }
+
+ /**
+ *
+ *
+ * + * Partner-provided identifiers. + *+ * + *
.google.ads.datamanager.v1.PartnerProvidedIdData partner_provided_id_data = 10;
+ *
+ * @return The partnerProvidedIdData.
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.PartnerProvidedIdData getPartnerProvidedIdData() {
+ if (partnerProvidedIdDataBuilder_ == null) {
+ if (dataCase_ == 10) {
+ return (com.google.ads.datamanager.v1.PartnerProvidedIdData) data_;
+ }
+ return com.google.ads.datamanager.v1.PartnerProvidedIdData.getDefaultInstance();
+ } else {
+ if (dataCase_ == 10) {
+ return partnerProvidedIdDataBuilder_.getMessage();
+ }
+ return com.google.ads.datamanager.v1.PartnerProvidedIdData.getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Partner-provided identifiers. + *+ * + *
.google.ads.datamanager.v1.PartnerProvidedIdData partner_provided_id_data = 10;
+ */
+ public Builder setPartnerProvidedIdData(
+ com.google.ads.datamanager.v1.PartnerProvidedIdData value) {
+ if (partnerProvidedIdDataBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ data_ = value;
+ onChanged();
+ } else {
+ partnerProvidedIdDataBuilder_.setMessage(value);
+ }
+ dataCase_ = 10;
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Partner-provided identifiers. + *+ * + *
.google.ads.datamanager.v1.PartnerProvidedIdData partner_provided_id_data = 10;
+ */
+ public Builder setPartnerProvidedIdData(
+ com.google.ads.datamanager.v1.PartnerProvidedIdData.Builder builderForValue) {
+ if (partnerProvidedIdDataBuilder_ == null) {
+ data_ = builderForValue.build();
+ onChanged();
+ } else {
+ partnerProvidedIdDataBuilder_.setMessage(builderForValue.build());
+ }
+ dataCase_ = 10;
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Partner-provided identifiers. + *+ * + *
.google.ads.datamanager.v1.PartnerProvidedIdData partner_provided_id_data = 10;
+ */
+ public Builder mergePartnerProvidedIdData(
+ com.google.ads.datamanager.v1.PartnerProvidedIdData value) {
+ if (partnerProvidedIdDataBuilder_ == null) {
+ if (dataCase_ == 10
+ && data_ != com.google.ads.datamanager.v1.PartnerProvidedIdData.getDefaultInstance()) {
+ data_ =
+ com.google.ads.datamanager.v1.PartnerProvidedIdData.newBuilder(
+ (com.google.ads.datamanager.v1.PartnerProvidedIdData) data_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ data_ = value;
+ }
+ onChanged();
+ } else {
+ if (dataCase_ == 10) {
+ partnerProvidedIdDataBuilder_.mergeFrom(value);
+ } else {
+ partnerProvidedIdDataBuilder_.setMessage(value);
+ }
+ }
+ dataCase_ = 10;
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Partner-provided identifiers. + *+ * + *
.google.ads.datamanager.v1.PartnerProvidedIdData partner_provided_id_data = 10;
+ */
+ public Builder clearPartnerProvidedIdData() {
+ if (partnerProvidedIdDataBuilder_ == null) {
+ if (dataCase_ == 10) {
+ dataCase_ = 0;
+ data_ = null;
+ onChanged();
+ }
+ } else {
+ if (dataCase_ == 10) {
+ dataCase_ = 0;
+ data_ = null;
+ }
+ partnerProvidedIdDataBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ * + * Partner-provided identifiers. + *+ * + *
.google.ads.datamanager.v1.PartnerProvidedIdData partner_provided_id_data = 10;
+ */
+ public com.google.ads.datamanager.v1.PartnerProvidedIdData.Builder
+ getPartnerProvidedIdDataBuilder() {
+ return internalGetPartnerProvidedIdDataFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ * + * Partner-provided identifiers. + *+ * + *
.google.ads.datamanager.v1.PartnerProvidedIdData partner_provided_id_data = 10;
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.PartnerProvidedIdDataOrBuilder
+ getPartnerProvidedIdDataOrBuilder() {
+ if ((dataCase_ == 10) && (partnerProvidedIdDataBuilder_ != null)) {
+ return partnerProvidedIdDataBuilder_.getMessageOrBuilder();
+ } else {
+ if (dataCase_ == 10) {
+ return (com.google.ads.datamanager.v1.PartnerProvidedIdData) data_;
+ }
+ return com.google.ads.datamanager.v1.PartnerProvidedIdData.getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ * + * Partner-provided identifiers. + *+ * + *
.google.ads.datamanager.v1.PartnerProvidedIdData partner_provided_id_data = 10;
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.ads.datamanager.v1.PartnerProvidedIdData,
+ com.google.ads.datamanager.v1.PartnerProvidedIdData.Builder,
+ com.google.ads.datamanager.v1.PartnerProvidedIdDataOrBuilder>
+ internalGetPartnerProvidedIdDataFieldBuilder() {
+ if (partnerProvidedIdDataBuilder_ == null) {
+ if (!(dataCase_ == 10)) {
+ data_ = com.google.ads.datamanager.v1.PartnerProvidedIdData.getDefaultInstance();
+ }
+ partnerProvidedIdDataBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.ads.datamanager.v1.PartnerProvidedIdData,
+ com.google.ads.datamanager.v1.PartnerProvidedIdData.Builder,
+ com.google.ads.datamanager.v1.PartnerProvidedIdDataOrBuilder>(
+ (com.google.ads.datamanager.v1.PartnerProvidedIdData) data_,
+ getParentForChildren(),
+ isClean());
+ data_ = null;
+ }
+ dataCase_ = 10;
+ onChanged();
+ return partnerProvidedIdDataBuilder_;
+ }
+
private com.google.ads.datamanager.v1.Consent consent_;
private com.google.protobuf.SingleFieldBuilder<
com.google.ads.datamanager.v1.Consent,
@@ -2791,7 +3412,7 @@ public com.google.ads.datamanager.v1.CompositeDataOrBuilder getCompositeDataOrBu
* @return Whether the consent field is set.
*/
public boolean hasConsent() {
- return ((bitField0_ & 0x00000080) != 0);
+ return ((bitField0_ & 0x00000200) != 0);
}
/**
@@ -2837,7 +3458,7 @@ public Builder setConsent(com.google.ads.datamanager.v1.Consent value) {
} else {
consentBuilder_.setMessage(value);
}
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000200;
onChanged();
return this;
}
@@ -2859,7 +3480,7 @@ public Builder setConsent(com.google.ads.datamanager.v1.Consent.Builder builderF
} else {
consentBuilder_.setMessage(builderForValue.build());
}
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000200;
onChanged();
return this;
}
@@ -2877,7 +3498,7 @@ public Builder setConsent(com.google.ads.datamanager.v1.Consent.Builder builderF
*/
public Builder mergeConsent(com.google.ads.datamanager.v1.Consent value) {
if (consentBuilder_ == null) {
- if (((bitField0_ & 0x00000080) != 0)
+ if (((bitField0_ & 0x00000200) != 0)
&& consent_ != null
&& consent_ != com.google.ads.datamanager.v1.Consent.getDefaultInstance()) {
getConsentBuilder().mergeFrom(value);
@@ -2888,7 +3509,7 @@ public Builder mergeConsent(com.google.ads.datamanager.v1.Consent value) {
consentBuilder_.mergeFrom(value);
}
if (consent_ != null) {
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000200;
onChanged();
}
return this;
@@ -2906,7 +3527,7 @@ public Builder mergeConsent(com.google.ads.datamanager.v1.Consent value) {
*
*/
public Builder clearConsent() {
- bitField0_ = (bitField0_ & ~0x00000080);
+ bitField0_ = (bitField0_ & ~0x00000200);
consent_ = null;
if (consentBuilder_ != null) {
consentBuilder_.dispose();
@@ -2928,7 +3549,7 @@ public Builder clearConsent() {
*
*/
public com.google.ads.datamanager.v1.Consent.Builder getConsentBuilder() {
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000200;
onChanged();
return internalGetConsentFieldBuilder().getBuilder();
}
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/AudienceMemberOrBuilder.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/AudienceMemberOrBuilder.java
index 2966eccba845..4c6b5ad6abbe 100644
--- a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/AudienceMemberOrBuilder.java
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/AudienceMemberOrBuilder.java
@@ -332,6 +332,80 @@ public interface AudienceMemberOrBuilder
*/
com.google.ads.datamanager.v1.CompositeDataOrBuilder getCompositeDataOrBuilder();
+ /**
+ *
+ *
+ * + * Encrypted Google User IDs. + *+ * + *
.google.ads.datamanager.v1.GoogleUserIdData google_user_id_data = 9;
+ *
+ * @return Whether the googleUserIdData field is set.
+ */
+ boolean hasGoogleUserIdData();
+
+ /**
+ *
+ *
+ * + * Encrypted Google User IDs. + *+ * + *
.google.ads.datamanager.v1.GoogleUserIdData google_user_id_data = 9;
+ *
+ * @return The googleUserIdData.
+ */
+ com.google.ads.datamanager.v1.GoogleUserIdData getGoogleUserIdData();
+
+ /**
+ *
+ *
+ * + * Encrypted Google User IDs. + *+ * + *
.google.ads.datamanager.v1.GoogleUserIdData google_user_id_data = 9;
+ */
+ com.google.ads.datamanager.v1.GoogleUserIdDataOrBuilder getGoogleUserIdDataOrBuilder();
+
+ /**
+ *
+ *
+ * + * Partner-provided identifiers. + *+ * + *
.google.ads.datamanager.v1.PartnerProvidedIdData partner_provided_id_data = 10;
+ *
+ * @return Whether the partnerProvidedIdData field is set.
+ */
+ boolean hasPartnerProvidedIdData();
+
+ /**
+ *
+ *
+ * + * Partner-provided identifiers. + *+ * + *
.google.ads.datamanager.v1.PartnerProvidedIdData partner_provided_id_data = 10;
+ *
+ * @return The partnerProvidedIdData.
+ */
+ com.google.ads.datamanager.v1.PartnerProvidedIdData getPartnerProvidedIdData();
+
+ /**
+ *
+ *
+ * + * Partner-provided identifiers. + *+ * + *
.google.ads.datamanager.v1.PartnerProvidedIdData partner_provided_id_data = 10;
+ */
+ com.google.ads.datamanager.v1.PartnerProvidedIdDataOrBuilder getPartnerProvidedIdDataOrBuilder();
+
/**
*
*
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/AudienceProto.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/AudienceProto.java
index bc44ac791133..43f740911dad 100644
--- a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/AudienceProto.java
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/AudienceProto.java
@@ -68,6 +68,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_ads_datamanager_v1_IpData_descriptor;
static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_google_ads_datamanager_v1_IpData_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_ads_datamanager_v1_GoogleUserIdData_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_ads_datamanager_v1_GoogleUserIdData_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_ads_datamanager_v1_PartnerProvidedIdData_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_ads_datamanager_v1_PartnerProvidedIdData_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
return descriptor;
@@ -83,7 +91,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "s/datamanager/v1/consent.proto\032)google/a"
+ "ds/datamanager/v1/user_data.proto\032\037googl"
+ "e/api/field_behavior.proto\032\033google/api/f"
- + "ield_info.proto\032\037google/protobuf/timestamp.proto\"\346\003\n"
+ + "ield_info.proto\032\037google/protobuf/timestamp.proto\"\210\005\n"
+ "\016AudienceMember\022#\n"
+ "\026destination_references\030\001 \003(\tB\003\340A\001\0228\n"
+ "\tuser_data\030\002 \001(\0132#.google.ads.datamanager.v1.UserDataH\000\0228\n"
@@ -92,7 +100,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\014user_id_data\030\006 \001(\0132%.google.ads.datamanager.v1.UserIdDataH\000\0228\n"
+ "\tppid_data\030\007 \001(\0132#.google.ads.datamanager.v1.PpidDataH\000\022B\n"
+ "\016composite_data\030\010"
- + " \001(\0132(.google.ads.datamanager.v1.CompositeDataH\000\0228\n"
+ + " \001(\0132(.google.ads.datamanager.v1.CompositeDataH\000\022J\n"
+ + "\023google_user_id_data\030\t"
+ + " \001(\0132+.google.ads.datamanager.v1.GoogleUserIdDataH\000\022T\n"
+ + "\030partner_provided_id_data\030\n"
+ + " \001(\01320.google.ads.datamanager.v1.PartnerProvidedIdDataH\000\0228\n"
+ "\007consent\030\003"
+ " \001(\0132\".google.ads.datamanager.v1.ConsentB\003\340A\001B\006\n"
+ "\004data\"!\n"
@@ -105,8 +117,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\010PpidData\022\022\n"
+ "\005ppids\030\001 \003(\tB\003\340A\002\"\205\001\n\r"
+ "CompositeData\022;\n"
- + "\tuser_data\030\001 \001(\0132#.g"
- + "oogle.ads.datamanager.v1.UserDataB\003\340A\001\0227\n"
+ + "\tuser_data\030\001 \001(\0132#"
+ + ".google.ads.datamanager.v1.UserDataB\003\340A\001\0227\n"
+ "\007ip_data\030\002"
+ " \003(\0132!.google.ads.datamanager.v1.IpDataB\003\340A\001\"\241\001\n"
+ "\006IpData\022\037\n\n"
@@ -114,12 +126,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\022observe_start_time\030\002"
+ " \001(\0132\032.google.protobuf.TimestampB\003\340A\001\0229\n"
+ "\020observe_end_time\030\003"
- + " \001(\0132\032.google.protobuf.TimestampB\003\340A\001B\312\001\n"
+ + " \001(\0132\032.google.protobuf.TimestampB\003\340A\001\"0\n"
+ + "\020GoogleUserIdData\022\034\n"
+ + "\017google_user_ids\030\001 \003(\tB\003\340A\002\":\n"
+ + "\025PartnerProvidedIdData\022!\n"
+ + "\024partner_provided_ids\030\001 \003(\tB\003\340A\002B\312\001\n"
+ "\035com.google.ads.datamanager.v1B\r"
- + "AudienceProtoP\001ZAcloud.google.com/go/datamanager/apiv1/datamanage"
- + "rpb;datamanagerpb\252\002\031Google.Ads.DataManag"
- + "er.V1\312\002\031Google\\Ads\\DataManager\\V1\352\002\034Goog"
- + "le::Ads::DataManager::V1b\006proto3"
+ + "AudienceProtoP\001ZAcloud.google.com/go/datamanager/apiv1/datamanagerpb;data"
+ + "managerpb\252\002\031Google.Ads.DataManager.V1\312\002\031"
+ + "Google\\Ads\\DataManager\\V1\352\002\034Google::Ads::DataManager::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -144,6 +159,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"UserIdData",
"PpidData",
"CompositeData",
+ "GoogleUserIdData",
+ "PartnerProvidedIdData",
"Consent",
"Data",
});
@@ -194,6 +211,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"IpAddress", "ObserveStartTime", "ObserveEndTime",
});
+ internal_static_google_ads_datamanager_v1_GoogleUserIdData_descriptor =
+ getDescriptor().getMessageType(7);
+ internal_static_google_ads_datamanager_v1_GoogleUserIdData_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_ads_datamanager_v1_GoogleUserIdData_descriptor,
+ new java.lang.String[] {
+ "GoogleUserIds",
+ });
+ internal_static_google_ads_datamanager_v1_PartnerProvidedIdData_descriptor =
+ getDescriptor().getMessageType(8);
+ internal_static_google_ads_datamanager_v1_PartnerProvidedIdData_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_ads_datamanager_v1_PartnerProvidedIdData_descriptor,
+ new java.lang.String[] {
+ "PartnerProvidedIds",
+ });
descriptor.resolveAllFeaturesImmutable();
com.google.ads.datamanager.v1.ConsentProto.getDescriptor();
com.google.ads.datamanager.v1.UserDataProto.getDescriptor();
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/DeviceInfo.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/DeviceInfo.java
index 52826fc091aa..fc82bd54743d 100644
--- a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/DeviceInfo.java
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/DeviceInfo.java
@@ -141,7 +141,8 @@ public com.google.protobuf.ByteString getUserAgentBytes() {
*
*
*
- * Optional. The IP address of the device for the given context.
+ * Optional. The IP address of the device for the given context. Required when
+ * used in an [AdEvent][google.ads.datamanager.v1.AdEvent].
*
* **Note:** Google Ads does not support IP address matching for end users in
* the European Economic Area (EEA), United Kingdom (UK), or Switzerland (CH).
@@ -177,7 +178,8 @@ public java.lang.String getIpAddress() {
*
*
*
- * Optional. The IP address of the device for the given context.
+ * Optional. The IP address of the device for the given context. Required when
+ * used in an [AdEvent][google.ads.datamanager.v1.AdEvent].
*
* **Note:** Google Ads does not support IP address matching for end users in
* the European Economic Area (EEA), United Kingdom (UK), or Switzerland (CH).
@@ -1358,7 +1360,8 @@ public Builder setUserAgentBytes(com.google.protobuf.ByteString value) {
*
*
*
- * Optional. The IP address of the device for the given context.
+ * Optional. The IP address of the device for the given context. Required when
+ * used in an [AdEvent][google.ads.datamanager.v1.AdEvent].
*
* **Note:** Google Ads does not support IP address matching for end users in
* the European Economic Area (EEA), United Kingdom (UK), or Switzerland (CH).
@@ -1393,7 +1396,8 @@ public java.lang.String getIpAddress() {
*
*
*
- * Optional. The IP address of the device for the given context.
+ * Optional. The IP address of the device for the given context. Required when
+ * used in an [AdEvent][google.ads.datamanager.v1.AdEvent].
*
* **Note:** Google Ads does not support IP address matching for end users in
* the European Economic Area (EEA), United Kingdom (UK), or Switzerland (CH).
@@ -1428,7 +1432,8 @@ public com.google.protobuf.ByteString getIpAddressBytes() {
*
*
*
- * Optional. The IP address of the device for the given context.
+ * Optional. The IP address of the device for the given context. Required when
+ * used in an [AdEvent][google.ads.datamanager.v1.AdEvent].
*
* **Note:** Google Ads does not support IP address matching for end users in
* the European Economic Area (EEA), United Kingdom (UK), or Switzerland (CH).
@@ -1462,7 +1467,8 @@ public Builder setIpAddress(java.lang.String value) {
*
*
*
- * Optional. The IP address of the device for the given context.
+ * Optional. The IP address of the device for the given context. Required when
+ * used in an [AdEvent][google.ads.datamanager.v1.AdEvent].
*
* **Note:** Google Ads does not support IP address matching for end users in
* the European Economic Area (EEA), United Kingdom (UK), or Switzerland (CH).
@@ -1492,7 +1498,8 @@ public Builder clearIpAddress() {
*
*
*
- * Optional. The IP address of the device for the given context.
+ * Optional. The IP address of the device for the given context. Required when
+ * used in an [AdEvent][google.ads.datamanager.v1.AdEvent].
*
* **Note:** Google Ads does not support IP address matching for end users in
* the European Economic Area (EEA), United Kingdom (UK), or Switzerland (CH).
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/DeviceInfoOrBuilder.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/DeviceInfoOrBuilder.java
index e9aaad4963a0..4ce5958bbb63 100644
--- a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/DeviceInfoOrBuilder.java
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/DeviceInfoOrBuilder.java
@@ -56,7 +56,8 @@ public interface DeviceInfoOrBuilder
*
*
*
- * Optional. The IP address of the device for the given context.
+ * Optional. The IP address of the device for the given context. Required when
+ * used in an [AdEvent][google.ads.datamanager.v1.AdEvent].
*
* **Note:** Google Ads does not support IP address matching for end users in
* the European Economic Area (EEA), United Kingdom (UK), or Switzerland (CH).
@@ -81,7 +82,8 @@ public interface DeviceInfoOrBuilder
*
*
*
- * Optional. The IP address of the device for the given context.
+ * Optional. The IP address of the device for the given context. Required when
+ * used in an [AdEvent][google.ads.datamanager.v1.AdEvent].
*
* **Note:** Google Ads does not support IP address matching for end users in
* the European Economic Area (EEA), United Kingdom (UK), or Switzerland (CH).
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ErrorProto.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ErrorProto.java
index 80dc8d9f9190..d6c862c2b11e 100644
--- a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ErrorProto.java
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ErrorProto.java
@@ -49,7 +49,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
static {
java.lang.String[] descriptorData = {
"\n%google/ads/datamanager/v1/error.proto\022"
- + "\031google.ads.datamanager.v1*\373!\n\013ErrorReas"
+ + "\031google.ads.datamanager.v1*\302\"\n\013ErrorReas"
+ "on\022\034\n\030ERROR_REASON_UNSPECIFIED\020\000\022\022\n\016INTE"
+ "RNAL_ERROR\020\001\022\025\n\021DEADLINE_EXCEEDED\020\002\022\026\n\022R"
+ "ESOURCE_EXHAUSTED\020\003\022\r\n\tNOT_FOUND\020\004\022\025\n\021PE"
@@ -158,12 +158,14 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "_CUSTOM_VARIABLE_VALUE\020w\022\035\n\031CUSTOM_VARIA"
+ "BLE_NOT_FOUND\020x\022+\n\'BASELINE_LOCATION_AUT"
+ "O_DETECTION_FAILED\020z\022\"\n\036INSIGHTS_MISSING"
- + "_FOR_DIMENSION\020{B\307\001\n\035com.google.ads.data"
- + "manager.v1B\nErrorProtoP\001ZAcloud.google.c"
- + "om/go/datamanager/apiv1/datamanagerpb;da"
- + "tamanagerpb\252\002\031Google.Ads.DataManager.V1\312"
- + "\002\031Google\\Ads\\DataManager\\V1\352\002\034Google::Ad"
- + "s::DataManager::V1b\006proto3"
+ + "_FOR_DIMENSION\020{\022&\n\"REQUIRED_PREREQUISIT"
+ + "E_LINK_MISSING\020|\022\035\n\031INVALID_REMOVE_AS_OF"
+ + "_TIME\020}B\307\001\n\035com.google.ads.datamanager.v"
+ + "1B\nErrorProtoP\001ZAcloud.google.com/go/dat"
+ + "amanager/apiv1/datamanagerpb;datamanager"
+ + "pb\252\002\031Google.Ads.DataManager.V1\312\002\031Google\\"
+ + "Ads\\DataManager\\V1\352\002\034Google::Ads::DataMa"
+ + "nager::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ErrorReason.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ErrorReason.java
index 6ee99e95e66b..814ded4e4954 100644
--- a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ErrorReason.java
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ErrorReason.java
@@ -1284,6 +1284,28 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
* INSIGHTS_MISSING_FOR_DIMENSION = 123;
*/
INSIGHTS_MISSING_FOR_DIMENSION(123),
+ /**
+ *
+ *
+ *
+ * A required prerequisite link (such as a Google Ads link) must exist for
+ * the Google Analytics property to perform this operation.
+ *
+ *
+ * REQUIRED_PREREQUISITE_LINK_MISSING = 124;
+ */
+ REQUIRED_PREREQUISITE_LINK_MISSING(124),
+ /**
+ *
+ *
+ *
+ * The remove as of time must be in the past or present. Future timestamps are
+ * not permitted for removing audience members.
+ *
+ *
+ * INVALID_REMOVE_AS_OF_TIME = 125;
+ */
+ INVALID_REMOVE_AS_OF_TIME(125),
UNRECOGNIZED(-1),
;
@@ -2671,6 +2693,30 @@ public enum ErrorReason implements com.google.protobuf.ProtocolMessageEnum {
*/
public static final int INSIGHTS_MISSING_FOR_DIMENSION_VALUE = 123;
+ /**
+ *
+ *
+ *
+ * A required prerequisite link (such as a Google Ads link) must exist for
+ * the Google Analytics property to perform this operation.
+ *
+ *
+ * REQUIRED_PREREQUISITE_LINK_MISSING = 124;
+ */
+ public static final int REQUIRED_PREREQUISITE_LINK_MISSING_VALUE = 124;
+
+ /**
+ *
+ *
+ *
+ * The remove as of time must be in the past or present. Future timestamps are
+ * not permitted for removing audience members.
+ *
+ *
+ * INVALID_REMOVE_AS_OF_TIME = 125;
+ */
+ public static final int INVALID_REMOVE_AS_OF_TIME_VALUE = 125;
+
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
@@ -2941,6 +2987,10 @@ public static ErrorReason forNumber(int value) {
return BASELINE_LOCATION_AUTO_DETECTION_FAILED;
case 123:
return INSIGHTS_MISSING_FOR_DIMENSION;
+ case 124:
+ return REQUIRED_PREREQUISITE_LINK_MISSING;
+ case 125:
+ return INVALID_REMOVE_AS_OF_TIME;
default:
return null;
}
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/FieldWarning.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/FieldWarning.java
new file mode 100644
index 000000000000..5386ec37ba75
--- /dev/null
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/FieldWarning.java
@@ -0,0 +1,948 @@
+/*
+ * Copyright 2026 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: google/ads/datamanager/v1/processing_errors.proto
+// Protobuf Java Version: 4.33.6
+
+package com.google.ads.datamanager.v1;
+
+/**
+ *
+ *
+ *
+ * Detailed row-level warning with field paths.
+ *
+ *
+ * Protobuf type {@code google.ads.datamanager.v1.FieldWarning}
+ */
+@com.google.protobuf.Generated
+public final class FieldWarning extends com.google.protobuf.GeneratedMessage
+ implements
+ // @@protoc_insertion_point(message_implements:google.ads.datamanager.v1.FieldWarning)
+ FieldWarningOrBuilder {
+ private static final long serialVersionUID = 0L;
+
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 6,
+ /* suffix= */ "",
+ "FieldWarning");
+ }
+
+ // Use FieldWarning.newBuilder() to construct.
+ private FieldWarning(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+
+ private FieldWarning() {
+ reason_ = 0;
+ description_ = "";
+ field_ = "";
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.ads.datamanager.v1.ProcessingErrorsProto
+ .internal_static_google_ads_datamanager_v1_FieldWarning_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.ads.datamanager.v1.ProcessingErrorsProto
+ .internal_static_google_ads_datamanager_v1_FieldWarning_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.ads.datamanager.v1.FieldWarning.class,
+ com.google.ads.datamanager.v1.FieldWarning.Builder.class);
+ }
+
+ public static final int REASON_FIELD_NUMBER = 1;
+ private int reason_ = 0;
+
+ /**
+ *
+ *
+ *
+ * The warning reason.
+ *
+ *
+ * .google.ads.datamanager.v1.WarningReason reason = 1;
+ *
+ * @return The enum numeric value on the wire for reason.
+ */
+ @java.lang.Override
+ public int getReasonValue() {
+ return reason_;
+ }
+
+ /**
+ *
+ *
+ *
+ * The warning reason.
+ *
+ *
+ * .google.ads.datamanager.v1.WarningReason reason = 1;
+ *
+ * @return The reason.
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.WarningReason getReason() {
+ com.google.ads.datamanager.v1.WarningReason result =
+ com.google.ads.datamanager.v1.WarningReason.forNumber(reason_);
+ return result == null ? com.google.ads.datamanager.v1.WarningReason.UNRECOGNIZED : result;
+ }
+
+ public static final int DESCRIPTION_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object description_ = "";
+
+ /**
+ *
+ *
+ *
+ * The detailed warning message describing the issue.
+ *
+ *
+ * string description = 2;
+ *
+ * @return The description.
+ */
+ @java.lang.Override
+ public java.lang.String getDescription() {
+ java.lang.Object ref = description_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ description_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The detailed warning message describing the issue.
+ *
+ *
+ * string description = 2;
+ *
+ * @return The bytes for description.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getDescriptionBytes() {
+ java.lang.Object ref = description_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ description_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int FIELD_FIELD_NUMBER = 3;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object field_ = "";
+
+ /**
+ *
+ *
+ *
+ * The field path that triggered the warning. Uses the same format as
+ * [google.rpc.BadRequest.FieldViolation.field][google.rpc.BadRequest.FieldViolation.field].
+ *
+ *
+ * string field = 3;
+ *
+ * @return The field.
+ */
+ @java.lang.Override
+ public java.lang.String getField() {
+ java.lang.Object ref = field_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ field_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The field path that triggered the warning. Uses the same format as
+ * [google.rpc.BadRequest.FieldViolation.field][google.rpc.BadRequest.FieldViolation.field].
+ *
+ *
+ * string field = 3;
+ *
+ * @return The bytes for field.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getFieldBytes() {
+ java.lang.Object ref = field_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ field_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (reason_
+ != com.google.ads.datamanager.v1.WarningReason.WARNING_REASON_UNSPECIFIED.getNumber()) {
+ output.writeEnum(1, reason_);
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 2, description_);
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(field_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 3, field_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (reason_
+ != com.google.ads.datamanager.v1.WarningReason.WARNING_REASON_UNSPECIFIED.getNumber()) {
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, reason_);
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(description_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(2, description_);
+ }
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(field_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(3, field_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.ads.datamanager.v1.FieldWarning)) {
+ return super.equals(obj);
+ }
+ com.google.ads.datamanager.v1.FieldWarning other =
+ (com.google.ads.datamanager.v1.FieldWarning) obj;
+
+ if (reason_ != other.reason_) return false;
+ if (!getDescription().equals(other.getDescription())) return false;
+ if (!getField().equals(other.getField())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + REASON_FIELD_NUMBER;
+ hash = (53 * hash) + reason_;
+ hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
+ hash = (53 * hash) + getDescription().hashCode();
+ hash = (37 * hash) + FIELD_FIELD_NUMBER;
+ hash = (53 * hash) + getField().hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.ads.datamanager.v1.FieldWarning parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.ads.datamanager.v1.FieldWarning parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.FieldWarning parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.ads.datamanager.v1.FieldWarning parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.FieldWarning parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.ads.datamanager.v1.FieldWarning parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.FieldWarning parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.ads.datamanager.v1.FieldWarning parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.FieldWarning parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.ads.datamanager.v1.FieldWarning parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.FieldWarning parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.ads.datamanager.v1.FieldWarning parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(com.google.ads.datamanager.v1.FieldWarning prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warning with field paths.
+ *
+ *
+ * Protobuf type {@code google.ads.datamanager.v1.FieldWarning}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.ads.datamanager.v1.FieldWarning)
+ com.google.ads.datamanager.v1.FieldWarningOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.ads.datamanager.v1.ProcessingErrorsProto
+ .internal_static_google_ads_datamanager_v1_FieldWarning_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.ads.datamanager.v1.ProcessingErrorsProto
+ .internal_static_google_ads_datamanager_v1_FieldWarning_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.ads.datamanager.v1.FieldWarning.class,
+ com.google.ads.datamanager.v1.FieldWarning.Builder.class);
+ }
+
+ // Construct using com.google.ads.datamanager.v1.FieldWarning.newBuilder()
+ private Builder() {}
+
+ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ reason_ = 0;
+ description_ = "";
+ field_ = "";
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.ads.datamanager.v1.ProcessingErrorsProto
+ .internal_static_google_ads_datamanager_v1_FieldWarning_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.FieldWarning getDefaultInstanceForType() {
+ return com.google.ads.datamanager.v1.FieldWarning.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.FieldWarning build() {
+ com.google.ads.datamanager.v1.FieldWarning result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.FieldWarning buildPartial() {
+ com.google.ads.datamanager.v1.FieldWarning result =
+ new com.google.ads.datamanager.v1.FieldWarning(this);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(com.google.ads.datamanager.v1.FieldWarning result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.reason_ = reason_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.description_ = description_;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.field_ = field_;
+ }
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.ads.datamanager.v1.FieldWarning) {
+ return mergeFrom((com.google.ads.datamanager.v1.FieldWarning) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.ads.datamanager.v1.FieldWarning other) {
+ if (other == com.google.ads.datamanager.v1.FieldWarning.getDefaultInstance()) return this;
+ if (other.reason_ != 0) {
+ setReasonValue(other.getReasonValue());
+ }
+ if (!other.getDescription().isEmpty()) {
+ description_ = other.description_;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ }
+ if (!other.getField().isEmpty()) {
+ field_ = other.field_;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 8:
+ {
+ reason_ = input.readEnum();
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 8
+ case 18:
+ {
+ description_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 18
+ case 26:
+ {
+ field_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000004;
+ break;
+ } // case 26
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+
+ private int bitField0_;
+
+ private int reason_ = 0;
+
+ /**
+ *
+ *
+ *
+ * The warning reason.
+ *
+ *
+ * .google.ads.datamanager.v1.WarningReason reason = 1;
+ *
+ * @return The enum numeric value on the wire for reason.
+ */
+ @java.lang.Override
+ public int getReasonValue() {
+ return reason_;
+ }
+
+ /**
+ *
+ *
+ *
+ * The warning reason.
+ *
+ *
+ * .google.ads.datamanager.v1.WarningReason reason = 1;
+ *
+ * @param value The enum numeric value on the wire for reason to set.
+ * @return This builder for chaining.
+ */
+ public Builder setReasonValue(int value) {
+ reason_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The warning reason.
+ *
+ *
+ * .google.ads.datamanager.v1.WarningReason reason = 1;
+ *
+ * @return The reason.
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.WarningReason getReason() {
+ com.google.ads.datamanager.v1.WarningReason result =
+ com.google.ads.datamanager.v1.WarningReason.forNumber(reason_);
+ return result == null ? com.google.ads.datamanager.v1.WarningReason.UNRECOGNIZED : result;
+ }
+
+ /**
+ *
+ *
+ *
+ * The warning reason.
+ *
+ *
+ * .google.ads.datamanager.v1.WarningReason reason = 1;
+ *
+ * @param value The reason to set.
+ * @return This builder for chaining.
+ */
+ public Builder setReason(com.google.ads.datamanager.v1.WarningReason value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
+ reason_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The warning reason.
+ *
+ *
+ * .google.ads.datamanager.v1.WarningReason reason = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearReason() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ reason_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object description_ = "";
+
+ /**
+ *
+ *
+ *
+ * The detailed warning message describing the issue.
+ *
+ *
+ * string description = 2;
+ *
+ * @return The description.
+ */
+ public java.lang.String getDescription() {
+ java.lang.Object ref = description_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ description_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The detailed warning message describing the issue.
+ *
+ *
+ * string description = 2;
+ *
+ * @return The bytes for description.
+ */
+ public com.google.protobuf.ByteString getDescriptionBytes() {
+ java.lang.Object ref = description_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ description_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The detailed warning message describing the issue.
+ *
+ *
+ * string description = 2;
+ *
+ * @param value The description to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDescription(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ description_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The detailed warning message describing the issue.
+ *
+ *
+ * string description = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearDescription() {
+ description_ = getDefaultInstance().getDescription();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The detailed warning message describing the issue.
+ *
+ *
+ * string description = 2;
+ *
+ * @param value The bytes for description to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ description_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object field_ = "";
+
+ /**
+ *
+ *
+ *
+ * The field path that triggered the warning. Uses the same format as
+ * [google.rpc.BadRequest.FieldViolation.field][google.rpc.BadRequest.FieldViolation.field].
+ *
+ *
+ * string field = 3;
+ *
+ * @return The field.
+ */
+ public java.lang.String getField() {
+ java.lang.Object ref = field_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ field_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The field path that triggered the warning. Uses the same format as
+ * [google.rpc.BadRequest.FieldViolation.field][google.rpc.BadRequest.FieldViolation.field].
+ *
+ *
+ * string field = 3;
+ *
+ * @return The bytes for field.
+ */
+ public com.google.protobuf.ByteString getFieldBytes() {
+ java.lang.Object ref = field_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ field_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The field path that triggered the warning. Uses the same format as
+ * [google.rpc.BadRequest.FieldViolation.field][google.rpc.BadRequest.FieldViolation.field].
+ *
+ *
+ * string field = 3;
+ *
+ * @param value The field to set.
+ * @return This builder for chaining.
+ */
+ public Builder setField(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ field_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The field path that triggered the warning. Uses the same format as
+ * [google.rpc.BadRequest.FieldViolation.field][google.rpc.BadRequest.FieldViolation.field].
+ *
+ *
+ * string field = 3;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearField() {
+ field_ = getDefaultInstance().getField();
+ bitField0_ = (bitField0_ & ~0x00000004);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The field path that triggered the warning. Uses the same format as
+ * [google.rpc.BadRequest.FieldViolation.field][google.rpc.BadRequest.FieldViolation.field].
+ *
+ *
+ * string field = 3;
+ *
+ * @param value The bytes for field to set.
+ * @return This builder for chaining.
+ */
+ public Builder setFieldBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ field_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.FieldWarning)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.ads.datamanager.v1.FieldWarning)
+ private static final com.google.ads.datamanager.v1.FieldWarning DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.ads.datamanager.v1.FieldWarning();
+ }
+
+ public static com.google.ads.datamanager.v1.FieldWarning getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public FieldWarning parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.FieldWarning getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/FieldWarningOrBuilder.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/FieldWarningOrBuilder.java
new file mode 100644
index 000000000000..dfff601797fb
--- /dev/null
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/FieldWarningOrBuilder.java
@@ -0,0 +1,108 @@
+/*
+ * Copyright 2026 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: google/ads/datamanager/v1/processing_errors.proto
+// Protobuf Java Version: 4.33.6
+
+package com.google.ads.datamanager.v1;
+
+@com.google.protobuf.Generated
+public interface FieldWarningOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.ads.datamanager.v1.FieldWarning)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * The warning reason.
+ *
+ *
+ * .google.ads.datamanager.v1.WarningReason reason = 1;
+ *
+ * @return The enum numeric value on the wire for reason.
+ */
+ int getReasonValue();
+
+ /**
+ *
+ *
+ *
+ * The warning reason.
+ *
+ *
+ * .google.ads.datamanager.v1.WarningReason reason = 1;
+ *
+ * @return The reason.
+ */
+ com.google.ads.datamanager.v1.WarningReason getReason();
+
+ /**
+ *
+ *
+ *
+ * The detailed warning message describing the issue.
+ *
+ *
+ * string description = 2;
+ *
+ * @return The description.
+ */
+ java.lang.String getDescription();
+
+ /**
+ *
+ *
+ *
+ * The detailed warning message describing the issue.
+ *
+ *
+ * string description = 2;
+ *
+ * @return The bytes for description.
+ */
+ com.google.protobuf.ByteString getDescriptionBytes();
+
+ /**
+ *
+ *
+ *
+ * The field path that triggered the warning. Uses the same format as
+ * [google.rpc.BadRequest.FieldViolation.field][google.rpc.BadRequest.FieldViolation.field].
+ *
+ *
+ * string field = 3;
+ *
+ * @return The field.
+ */
+ java.lang.String getField();
+
+ /**
+ *
+ *
+ *
+ * The field path that triggered the warning. Uses the same format as
+ * [google.rpc.BadRequest.FieldViolation.field][google.rpc.BadRequest.FieldViolation.field].
+ *
+ *
+ * string field = 3;
+ *
+ * @return The bytes for field.
+ */
+ com.google.protobuf.ByteString getFieldBytes();
+}
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/GoogleUserIdData.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/GoogleUserIdData.java
new file mode 100644
index 000000000000..dbab151496d2
--- /dev/null
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/GoogleUserIdData.java
@@ -0,0 +1,698 @@
+/*
+ * Copyright 2026 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: google/ads/datamanager/v1/audience.proto
+// Protobuf Java Version: 4.33.6
+
+package com.google.ads.datamanager.v1;
+
+/**
+ *
+ *
+ *
+ * Google user id data holding encrypted google user IDs. At least one google
+ * user ID is required.
+ *
+ *
+ * Protobuf type {@code google.ads.datamanager.v1.GoogleUserIdData}
+ */
+@com.google.protobuf.Generated
+public final class GoogleUserIdData extends com.google.protobuf.GeneratedMessage
+ implements
+ // @@protoc_insertion_point(message_implements:google.ads.datamanager.v1.GoogleUserIdData)
+ GoogleUserIdDataOrBuilder {
+ private static final long serialVersionUID = 0L;
+
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 6,
+ /* suffix= */ "",
+ "GoogleUserIdData");
+ }
+
+ // Use GoogleUserIdData.newBuilder() to construct.
+ private GoogleUserIdData(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+
+ private GoogleUserIdData() {
+ googleUserIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.ads.datamanager.v1.AudienceProto
+ .internal_static_google_ads_datamanager_v1_GoogleUserIdData_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.ads.datamanager.v1.AudienceProto
+ .internal_static_google_ads_datamanager_v1_GoogleUserIdData_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.ads.datamanager.v1.GoogleUserIdData.class,
+ com.google.ads.datamanager.v1.GoogleUserIdData.Builder.class);
+ }
+
+ public static final int GOOGLE_USER_IDS_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private com.google.protobuf.LazyStringArrayList googleUserIds_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
+
+ /**
+ *
+ *
+ *
+ * Required. The list of encrypted google user IDs.
+ *
+ *
+ * repeated string google_user_ids = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return A list containing the googleUserIds.
+ */
+ public com.google.protobuf.ProtocolStringList getGoogleUserIdsList() {
+ return googleUserIds_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of encrypted google user IDs.
+ *
+ *
+ * repeated string google_user_ids = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The count of googleUserIds.
+ */
+ public int getGoogleUserIdsCount() {
+ return googleUserIds_.size();
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of encrypted google user IDs.
+ *
+ *
+ * repeated string google_user_ids = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param index The index of the element to return.
+ * @return The googleUserIds at the given index.
+ */
+ public java.lang.String getGoogleUserIds(int index) {
+ return googleUserIds_.get(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of encrypted google user IDs.
+ *
+ *
+ * repeated string google_user_ids = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the googleUserIds at the given index.
+ */
+ public com.google.protobuf.ByteString getGoogleUserIdsBytes(int index) {
+ return googleUserIds_.getByteString(index);
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ for (int i = 0; i < googleUserIds_.size(); i++) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, googleUserIds_.getRaw(i));
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ {
+ int dataSize = 0;
+ for (int i = 0; i < googleUserIds_.size(); i++) {
+ dataSize += computeStringSizeNoTag(googleUserIds_.getRaw(i));
+ }
+ size += dataSize;
+ size += 1 * getGoogleUserIdsList().size();
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.ads.datamanager.v1.GoogleUserIdData)) {
+ return super.equals(obj);
+ }
+ com.google.ads.datamanager.v1.GoogleUserIdData other =
+ (com.google.ads.datamanager.v1.GoogleUserIdData) obj;
+
+ if (!getGoogleUserIdsList().equals(other.getGoogleUserIdsList())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (getGoogleUserIdsCount() > 0) {
+ hash = (37 * hash) + GOOGLE_USER_IDS_FIELD_NUMBER;
+ hash = (53 * hash) + getGoogleUserIdsList().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.ads.datamanager.v1.GoogleUserIdData parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.ads.datamanager.v1.GoogleUserIdData parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.GoogleUserIdData parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.ads.datamanager.v1.GoogleUserIdData parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.GoogleUserIdData parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.ads.datamanager.v1.GoogleUserIdData parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.GoogleUserIdData parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.ads.datamanager.v1.GoogleUserIdData parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.GoogleUserIdData parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.ads.datamanager.v1.GoogleUserIdData parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.GoogleUserIdData parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.ads.datamanager.v1.GoogleUserIdData parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(com.google.ads.datamanager.v1.GoogleUserIdData prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ *
+ *
+ *
+ * Google user id data holding encrypted google user IDs. At least one google
+ * user ID is required.
+ *
+ *
+ * Protobuf type {@code google.ads.datamanager.v1.GoogleUserIdData}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.ads.datamanager.v1.GoogleUserIdData)
+ com.google.ads.datamanager.v1.GoogleUserIdDataOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.ads.datamanager.v1.AudienceProto
+ .internal_static_google_ads_datamanager_v1_GoogleUserIdData_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.ads.datamanager.v1.AudienceProto
+ .internal_static_google_ads_datamanager_v1_GoogleUserIdData_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.ads.datamanager.v1.GoogleUserIdData.class,
+ com.google.ads.datamanager.v1.GoogleUserIdData.Builder.class);
+ }
+
+ // Construct using com.google.ads.datamanager.v1.GoogleUserIdData.newBuilder()
+ private Builder() {}
+
+ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ googleUserIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.ads.datamanager.v1.AudienceProto
+ .internal_static_google_ads_datamanager_v1_GoogleUserIdData_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.GoogleUserIdData getDefaultInstanceForType() {
+ return com.google.ads.datamanager.v1.GoogleUserIdData.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.GoogleUserIdData build() {
+ com.google.ads.datamanager.v1.GoogleUserIdData result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.GoogleUserIdData buildPartial() {
+ com.google.ads.datamanager.v1.GoogleUserIdData result =
+ new com.google.ads.datamanager.v1.GoogleUserIdData(this);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(com.google.ads.datamanager.v1.GoogleUserIdData result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ googleUserIds_.makeImmutable();
+ result.googleUserIds_ = googleUserIds_;
+ }
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.ads.datamanager.v1.GoogleUserIdData) {
+ return mergeFrom((com.google.ads.datamanager.v1.GoogleUserIdData) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.ads.datamanager.v1.GoogleUserIdData other) {
+ if (other == com.google.ads.datamanager.v1.GoogleUserIdData.getDefaultInstance()) return this;
+ if (!other.googleUserIds_.isEmpty()) {
+ if (googleUserIds_.isEmpty()) {
+ googleUserIds_ = other.googleUserIds_;
+ bitField0_ |= 0x00000001;
+ } else {
+ ensureGoogleUserIdsIsMutable();
+ googleUserIds_.addAll(other.googleUserIds_);
+ }
+ onChanged();
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+ ensureGoogleUserIdsIsMutable();
+ googleUserIds_.add(s);
+ break;
+ } // case 10
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+
+ private int bitField0_;
+
+ private com.google.protobuf.LazyStringArrayList googleUserIds_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
+
+ private void ensureGoogleUserIdsIsMutable() {
+ if (!googleUserIds_.isModifiable()) {
+ googleUserIds_ = new com.google.protobuf.LazyStringArrayList(googleUserIds_);
+ }
+ bitField0_ |= 0x00000001;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of encrypted google user IDs.
+ *
+ *
+ * repeated string google_user_ids = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return A list containing the googleUserIds.
+ */
+ public com.google.protobuf.ProtocolStringList getGoogleUserIdsList() {
+ googleUserIds_.makeImmutable();
+ return googleUserIds_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of encrypted google user IDs.
+ *
+ *
+ * repeated string google_user_ids = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The count of googleUserIds.
+ */
+ public int getGoogleUserIdsCount() {
+ return googleUserIds_.size();
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of encrypted google user IDs.
+ *
+ *
+ * repeated string google_user_ids = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param index The index of the element to return.
+ * @return The googleUserIds at the given index.
+ */
+ public java.lang.String getGoogleUserIds(int index) {
+ return googleUserIds_.get(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of encrypted google user IDs.
+ *
+ *
+ * repeated string google_user_ids = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the googleUserIds at the given index.
+ */
+ public com.google.protobuf.ByteString getGoogleUserIdsBytes(int index) {
+ return googleUserIds_.getByteString(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of encrypted google user IDs.
+ *
+ *
+ * repeated string google_user_ids = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param index The index to set the value at.
+ * @param value The googleUserIds to set.
+ * @return This builder for chaining.
+ */
+ public Builder setGoogleUserIds(int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureGoogleUserIdsIsMutable();
+ googleUserIds_.set(index, value);
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of encrypted google user IDs.
+ *
+ *
+ * repeated string google_user_ids = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The googleUserIds to add.
+ * @return This builder for chaining.
+ */
+ public Builder addGoogleUserIds(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureGoogleUserIdsIsMutable();
+ googleUserIds_.add(value);
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of encrypted google user IDs.
+ *
+ *
+ * repeated string google_user_ids = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param values The googleUserIds to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllGoogleUserIds(java.lang.Iterable values) {
+ ensureGoogleUserIdsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, googleUserIds_);
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of encrypted google user IDs.
+ *
+ *
+ * repeated string google_user_ids = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearGoogleUserIds() {
+ googleUserIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ ;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of encrypted google user IDs.
+ *
+ *
+ * repeated string google_user_ids = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes of the googleUserIds to add.
+ * @return This builder for chaining.
+ */
+ public Builder addGoogleUserIdsBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ ensureGoogleUserIdsIsMutable();
+ googleUserIds_.add(value);
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.GoogleUserIdData)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.ads.datamanager.v1.GoogleUserIdData)
+ private static final com.google.ads.datamanager.v1.GoogleUserIdData DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.ads.datamanager.v1.GoogleUserIdData();
+ }
+
+ public static com.google.ads.datamanager.v1.GoogleUserIdData getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public GoogleUserIdData parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.GoogleUserIdData getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/GoogleUserIdDataOrBuilder.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/GoogleUserIdDataOrBuilder.java
new file mode 100644
index 000000000000..4833b11f5fdd
--- /dev/null
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/GoogleUserIdDataOrBuilder.java
@@ -0,0 +1,82 @@
+/*
+ * Copyright 2026 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: google/ads/datamanager/v1/audience.proto
+// Protobuf Java Version: 4.33.6
+
+package com.google.ads.datamanager.v1;
+
+@com.google.protobuf.Generated
+public interface GoogleUserIdDataOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.ads.datamanager.v1.GoogleUserIdData)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Required. The list of encrypted google user IDs.
+ *
+ *
+ * repeated string google_user_ids = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return A list containing the googleUserIds.
+ */
+ java.util.List getGoogleUserIdsList();
+
+ /**
+ *
+ *
+ *
+ * Required. The list of encrypted google user IDs.
+ *
+ *
+ * repeated string google_user_ids = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The count of googleUserIds.
+ */
+ int getGoogleUserIdsCount();
+
+ /**
+ *
+ *
+ *
+ * Required. The list of encrypted google user IDs.
+ *
+ *
+ * repeated string google_user_ids = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param index The index of the element to return.
+ * @return The googleUserIds at the given index.
+ */
+ java.lang.String getGoogleUserIds(int index);
+
+ /**
+ *
+ *
+ *
+ * Required. The list of encrypted google user IDs.
+ *
+ *
+ * repeated string google_user_ids = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the googleUserIds at the given index.
+ */
+ com.google.protobuf.ByteString getGoogleUserIdsBytes(int index);
+}
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/IngestAdEventsRequest.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/IngestAdEventsRequest.java
index 617e4234d639..69233a8298c7 100644
--- a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/IngestAdEventsRequest.java
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/IngestAdEventsRequest.java
@@ -164,12 +164,12 @@ public com.google.ads.datamanager.v1.AdEventOrBuilder getAdEventsOrBuilder(int i
*
*
*
- * Optional. Information about encryption keys which are used to encrypt the
+ * Required. Information about encryption keys which are used to encrypt the
* data.
*
*
*
- * .google.ads.datamanager.v1.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.ads.datamanager.v1.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return Whether the encryptionInfo field is set.
@@ -183,12 +183,12 @@ public boolean hasEncryptionInfo() {
*
*
*
- * Optional. Information about encryption keys which are used to encrypt the
+ * Required. Information about encryption keys which are used to encrypt the
* data.
*
*
*
- * .google.ads.datamanager.v1.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.ads.datamanager.v1.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The encryptionInfo.
@@ -204,12 +204,12 @@ public com.google.ads.datamanager.v1.EncryptionInfo getEncryptionInfo() {
*
*
*
- * Optional. Information about encryption keys which are used to encrypt the
+ * Required. Information about encryption keys which are used to encrypt the
* data.
*
*
*
- * .google.ads.datamanager.v1.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.ads.datamanager.v1.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = REQUIRED];
*
*/
@java.lang.Override
@@ -229,11 +229,15 @@ public com.google.ads.datamanager.v1.EncryptionInfoOrBuilder getEncryptionInfoOr
* Optional. If true, the request is validated, but not executed.
*
*
- * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * bool validate_only = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
+ *
*
+ * @deprecated google.ads.datamanager.v1.IngestAdEventsRequest.validate_only is deprecated. See
+ * google/ads/datamanager/v1/ingestion_service.proto;l=278
* @return The validateOnly.
*/
@java.lang.Override
+ @java.lang.Deprecated
public boolean getValidateOnly() {
return validateOnly_;
}
@@ -1076,12 +1080,12 @@ public java.util.List getAdEvents
*
*
*
- * Optional. Information about encryption keys which are used to encrypt the
+ * Required. Information about encryption keys which are used to encrypt the
* data.
*
*
*
- * .google.ads.datamanager.v1.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.ads.datamanager.v1.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return Whether the encryptionInfo field is set.
@@ -1094,12 +1098,12 @@ public boolean hasEncryptionInfo() {
*
*
*
- * Optional. Information about encryption keys which are used to encrypt the
+ * Required. Information about encryption keys which are used to encrypt the
* data.
*
*
*
- * .google.ads.datamanager.v1.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.ads.datamanager.v1.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The encryptionInfo.
@@ -1118,12 +1122,12 @@ public com.google.ads.datamanager.v1.EncryptionInfo getEncryptionInfo() {
*
*
*
- * Optional. Information about encryption keys which are used to encrypt the
+ * Required. Information about encryption keys which are used to encrypt the
* data.
*
*
*
- * .google.ads.datamanager.v1.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.ads.datamanager.v1.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = REQUIRED];
*
*/
public Builder setEncryptionInfo(com.google.ads.datamanager.v1.EncryptionInfo value) {
@@ -1144,12 +1148,12 @@ public Builder setEncryptionInfo(com.google.ads.datamanager.v1.EncryptionInfo va
*
*
*
- * Optional. Information about encryption keys which are used to encrypt the
+ * Required. Information about encryption keys which are used to encrypt the
* data.
*
*
*
- * .google.ads.datamanager.v1.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.ads.datamanager.v1.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = REQUIRED];
*
*/
public Builder setEncryptionInfo(
@@ -1168,12 +1172,12 @@ public Builder setEncryptionInfo(
*
*
*
- * Optional. Information about encryption keys which are used to encrypt the
+ * Required. Information about encryption keys which are used to encrypt the
* data.
*
*
*
- * .google.ads.datamanager.v1.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.ads.datamanager.v1.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = REQUIRED];
*
*/
public Builder mergeEncryptionInfo(com.google.ads.datamanager.v1.EncryptionInfo value) {
@@ -1200,12 +1204,12 @@ public Builder mergeEncryptionInfo(com.google.ads.datamanager.v1.EncryptionInfo
*
*
*
- * Optional. Information about encryption keys which are used to encrypt the
+ * Required. Information about encryption keys which are used to encrypt the
* data.
*
*
*
- * .google.ads.datamanager.v1.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.ads.datamanager.v1.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = REQUIRED];
*
*/
public Builder clearEncryptionInfo() {
@@ -1223,12 +1227,12 @@ public Builder clearEncryptionInfo() {
*
*
*
- * Optional. Information about encryption keys which are used to encrypt the
+ * Required. Information about encryption keys which are used to encrypt the
* data.
*
*
*
- * .google.ads.datamanager.v1.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.ads.datamanager.v1.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = REQUIRED];
*
*/
public com.google.ads.datamanager.v1.EncryptionInfo.Builder getEncryptionInfoBuilder() {
@@ -1241,12 +1245,12 @@ public com.google.ads.datamanager.v1.EncryptionInfo.Builder getEncryptionInfoBui
*
*
*
- * Optional. Information about encryption keys which are used to encrypt the
+ * Required. Information about encryption keys which are used to encrypt the
* data.
*
*
*
- * .google.ads.datamanager.v1.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.ads.datamanager.v1.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = REQUIRED];
*
*/
public com.google.ads.datamanager.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder() {
@@ -1263,12 +1267,12 @@ public com.google.ads.datamanager.v1.EncryptionInfoOrBuilder getEncryptionInfoOr
*
*
*
- * Optional. Information about encryption keys which are used to encrypt the
+ * Required. Information about encryption keys which are used to encrypt the
* data.
*
*
*
- * .google.ads.datamanager.v1.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.ads.datamanager.v1.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = REQUIRED];
*
*/
private com.google.protobuf.SingleFieldBuilder<
@@ -1297,11 +1301,15 @@ public com.google.ads.datamanager.v1.EncryptionInfoOrBuilder getEncryptionInfoOr
* Optional. If true, the request is validated, but not executed.
*
*
- * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * bool validate_only = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
+ *
*
+ * @deprecated google.ads.datamanager.v1.IngestAdEventsRequest.validate_only is deprecated. See
+ * google/ads/datamanager/v1/ingestion_service.proto;l=278
* @return The validateOnly.
*/
@java.lang.Override
+ @java.lang.Deprecated
public boolean getValidateOnly() {
return validateOnly_;
}
@@ -1313,11 +1321,15 @@ public boolean getValidateOnly() {
* Optional. If true, the request is validated, but not executed.
*
*
- * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * bool validate_only = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
+ *
*
+ * @deprecated google.ads.datamanager.v1.IngestAdEventsRequest.validate_only is deprecated. See
+ * google/ads/datamanager/v1/ingestion_service.proto;l=278
* @param value The validateOnly to set.
* @return This builder for chaining.
*/
+ @java.lang.Deprecated
public Builder setValidateOnly(boolean value) {
validateOnly_ = value;
@@ -1333,10 +1345,14 @@ public Builder setValidateOnly(boolean value) {
* Optional. If true, the request is validated, but not executed.
*
*
- * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * bool validate_only = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
+ *
*
+ * @deprecated google.ads.datamanager.v1.IngestAdEventsRequest.validate_only is deprecated. See
+ * google/ads/datamanager/v1/ingestion_service.proto;l=278
* @return This builder for chaining.
*/
+ @java.lang.Deprecated
public Builder clearValidateOnly() {
bitField0_ = (bitField0_ & ~0x00000004);
validateOnly_ = false;
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/IngestAdEventsRequestOrBuilder.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/IngestAdEventsRequestOrBuilder.java
index f16a40fdddac..89538e9bef8b 100644
--- a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/IngestAdEventsRequestOrBuilder.java
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/IngestAdEventsRequestOrBuilder.java
@@ -96,12 +96,12 @@ public interface IngestAdEventsRequestOrBuilder
*
*
*
- * Optional. Information about encryption keys which are used to encrypt the
+ * Required. Information about encryption keys which are used to encrypt the
* data.
*
*
*
- * .google.ads.datamanager.v1.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.ads.datamanager.v1.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return Whether the encryptionInfo field is set.
@@ -112,12 +112,12 @@ public interface IngestAdEventsRequestOrBuilder
*
*
*
- * Optional. Information about encryption keys which are used to encrypt the
+ * Required. Information about encryption keys which are used to encrypt the
* data.
*
*
*
- * .google.ads.datamanager.v1.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.ads.datamanager.v1.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The encryptionInfo.
@@ -128,12 +128,12 @@ public interface IngestAdEventsRequestOrBuilder
*
*
*
- * Optional. Information about encryption keys which are used to encrypt the
+ * Required. Information about encryption keys which are used to encrypt the
* data.
*
*
*
- * .google.ads.datamanager.v1.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = OPTIONAL];
+ * .google.ads.datamanager.v1.EncryptionInfo encryption_info = 2 [(.google.api.field_behavior) = REQUIRED];
*
*/
com.google.ads.datamanager.v1.EncryptionInfoOrBuilder getEncryptionInfoOrBuilder();
@@ -145,9 +145,13 @@ public interface IngestAdEventsRequestOrBuilder
* Optional. If true, the request is validated, but not executed.
*
*
- * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
+ * bool validate_only = 3 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
+ *
*
+ * @deprecated google.ads.datamanager.v1.IngestAdEventsRequest.validate_only is deprecated. See
+ * google/ads/datamanager/v1/ingestion_service.proto;l=278
* @return The validateOnly.
*/
+ @java.lang.Deprecated
boolean getValidateOnly();
}
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/IngestAudienceMembersResponse.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/IngestAudienceMembersResponse.java
index e9e01319e1af..dd4271e8c975 100644
--- a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/IngestAudienceMembersResponse.java
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/IngestAudienceMembersResponse.java
@@ -54,6 +54,7 @@ private IngestAudienceMembersResponse(com.google.protobuf.GeneratedMessage.Build
private IngestAudienceMembersResponse() {
requestId_ = "";
+ fieldWarnings_ = java.util.Collections.emptyList();
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
@@ -124,6 +125,82 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
}
}
+ public static final int FIELD_WARNINGS_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private java.util.List fieldWarnings_;
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ @java.lang.Override
+ public java.util.List getFieldWarningsList() {
+ return fieldWarnings_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ @java.lang.Override
+ public java.util.List extends com.google.ads.datamanager.v1.FieldWarningOrBuilder>
+ getFieldWarningsOrBuilderList() {
+ return fieldWarnings_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ @java.lang.Override
+ public int getFieldWarningsCount() {
+ return fieldWarnings_.size();
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.FieldWarning getFieldWarnings(int index) {
+ return fieldWarnings_.get(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.FieldWarningOrBuilder getFieldWarningsOrBuilder(int index) {
+ return fieldWarnings_.get(index);
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -141,6 +218,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(requestId_)) {
com.google.protobuf.GeneratedMessage.writeString(output, 1, requestId_);
}
+ for (int i = 0; i < fieldWarnings_.size(); i++) {
+ output.writeMessage(2, fieldWarnings_.get(i));
+ }
getUnknownFields().writeTo(output);
}
@@ -153,6 +233,9 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(requestId_)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(1, requestId_);
}
+ for (int i = 0; i < fieldWarnings_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, fieldWarnings_.get(i));
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -170,6 +253,7 @@ public boolean equals(final java.lang.Object obj) {
(com.google.ads.datamanager.v1.IngestAudienceMembersResponse) obj;
if (!getRequestId().equals(other.getRequestId())) return false;
+ if (!getFieldWarningsList().equals(other.getFieldWarningsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -183,6 +267,10 @@ public int hashCode() {
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER;
hash = (53 * hash) + getRequestId().hashCode();
+ if (getFieldWarningsCount() > 0) {
+ hash = (37 * hash) + FIELD_WARNINGS_FIELD_NUMBER;
+ hash = (53 * hash) + getFieldWarningsList().hashCode();
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -326,6 +414,13 @@ public Builder clear() {
super.clear();
bitField0_ = 0;
requestId_ = "";
+ if (fieldWarningsBuilder_ == null) {
+ fieldWarnings_ = java.util.Collections.emptyList();
+ } else {
+ fieldWarnings_ = null;
+ fieldWarningsBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@@ -353,6 +448,7 @@ public com.google.ads.datamanager.v1.IngestAudienceMembersResponse build() {
public com.google.ads.datamanager.v1.IngestAudienceMembersResponse buildPartial() {
com.google.ads.datamanager.v1.IngestAudienceMembersResponse result =
new com.google.ads.datamanager.v1.IngestAudienceMembersResponse(this);
+ buildPartialRepeatedFields(result);
if (bitField0_ != 0) {
buildPartial0(result);
}
@@ -360,6 +456,19 @@ public com.google.ads.datamanager.v1.IngestAudienceMembersResponse buildPartial(
return result;
}
+ private void buildPartialRepeatedFields(
+ com.google.ads.datamanager.v1.IngestAudienceMembersResponse result) {
+ if (fieldWarningsBuilder_ == null) {
+ if (((bitField0_ & 0x00000002) != 0)) {
+ fieldWarnings_ = java.util.Collections.unmodifiableList(fieldWarnings_);
+ bitField0_ = (bitField0_ & ~0x00000002);
+ }
+ result.fieldWarnings_ = fieldWarnings_;
+ } else {
+ result.fieldWarnings_ = fieldWarningsBuilder_.build();
+ }
+ }
+
private void buildPartial0(com.google.ads.datamanager.v1.IngestAudienceMembersResponse result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
@@ -385,6 +494,33 @@ public Builder mergeFrom(com.google.ads.datamanager.v1.IngestAudienceMembersResp
bitField0_ |= 0x00000001;
onChanged();
}
+ if (fieldWarningsBuilder_ == null) {
+ if (!other.fieldWarnings_.isEmpty()) {
+ if (fieldWarnings_.isEmpty()) {
+ fieldWarnings_ = other.fieldWarnings_;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ } else {
+ ensureFieldWarningsIsMutable();
+ fieldWarnings_.addAll(other.fieldWarnings_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.fieldWarnings_.isEmpty()) {
+ if (fieldWarningsBuilder_.isEmpty()) {
+ fieldWarningsBuilder_.dispose();
+ fieldWarningsBuilder_ = null;
+ fieldWarnings_ = other.fieldWarnings_;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ fieldWarningsBuilder_ =
+ com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders
+ ? internalGetFieldWarningsFieldBuilder()
+ : null;
+ } else {
+ fieldWarningsBuilder_.addAllMessages(other.fieldWarnings_);
+ }
+ }
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -417,6 +553,19 @@ public Builder mergeFrom(
bitField0_ |= 0x00000001;
break;
} // case 10
+ case 18:
+ {
+ com.google.ads.datamanager.v1.FieldWarning m =
+ input.readMessage(
+ com.google.ads.datamanager.v1.FieldWarning.parser(), extensionRegistry);
+ if (fieldWarningsBuilder_ == null) {
+ ensureFieldWarningsIsMutable();
+ fieldWarnings_.add(m);
+ } else {
+ fieldWarningsBuilder_.addMessage(m);
+ }
+ break;
+ } // case 18
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -547,6 +696,378 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) {
return this;
}
+ private java.util.List fieldWarnings_ =
+ java.util.Collections.emptyList();
+
+ private void ensureFieldWarningsIsMutable() {
+ if (!((bitField0_ & 0x00000002) != 0)) {
+ fieldWarnings_ =
+ new java.util.ArrayList(fieldWarnings_);
+ bitField0_ |= 0x00000002;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilder<
+ com.google.ads.datamanager.v1.FieldWarning,
+ com.google.ads.datamanager.v1.FieldWarning.Builder,
+ com.google.ads.datamanager.v1.FieldWarningOrBuilder>
+ fieldWarningsBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ public java.util.List getFieldWarningsList() {
+ if (fieldWarningsBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(fieldWarnings_);
+ } else {
+ return fieldWarningsBuilder_.getMessageList();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ public int getFieldWarningsCount() {
+ if (fieldWarningsBuilder_ == null) {
+ return fieldWarnings_.size();
+ } else {
+ return fieldWarningsBuilder_.getCount();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ public com.google.ads.datamanager.v1.FieldWarning getFieldWarnings(int index) {
+ if (fieldWarningsBuilder_ == null) {
+ return fieldWarnings_.get(index);
+ } else {
+ return fieldWarningsBuilder_.getMessage(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ public Builder setFieldWarnings(int index, com.google.ads.datamanager.v1.FieldWarning value) {
+ if (fieldWarningsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureFieldWarningsIsMutable();
+ fieldWarnings_.set(index, value);
+ onChanged();
+ } else {
+ fieldWarningsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ public Builder setFieldWarnings(
+ int index, com.google.ads.datamanager.v1.FieldWarning.Builder builderForValue) {
+ if (fieldWarningsBuilder_ == null) {
+ ensureFieldWarningsIsMutable();
+ fieldWarnings_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ fieldWarningsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ public Builder addFieldWarnings(com.google.ads.datamanager.v1.FieldWarning value) {
+ if (fieldWarningsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureFieldWarningsIsMutable();
+ fieldWarnings_.add(value);
+ onChanged();
+ } else {
+ fieldWarningsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ public Builder addFieldWarnings(int index, com.google.ads.datamanager.v1.FieldWarning value) {
+ if (fieldWarningsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureFieldWarningsIsMutable();
+ fieldWarnings_.add(index, value);
+ onChanged();
+ } else {
+ fieldWarningsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ public Builder addFieldWarnings(
+ com.google.ads.datamanager.v1.FieldWarning.Builder builderForValue) {
+ if (fieldWarningsBuilder_ == null) {
+ ensureFieldWarningsIsMutable();
+ fieldWarnings_.add(builderForValue.build());
+ onChanged();
+ } else {
+ fieldWarningsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ public Builder addFieldWarnings(
+ int index, com.google.ads.datamanager.v1.FieldWarning.Builder builderForValue) {
+ if (fieldWarningsBuilder_ == null) {
+ ensureFieldWarningsIsMutable();
+ fieldWarnings_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ fieldWarningsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ public Builder addAllFieldWarnings(
+ java.lang.Iterable extends com.google.ads.datamanager.v1.FieldWarning> values) {
+ if (fieldWarningsBuilder_ == null) {
+ ensureFieldWarningsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fieldWarnings_);
+ onChanged();
+ } else {
+ fieldWarningsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ public Builder clearFieldWarnings() {
+ if (fieldWarningsBuilder_ == null) {
+ fieldWarnings_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ } else {
+ fieldWarningsBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ public Builder removeFieldWarnings(int index) {
+ if (fieldWarningsBuilder_ == null) {
+ ensureFieldWarningsIsMutable();
+ fieldWarnings_.remove(index);
+ onChanged();
+ } else {
+ fieldWarningsBuilder_.remove(index);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ public com.google.ads.datamanager.v1.FieldWarning.Builder getFieldWarningsBuilder(int index) {
+ return internalGetFieldWarningsFieldBuilder().getBuilder(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ public com.google.ads.datamanager.v1.FieldWarningOrBuilder getFieldWarningsOrBuilder(
+ int index) {
+ if (fieldWarningsBuilder_ == null) {
+ return fieldWarnings_.get(index);
+ } else {
+ return fieldWarningsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ public java.util.List extends com.google.ads.datamanager.v1.FieldWarningOrBuilder>
+ getFieldWarningsOrBuilderList() {
+ if (fieldWarningsBuilder_ != null) {
+ return fieldWarningsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(fieldWarnings_);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ public com.google.ads.datamanager.v1.FieldWarning.Builder addFieldWarningsBuilder() {
+ return internalGetFieldWarningsFieldBuilder()
+ .addBuilder(com.google.ads.datamanager.v1.FieldWarning.getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ public com.google.ads.datamanager.v1.FieldWarning.Builder addFieldWarningsBuilder(int index) {
+ return internalGetFieldWarningsFieldBuilder()
+ .addBuilder(index, com.google.ads.datamanager.v1.FieldWarning.getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ public java.util.List
+ getFieldWarningsBuilderList() {
+ return internalGetFieldWarningsFieldBuilder().getBuilderList();
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilder<
+ com.google.ads.datamanager.v1.FieldWarning,
+ com.google.ads.datamanager.v1.FieldWarning.Builder,
+ com.google.ads.datamanager.v1.FieldWarningOrBuilder>
+ internalGetFieldWarningsFieldBuilder() {
+ if (fieldWarningsBuilder_ == null) {
+ fieldWarningsBuilder_ =
+ new com.google.protobuf.RepeatedFieldBuilder<
+ com.google.ads.datamanager.v1.FieldWarning,
+ com.google.ads.datamanager.v1.FieldWarning.Builder,
+ com.google.ads.datamanager.v1.FieldWarningOrBuilder>(
+ fieldWarnings_,
+ ((bitField0_ & 0x00000002) != 0),
+ getParentForChildren(),
+ isClean());
+ fieldWarnings_ = null;
+ }
+ return fieldWarningsBuilder_;
+ }
+
// @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.IngestAudienceMembersResponse)
}
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/IngestAudienceMembersResponseOrBuilder.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/IngestAudienceMembersResponseOrBuilder.java
index 29271b40cbf6..65673a718d76 100644
--- a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/IngestAudienceMembersResponseOrBuilder.java
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/IngestAudienceMembersResponseOrBuilder.java
@@ -51,4 +51,60 @@ public interface IngestAudienceMembersResponseOrBuilder
* @return The bytes for requestId.
*/
com.google.protobuf.ByteString getRequestIdBytes();
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ java.util.List getFieldWarningsList();
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ com.google.ads.datamanager.v1.FieldWarning getFieldWarnings(int index);
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ int getFieldWarningsCount();
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ java.util.List extends com.google.ads.datamanager.v1.FieldWarningOrBuilder>
+ getFieldWarningsOrBuilderList();
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ com.google.ads.datamanager.v1.FieldWarningOrBuilder getFieldWarningsOrBuilder(int index);
}
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/IngestEventsResponse.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/IngestEventsResponse.java
index 37297cc2806a..03abe947d37a 100644
--- a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/IngestEventsResponse.java
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/IngestEventsResponse.java
@@ -54,6 +54,7 @@ private IngestEventsResponse(com.google.protobuf.GeneratedMessage.Builder> bui
private IngestEventsResponse() {
requestId_ = "";
+ fieldWarnings_ = java.util.Collections.emptyList();
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
@@ -124,6 +125,82 @@ public com.google.protobuf.ByteString getRequestIdBytes() {
}
}
+ public static final int FIELD_WARNINGS_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private java.util.List fieldWarnings_;
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ @java.lang.Override
+ public java.util.List getFieldWarningsList() {
+ return fieldWarnings_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ @java.lang.Override
+ public java.util.List extends com.google.ads.datamanager.v1.FieldWarningOrBuilder>
+ getFieldWarningsOrBuilderList() {
+ return fieldWarnings_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ @java.lang.Override
+ public int getFieldWarningsCount() {
+ return fieldWarnings_.size();
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.FieldWarning getFieldWarnings(int index) {
+ return fieldWarnings_.get(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.FieldWarningOrBuilder getFieldWarningsOrBuilder(int index) {
+ return fieldWarnings_.get(index);
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -141,6 +218,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(requestId_)) {
com.google.protobuf.GeneratedMessage.writeString(output, 1, requestId_);
}
+ for (int i = 0; i < fieldWarnings_.size(); i++) {
+ output.writeMessage(2, fieldWarnings_.get(i));
+ }
getUnknownFields().writeTo(output);
}
@@ -153,6 +233,9 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(requestId_)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(1, requestId_);
}
+ for (int i = 0; i < fieldWarnings_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, fieldWarnings_.get(i));
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -170,6 +253,7 @@ public boolean equals(final java.lang.Object obj) {
(com.google.ads.datamanager.v1.IngestEventsResponse) obj;
if (!getRequestId().equals(other.getRequestId())) return false;
+ if (!getFieldWarningsList().equals(other.getFieldWarningsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -183,6 +267,10 @@ public int hashCode() {
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER;
hash = (53 * hash) + getRequestId().hashCode();
+ if (getFieldWarningsCount() > 0) {
+ hash = (37 * hash) + FIELD_WARNINGS_FIELD_NUMBER;
+ hash = (53 * hash) + getFieldWarningsList().hashCode();
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -325,6 +413,13 @@ public Builder clear() {
super.clear();
bitField0_ = 0;
requestId_ = "";
+ if (fieldWarningsBuilder_ == null) {
+ fieldWarnings_ = java.util.Collections.emptyList();
+ } else {
+ fieldWarnings_ = null;
+ fieldWarningsBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@@ -352,6 +447,7 @@ public com.google.ads.datamanager.v1.IngestEventsResponse build() {
public com.google.ads.datamanager.v1.IngestEventsResponse buildPartial() {
com.google.ads.datamanager.v1.IngestEventsResponse result =
new com.google.ads.datamanager.v1.IngestEventsResponse(this);
+ buildPartialRepeatedFields(result);
if (bitField0_ != 0) {
buildPartial0(result);
}
@@ -359,6 +455,19 @@ public com.google.ads.datamanager.v1.IngestEventsResponse buildPartial() {
return result;
}
+ private void buildPartialRepeatedFields(
+ com.google.ads.datamanager.v1.IngestEventsResponse result) {
+ if (fieldWarningsBuilder_ == null) {
+ if (((bitField0_ & 0x00000002) != 0)) {
+ fieldWarnings_ = java.util.Collections.unmodifiableList(fieldWarnings_);
+ bitField0_ = (bitField0_ & ~0x00000002);
+ }
+ result.fieldWarnings_ = fieldWarnings_;
+ } else {
+ result.fieldWarnings_ = fieldWarningsBuilder_.build();
+ }
+ }
+
private void buildPartial0(com.google.ads.datamanager.v1.IngestEventsResponse result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
@@ -384,6 +493,33 @@ public Builder mergeFrom(com.google.ads.datamanager.v1.IngestEventsResponse othe
bitField0_ |= 0x00000001;
onChanged();
}
+ if (fieldWarningsBuilder_ == null) {
+ if (!other.fieldWarnings_.isEmpty()) {
+ if (fieldWarnings_.isEmpty()) {
+ fieldWarnings_ = other.fieldWarnings_;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ } else {
+ ensureFieldWarningsIsMutable();
+ fieldWarnings_.addAll(other.fieldWarnings_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.fieldWarnings_.isEmpty()) {
+ if (fieldWarningsBuilder_.isEmpty()) {
+ fieldWarningsBuilder_.dispose();
+ fieldWarningsBuilder_ = null;
+ fieldWarnings_ = other.fieldWarnings_;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ fieldWarningsBuilder_ =
+ com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders
+ ? internalGetFieldWarningsFieldBuilder()
+ : null;
+ } else {
+ fieldWarningsBuilder_.addAllMessages(other.fieldWarnings_);
+ }
+ }
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -416,6 +552,19 @@ public Builder mergeFrom(
bitField0_ |= 0x00000001;
break;
} // case 10
+ case 18:
+ {
+ com.google.ads.datamanager.v1.FieldWarning m =
+ input.readMessage(
+ com.google.ads.datamanager.v1.FieldWarning.parser(), extensionRegistry);
+ if (fieldWarningsBuilder_ == null) {
+ ensureFieldWarningsIsMutable();
+ fieldWarnings_.add(m);
+ } else {
+ fieldWarningsBuilder_.addMessage(m);
+ }
+ break;
+ } // case 18
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -546,6 +695,378 @@ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) {
return this;
}
+ private java.util.List fieldWarnings_ =
+ java.util.Collections.emptyList();
+
+ private void ensureFieldWarningsIsMutable() {
+ if (!((bitField0_ & 0x00000002) != 0)) {
+ fieldWarnings_ =
+ new java.util.ArrayList(fieldWarnings_);
+ bitField0_ |= 0x00000002;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilder<
+ com.google.ads.datamanager.v1.FieldWarning,
+ com.google.ads.datamanager.v1.FieldWarning.Builder,
+ com.google.ads.datamanager.v1.FieldWarningOrBuilder>
+ fieldWarningsBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ public java.util.List getFieldWarningsList() {
+ if (fieldWarningsBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(fieldWarnings_);
+ } else {
+ return fieldWarningsBuilder_.getMessageList();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ public int getFieldWarningsCount() {
+ if (fieldWarningsBuilder_ == null) {
+ return fieldWarnings_.size();
+ } else {
+ return fieldWarningsBuilder_.getCount();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ public com.google.ads.datamanager.v1.FieldWarning getFieldWarnings(int index) {
+ if (fieldWarningsBuilder_ == null) {
+ return fieldWarnings_.get(index);
+ } else {
+ return fieldWarningsBuilder_.getMessage(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ public Builder setFieldWarnings(int index, com.google.ads.datamanager.v1.FieldWarning value) {
+ if (fieldWarningsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureFieldWarningsIsMutable();
+ fieldWarnings_.set(index, value);
+ onChanged();
+ } else {
+ fieldWarningsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ public Builder setFieldWarnings(
+ int index, com.google.ads.datamanager.v1.FieldWarning.Builder builderForValue) {
+ if (fieldWarningsBuilder_ == null) {
+ ensureFieldWarningsIsMutable();
+ fieldWarnings_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ fieldWarningsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ public Builder addFieldWarnings(com.google.ads.datamanager.v1.FieldWarning value) {
+ if (fieldWarningsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureFieldWarningsIsMutable();
+ fieldWarnings_.add(value);
+ onChanged();
+ } else {
+ fieldWarningsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ public Builder addFieldWarnings(int index, com.google.ads.datamanager.v1.FieldWarning value) {
+ if (fieldWarningsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureFieldWarningsIsMutable();
+ fieldWarnings_.add(index, value);
+ onChanged();
+ } else {
+ fieldWarningsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ public Builder addFieldWarnings(
+ com.google.ads.datamanager.v1.FieldWarning.Builder builderForValue) {
+ if (fieldWarningsBuilder_ == null) {
+ ensureFieldWarningsIsMutable();
+ fieldWarnings_.add(builderForValue.build());
+ onChanged();
+ } else {
+ fieldWarningsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ public Builder addFieldWarnings(
+ int index, com.google.ads.datamanager.v1.FieldWarning.Builder builderForValue) {
+ if (fieldWarningsBuilder_ == null) {
+ ensureFieldWarningsIsMutable();
+ fieldWarnings_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ fieldWarningsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ public Builder addAllFieldWarnings(
+ java.lang.Iterable extends com.google.ads.datamanager.v1.FieldWarning> values) {
+ if (fieldWarningsBuilder_ == null) {
+ ensureFieldWarningsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fieldWarnings_);
+ onChanged();
+ } else {
+ fieldWarningsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ public Builder clearFieldWarnings() {
+ if (fieldWarningsBuilder_ == null) {
+ fieldWarnings_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ } else {
+ fieldWarningsBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ public Builder removeFieldWarnings(int index) {
+ if (fieldWarningsBuilder_ == null) {
+ ensureFieldWarningsIsMutable();
+ fieldWarnings_.remove(index);
+ onChanged();
+ } else {
+ fieldWarningsBuilder_.remove(index);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ public com.google.ads.datamanager.v1.FieldWarning.Builder getFieldWarningsBuilder(int index) {
+ return internalGetFieldWarningsFieldBuilder().getBuilder(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ public com.google.ads.datamanager.v1.FieldWarningOrBuilder getFieldWarningsOrBuilder(
+ int index) {
+ if (fieldWarningsBuilder_ == null) {
+ return fieldWarnings_.get(index);
+ } else {
+ return fieldWarningsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ public java.util.List extends com.google.ads.datamanager.v1.FieldWarningOrBuilder>
+ getFieldWarningsOrBuilderList() {
+ if (fieldWarningsBuilder_ != null) {
+ return fieldWarningsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(fieldWarnings_);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ public com.google.ads.datamanager.v1.FieldWarning.Builder addFieldWarningsBuilder() {
+ return internalGetFieldWarningsFieldBuilder()
+ .addBuilder(com.google.ads.datamanager.v1.FieldWarning.getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ public com.google.ads.datamanager.v1.FieldWarning.Builder addFieldWarningsBuilder(int index) {
+ return internalGetFieldWarningsFieldBuilder()
+ .addBuilder(index, com.google.ads.datamanager.v1.FieldWarning.getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ public java.util.List
+ getFieldWarningsBuilderList() {
+ return internalGetFieldWarningsFieldBuilder().getBuilderList();
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilder<
+ com.google.ads.datamanager.v1.FieldWarning,
+ com.google.ads.datamanager.v1.FieldWarning.Builder,
+ com.google.ads.datamanager.v1.FieldWarningOrBuilder>
+ internalGetFieldWarningsFieldBuilder() {
+ if (fieldWarningsBuilder_ == null) {
+ fieldWarningsBuilder_ =
+ new com.google.protobuf.RepeatedFieldBuilder<
+ com.google.ads.datamanager.v1.FieldWarning,
+ com.google.ads.datamanager.v1.FieldWarning.Builder,
+ com.google.ads.datamanager.v1.FieldWarningOrBuilder>(
+ fieldWarnings_,
+ ((bitField0_ & 0x00000002) != 0),
+ getParentForChildren(),
+ isClean());
+ fieldWarnings_ = null;
+ }
+ return fieldWarningsBuilder_;
+ }
+
// @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.IngestEventsResponse)
}
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/IngestEventsResponseOrBuilder.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/IngestEventsResponseOrBuilder.java
index 5a10e23242ac..ab740796ce95 100644
--- a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/IngestEventsResponseOrBuilder.java
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/IngestEventsResponseOrBuilder.java
@@ -51,4 +51,60 @@ public interface IngestEventsResponseOrBuilder
* @return The bytes for requestId.
*/
com.google.protobuf.ByteString getRequestIdBytes();
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ java.util.List getFieldWarningsList();
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ com.google.ads.datamanager.v1.FieldWarning getFieldWarnings(int index);
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ int getFieldWarningsCount();
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ java.util.List extends com.google.ads.datamanager.v1.FieldWarningOrBuilder>
+ getFieldWarningsOrBuilderList();
+
+ /**
+ *
+ *
+ *
+ * Detailed row-level warnings with field paths.
+ *
+ *
+ * repeated .google.ads.datamanager.v1.FieldWarning field_warnings = 2;
+ */
+ com.google.ads.datamanager.v1.FieldWarningOrBuilder getFieldWarningsOrBuilder(int index);
}
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/IngestedUserListInfo.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/IngestedUserListInfo.java
index cf49da08d150..69ed1c9c99dd 100644
--- a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/IngestedUserListInfo.java
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/IngestedUserListInfo.java
@@ -135,6 +135,7 @@ public enum UploadKeyType implements com.google.protobuf.ProtocolMessageEnum {
*
*
* Data Management Platform IDs:
+ *
* - Google User ID
* - Partner Provided ID
* - Publisher Provided ID
@@ -143,6 +144,7 @@ public enum UploadKeyType implements com.google.protobuf.ProtocolMessageEnum {
* - Roku ID
* - Amazon Fire TV ID
* - Xbox or Microsoft ID
+ * - Generic Device ID
*
*
* PSEUDONYMOUS_ID = 5;
@@ -221,6 +223,7 @@ public enum UploadKeyType implements com.google.protobuf.ProtocolMessageEnum {
*
*
* Data Management Platform IDs:
+ *
* - Google User ID
* - Partner Provided ID
* - Publisher Provided ID
@@ -229,6 +232,7 @@ public enum UploadKeyType implements com.google.protobuf.ProtocolMessageEnum {
* - Roku ID
* - Amazon Fire TV ID
* - Xbox or Microsoft ID
+ * - Generic Device ID
*
*
* PSEUDONYMOUS_ID = 5;
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/IngestionServiceProto.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/IngestionServiceProto.java
index 7631b3f51964..83088007a218 100644
--- a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/IngestionServiceProto.java
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/IngestionServiceProto.java
@@ -56,6 +56,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_ads_datamanager_v1_RemoveAudienceMembersResponse_descriptor;
static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_google_ads_datamanager_v1_RemoveAudienceMembersResponse_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_ads_datamanager_v1_RemoveAllAudienceMembersRequest_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_ads_datamanager_v1_RemoveAllAudienceMembersRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_ads_datamanager_v1_RemoveAllAudienceMembersResponse_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_ads_datamanager_v1_RemoveAllAudienceMembersResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_ads_datamanager_v1_IngestEventsRequest_descriptor;
static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
@@ -97,85 +105,101 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "oto\032+google/ads/datamanager/v1/destinati"
+ "on.proto\032/google/ads/datamanager/v1/encr"
+ "yption_info.proto\032%google/ads/datamanage"
- + "r/v1/event.proto\032>google/ads/datamanager"
- + "/v1/request_status_per_destination.proto"
- + "\0320google/ads/datamanager/v1/terms_of_ser"
- + "vice.proto\032\034google/api/annotations.proto"
- + "\032\027google/api/client.proto\032\037google/api/fi"
- + "eld_behavior.proto\"\320\003\n\034IngestAudienceMem"
- + "bersRequest\022A\n\014destinations\030\001 \003(\0132&.goog"
- + "le.ads.datamanager.v1.DestinationB\003\340A\002\022H"
- + "\n\020audience_members\030\002 \003(\0132).google.ads.da"
- + "tamanager.v1.AudienceMemberB\003\340A\002\0228\n\007cons"
- + "ent\030\003 \001(\0132\".google.ads.datamanager.v1.Co"
- + "nsentB\003\340A\001\022\032\n\rvalidate_only\030\004 \001(\010B\003\340A\001\022:"
- + "\n\010encoding\030\005 \001(\0162#.google.ads.datamanage"
- + "r.v1.EncodingB\003\340A\001\022G\n\017encryption_info\030\006 "
- + "\001(\0132).google.ads.datamanager.v1.Encrypti"
- + "onInfoB\003\340A\001\022H\n\020terms_of_service\030\007 \001(\0132)."
- + "google.ads.datamanager.v1.TermsOfService"
- + "B\003\340A\001\"3\n\035IngestAudienceMembersResponse\022\022"
- + "\n\nrequest_id\030\001 \001(\t\"\314\002\n\034RemoveAudienceMem"
- + "bersRequest\022A\n\014destinations\030\001 \003(\0132&.goog"
- + "le.ads.datamanager.v1.DestinationB\003\340A\002\022H"
- + "\n\020audience_members\030\002 \003(\0132).google.ads.da"
- + "tamanager.v1.AudienceMemberB\003\340A\002\022\032\n\rvali"
- + "date_only\030\003 \001(\010B\003\340A\001\022:\n\010encoding\030\004 \001(\0162#"
- + ".google.ads.datamanager.v1.EncodingB\003\340A\001"
- + "\022G\n\017encryption_info\030\005 \001(\0132).google.ads.d"
- + "atamanager.v1.EncryptionInfoB\003\340A\001\"3\n\035Rem"
- + "oveAudienceMembersResponse\022\022\n\nrequest_id"
- + "\030\001 \001(\t\"\352\002\n\023IngestEventsRequest\022A\n\014destin"
- + "ations\030\001 \003(\0132&.google.ads.datamanager.v1"
- + ".DestinationB\003\340A\002\0225\n\006events\030\002 \003(\0132 .goog"
- + "le.ads.datamanager.v1.EventB\003\340A\002\0228\n\007cons"
- + "ent\030\003 \001(\0132\".google.ads.datamanager.v1.Co"
- + "nsentB\003\340A\001\022\032\n\rvalidate_only\030\004 \001(\010B\003\340A\001\022:"
- + "\n\010encoding\030\005 \001(\0162#.google.ads.datamanage"
- + "r.v1.EncodingB\003\340A\001\022G\n\017encryption_info\030\006 "
- + "\001(\0132).google.ads.datamanager.v1.Encrypti"
- + "onInfoB\003\340A\001\"*\n\024IngestEventsResponse\022\022\n\nr"
- + "equest_id\030\001 \001(\t\"\270\001\n\025IngestAdEventsReques"
- + "t\022:\n\tad_events\030\001 \003(\0132\".google.ads.datama"
- + "nager.v1.AdEventB\003\340A\002\022G\n\017encryption_info"
- + "\030\002 \001(\0132).google.ads.datamanager.v1.Encry"
- + "ptionInfoB\003\340A\001\022\032\n\rvalidate_only\030\003 \001(\010B\003\340"
- + "A\001\"\030\n\026IngestAdEventsResponse\"7\n\034Retrieve"
- + "RequestStatusRequest\022\027\n\nrequest_id\030\001 \001(\t"
- + "B\003\340A\002\"\177\n\035RetrieveRequestStatusResponse\022^"
- + "\n\036request_status_per_destination\030\001 \003(\01326"
- + ".google.ads.datamanager.v1.RequestStatus"
- + "PerDestination*9\n\010Encoding\022\030\n\024ENCODING_U"
- + "NSPECIFIED\020\000\022\007\n\003HEX\020\001\022\n\n\006BASE64\020\0022\240\007\n\020In"
- + "gestionService\022\261\001\n\025IngestAudienceMembers"
- + "\0227.google.ads.datamanager.v1.IngestAudie"
- + "nceMembersRequest\0328.google.ads.datamanag"
- + "er.v1.IngestAudienceMembersResponse\"%\202\323\344"
- + "\223\002\037\"\032/v1/audienceMembers:ingest:\001*\022\261\001\n\025R"
- + "emoveAudienceMembers\0227.google.ads.datama"
- + "nager.v1.RemoveAudienceMembersRequest\0328."
- + "google.ads.datamanager.v1.RemoveAudience"
- + "MembersResponse\"%\202\323\344\223\002\037\"\032/v1/audienceMem"
- + "bers:remove:\001*\022\215\001\n\014IngestEvents\022..google"
- + ".ads.datamanager.v1.IngestEventsRequest\032"
- + "/.google.ads.datamanager.v1.IngestEvents"
- + "Response\"\034\202\323\344\223\002\026\"\021/v1/events:ingest:\001*\022\225"
- + "\001\n\016IngestAdEvents\0220.google.ads.datamanag"
- + "er.v1.IngestAdEventsRequest\0321.google.ads"
- + ".datamanager.v1.IngestAdEventsResponse\"\036"
- + "\202\323\344\223\002\030\"\023/v1/adEvents:ingest:\001*\022\256\001\n\025Retri"
- + "eveRequestStatus\0227.google.ads.datamanage"
- + "r.v1.RetrieveRequestStatusRequest\0328.goog"
- + "le.ads.datamanager.v1.RetrieveRequestSta"
- + "tusResponse\"\"\202\323\344\223\002\034\022\032/v1/requestStatus:r"
- + "etrieve\032K\312A\032datamanager.googleapis.com\322A"
- + "+https://www.googleapis.com/auth/dataman"
- + "agerB\322\001\n\035com.google.ads.datamanager.v1B\025"
- + "IngestionServiceProtoP\001ZAcloud.google.co"
- + "m/go/datamanager/apiv1/datamanagerpb;dat"
- + "amanagerpb\252\002\031Google.Ads.DataManager.V1\312\002"
- + "\031Google\\Ads\\DataManager\\V1\352\002\034Google::Ads"
- + "::DataManager::V1b\006proto3"
+ + "r/v1/event.proto\0321google/ads/datamanager"
+ + "/v1/processing_errors.proto\032>google/ads/"
+ + "datamanager/v1/request_status_per_destin"
+ + "ation.proto\0320google/ads/datamanager/v1/t"
+ + "erms_of_service.proto\032\034google/api/annota"
+ + "tions.proto\032\027google/api/client.proto\032\037go"
+ + "ogle/api/field_behavior.proto\032\037google/pr"
+ + "otobuf/timestamp.proto\"\320\003\n\034IngestAudienc"
+ + "eMembersRequest\022A\n\014destinations\030\001 \003(\0132&."
+ + "google.ads.datamanager.v1.DestinationB\003\340"
+ + "A\002\022H\n\020audience_members\030\002 \003(\0132).google.ad"
+ + "s.datamanager.v1.AudienceMemberB\003\340A\002\0228\n\007"
+ + "consent\030\003 \001(\0132\".google.ads.datamanager.v"
+ + "1.ConsentB\003\340A\001\022\032\n\rvalidate_only\030\004 \001(\010B\003\340"
+ + "A\001\022:\n\010encoding\030\005 \001(\0162#.google.ads.datama"
+ + "nager.v1.EncodingB\003\340A\001\022G\n\017encryption_inf"
+ + "o\030\006 \001(\0132).google.ads.datamanager.v1.Encr"
+ + "yptionInfoB\003\340A\001\022H\n\020terms_of_service\030\007 \001("
+ + "\0132).google.ads.datamanager.v1.TermsOfSer"
+ + "viceB\003\340A\001\"t\n\035IngestAudienceMembersRespon"
+ + "se\022\022\n\nrequest_id\030\001 \001(\t\022?\n\016field_warnings"
+ + "\030\002 \003(\0132\'.google.ads.datamanager.v1.Field"
+ + "Warning\"\314\002\n\034RemoveAudienceMembersRequest"
+ + "\022A\n\014destinations\030\001 \003(\0132&.google.ads.data"
+ + "manager.v1.DestinationB\003\340A\002\022H\n\020audience_"
+ + "members\030\002 \003(\0132).google.ads.datamanager.v"
+ + "1.AudienceMemberB\003\340A\002\022\032\n\rvalidate_only\030\003"
+ + " \001(\010B\003\340A\001\022:\n\010encoding\030\004 \001(\0162#.google.ads"
+ + ".datamanager.v1.EncodingB\003\340A\001\022G\n\017encrypt"
+ + "ion_info\030\005 \001(\0132).google.ads.datamanager."
+ + "v1.EncryptionInfoB\003\340A\001\"3\n\035RemoveAudience"
+ + "MembersResponse\022\022\n\nrequest_id\030\001 \001(\t\"\274\001\n\037"
+ + "RemoveAllAudienceMembersRequest\022A\n\014desti"
+ + "nations\030\001 \003(\0132&.google.ads.datamanager.v"
+ + "1.DestinationB\003\340A\002\022:\n\021remove_as_of_time\030"
+ + "\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\001\022\032"
+ + "\n\rvalidate_only\030\003 \001(\010B\003\340A\001\"6\n RemoveAllA"
+ + "udienceMembersResponse\022\022\n\nrequest_id\030\001 \001"
+ + "(\t\"\352\002\n\023IngestEventsRequest\022A\n\014destinatio"
+ + "ns\030\001 \003(\0132&.google.ads.datamanager.v1.Des"
+ + "tinationB\003\340A\002\0225\n\006events\030\002 \003(\0132 .google.a"
+ + "ds.datamanager.v1.EventB\003\340A\002\0228\n\007consent\030"
+ + "\003 \001(\0132\".google.ads.datamanager.v1.Consen"
+ + "tB\003\340A\001\022\032\n\rvalidate_only\030\004 \001(\010B\003\340A\001\022:\n\010en"
+ + "coding\030\005 \001(\0162#.google.ads.datamanager.v1"
+ + ".EncodingB\003\340A\001\022G\n\017encryption_info\030\006 \001(\0132"
+ + ").google.ads.datamanager.v1.EncryptionIn"
+ + "foB\003\340A\001\"k\n\024IngestEventsResponse\022\022\n\nreque"
+ + "st_id\030\001 \001(\t\022?\n\016field_warnings\030\002 \003(\0132\'.go"
+ + "ogle.ads.datamanager.v1.FieldWarning\"\272\001\n"
+ + "\025IngestAdEventsRequest\022:\n\tad_events\030\001 \003("
+ + "\0132\".google.ads.datamanager.v1.AdEventB\003\340"
+ + "A\002\022G\n\017encryption_info\030\002 \001(\0132).google.ads"
+ + ".datamanager.v1.EncryptionInfoB\003\340A\002\022\034\n\rv"
+ + "alidate_only\030\003 \001(\010B\005\030\001\340A\001\"\030\n\026IngestAdEve"
+ + "ntsResponse\"7\n\034RetrieveRequestStatusRequ"
+ + "est\022\027\n\nrequest_id\030\001 \001(\tB\003\340A\002\"\177\n\035Retrieve"
+ + "RequestStatusResponse\022^\n\036request_status_"
+ + "per_destination\030\001 \003(\01326.google.ads.datam"
+ + "anager.v1.RequestStatusPerDestination*9\n"
+ + "\010Encoding\022\030\n\024ENCODING_UNSPECIFIED\020\000\022\007\n\003H"
+ + "EX\020\001\022\n\n\006BASE64\020\0022\340\010\n\020IngestionService\022\261\001"
+ + "\n\025IngestAudienceMembers\0227.google.ads.dat"
+ + "amanager.v1.IngestAudienceMembersRequest"
+ + "\0328.google.ads.datamanager.v1.IngestAudie"
+ + "nceMembersResponse\"%\202\323\344\223\002\037\"\032/v1/audience"
+ + "Members:ingest:\001*\022\261\001\n\025RemoveAudienceMemb"
+ + "ers\0227.google.ads.datamanager.v1.RemoveAu"
+ + "dienceMembersRequest\0328.google.ads.datama"
+ + "nager.v1.RemoveAudienceMembersResponse\"%"
+ + "\202\323\344\223\002\037\"\032/v1/audienceMembers:remove:\001*\022\275\001"
+ + "\n\030RemoveAllAudienceMembers\022:.google.ads."
+ + "datamanager.v1.RemoveAllAudienceMembersR"
+ + "equest\032;.google.ads.datamanager.v1.Remov"
+ + "eAllAudienceMembersResponse\"(\202\323\344\223\002\"\"\035/v1"
+ + "/audienceMembers:removeAll:\001*\022\215\001\n\014Ingest"
+ + "Events\022..google.ads.datamanager.v1.Inges"
+ + "tEventsRequest\032/.google.ads.datamanager."
+ + "v1.IngestEventsResponse\"\034\202\323\344\223\002\026\"\021/v1/eve"
+ + "nts:ingest:\001*\022\225\001\n\016IngestAdEvents\0220.googl"
+ + "e.ads.datamanager.v1.IngestAdEventsReque"
+ + "st\0321.google.ads.datamanager.v1.IngestAdE"
+ + "ventsResponse\"\036\202\323\344\223\002\030\"\023/v1/adEvents:inge"
+ + "st:\001*\022\256\001\n\025RetrieveRequestStatus\0227.google"
+ + ".ads.datamanager.v1.RetrieveRequestStatu"
+ + "sRequest\0328.google.ads.datamanager.v1.Ret"
+ + "rieveRequestStatusResponse\"\"\202\323\344\223\002\034\022\032/v1/"
+ + "requestStatus:retrieve\032K\312A\032datamanager.g"
+ + "oogleapis.com\322A+https://www.googleapis.c"
+ + "om/auth/datamanagerB\322\001\n\035com.google.ads.d"
+ + "atamanager.v1B\025IngestionServiceProtoP\001ZA"
+ + "cloud.google.com/go/datamanager/apiv1/da"
+ + "tamanagerpb;datamanagerpb\252\002\031Google.Ads.D"
+ + "ataManager.V1\312\002\031Google\\Ads\\DataManager\\V"
+ + "1\352\002\034Google::Ads::DataManager::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -187,11 +211,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.ads.datamanager.v1.DestinationProto.getDescriptor(),
com.google.ads.datamanager.v1.EncryptionInfoProto.getDescriptor(),
com.google.ads.datamanager.v1.EventProto.getDescriptor(),
+ com.google.ads.datamanager.v1.ProcessingErrorsProto.getDescriptor(),
com.google.ads.datamanager.v1.RequestStatusPerDestinationProto.getDescriptor(),
com.google.ads.datamanager.v1.TermsOfServiceProto.getDescriptor(),
com.google.api.AnnotationsProto.getDescriptor(),
com.google.api.ClientProto.getDescriptor(),
com.google.api.FieldBehaviorProto.getDescriptor(),
+ com.google.protobuf.TimestampProto.getDescriptor(),
});
internal_static_google_ads_datamanager_v1_IngestAudienceMembersRequest_descriptor =
getDescriptor().getMessageType(0);
@@ -213,7 +239,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_ads_datamanager_v1_IngestAudienceMembersResponse_descriptor,
new java.lang.String[] {
- "RequestId",
+ "RequestId", "FieldWarnings",
});
internal_static_google_ads_datamanager_v1_RemoveAudienceMembersRequest_descriptor =
getDescriptor().getMessageType(2);
@@ -231,8 +257,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"RequestId",
});
- internal_static_google_ads_datamanager_v1_IngestEventsRequest_descriptor =
+ internal_static_google_ads_datamanager_v1_RemoveAllAudienceMembersRequest_descriptor =
getDescriptor().getMessageType(4);
+ internal_static_google_ads_datamanager_v1_RemoveAllAudienceMembersRequest_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_ads_datamanager_v1_RemoveAllAudienceMembersRequest_descriptor,
+ new java.lang.String[] {
+ "Destinations", "RemoveAsOfTime", "ValidateOnly",
+ });
+ internal_static_google_ads_datamanager_v1_RemoveAllAudienceMembersResponse_descriptor =
+ getDescriptor().getMessageType(5);
+ internal_static_google_ads_datamanager_v1_RemoveAllAudienceMembersResponse_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_google_ads_datamanager_v1_RemoveAllAudienceMembersResponse_descriptor,
+ new java.lang.String[] {
+ "RequestId",
+ });
+ internal_static_google_ads_datamanager_v1_IngestEventsRequest_descriptor =
+ getDescriptor().getMessageType(6);
internal_static_google_ads_datamanager_v1_IngestEventsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_ads_datamanager_v1_IngestEventsRequest_descriptor,
@@ -240,15 +282,15 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Destinations", "Events", "Consent", "ValidateOnly", "Encoding", "EncryptionInfo",
});
internal_static_google_ads_datamanager_v1_IngestEventsResponse_descriptor =
- getDescriptor().getMessageType(5);
+ getDescriptor().getMessageType(7);
internal_static_google_ads_datamanager_v1_IngestEventsResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_ads_datamanager_v1_IngestEventsResponse_descriptor,
new java.lang.String[] {
- "RequestId",
+ "RequestId", "FieldWarnings",
});
internal_static_google_ads_datamanager_v1_IngestAdEventsRequest_descriptor =
- getDescriptor().getMessageType(6);
+ getDescriptor().getMessageType(8);
internal_static_google_ads_datamanager_v1_IngestAdEventsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_ads_datamanager_v1_IngestAdEventsRequest_descriptor,
@@ -256,13 +298,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"AdEvents", "EncryptionInfo", "ValidateOnly",
});
internal_static_google_ads_datamanager_v1_IngestAdEventsResponse_descriptor =
- getDescriptor().getMessageType(7);
+ getDescriptor().getMessageType(9);
internal_static_google_ads_datamanager_v1_IngestAdEventsResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_ads_datamanager_v1_IngestAdEventsResponse_descriptor,
new java.lang.String[] {});
internal_static_google_ads_datamanager_v1_RetrieveRequestStatusRequest_descriptor =
- getDescriptor().getMessageType(8);
+ getDescriptor().getMessageType(10);
internal_static_google_ads_datamanager_v1_RetrieveRequestStatusRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_ads_datamanager_v1_RetrieveRequestStatusRequest_descriptor,
@@ -270,7 +312,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"RequestId",
});
internal_static_google_ads_datamanager_v1_RetrieveRequestStatusResponse_descriptor =
- getDescriptor().getMessageType(9);
+ getDescriptor().getMessageType(11);
internal_static_google_ads_datamanager_v1_RetrieveRequestStatusResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_google_ads_datamanager_v1_RetrieveRequestStatusResponse_descriptor,
@@ -284,11 +326,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.ads.datamanager.v1.DestinationProto.getDescriptor();
com.google.ads.datamanager.v1.EncryptionInfoProto.getDescriptor();
com.google.ads.datamanager.v1.EventProto.getDescriptor();
+ com.google.ads.datamanager.v1.ProcessingErrorsProto.getDescriptor();
com.google.ads.datamanager.v1.RequestStatusPerDestinationProto.getDescriptor();
com.google.ads.datamanager.v1.TermsOfServiceProto.getDescriptor();
com.google.api.AnnotationsProto.getDescriptor();
com.google.api.ClientProto.getDescriptor();
com.google.api.FieldBehaviorProto.getDescriptor();
+ com.google.protobuf.TimestampProto.getDescriptor();
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(com.google.api.ClientProto.defaultHost);
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ListUserListDirectLicensesRequest.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ListUserListDirectLicensesRequest.java
index c557236bb195..e4a7e08ec279 100644
--- a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ListUserListDirectLicensesRequest.java
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ListUserListDirectLicensesRequest.java
@@ -160,6 +160,10 @@ public com.google.protobuf.ByteString getParentBytes() {
* - `<`
* - `<=`
*
+ * **Supported Functions:**
+ * - `IN(field, value1, value2, ...)`: returns true if the field matches any
+ * of the values. Example: `IN(user_list_id, 123, 456)`
+ *
* **Unsupported Fields:**
*
* - `name` (use get method instead)
@@ -206,6 +210,10 @@ public java.lang.String getFilter() {
* - `<`
* - `<=`
*
+ * **Supported Functions:**
+ * - `IN(field, value1, value2, ...)`: returns true if the field matches any
+ * of the values. Example: `IN(user_list_id, 123, 456)`
+ *
* **Unsupported Fields:**
*
* - `name` (use get method instead)
@@ -854,6 +862,10 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
* - `<`
* - `<=`
*
+ * **Supported Functions:**
+ * - `IN(field, value1, value2, ...)`: returns true if the field matches any
+ * of the values. Example: `IN(user_list_id, 123, 456)`
+ *
* **Unsupported Fields:**
*
* - `name` (use get method instead)
@@ -899,6 +911,10 @@ public java.lang.String getFilter() {
* - `<`
* - `<=`
*
+ * **Supported Functions:**
+ * - `IN(field, value1, value2, ...)`: returns true if the field matches any
+ * of the values. Example: `IN(user_list_id, 123, 456)`
+ *
* **Unsupported Fields:**
*
* - `name` (use get method instead)
@@ -944,6 +960,10 @@ public com.google.protobuf.ByteString getFilterBytes() {
* - `<`
* - `<=`
*
+ * **Supported Functions:**
+ * - `IN(field, value1, value2, ...)`: returns true if the field matches any
+ * of the values. Example: `IN(user_list_id, 123, 456)`
+ *
* **Unsupported Fields:**
*
* - `name` (use get method instead)
@@ -988,6 +1008,10 @@ public Builder setFilter(java.lang.String value) {
* - `<`
* - `<=`
*
+ * **Supported Functions:**
+ * - `IN(field, value1, value2, ...)`: returns true if the field matches any
+ * of the values. Example: `IN(user_list_id, 123, 456)`
+ *
* **Unsupported Fields:**
*
* - `name` (use get method instead)
@@ -1028,6 +1052,10 @@ public Builder clearFilter() {
* - `<`
* - `<=`
*
+ * **Supported Functions:**
+ * - `IN(field, value1, value2, ...)`: returns true if the field matches any
+ * of the values. Example: `IN(user_list_id, 123, 456)`
+ *
* **Unsupported Fields:**
*
* - `name` (use get method instead)
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ListUserListDirectLicensesRequestOrBuilder.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ListUserListDirectLicensesRequestOrBuilder.java
index 260ea3ae6609..db989f4d35ac 100644
--- a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ListUserListDirectLicensesRequestOrBuilder.java
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ListUserListDirectLicensesRequestOrBuilder.java
@@ -79,6 +79,10 @@ public interface ListUserListDirectLicensesRequestOrBuilder
* - `<`
* - `<=`
*
+ * **Supported Functions:**
+ * - `IN(field, value1, value2, ...)`: returns true if the field matches any
+ * of the values. Example: `IN(user_list_id, 123, 456)`
+ *
* **Unsupported Fields:**
*
* - `name` (use get method instead)
@@ -114,6 +118,10 @@ public interface ListUserListDirectLicensesRequestOrBuilder
* - `<`
* - `<=`
*
+ * **Supported Functions:**
+ * - `IN(field, value1, value2, ...)`: returns true if the field matches any
+ * of the values. Example: `IN(user_list_id, 123, 456)`
+ *
* **Unsupported Fields:**
*
* - `name` (use get method instead)
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ListUserListGlobalLicenseCustomerInfosRequest.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ListUserListGlobalLicenseCustomerInfosRequest.java
index b401603a70f5..4c1b211b5b0d 100644
--- a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ListUserListGlobalLicenseCustomerInfosRequest.java
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ListUserListGlobalLicenseCustomerInfosRequest.java
@@ -170,6 +170,10 @@ public com.google.protobuf.ByteString getParentBytes() {
* - `<`
* - `<=`
*
+ * **Supported Functions:**
+ * - `IN(field, value1, value2, ...)`: returns true if the field matches any
+ * of the values. Example: `IN(user_list_id, 123, 456)`
+ *
* **Unsupported Fields:**
*
* - `name` (use get method instead)
@@ -216,6 +220,10 @@ public java.lang.String getFilter() {
* - `<`
* - `<=`
*
+ * **Supported Functions:**
+ * - `IN(field, value1, value2, ...)`: returns true if the field matches any
+ * of the values. Example: `IN(user_list_id, 123, 456)`
+ *
* **Unsupported Fields:**
*
* - `name` (use get method instead)
@@ -898,6 +906,10 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
* - `<`
* - `<=`
*
+ * **Supported Functions:**
+ * - `IN(field, value1, value2, ...)`: returns true if the field matches any
+ * of the values. Example: `IN(user_list_id, 123, 456)`
+ *
* **Unsupported Fields:**
*
* - `name` (use get method instead)
@@ -943,6 +955,10 @@ public java.lang.String getFilter() {
* - `<`
* - `<=`
*
+ * **Supported Functions:**
+ * - `IN(field, value1, value2, ...)`: returns true if the field matches any
+ * of the values. Example: `IN(user_list_id, 123, 456)`
+ *
* **Unsupported Fields:**
*
* - `name` (use get method instead)
@@ -988,6 +1004,10 @@ public com.google.protobuf.ByteString getFilterBytes() {
* - `<`
* - `<=`
*
+ * **Supported Functions:**
+ * - `IN(field, value1, value2, ...)`: returns true if the field matches any
+ * of the values. Example: `IN(user_list_id, 123, 456)`
+ *
* **Unsupported Fields:**
*
* - `name` (use get method instead)
@@ -1032,6 +1052,10 @@ public Builder setFilter(java.lang.String value) {
* - `<`
* - `<=`
*
+ * **Supported Functions:**
+ * - `IN(field, value1, value2, ...)`: returns true if the field matches any
+ * of the values. Example: `IN(user_list_id, 123, 456)`
+ *
* **Unsupported Fields:**
*
* - `name` (use get method instead)
@@ -1072,6 +1096,10 @@ public Builder clearFilter() {
* - `<`
* - `<=`
*
+ * **Supported Functions:**
+ * - `IN(field, value1, value2, ...)`: returns true if the field matches any
+ * of the values. Example: `IN(user_list_id, 123, 456)`
+ *
* **Unsupported Fields:**
*
* - `name` (use get method instead)
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ListUserListGlobalLicenseCustomerInfosRequestOrBuilder.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ListUserListGlobalLicenseCustomerInfosRequestOrBuilder.java
index b46428ec6bb3..ca543f2a5a0e 100644
--- a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ListUserListGlobalLicenseCustomerInfosRequestOrBuilder.java
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ListUserListGlobalLicenseCustomerInfosRequestOrBuilder.java
@@ -87,6 +87,10 @@ public interface ListUserListGlobalLicenseCustomerInfosRequestOrBuilder
* - `<`
* - `<=`
*
+ * **Supported Functions:**
+ * - `IN(field, value1, value2, ...)`: returns true if the field matches any
+ * of the values. Example: `IN(user_list_id, 123, 456)`
+ *
* **Unsupported Fields:**
*
* - `name` (use get method instead)
@@ -122,6 +126,10 @@ public interface ListUserListGlobalLicenseCustomerInfosRequestOrBuilder
* - `<`
* - `<=`
*
+ * **Supported Functions:**
+ * - `IN(field, value1, value2, ...)`: returns true if the field matches any
+ * of the values. Example: `IN(user_list_id, 123, 456)`
+ *
* **Unsupported Fields:**
*
* - `name` (use get method instead)
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ListUserListGlobalLicensesRequest.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ListUserListGlobalLicensesRequest.java
index 0e7343ac2dee..b86cb81415cb 100644
--- a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ListUserListGlobalLicensesRequest.java
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ListUserListGlobalLicensesRequest.java
@@ -160,6 +160,10 @@ public com.google.protobuf.ByteString getParentBytes() {
* - `<`
* - `<=`
*
+ * **Supported Functions:**
+ * - `IN(field, value1, value2, ...)`: returns true if the field matches any
+ * of the values. Example: `IN(user_list_id, 123, 456)`
+ *
* **Unsupported Fields:**
*
* - `name` (use get method instead)
@@ -206,6 +210,10 @@ public java.lang.String getFilter() {
* - `<`
* - `<=`
*
+ * **Supported Functions:**
+ * - `IN(field, value1, value2, ...)`: returns true if the field matches any
+ * of the values. Example: `IN(user_list_id, 123, 456)`
+ *
* **Unsupported Fields:**
*
* - `name` (use get method instead)
@@ -854,6 +862,10 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
* - `<`
* - `<=`
*
+ * **Supported Functions:**
+ * - `IN(field, value1, value2, ...)`: returns true if the field matches any
+ * of the values. Example: `IN(user_list_id, 123, 456)`
+ *
* **Unsupported Fields:**
*
* - `name` (use get method instead)
@@ -899,6 +911,10 @@ public java.lang.String getFilter() {
* - `<`
* - `<=`
*
+ * **Supported Functions:**
+ * - `IN(field, value1, value2, ...)`: returns true if the field matches any
+ * of the values. Example: `IN(user_list_id, 123, 456)`
+ *
* **Unsupported Fields:**
*
* - `name` (use get method instead)
@@ -944,6 +960,10 @@ public com.google.protobuf.ByteString getFilterBytes() {
* - `<`
* - `<=`
*
+ * **Supported Functions:**
+ * - `IN(field, value1, value2, ...)`: returns true if the field matches any
+ * of the values. Example: `IN(user_list_id, 123, 456)`
+ *
* **Unsupported Fields:**
*
* - `name` (use get method instead)
@@ -988,6 +1008,10 @@ public Builder setFilter(java.lang.String value) {
* - `<`
* - `<=`
*
+ * **Supported Functions:**
+ * - `IN(field, value1, value2, ...)`: returns true if the field matches any
+ * of the values. Example: `IN(user_list_id, 123, 456)`
+ *
* **Unsupported Fields:**
*
* - `name` (use get method instead)
@@ -1028,6 +1052,10 @@ public Builder clearFilter() {
* - `<`
* - `<=`
*
+ * **Supported Functions:**
+ * - `IN(field, value1, value2, ...)`: returns true if the field matches any
+ * of the values. Example: `IN(user_list_id, 123, 456)`
+ *
* **Unsupported Fields:**
*
* - `name` (use get method instead)
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ListUserListGlobalLicensesRequestOrBuilder.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ListUserListGlobalLicensesRequestOrBuilder.java
index ba286dc4e6ff..5d25ff8d5065 100644
--- a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ListUserListGlobalLicensesRequestOrBuilder.java
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ListUserListGlobalLicensesRequestOrBuilder.java
@@ -79,6 +79,10 @@ public interface ListUserListGlobalLicensesRequestOrBuilder
* - `<`
* - `<=`
*
+ * **Supported Functions:**
+ * - `IN(field, value1, value2, ...)`: returns true if the field matches any
+ * of the values. Example: `IN(user_list_id, 123, 456)`
+ *
* **Unsupported Fields:**
*
* - `name` (use get method instead)
@@ -114,6 +118,10 @@ public interface ListUserListGlobalLicensesRequestOrBuilder
* - `<`
* - `<=`
*
+ * **Supported Functions:**
+ * - `IN(field, value1, value2, ...)`: returns true if the field matches any
+ * of the values. Example: `IN(user_list_id, 123, 456)`
+ *
* **Unsupported Fields:**
*
* - `name` (use get method instead)
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ListUserListsRequest.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ListUserListsRequest.java
index 6ccfb22d90b7..b5d207aa8f1b 100644
--- a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ListUserListsRequest.java
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ListUserListsRequest.java
@@ -241,6 +241,10 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
* - `<=`
* - `:` (has)
*
+ * **Supported Functions:**
+ * - `IN(field, value1, value2, ...)`: returns true if the field matches any
+ * of the values. Example: `IN(display_name, "name1", "name2")`
+ *
* Supported fields:
*
* - `id`
@@ -291,6 +295,10 @@ public java.lang.String getFilter() {
* - `<=`
* - `:` (has)
*
+ * **Supported Functions:**
+ * - `IN(field, value1, value2, ...)`: returns true if the field matches any
+ * of the values. Example: `IN(display_name, "name1", "name2")`
+ *
* Supported fields:
*
* - `id`
@@ -1045,6 +1053,10 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
* - `<=`
* - `:` (has)
*
+ * **Supported Functions:**
+ * - `IN(field, value1, value2, ...)`: returns true if the field matches any
+ * of the values. Example: `IN(display_name, "name1", "name2")`
+ *
* Supported fields:
*
* - `id`
@@ -1094,6 +1106,10 @@ public java.lang.String getFilter() {
* - `<=`
* - `:` (has)
*
+ * **Supported Functions:**
+ * - `IN(field, value1, value2, ...)`: returns true if the field matches any
+ * of the values. Example: `IN(display_name, "name1", "name2")`
+ *
* Supported fields:
*
* - `id`
@@ -1143,6 +1159,10 @@ public com.google.protobuf.ByteString getFilterBytes() {
* - `<=`
* - `:` (has)
*
+ * **Supported Functions:**
+ * - `IN(field, value1, value2, ...)`: returns true if the field matches any
+ * of the values. Example: `IN(display_name, "name1", "name2")`
+ *
* Supported fields:
*
* - `id`
@@ -1191,6 +1211,10 @@ public Builder setFilter(java.lang.String value) {
* - `<=`
* - `:` (has)
*
+ * **Supported Functions:**
+ * - `IN(field, value1, value2, ...)`: returns true if the field matches any
+ * of the values. Example: `IN(display_name, "name1", "name2")`
+ *
* Supported fields:
*
* - `id`
@@ -1235,6 +1259,10 @@ public Builder clearFilter() {
* - `<=`
* - `:` (has)
*
+ * **Supported Functions:**
+ * - `IN(field, value1, value2, ...)`: returns true if the field matches any
+ * of the values. Example: `IN(display_name, "name1", "name2")`
+ *
* Supported fields:
*
* - `id`
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ListUserListsRequestOrBuilder.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ListUserListsRequestOrBuilder.java
index 0b057b485248..cb0c9c263ff5 100644
--- a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ListUserListsRequestOrBuilder.java
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ListUserListsRequestOrBuilder.java
@@ -130,6 +130,10 @@ public interface ListUserListsRequestOrBuilder
* - `<=`
* - `:` (has)
*
+ * **Supported Functions:**
+ * - `IN(field, value1, value2, ...)`: returns true if the field matches any
+ * of the values. Example: `IN(display_name, "name1", "name2")`
+ *
* Supported fields:
*
* - `id`
@@ -169,6 +173,10 @@ public interface ListUserListsRequestOrBuilder
* - `<=`
* - `:` (has)
*
+ * **Supported Functions:**
+ * - `IN(field, value1, value2, ...)`: returns true if the field matches any
+ * of the values. Example: `IN(display_name, "name1", "name2")`
+ *
* Supported fields:
*
* - `id`
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/MobileData.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/MobileData.java
index 7507df8951e3..8e3aa941681f 100644
--- a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/MobileData.java
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/MobileData.java
@@ -80,8 +80,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * Required. The list of mobile device IDs (advertising ID/IDFA). At most 10
- * `mobileIds` can be provided in a single
+ * Required. The list of mobile device IDs (Android advertising ID, iOS IDFA
+ * for Customer Match user lists and Android advertising ID, iOS IDFA,
+ * Xbox or Microsoft ID, Amazon Fire TV ID, Roku ID, Generic Device ID for
+ * basic user lists). At most 10 `mobileIds` can be provided in a single
* [AudienceMember][google.ads.datamanager.v1.AudienceMember].
*
*
@@ -97,8 +99,10 @@ public com.google.protobuf.ProtocolStringList getMobileIdsList() {
*
*
*
- * Required. The list of mobile device IDs (advertising ID/IDFA). At most 10
- * `mobileIds` can be provided in a single
+ * Required. The list of mobile device IDs (Android advertising ID, iOS IDFA
+ * for Customer Match user lists and Android advertising ID, iOS IDFA,
+ * Xbox or Microsoft ID, Amazon Fire TV ID, Roku ID, Generic Device ID for
+ * basic user lists). At most 10 `mobileIds` can be provided in a single
* [AudienceMember][google.ads.datamanager.v1.AudienceMember].
*
*
@@ -114,8 +118,10 @@ public int getMobileIdsCount() {
*
*
*
- * Required. The list of mobile device IDs (advertising ID/IDFA). At most 10
- * `mobileIds` can be provided in a single
+ * Required. The list of mobile device IDs (Android advertising ID, iOS IDFA
+ * for Customer Match user lists and Android advertising ID, iOS IDFA,
+ * Xbox or Microsoft ID, Amazon Fire TV ID, Roku ID, Generic Device ID for
+ * basic user lists). At most 10 `mobileIds` can be provided in a single
* [AudienceMember][google.ads.datamanager.v1.AudienceMember].
*
*
@@ -132,8 +138,10 @@ public java.lang.String getMobileIds(int index) {
*
*
*
- * Required. The list of mobile device IDs (advertising ID/IDFA). At most 10
- * `mobileIds` can be provided in a single
+ * Required. The list of mobile device IDs (Android advertising ID, iOS IDFA
+ * for Customer Match user lists and Android advertising ID, iOS IDFA,
+ * Xbox or Microsoft ID, Amazon Fire TV ID, Roku ID, Generic Device ID for
+ * basic user lists). At most 10 `mobileIds` can be provided in a single
* [AudienceMember][google.ads.datamanager.v1.AudienceMember].
*
*
@@ -482,8 +490,10 @@ private void ensureMobileIdsIsMutable() {
*
*
*
- * Required. The list of mobile device IDs (advertising ID/IDFA). At most 10
- * `mobileIds` can be provided in a single
+ * Required. The list of mobile device IDs (Android advertising ID, iOS IDFA
+ * for Customer Match user lists and Android advertising ID, iOS IDFA,
+ * Xbox or Microsoft ID, Amazon Fire TV ID, Roku ID, Generic Device ID for
+ * basic user lists). At most 10 `mobileIds` can be provided in a single
* [AudienceMember][google.ads.datamanager.v1.AudienceMember].
*
*
@@ -500,8 +510,10 @@ public com.google.protobuf.ProtocolStringList getMobileIdsList() {
*
*
*
- * Required. The list of mobile device IDs (advertising ID/IDFA). At most 10
- * `mobileIds` can be provided in a single
+ * Required. The list of mobile device IDs (Android advertising ID, iOS IDFA
+ * for Customer Match user lists and Android advertising ID, iOS IDFA,
+ * Xbox or Microsoft ID, Amazon Fire TV ID, Roku ID, Generic Device ID for
+ * basic user lists). At most 10 `mobileIds` can be provided in a single
* [AudienceMember][google.ads.datamanager.v1.AudienceMember].
*
*
@@ -517,8 +529,10 @@ public int getMobileIdsCount() {
*
*
*
- * Required. The list of mobile device IDs (advertising ID/IDFA). At most 10
- * `mobileIds` can be provided in a single
+ * Required. The list of mobile device IDs (Android advertising ID, iOS IDFA
+ * for Customer Match user lists and Android advertising ID, iOS IDFA,
+ * Xbox or Microsoft ID, Amazon Fire TV ID, Roku ID, Generic Device ID for
+ * basic user lists). At most 10 `mobileIds` can be provided in a single
* [AudienceMember][google.ads.datamanager.v1.AudienceMember].
*
*
@@ -535,8 +549,10 @@ public java.lang.String getMobileIds(int index) {
*
*
*
- * Required. The list of mobile device IDs (advertising ID/IDFA). At most 10
- * `mobileIds` can be provided in a single
+ * Required. The list of mobile device IDs (Android advertising ID, iOS IDFA
+ * for Customer Match user lists and Android advertising ID, iOS IDFA,
+ * Xbox or Microsoft ID, Amazon Fire TV ID, Roku ID, Generic Device ID for
+ * basic user lists). At most 10 `mobileIds` can be provided in a single
* [AudienceMember][google.ads.datamanager.v1.AudienceMember].
*
*
@@ -553,8 +569,10 @@ public com.google.protobuf.ByteString getMobileIdsBytes(int index) {
*
*
*
- * Required. The list of mobile device IDs (advertising ID/IDFA). At most 10
- * `mobileIds` can be provided in a single
+ * Required. The list of mobile device IDs (Android advertising ID, iOS IDFA
+ * for Customer Match user lists and Android advertising ID, iOS IDFA,
+ * Xbox or Microsoft ID, Amazon Fire TV ID, Roku ID, Generic Device ID for
+ * basic user lists). At most 10 `mobileIds` can be provided in a single
* [AudienceMember][google.ads.datamanager.v1.AudienceMember].
*
*
@@ -579,8 +597,10 @@ public Builder setMobileIds(int index, java.lang.String value) {
*
*
*
- * Required. The list of mobile device IDs (advertising ID/IDFA). At most 10
- * `mobileIds` can be provided in a single
+ * Required. The list of mobile device IDs (Android advertising ID, iOS IDFA
+ * for Customer Match user lists and Android advertising ID, iOS IDFA,
+ * Xbox or Microsoft ID, Amazon Fire TV ID, Roku ID, Generic Device ID for
+ * basic user lists). At most 10 `mobileIds` can be provided in a single
* [AudienceMember][google.ads.datamanager.v1.AudienceMember].
*
*
@@ -604,8 +624,10 @@ public Builder addMobileIds(java.lang.String value) {
*
*
*
- * Required. The list of mobile device IDs (advertising ID/IDFA). At most 10
- * `mobileIds` can be provided in a single
+ * Required. The list of mobile device IDs (Android advertising ID, iOS IDFA
+ * for Customer Match user lists and Android advertising ID, iOS IDFA,
+ * Xbox or Microsoft ID, Amazon Fire TV ID, Roku ID, Generic Device ID for
+ * basic user lists). At most 10 `mobileIds` can be provided in a single
* [AudienceMember][google.ads.datamanager.v1.AudienceMember].
*
*
@@ -626,8 +648,10 @@ public Builder addAllMobileIds(java.lang.Iterable values) {
*
*
*
- * Required. The list of mobile device IDs (advertising ID/IDFA). At most 10
- * `mobileIds` can be provided in a single
+ * Required. The list of mobile device IDs (Android advertising ID, iOS IDFA
+ * for Customer Match user lists and Android advertising ID, iOS IDFA,
+ * Xbox or Microsoft ID, Amazon Fire TV ID, Roku ID, Generic Device ID for
+ * basic user lists). At most 10 `mobileIds` can be provided in a single
* [AudienceMember][google.ads.datamanager.v1.AudienceMember].
*
*
@@ -647,8 +671,10 @@ public Builder clearMobileIds() {
*
*
*
- * Required. The list of mobile device IDs (advertising ID/IDFA). At most 10
- * `mobileIds` can be provided in a single
+ * Required. The list of mobile device IDs (Android advertising ID, iOS IDFA
+ * for Customer Match user lists and Android advertising ID, iOS IDFA,
+ * Xbox or Microsoft ID, Amazon Fire TV ID, Roku ID, Generic Device ID for
+ * basic user lists). At most 10 `mobileIds` can be provided in a single
* [AudienceMember][google.ads.datamanager.v1.AudienceMember].
*
*
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/MobileDataOrBuilder.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/MobileDataOrBuilder.java
index b1e84a80c3e3..480746c2f40f 100644
--- a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/MobileDataOrBuilder.java
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/MobileDataOrBuilder.java
@@ -30,8 +30,10 @@ public interface MobileDataOrBuilder
*
*
*
- * Required. The list of mobile device IDs (advertising ID/IDFA). At most 10
- * `mobileIds` can be provided in a single
+ * Required. The list of mobile device IDs (Android advertising ID, iOS IDFA
+ * for Customer Match user lists and Android advertising ID, iOS IDFA,
+ * Xbox or Microsoft ID, Amazon Fire TV ID, Roku ID, Generic Device ID for
+ * basic user lists). At most 10 `mobileIds` can be provided in a single
* [AudienceMember][google.ads.datamanager.v1.AudienceMember].
*
*
@@ -45,8 +47,10 @@ public interface MobileDataOrBuilder
*
*
*
- * Required. The list of mobile device IDs (advertising ID/IDFA). At most 10
- * `mobileIds` can be provided in a single
+ * Required. The list of mobile device IDs (Android advertising ID, iOS IDFA
+ * for Customer Match user lists and Android advertising ID, iOS IDFA,
+ * Xbox or Microsoft ID, Amazon Fire TV ID, Roku ID, Generic Device ID for
+ * basic user lists). At most 10 `mobileIds` can be provided in a single
* [AudienceMember][google.ads.datamanager.v1.AudienceMember].
*
*
@@ -60,8 +64,10 @@ public interface MobileDataOrBuilder
*
*
*
- * Required. The list of mobile device IDs (advertising ID/IDFA). At most 10
- * `mobileIds` can be provided in a single
+ * Required. The list of mobile device IDs (Android advertising ID, iOS IDFA
+ * for Customer Match user lists and Android advertising ID, iOS IDFA,
+ * Xbox or Microsoft ID, Amazon Fire TV ID, Roku ID, Generic Device ID for
+ * basic user lists). At most 10 `mobileIds` can be provided in a single
* [AudienceMember][google.ads.datamanager.v1.AudienceMember].
*
*
@@ -76,8 +82,10 @@ public interface MobileDataOrBuilder
*
*
*
- * Required. The list of mobile device IDs (advertising ID/IDFA). At most 10
- * `mobileIds` can be provided in a single
+ * Required. The list of mobile device IDs (Android advertising ID, iOS IDFA
+ * for Customer Match user lists and Android advertising ID, iOS IDFA,
+ * Xbox or Microsoft ID, Amazon Fire TV ID, Roku ID, Generic Device ID for
+ * basic user lists). At most 10 `mobileIds` can be provided in a single
* [AudienceMember][google.ads.datamanager.v1.AudienceMember].
*
*
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/PartnerProvidedIdData.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/PartnerProvidedIdData.java
new file mode 100644
index 000000000000..5d8df27cb696
--- /dev/null
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/PartnerProvidedIdData.java
@@ -0,0 +1,712 @@
+/*
+ * Copyright 2026 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: google/ads/datamanager/v1/audience.proto
+// Protobuf Java Version: 4.33.6
+
+package com.google.ads.datamanager.v1;
+
+/**
+ *
+ *
+ *
+ * Partner-provided data holding the partner-provided identifiers. At least one
+ * partner-provided identifier is required.
+ *
+ *
+ * Protobuf type {@code google.ads.datamanager.v1.PartnerProvidedIdData}
+ */
+@com.google.protobuf.Generated
+public final class PartnerProvidedIdData extends com.google.protobuf.GeneratedMessage
+ implements
+ // @@protoc_insertion_point(message_implements:google.ads.datamanager.v1.PartnerProvidedIdData)
+ PartnerProvidedIdDataOrBuilder {
+ private static final long serialVersionUID = 0L;
+
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 6,
+ /* suffix= */ "",
+ "PartnerProvidedIdData");
+ }
+
+ // Use PartnerProvidedIdData.newBuilder() to construct.
+ private PartnerProvidedIdData(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+
+ private PartnerProvidedIdData() {
+ partnerProvidedIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.ads.datamanager.v1.AudienceProto
+ .internal_static_google_ads_datamanager_v1_PartnerProvidedIdData_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.ads.datamanager.v1.AudienceProto
+ .internal_static_google_ads_datamanager_v1_PartnerProvidedIdData_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.ads.datamanager.v1.PartnerProvidedIdData.class,
+ com.google.ads.datamanager.v1.PartnerProvidedIdData.Builder.class);
+ }
+
+ public static final int PARTNER_PROVIDED_IDS_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private com.google.protobuf.LazyStringArrayList partnerProvidedIds_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
+
+ /**
+ *
+ *
+ *
+ * Required. The list of partner-provided identifiers.
+ *
+ *
+ * repeated string partner_provided_ids = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return A list containing the partnerProvidedIds.
+ */
+ public com.google.protobuf.ProtocolStringList getPartnerProvidedIdsList() {
+ return partnerProvidedIds_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of partner-provided identifiers.
+ *
+ *
+ * repeated string partner_provided_ids = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The count of partnerProvidedIds.
+ */
+ public int getPartnerProvidedIdsCount() {
+ return partnerProvidedIds_.size();
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of partner-provided identifiers.
+ *
+ *
+ * repeated string partner_provided_ids = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @param index The index of the element to return.
+ * @return The partnerProvidedIds at the given index.
+ */
+ public java.lang.String getPartnerProvidedIds(int index) {
+ return partnerProvidedIds_.get(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of partner-provided identifiers.
+ *
+ *
+ * repeated string partner_provided_ids = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the partnerProvidedIds at the given index.
+ */
+ public com.google.protobuf.ByteString getPartnerProvidedIdsBytes(int index) {
+ return partnerProvidedIds_.getByteString(index);
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ for (int i = 0; i < partnerProvidedIds_.size(); i++) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, partnerProvidedIds_.getRaw(i));
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ {
+ int dataSize = 0;
+ for (int i = 0; i < partnerProvidedIds_.size(); i++) {
+ dataSize += computeStringSizeNoTag(partnerProvidedIds_.getRaw(i));
+ }
+ size += dataSize;
+ size += 1 * getPartnerProvidedIdsList().size();
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.ads.datamanager.v1.PartnerProvidedIdData)) {
+ return super.equals(obj);
+ }
+ com.google.ads.datamanager.v1.PartnerProvidedIdData other =
+ (com.google.ads.datamanager.v1.PartnerProvidedIdData) obj;
+
+ if (!getPartnerProvidedIdsList().equals(other.getPartnerProvidedIdsList())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (getPartnerProvidedIdsCount() > 0) {
+ hash = (37 * hash) + PARTNER_PROVIDED_IDS_FIELD_NUMBER;
+ hash = (53 * hash) + getPartnerProvidedIdsList().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.ads.datamanager.v1.PartnerProvidedIdData parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.ads.datamanager.v1.PartnerProvidedIdData parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.PartnerProvidedIdData parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.ads.datamanager.v1.PartnerProvidedIdData parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.PartnerProvidedIdData parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.ads.datamanager.v1.PartnerProvidedIdData parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.PartnerProvidedIdData parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.ads.datamanager.v1.PartnerProvidedIdData parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.PartnerProvidedIdData parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.ads.datamanager.v1.PartnerProvidedIdData parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.PartnerProvidedIdData parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.ads.datamanager.v1.PartnerProvidedIdData parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(com.google.ads.datamanager.v1.PartnerProvidedIdData prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ *
+ *
+ *
+ * Partner-provided data holding the partner-provided identifiers. At least one
+ * partner-provided identifier is required.
+ *
+ *
+ * Protobuf type {@code google.ads.datamanager.v1.PartnerProvidedIdData}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.ads.datamanager.v1.PartnerProvidedIdData)
+ com.google.ads.datamanager.v1.PartnerProvidedIdDataOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.ads.datamanager.v1.AudienceProto
+ .internal_static_google_ads_datamanager_v1_PartnerProvidedIdData_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.ads.datamanager.v1.AudienceProto
+ .internal_static_google_ads_datamanager_v1_PartnerProvidedIdData_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.ads.datamanager.v1.PartnerProvidedIdData.class,
+ com.google.ads.datamanager.v1.PartnerProvidedIdData.Builder.class);
+ }
+
+ // Construct using com.google.ads.datamanager.v1.PartnerProvidedIdData.newBuilder()
+ private Builder() {}
+
+ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ partnerProvidedIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.ads.datamanager.v1.AudienceProto
+ .internal_static_google_ads_datamanager_v1_PartnerProvidedIdData_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.PartnerProvidedIdData getDefaultInstanceForType() {
+ return com.google.ads.datamanager.v1.PartnerProvidedIdData.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.PartnerProvidedIdData build() {
+ com.google.ads.datamanager.v1.PartnerProvidedIdData result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.PartnerProvidedIdData buildPartial() {
+ com.google.ads.datamanager.v1.PartnerProvidedIdData result =
+ new com.google.ads.datamanager.v1.PartnerProvidedIdData(this);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(com.google.ads.datamanager.v1.PartnerProvidedIdData result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ partnerProvidedIds_.makeImmutable();
+ result.partnerProvidedIds_ = partnerProvidedIds_;
+ }
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.ads.datamanager.v1.PartnerProvidedIdData) {
+ return mergeFrom((com.google.ads.datamanager.v1.PartnerProvidedIdData) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.ads.datamanager.v1.PartnerProvidedIdData other) {
+ if (other == com.google.ads.datamanager.v1.PartnerProvidedIdData.getDefaultInstance())
+ return this;
+ if (!other.partnerProvidedIds_.isEmpty()) {
+ if (partnerProvidedIds_.isEmpty()) {
+ partnerProvidedIds_ = other.partnerProvidedIds_;
+ bitField0_ |= 0x00000001;
+ } else {
+ ensurePartnerProvidedIdsIsMutable();
+ partnerProvidedIds_.addAll(other.partnerProvidedIds_);
+ }
+ onChanged();
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+ ensurePartnerProvidedIdsIsMutable();
+ partnerProvidedIds_.add(s);
+ break;
+ } // case 10
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+
+ private int bitField0_;
+
+ private com.google.protobuf.LazyStringArrayList partnerProvidedIds_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
+
+ private void ensurePartnerProvidedIdsIsMutable() {
+ if (!partnerProvidedIds_.isModifiable()) {
+ partnerProvidedIds_ = new com.google.protobuf.LazyStringArrayList(partnerProvidedIds_);
+ }
+ bitField0_ |= 0x00000001;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of partner-provided identifiers.
+ *
+ *
+ * repeated string partner_provided_ids = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return A list containing the partnerProvidedIds.
+ */
+ public com.google.protobuf.ProtocolStringList getPartnerProvidedIdsList() {
+ partnerProvidedIds_.makeImmutable();
+ return partnerProvidedIds_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of partner-provided identifiers.
+ *
+ *
+ * repeated string partner_provided_ids = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The count of partnerProvidedIds.
+ */
+ public int getPartnerProvidedIdsCount() {
+ return partnerProvidedIds_.size();
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of partner-provided identifiers.
+ *
+ *
+ * repeated string partner_provided_ids = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @param index The index of the element to return.
+ * @return The partnerProvidedIds at the given index.
+ */
+ public java.lang.String getPartnerProvidedIds(int index) {
+ return partnerProvidedIds_.get(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of partner-provided identifiers.
+ *
+ *
+ * repeated string partner_provided_ids = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the partnerProvidedIds at the given index.
+ */
+ public com.google.protobuf.ByteString getPartnerProvidedIdsBytes(int index) {
+ return partnerProvidedIds_.getByteString(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of partner-provided identifiers.
+ *
+ *
+ * repeated string partner_provided_ids = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @param index The index to set the value at.
+ * @param value The partnerProvidedIds to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPartnerProvidedIds(int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensurePartnerProvidedIdsIsMutable();
+ partnerProvidedIds_.set(index, value);
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of partner-provided identifiers.
+ *
+ *
+ * repeated string partner_provided_ids = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @param value The partnerProvidedIds to add.
+ * @return This builder for chaining.
+ */
+ public Builder addPartnerProvidedIds(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensurePartnerProvidedIdsIsMutable();
+ partnerProvidedIds_.add(value);
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of partner-provided identifiers.
+ *
+ *
+ * repeated string partner_provided_ids = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @param values The partnerProvidedIds to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllPartnerProvidedIds(java.lang.Iterable values) {
+ ensurePartnerProvidedIdsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, partnerProvidedIds_);
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of partner-provided identifiers.
+ *
+ *
+ * repeated string partner_provided_ids = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearPartnerProvidedIds() {
+ partnerProvidedIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ ;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of partner-provided identifiers.
+ *
+ *
+ * repeated string partner_provided_ids = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @param value The bytes of the partnerProvidedIds to add.
+ * @return This builder for chaining.
+ */
+ public Builder addPartnerProvidedIdsBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ ensurePartnerProvidedIdsIsMutable();
+ partnerProvidedIds_.add(value);
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.PartnerProvidedIdData)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.ads.datamanager.v1.PartnerProvidedIdData)
+ private static final com.google.ads.datamanager.v1.PartnerProvidedIdData DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.ads.datamanager.v1.PartnerProvidedIdData();
+ }
+
+ public static com.google.ads.datamanager.v1.PartnerProvidedIdData getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public PartnerProvidedIdData parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.PartnerProvidedIdData getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/PartnerProvidedIdDataOrBuilder.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/PartnerProvidedIdDataOrBuilder.java
new file mode 100644
index 000000000000..01e53cd41d4e
--- /dev/null
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/PartnerProvidedIdDataOrBuilder.java
@@ -0,0 +1,86 @@
+/*
+ * Copyright 2026 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: google/ads/datamanager/v1/audience.proto
+// Protobuf Java Version: 4.33.6
+
+package com.google.ads.datamanager.v1;
+
+@com.google.protobuf.Generated
+public interface PartnerProvidedIdDataOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.ads.datamanager.v1.PartnerProvidedIdData)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Required. The list of partner-provided identifiers.
+ *
+ *
+ * repeated string partner_provided_ids = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return A list containing the partnerProvidedIds.
+ */
+ java.util.List getPartnerProvidedIdsList();
+
+ /**
+ *
+ *
+ *
+ * Required. The list of partner-provided identifiers.
+ *
+ *
+ * repeated string partner_provided_ids = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The count of partnerProvidedIds.
+ */
+ int getPartnerProvidedIdsCount();
+
+ /**
+ *
+ *
+ *
+ * Required. The list of partner-provided identifiers.
+ *
+ *
+ * repeated string partner_provided_ids = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @param index The index of the element to return.
+ * @return The partnerProvidedIds at the given index.
+ */
+ java.lang.String getPartnerProvidedIds(int index);
+
+ /**
+ *
+ *
+ *
+ * Required. The list of partner-provided identifiers.
+ *
+ *
+ * repeated string partner_provided_ids = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the partnerProvidedIds at the given index.
+ */
+ com.google.protobuf.ByteString getPartnerProvidedIdsBytes(int index);
+}
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ProcessingErrorReason.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ProcessingErrorReason.java
index 8f5240db91ec..a3b178d46e54 100644
--- a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ProcessingErrorReason.java
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ProcessingErrorReason.java
@@ -486,6 +486,17 @@ public enum ProcessingErrorReason implements com.google.protobuf.ProtocolMessage
* PROCESSING_ERROR_REASON_CLICK_NOT_FOUND = 43;
*/
PROCESSING_ERROR_REASON_CLICK_NOT_FOUND(43),
+ /**
+ *
+ *
+ *
+ * External attribution data is missing. Sending events to a destination for
+ * an external attribution conversion action isn't supported.
+ *
+ *
+ * PROCESSING_ERROR_REASON_EXTERNAL_ATTRIBUTION_DATA_MISSING = 44;
+ */
+ PROCESSING_ERROR_REASON_EXTERNAL_ATTRIBUTION_DATA_MISSING(44),
UNRECOGNIZED(-1),
;
@@ -999,6 +1010,18 @@ public enum ProcessingErrorReason implements com.google.protobuf.ProtocolMessage
*/
public static final int PROCESSING_ERROR_REASON_CLICK_NOT_FOUND_VALUE = 43;
+ /**
+ *
+ *
+ *
+ * External attribution data is missing. Sending events to a destination for
+ * an external attribution conversion action isn't supported.
+ *
+ *
+ * PROCESSING_ERROR_REASON_EXTERNAL_ATTRIBUTION_DATA_MISSING = 44;
+ */
+ public static final int PROCESSING_ERROR_REASON_EXTERNAL_ATTRIBUTION_DATA_MISSING_VALUE = 44;
+
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
@@ -1111,6 +1134,8 @@ public static ProcessingErrorReason forNumber(int value) {
return PROCESSING_ERROR_REASON_INVALID_OPERATING_ACCOUNT_FOR_CLICK;
case 43:
return PROCESSING_ERROR_REASON_CLICK_NOT_FOUND;
+ case 44:
+ return PROCESSING_ERROR_REASON_EXTERNAL_ATTRIBUTION_DATA_MISSING;
default:
return null;
}
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ProcessingErrorsProto.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ProcessingErrorsProto.java
index ccf094496e78..6fa0fee0e576 100644
--- a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ProcessingErrorsProto.java
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/ProcessingErrorsProto.java
@@ -56,6 +56,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_ads_datamanager_v1_WarningCount_descriptor;
static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_google_ads_datamanager_v1_WarningCount_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_ads_datamanager_v1_FieldWarning_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_google_ads_datamanager_v1_FieldWarning_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
return descriptor;
@@ -76,82 +80,104 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "1.WarningCount\"h\n\014WarningCount\022\024\n\014record"
+ "_count\030\001 \001(\003\022B\n\006reason\030\002 \001(\01622.google.ad"
+ "s.datamanager.v1.ProcessingWarningReason"
- + "*\374\021\n\025ProcessingErrorReason\022\'\n#PROCESSING"
- + "_ERROR_REASON_UNSPECIFIED\020\000\0223\n/PROCESSIN"
- + "G_ERROR_REASON_INVALID_CUSTOM_VARIABLE\020\001"
- + "\0227\n3PROCESSING_ERROR_REASON_CUSTOM_VARIA"
- + "BLE_NOT_ENABLED\020\002\022)\n%PROCESSING_ERROR_RE"
- + "ASON_EVENT_TOO_OLD\020\003\022*\n&PROCESSING_ERROR"
- + "_REASON_DENIED_CONSENT\020\004\022&\n\"PROCESSING_E"
- + "RROR_REASON_NO_CONSENT\020\005\022+\n\'PROCESSING_E"
- + "RROR_REASON_UNKNOWN_CONSENT\020\006\022+\n\'PROCESS"
- + "ING_ERROR_REASON_DUPLICATE_GCLID\020\007\0224\n0PR"
- + "OCESSING_ERROR_REASON_DUPLICATE_TRANSACT"
- + "ION_ID\020\010\022*\n&PROCESSING_ERROR_REASON_INVA"
- + "LID_GBRAID\020\t\022)\n%PROCESSING_ERROR_REASON_"
- + "INVALID_GCLID\020\n\022/\n+PROCESSING_ERROR_REAS"
- + "ON_INVALID_MERCHANT_ID\020\013\022*\n&PROCESSING_E"
- + "RROR_REASON_INVALID_WBRAID\020\014\022*\n&PROCESSI"
- + "NG_ERROR_REASON_INTERNAL_ERROR\020\r\022U\nQPROC"
- + "ESSING_ERROR_REASON_DESTINATION_ACCOUNT_"
- + "ENHANCED_CONVERSIONS_TERMS_NOT_SIGNED\020\016\022"
- + ")\n%PROCESSING_ERROR_REASON_INVALID_EVENT"
- + "\020\017\022=\n9PROCESSING_ERROR_REASON_INSUFFICIE"
- + "NT_MATCHED_TRANSACTIONS\020\020\0225\n1PROCESSING_"
- + "ERROR_REASON_INSUFFICIENT_TRANSACTIONS\020\021"
- + "\022*\n&PROCESSING_ERROR_REASON_INVALID_FORM"
- + "AT\020\022\022,\n(PROCESSING_ERROR_REASON_DECRYPTI"
- + "ON_ERROR\020\023\0220\n,PROCESSING_ERROR_REASON_DE"
- + "K_DECRYPTION_ERROR\020\024\022\'\n#PROCESSING_ERROR"
- + "_REASON_INVALID_WIP\020\025\022\'\n#PROCESSING_ERRO"
- + "R_REASON_INVALID_KEK\020\026\022+\n\'PROCESSING_ERR"
- + "OR_REASON_WIP_AUTH_FAILED\020\027\0221\n-PROCESSIN"
- + "G_ERROR_REASON_KEK_PERMISSION_DENIED\020\030\022+"
- + "\n\'PROCESSING_ERROR_REASON_AWS_AUTH_FAILE"
- + "D\020\033\022<\n8PROCESSING_ERROR_REASON_USER_IDEN"
- + "TIFIER_DECRYPTION_ERROR\020\031\022A\n=PROCESSING_"
- + "ERROR_OPERATING_ACCOUNT_MISMATCH_FOR_AD_"
- + "IDENTIFIER\020\032\022T\nPPROCESSING_ERROR_REASON_"
- + "ONE_PER_CLICK_CONVERSION_ACTION_NOT_PERM"
- + "ITTED_WITH_BRAID\020\034\022.\n*PROCESSING_ERROR_R"
- + "EASON_MATCH_ID_NOT_FOUND\020\035\022:\n6PROCESSING"
- + "_ERROR_REASON_USER_ID_NOT_FOUND_FOR_MATC"
- + "H_ID\020\036\0227\n3PROCESSING_ERROR_REASON_USER_I"
- + "D_NOT_FOUND_FOR_GCLID\020\037\0227\n3PROCESSING_ER"
- + "ROR_REASON_USER_ID_NOT_FOUND_FOR_DCLID\020 "
- + "\0222\n.PROCESSING_ERROR_REASON_INVALID_AD_I"
- + "DENTIFIERS\020!\0224\n0PROCESSING_ERROR_REASON_"
- + "INVALID_MOBILE_ID_FORMAT\020\"\022:\n6PROCESSING"
- + "_ERROR_REASON_ORIGINAL_CONVERSIONS_NOT_F"
- + "OUND\020#\0221\n-PROCESSING_ERROR_REASON_EVENT_"
- + "ID_DECODE_ERROR\020$\022?\n;PROCESSING_ERROR_RE"
- + "ASON_USER_ID_NOT_FOUND_FOR_IMPRESSION_ID"
- + "\020%\022-\n)PROCESSING_ERROR_REASON_USER_ID_NO"
- + "T_FOUND\020&\0225\n1PROCESSING_ERROR_REASON_CON"
- + "VERSION_PRECEDES_CLICK\020\'\022,\n(PROCESSING_E"
- + "RROR_REASON_TOO_RECENT_CLICK\020(\022)\n%PROCES"
- + "SING_ERROR_REASON_INVALID_CLICK\020)\022?\n;PRO"
- + "CESSING_ERROR_REASON_INVALID_OPERATING_A"
- + "CCOUNT_FOR_CLICK\020*\022+\n\'PROCESSING_ERROR_R"
- + "EASON_CLICK_NOT_FOUND\020+*\377\003\n\027ProcessingWa"
- + "rningReason\022)\n%PROCESSING_WARNING_REASON"
- + "_UNSPECIFIED\020\000\0223\n/PROCESSING_WARNING_REA"
- + "SON_KEK_PERMISSION_DENIED\020\001\0222\n.PROCESSIN"
- + "G_WARNING_REASON_DEK_DECRYPTION_ERROR\020\002\022"
- + ".\n*PROCESSING_WARNING_REASON_DECRYPTION_"
- + "ERROR\020\003\022-\n)PROCESSING_WARNING_REASON_WIP"
- + "_AUTH_FAILED\020\004\022)\n%PROCESSING_WARNING_REA"
- + "SON_INVALID_WIP\020\005\022)\n%PROCESSING_WARNING_"
- + "REASON_INVALID_KEK\020\006\022>\n:PROCESSING_WARNI"
- + "NG_REASON_USER_IDENTIFIER_DECRYPTION_ERR"
- + "OR\020\007\022,\n(PROCESSING_WARNING_REASON_INTERN"
- + "AL_ERROR\020\010\022-\n)PROCESSING_WARNING_REASON_"
- + "AWS_AUTH_FAILED\020\tB\322\001\n\035com.google.ads.dat"
- + "amanager.v1B\025ProcessingErrorsProtoP\001ZAcl"
- + "oud.google.com/go/datamanager/apiv1/data"
- + "managerpb;datamanagerpb\252\002\031Google.Ads.Dat"
- + "aManager.V1\312\002\031Google\\Ads\\DataManager\\V1\352"
- + "\002\034Google::Ads::DataManager::V1b\006proto3"
+ + "\"l\n\014FieldWarning\0228\n\006reason\030\001 \001(\0162(.googl"
+ + "e.ads.datamanager.v1.WarningReason\022\023\n\013de"
+ + "scription\030\002 \001(\t\022\r\n\005field\030\003 \001(\t*\273\022\n\025Proce"
+ + "ssingErrorReason\022\'\n#PROCESSING_ERROR_REA"
+ + "SON_UNSPECIFIED\020\000\0223\n/PROCESSING_ERROR_RE"
+ + "ASON_INVALID_CUSTOM_VARIABLE\020\001\0227\n3PROCES"
+ + "SING_ERROR_REASON_CUSTOM_VARIABLE_NOT_EN"
+ + "ABLED\020\002\022)\n%PROCESSING_ERROR_REASON_EVENT"
+ + "_TOO_OLD\020\003\022*\n&PROCESSING_ERROR_REASON_DE"
+ + "NIED_CONSENT\020\004\022&\n\"PROCESSING_ERROR_REASO"
+ + "N_NO_CONSENT\020\005\022+\n\'PROCESSING_ERROR_REASO"
+ + "N_UNKNOWN_CONSENT\020\006\022+\n\'PROCESSING_ERROR_"
+ + "REASON_DUPLICATE_GCLID\020\007\0224\n0PROCESSING_E"
+ + "RROR_REASON_DUPLICATE_TRANSACTION_ID\020\010\022*"
+ + "\n&PROCESSING_ERROR_REASON_INVALID_GBRAID"
+ + "\020\t\022)\n%PROCESSING_ERROR_REASON_INVALID_GC"
+ + "LID\020\n\022/\n+PROCESSING_ERROR_REASON_INVALID"
+ + "_MERCHANT_ID\020\013\022*\n&PROCESSING_ERROR_REASO"
+ + "N_INVALID_WBRAID\020\014\022*\n&PROCESSING_ERROR_R"
+ + "EASON_INTERNAL_ERROR\020\r\022U\nQPROCESSING_ERR"
+ + "OR_REASON_DESTINATION_ACCOUNT_ENHANCED_C"
+ + "ONVERSIONS_TERMS_NOT_SIGNED\020\016\022)\n%PROCESS"
+ + "ING_ERROR_REASON_INVALID_EVENT\020\017\022=\n9PROC"
+ + "ESSING_ERROR_REASON_INSUFFICIENT_MATCHED"
+ + "_TRANSACTIONS\020\020\0225\n1PROCESSING_ERROR_REAS"
+ + "ON_INSUFFICIENT_TRANSACTIONS\020\021\022*\n&PROCES"
+ + "SING_ERROR_REASON_INVALID_FORMAT\020\022\022,\n(PR"
+ + "OCESSING_ERROR_REASON_DECRYPTION_ERROR\020\023"
+ + "\0220\n,PROCESSING_ERROR_REASON_DEK_DECRYPTI"
+ + "ON_ERROR\020\024\022\'\n#PROCESSING_ERROR_REASON_IN"
+ + "VALID_WIP\020\025\022\'\n#PROCESSING_ERROR_REASON_I"
+ + "NVALID_KEK\020\026\022+\n\'PROCESSING_ERROR_REASON_"
+ + "WIP_AUTH_FAILED\020\027\0221\n-PROCESSING_ERROR_RE"
+ + "ASON_KEK_PERMISSION_DENIED\020\030\022+\n\'PROCESSI"
+ + "NG_ERROR_REASON_AWS_AUTH_FAILED\020\033\022<\n8PRO"
+ + "CESSING_ERROR_REASON_USER_IDENTIFIER_DEC"
+ + "RYPTION_ERROR\020\031\022A\n=PROCESSING_ERROR_OPER"
+ + "ATING_ACCOUNT_MISMATCH_FOR_AD_IDENTIFIER"
+ + "\020\032\022T\nPPROCESSING_ERROR_REASON_ONE_PER_CL"
+ + "ICK_CONVERSION_ACTION_NOT_PERMITTED_WITH"
+ + "_BRAID\020\034\022.\n*PROCESSING_ERROR_REASON_MATC"
+ + "H_ID_NOT_FOUND\020\035\022:\n6PROCESSING_ERROR_REA"
+ + "SON_USER_ID_NOT_FOUND_FOR_MATCH_ID\020\036\0227\n3"
+ + "PROCESSING_ERROR_REASON_USER_ID_NOT_FOUN"
+ + "D_FOR_GCLID\020\037\0227\n3PROCESSING_ERROR_REASON"
+ + "_USER_ID_NOT_FOUND_FOR_DCLID\020 \0222\n.PROCES"
+ + "SING_ERROR_REASON_INVALID_AD_IDENTIFIERS"
+ + "\020!\0224\n0PROCESSING_ERROR_REASON_INVALID_MO"
+ + "BILE_ID_FORMAT\020\"\022:\n6PROCESSING_ERROR_REA"
+ + "SON_ORIGINAL_CONVERSIONS_NOT_FOUND\020#\0221\n-"
+ + "PROCESSING_ERROR_REASON_EVENT_ID_DECODE_"
+ + "ERROR\020$\022?\n;PROCESSING_ERROR_REASON_USER_"
+ + "ID_NOT_FOUND_FOR_IMPRESSION_ID\020%\022-\n)PROC"
+ + "ESSING_ERROR_REASON_USER_ID_NOT_FOUND\020&\022"
+ + "5\n1PROCESSING_ERROR_REASON_CONVERSION_PR"
+ + "ECEDES_CLICK\020\'\022,\n(PROCESSING_ERROR_REASO"
+ + "N_TOO_RECENT_CLICK\020(\022)\n%PROCESSING_ERROR"
+ + "_REASON_INVALID_CLICK\020)\022?\n;PROCESSING_ER"
+ + "ROR_REASON_INVALID_OPERATING_ACCOUNT_FOR"
+ + "_CLICK\020*\022+\n\'PROCESSING_ERROR_REASON_CLIC"
+ + "K_NOT_FOUND\020+\022=\n9PROCESSING_ERROR_REASON"
+ + "_EXTERNAL_ATTRIBUTION_DATA_MISSING\020,*\377\003\n"
+ + "\027ProcessingWarningReason\022)\n%PROCESSING_W"
+ + "ARNING_REASON_UNSPECIFIED\020\000\0223\n/PROCESSIN"
+ + "G_WARNING_REASON_KEK_PERMISSION_DENIED\020\001"
+ + "\0222\n.PROCESSING_WARNING_REASON_DEK_DECRYP"
+ + "TION_ERROR\020\002\022.\n*PROCESSING_WARNING_REASO"
+ + "N_DECRYPTION_ERROR\020\003\022-\n)PROCESSING_WARNI"
+ + "NG_REASON_WIP_AUTH_FAILED\020\004\022)\n%PROCESSIN"
+ + "G_WARNING_REASON_INVALID_WIP\020\005\022)\n%PROCES"
+ + "SING_WARNING_REASON_INVALID_KEK\020\006\022>\n:PRO"
+ + "CESSING_WARNING_REASON_USER_IDENTIFIER_D"
+ + "ECRYPTION_ERROR\020\007\022,\n(PROCESSING_WARNING_"
+ + "REASON_INTERNAL_ERROR\020\010\022-\n)PROCESSING_WA"
+ + "RNING_REASON_AWS_AUTH_FAILED\020\t*\302\005\n\rWarni"
+ + "ngReason\022\036\n\032WARNING_REASON_UNSPECIFIED\020\000"
+ + "\022.\n*WARNING_REASON_CUSTOM_VARIABLE_NOT_E"
+ + "NABLED\020\001\0221\n-WARNING_REASON_CUSTOM_VARIAB"
+ + "LE_NOT_PREDEFINED\020\002\022@\n
+ * Request to remove all users from an audience in the provided destinations.
+ * Returns a
+ * [RemoveAllAudienceMembersResponse][google.ads.datamanager.v1.RemoveAllAudienceMembersResponse].
+ *
+ *
+ * Protobuf type {@code google.ads.datamanager.v1.RemoveAllAudienceMembersRequest}
+ */
+@com.google.protobuf.Generated
+public final class RemoveAllAudienceMembersRequest extends com.google.protobuf.GeneratedMessage
+ implements
+ // @@protoc_insertion_point(message_implements:google.ads.datamanager.v1.RemoveAllAudienceMembersRequest)
+ RemoveAllAudienceMembersRequestOrBuilder {
+ private static final long serialVersionUID = 0L;
+
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 6,
+ /* suffix= */ "",
+ "RemoveAllAudienceMembersRequest");
+ }
+
+ // Use RemoveAllAudienceMembersRequest.newBuilder() to construct.
+ private RemoveAllAudienceMembersRequest(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+
+ private RemoveAllAudienceMembersRequest() {
+ destinations_ = java.util.Collections.emptyList();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.ads.datamanager.v1.IngestionServiceProto
+ .internal_static_google_ads_datamanager_v1_RemoveAllAudienceMembersRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.ads.datamanager.v1.IngestionServiceProto
+ .internal_static_google_ads_datamanager_v1_RemoveAllAudienceMembersRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest.class,
+ com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int DESTINATIONS_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private java.util.List destinations_;
+
+ /**
+ *
+ *
+ *
+ * Required. The list of destinations to remove the users from.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public java.util.List getDestinationsList() {
+ return destinations_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of destinations to remove the users from.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public java.util.List extends com.google.ads.datamanager.v1.DestinationOrBuilder>
+ getDestinationsOrBuilderList() {
+ return destinations_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of destinations to remove the users from.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public int getDestinationsCount() {
+ return destinations_.size();
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of destinations to remove the users from.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.Destination getDestinations(int index) {
+ return destinations_.get(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of destinations to remove the users from.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.DestinationOrBuilder getDestinationsOrBuilder(int index) {
+ return destinations_.get(index);
+ }
+
+ public static final int REMOVE_AS_OF_TIME_FIELD_NUMBER = 2;
+ private com.google.protobuf.Timestamp removeAsOfTime_;
+
+ /**
+ *
+ *
+ *
+ * Optional. The remove as of time. If set, only audience members last added
+ * before this time will be removed. If not set, it defaults to current time.
+ * The remove as of time must not be in the future.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp remove_as_of_time = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the removeAsOfTime field is set.
+ */
+ @java.lang.Override
+ public boolean hasRemoveAsOfTime() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The remove as of time. If set, only audience members last added
+ * before this time will be removed. If not set, it defaults to current time.
+ * The remove as of time must not be in the future.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp remove_as_of_time = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The removeAsOfTime.
+ */
+ @java.lang.Override
+ public com.google.protobuf.Timestamp getRemoveAsOfTime() {
+ return removeAsOfTime_ == null
+ ? com.google.protobuf.Timestamp.getDefaultInstance()
+ : removeAsOfTime_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The remove as of time. If set, only audience members last added
+ * before this time will be removed. If not set, it defaults to current time.
+ * The remove as of time must not be in the future.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp remove_as_of_time = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ @java.lang.Override
+ public com.google.protobuf.TimestampOrBuilder getRemoveAsOfTimeOrBuilder() {
+ return removeAsOfTime_ == null
+ ? com.google.protobuf.Timestamp.getDefaultInstance()
+ : removeAsOfTime_;
+ }
+
+ public static final int VALIDATE_ONLY_FIELD_NUMBER = 3;
+ private boolean validateOnly_ = false;
+
+ /**
+ *
+ *
+ *
+ * Optional. For testing purposes. If `true`, the request is validated but not
+ * executed. Only errors are returned, not results.
+ *
+ *
+ * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The validateOnly.
+ */
+ @java.lang.Override
+ public boolean getValidateOnly() {
+ return validateOnly_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ for (int i = 0; i < destinations_.size(); i++) {
+ output.writeMessage(1, destinations_.get(i));
+ }
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeMessage(2, getRemoveAsOfTime());
+ }
+ if (validateOnly_ != false) {
+ output.writeBool(3, validateOnly_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ for (int i = 0; i < destinations_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, destinations_.get(i));
+ }
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRemoveAsOfTime());
+ }
+ if (validateOnly_ != false) {
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, validateOnly_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest)) {
+ return super.equals(obj);
+ }
+ com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest other =
+ (com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest) obj;
+
+ if (!getDestinationsList().equals(other.getDestinationsList())) return false;
+ if (hasRemoveAsOfTime() != other.hasRemoveAsOfTime()) return false;
+ if (hasRemoveAsOfTime()) {
+ if (!getRemoveAsOfTime().equals(other.getRemoveAsOfTime())) return false;
+ }
+ if (getValidateOnly() != other.getValidateOnly()) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (getDestinationsCount() > 0) {
+ hash = (37 * hash) + DESTINATIONS_FIELD_NUMBER;
+ hash = (53 * hash) + getDestinationsList().hashCode();
+ }
+ if (hasRemoveAsOfTime()) {
+ hash = (37 * hash) + REMOVE_AS_OF_TIME_FIELD_NUMBER;
+ hash = (53 * hash) + getRemoveAsOfTime().hashCode();
+ }
+ hash = (37 * hash) + VALIDATE_ONLY_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getValidateOnly());
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ *
+ *
+ *
+ * Request to remove all users from an audience in the provided destinations.
+ * Returns a
+ * [RemoveAllAudienceMembersResponse][google.ads.datamanager.v1.RemoveAllAudienceMembersResponse].
+ *
+ *
+ * Protobuf type {@code google.ads.datamanager.v1.RemoveAllAudienceMembersRequest}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.ads.datamanager.v1.RemoveAllAudienceMembersRequest)
+ com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequestOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.ads.datamanager.v1.IngestionServiceProto
+ .internal_static_google_ads_datamanager_v1_RemoveAllAudienceMembersRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.ads.datamanager.v1.IngestionServiceProto
+ .internal_static_google_ads_datamanager_v1_RemoveAllAudienceMembersRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest.class,
+ com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest.Builder.class);
+ }
+
+ // Construct using com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest.newBuilder()
+ private Builder() {
+ maybeForceBuilderInitialization();
+ }
+
+ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+ maybeForceBuilderInitialization();
+ }
+
+ private void maybeForceBuilderInitialization() {
+ if (com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
+ internalGetDestinationsFieldBuilder();
+ internalGetRemoveAsOfTimeFieldBuilder();
+ }
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ if (destinationsBuilder_ == null) {
+ destinations_ = java.util.Collections.emptyList();
+ } else {
+ destinations_ = null;
+ destinationsBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000001);
+ removeAsOfTime_ = null;
+ if (removeAsOfTimeBuilder_ != null) {
+ removeAsOfTimeBuilder_.dispose();
+ removeAsOfTimeBuilder_ = null;
+ }
+ validateOnly_ = false;
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.ads.datamanager.v1.IngestionServiceProto
+ .internal_static_google_ads_datamanager_v1_RemoveAllAudienceMembersRequest_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest
+ getDefaultInstanceForType() {
+ return com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest build() {
+ com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest buildPartial() {
+ com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest result =
+ new com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest(this);
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(
+ com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest result) {
+ if (destinationsBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ destinations_ = java.util.Collections.unmodifiableList(destinations_);
+ bitField0_ = (bitField0_ & ~0x00000001);
+ }
+ result.destinations_ = destinations_;
+ } else {
+ result.destinations_ = destinationsBuilder_.build();
+ }
+ }
+
+ private void buildPartial0(
+ com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest result) {
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.removeAsOfTime_ =
+ removeAsOfTimeBuilder_ == null ? removeAsOfTime_ : removeAsOfTimeBuilder_.build();
+ to_bitField0_ |= 0x00000001;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.validateOnly_ = validateOnly_;
+ }
+ result.bitField0_ |= to_bitField0_;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest) {
+ return mergeFrom((com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest other) {
+ if (other
+ == com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest.getDefaultInstance())
+ return this;
+ if (destinationsBuilder_ == null) {
+ if (!other.destinations_.isEmpty()) {
+ if (destinations_.isEmpty()) {
+ destinations_ = other.destinations_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ } else {
+ ensureDestinationsIsMutable();
+ destinations_.addAll(other.destinations_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.destinations_.isEmpty()) {
+ if (destinationsBuilder_.isEmpty()) {
+ destinationsBuilder_.dispose();
+ destinationsBuilder_ = null;
+ destinations_ = other.destinations_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ destinationsBuilder_ =
+ com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders
+ ? internalGetDestinationsFieldBuilder()
+ : null;
+ } else {
+ destinationsBuilder_.addAllMessages(other.destinations_);
+ }
+ }
+ }
+ if (other.hasRemoveAsOfTime()) {
+ mergeRemoveAsOfTime(other.getRemoveAsOfTime());
+ }
+ if (other.getValidateOnly() != false) {
+ setValidateOnly(other.getValidateOnly());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ com.google.ads.datamanager.v1.Destination m =
+ input.readMessage(
+ com.google.ads.datamanager.v1.Destination.parser(), extensionRegistry);
+ if (destinationsBuilder_ == null) {
+ ensureDestinationsIsMutable();
+ destinations_.add(m);
+ } else {
+ destinationsBuilder_.addMessage(m);
+ }
+ break;
+ } // case 10
+ case 18:
+ {
+ input.readMessage(
+ internalGetRemoveAsOfTimeFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 18
+ case 24:
+ {
+ validateOnly_ = input.readBool();
+ bitField0_ |= 0x00000004;
+ break;
+ } // case 24
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+
+ private int bitField0_;
+
+ private java.util.List destinations_ =
+ java.util.Collections.emptyList();
+
+ private void ensureDestinationsIsMutable() {
+ if (!((bitField0_ & 0x00000001) != 0)) {
+ destinations_ =
+ new java.util.ArrayList(destinations_);
+ bitField0_ |= 0x00000001;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilder<
+ com.google.ads.datamanager.v1.Destination,
+ com.google.ads.datamanager.v1.Destination.Builder,
+ com.google.ads.datamanager.v1.DestinationOrBuilder>
+ destinationsBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Required. The list of destinations to remove the users from.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public java.util.List getDestinationsList() {
+ if (destinationsBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(destinations_);
+ } else {
+ return destinationsBuilder_.getMessageList();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of destinations to remove the users from.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public int getDestinationsCount() {
+ if (destinationsBuilder_ == null) {
+ return destinations_.size();
+ } else {
+ return destinationsBuilder_.getCount();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of destinations to remove the users from.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.ads.datamanager.v1.Destination getDestinations(int index) {
+ if (destinationsBuilder_ == null) {
+ return destinations_.get(index);
+ } else {
+ return destinationsBuilder_.getMessage(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of destinations to remove the users from.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setDestinations(int index, com.google.ads.datamanager.v1.Destination value) {
+ if (destinationsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDestinationsIsMutable();
+ destinations_.set(index, value);
+ onChanged();
+ } else {
+ destinationsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of destinations to remove the users from.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setDestinations(
+ int index, com.google.ads.datamanager.v1.Destination.Builder builderForValue) {
+ if (destinationsBuilder_ == null) {
+ ensureDestinationsIsMutable();
+ destinations_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ destinationsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of destinations to remove the users from.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addDestinations(com.google.ads.datamanager.v1.Destination value) {
+ if (destinationsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDestinationsIsMutable();
+ destinations_.add(value);
+ onChanged();
+ } else {
+ destinationsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of destinations to remove the users from.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addDestinations(int index, com.google.ads.datamanager.v1.Destination value) {
+ if (destinationsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDestinationsIsMutable();
+ destinations_.add(index, value);
+ onChanged();
+ } else {
+ destinationsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of destinations to remove the users from.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addDestinations(
+ com.google.ads.datamanager.v1.Destination.Builder builderForValue) {
+ if (destinationsBuilder_ == null) {
+ ensureDestinationsIsMutable();
+ destinations_.add(builderForValue.build());
+ onChanged();
+ } else {
+ destinationsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of destinations to remove the users from.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addDestinations(
+ int index, com.google.ads.datamanager.v1.Destination.Builder builderForValue) {
+ if (destinationsBuilder_ == null) {
+ ensureDestinationsIsMutable();
+ destinations_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ destinationsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of destinations to remove the users from.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addAllDestinations(
+ java.lang.Iterable extends com.google.ads.datamanager.v1.Destination> values) {
+ if (destinationsBuilder_ == null) {
+ ensureDestinationsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, destinations_);
+ onChanged();
+ } else {
+ destinationsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of destinations to remove the users from.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder clearDestinations() {
+ if (destinationsBuilder_ == null) {
+ destinations_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ destinationsBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of destinations to remove the users from.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder removeDestinations(int index) {
+ if (destinationsBuilder_ == null) {
+ ensureDestinationsIsMutable();
+ destinations_.remove(index);
+ onChanged();
+ } else {
+ destinationsBuilder_.remove(index);
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of destinations to remove the users from.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.ads.datamanager.v1.Destination.Builder getDestinationsBuilder(int index) {
+ return internalGetDestinationsFieldBuilder().getBuilder(index);
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of destinations to remove the users from.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.ads.datamanager.v1.DestinationOrBuilder getDestinationsOrBuilder(int index) {
+ if (destinationsBuilder_ == null) {
+ return destinations_.get(index);
+ } else {
+ return destinationsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of destinations to remove the users from.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public java.util.List extends com.google.ads.datamanager.v1.DestinationOrBuilder>
+ getDestinationsOrBuilderList() {
+ if (destinationsBuilder_ != null) {
+ return destinationsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(destinations_);
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of destinations to remove the users from.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.ads.datamanager.v1.Destination.Builder addDestinationsBuilder() {
+ return internalGetDestinationsFieldBuilder()
+ .addBuilder(com.google.ads.datamanager.v1.Destination.getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of destinations to remove the users from.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.ads.datamanager.v1.Destination.Builder addDestinationsBuilder(int index) {
+ return internalGetDestinationsFieldBuilder()
+ .addBuilder(index, com.google.ads.datamanager.v1.Destination.getDefaultInstance());
+ }
+
+ /**
+ *
+ *
+ *
+ * Required. The list of destinations to remove the users from.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public java.util.List
+ getDestinationsBuilderList() {
+ return internalGetDestinationsFieldBuilder().getBuilderList();
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilder<
+ com.google.ads.datamanager.v1.Destination,
+ com.google.ads.datamanager.v1.Destination.Builder,
+ com.google.ads.datamanager.v1.DestinationOrBuilder>
+ internalGetDestinationsFieldBuilder() {
+ if (destinationsBuilder_ == null) {
+ destinationsBuilder_ =
+ new com.google.protobuf.RepeatedFieldBuilder<
+ com.google.ads.datamanager.v1.Destination,
+ com.google.ads.datamanager.v1.Destination.Builder,
+ com.google.ads.datamanager.v1.DestinationOrBuilder>(
+ destinations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+ destinations_ = null;
+ }
+ return destinationsBuilder_;
+ }
+
+ private com.google.protobuf.Timestamp removeAsOfTime_;
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>
+ removeAsOfTimeBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Optional. The remove as of time. If set, only audience members last added
+ * before this time will be removed. If not set, it defaults to current time.
+ * The remove as of time must not be in the future.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp remove_as_of_time = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the removeAsOfTime field is set.
+ */
+ public boolean hasRemoveAsOfTime() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The remove as of time. If set, only audience members last added
+ * before this time will be removed. If not set, it defaults to current time.
+ * The remove as of time must not be in the future.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp remove_as_of_time = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The removeAsOfTime.
+ */
+ public com.google.protobuf.Timestamp getRemoveAsOfTime() {
+ if (removeAsOfTimeBuilder_ == null) {
+ return removeAsOfTime_ == null
+ ? com.google.protobuf.Timestamp.getDefaultInstance()
+ : removeAsOfTime_;
+ } else {
+ return removeAsOfTimeBuilder_.getMessage();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The remove as of time. If set, only audience members last added
+ * before this time will be removed. If not set, it defaults to current time.
+ * The remove as of time must not be in the future.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp remove_as_of_time = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setRemoveAsOfTime(com.google.protobuf.Timestamp value) {
+ if (removeAsOfTimeBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ removeAsOfTime_ = value;
+ } else {
+ removeAsOfTimeBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The remove as of time. If set, only audience members last added
+ * before this time will be removed. If not set, it defaults to current time.
+ * The remove as of time must not be in the future.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp remove_as_of_time = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder setRemoveAsOfTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+ if (removeAsOfTimeBuilder_ == null) {
+ removeAsOfTime_ = builderForValue.build();
+ } else {
+ removeAsOfTimeBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The remove as of time. If set, only audience members last added
+ * before this time will be removed. If not set, it defaults to current time.
+ * The remove as of time must not be in the future.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp remove_as_of_time = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder mergeRemoveAsOfTime(com.google.protobuf.Timestamp value) {
+ if (removeAsOfTimeBuilder_ == null) {
+ if (((bitField0_ & 0x00000002) != 0)
+ && removeAsOfTime_ != null
+ && removeAsOfTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+ getRemoveAsOfTimeBuilder().mergeFrom(value);
+ } else {
+ removeAsOfTime_ = value;
+ }
+ } else {
+ removeAsOfTimeBuilder_.mergeFrom(value);
+ }
+ if (removeAsOfTime_ != null) {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The remove as of time. If set, only audience members last added
+ * before this time will be removed. If not set, it defaults to current time.
+ * The remove as of time must not be in the future.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp remove_as_of_time = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public Builder clearRemoveAsOfTime() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ removeAsOfTime_ = null;
+ if (removeAsOfTimeBuilder_ != null) {
+ removeAsOfTimeBuilder_.dispose();
+ removeAsOfTimeBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The remove as of time. If set, only audience members last added
+ * before this time will be removed. If not set, it defaults to current time.
+ * The remove as of time must not be in the future.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp remove_as_of_time = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.protobuf.Timestamp.Builder getRemoveAsOfTimeBuilder() {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return internalGetRemoveAsOfTimeFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The remove as of time. If set, only audience members last added
+ * before this time will be removed. If not set, it defaults to current time.
+ * The remove as of time must not be in the future.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp remove_as_of_time = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ public com.google.protobuf.TimestampOrBuilder getRemoveAsOfTimeOrBuilder() {
+ if (removeAsOfTimeBuilder_ != null) {
+ return removeAsOfTimeBuilder_.getMessageOrBuilder();
+ } else {
+ return removeAsOfTime_ == null
+ ? com.google.protobuf.Timestamp.getDefaultInstance()
+ : removeAsOfTime_;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. The remove as of time. If set, only audience members last added
+ * before this time will be removed. If not set, it defaults to current time.
+ * The remove as of time must not be in the future.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp remove_as_of_time = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>
+ internalGetRemoveAsOfTimeFieldBuilder() {
+ if (removeAsOfTimeBuilder_ == null) {
+ removeAsOfTimeBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.protobuf.Timestamp,
+ com.google.protobuf.Timestamp.Builder,
+ com.google.protobuf.TimestampOrBuilder>(
+ getRemoveAsOfTime(), getParentForChildren(), isClean());
+ removeAsOfTime_ = null;
+ }
+ return removeAsOfTimeBuilder_;
+ }
+
+ private boolean validateOnly_;
+
+ /**
+ *
+ *
+ *
+ * Optional. For testing purposes. If `true`, the request is validated but not
+ * executed. Only errors are returned, not results.
+ *
+ *
+ * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The validateOnly.
+ */
+ @java.lang.Override
+ public boolean getValidateOnly() {
+ return validateOnly_;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. For testing purposes. If `true`, the request is validated but not
+ * executed. Only errors are returned, not results.
+ *
+ *
+ * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The validateOnly to set.
+ * @return This builder for chaining.
+ */
+ public Builder setValidateOnly(boolean value) {
+
+ validateOnly_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * Optional. For testing purposes. If `true`, the request is validated but not
+ * executed. Only errors are returned, not results.
+ *
+ *
+ * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearValidateOnly() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ validateOnly_ = false;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.RemoveAllAudienceMembersRequest)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.ads.datamanager.v1.RemoveAllAudienceMembersRequest)
+ private static final com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest();
+ }
+
+ public static com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public RemoveAllAudienceMembersRequest parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RemoveAllAudienceMembersRequest getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/RemoveAllAudienceMembersRequestOrBuilder.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/RemoveAllAudienceMembersRequestOrBuilder.java
new file mode 100644
index 000000000000..4e889e9fadd7
--- /dev/null
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/RemoveAllAudienceMembersRequestOrBuilder.java
@@ -0,0 +1,157 @@
+/*
+ * Copyright 2026 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: google/ads/datamanager/v1/ingestion_service.proto
+// Protobuf Java Version: 4.33.6
+
+package com.google.ads.datamanager.v1;
+
+@com.google.protobuf.Generated
+public interface RemoveAllAudienceMembersRequestOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.ads.datamanager.v1.RemoveAllAudienceMembersRequest)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Required. The list of destinations to remove the users from.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ java.util.List getDestinationsList();
+
+ /**
+ *
+ *
+ *
+ * Required. The list of destinations to remove the users from.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ com.google.ads.datamanager.v1.Destination getDestinations(int index);
+
+ /**
+ *
+ *
+ *
+ * Required. The list of destinations to remove the users from.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ int getDestinationsCount();
+
+ /**
+ *
+ *
+ *
+ * Required. The list of destinations to remove the users from.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ java.util.List extends com.google.ads.datamanager.v1.DestinationOrBuilder>
+ getDestinationsOrBuilderList();
+
+ /**
+ *
+ *
+ *
+ * Required. The list of destinations to remove the users from.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.Destination destinations = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ com.google.ads.datamanager.v1.DestinationOrBuilder getDestinationsOrBuilder(int index);
+
+ /**
+ *
+ *
+ *
+ * Optional. The remove as of time. If set, only audience members last added
+ * before this time will be removed. If not set, it defaults to current time.
+ * The remove as of time must not be in the future.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp remove_as_of_time = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the removeAsOfTime field is set.
+ */
+ boolean hasRemoveAsOfTime();
+
+ /**
+ *
+ *
+ *
+ * Optional. The remove as of time. If set, only audience members last added
+ * before this time will be removed. If not set, it defaults to current time.
+ * The remove as of time must not be in the future.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp remove_as_of_time = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The removeAsOfTime.
+ */
+ com.google.protobuf.Timestamp getRemoveAsOfTime();
+
+ /**
+ *
+ *
+ *
+ * Optional. The remove as of time. If set, only audience members last added
+ * before this time will be removed. If not set, it defaults to current time.
+ * The remove as of time must not be in the future.
+ *
+ *
+ *
+ * .google.protobuf.Timestamp remove_as_of_time = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ */
+ com.google.protobuf.TimestampOrBuilder getRemoveAsOfTimeOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Optional. For testing purposes. If `true`, the request is validated but not
+ * executed. Only errors are returned, not results.
+ *
+ *
+ * bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The validateOnly.
+ */
+ boolean getValidateOnly();
+}
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/RemoveAllAudienceMembersResponse.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/RemoveAllAudienceMembersResponse.java
new file mode 100644
index 000000000000..4204c3d1090f
--- /dev/null
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/RemoveAllAudienceMembersResponse.java
@@ -0,0 +1,606 @@
+/*
+ * Copyright 2026 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: google/ads/datamanager/v1/ingestion_service.proto
+// Protobuf Java Version: 4.33.6
+
+package com.google.ads.datamanager.v1;
+
+/**
+ *
+ *
+ *
+ * Response from the
+ * [RemoveAllAudienceMembersRequest][google.ads.datamanager.v1.RemoveAllAudienceMembersRequest].
+ *
+ *
+ * Protobuf type {@code google.ads.datamanager.v1.RemoveAllAudienceMembersResponse}
+ */
+@com.google.protobuf.Generated
+public final class RemoveAllAudienceMembersResponse extends com.google.protobuf.GeneratedMessage
+ implements
+ // @@protoc_insertion_point(message_implements:google.ads.datamanager.v1.RemoveAllAudienceMembersResponse)
+ RemoveAllAudienceMembersResponseOrBuilder {
+ private static final long serialVersionUID = 0L;
+
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 6,
+ /* suffix= */ "",
+ "RemoveAllAudienceMembersResponse");
+ }
+
+ // Use RemoveAllAudienceMembersResponse.newBuilder() to construct.
+ private RemoveAllAudienceMembersResponse(
+ com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+
+ private RemoveAllAudienceMembersResponse() {
+ requestId_ = "";
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.ads.datamanager.v1.IngestionServiceProto
+ .internal_static_google_ads_datamanager_v1_RemoveAllAudienceMembersResponse_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.ads.datamanager.v1.IngestionServiceProto
+ .internal_static_google_ads_datamanager_v1_RemoveAllAudienceMembersResponse_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse.class,
+ com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse.Builder.class);
+ }
+
+ public static final int REQUEST_ID_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object requestId_ = "";
+
+ /**
+ *
+ *
+ *
+ * The auto-generated ID of the request.
+ *
+ *
+ * string request_id = 1;
+ *
+ * @return The requestId.
+ */
+ @java.lang.Override
+ public java.lang.String getRequestId() {
+ java.lang.Object ref = requestId_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ requestId_ = s;
+ return s;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The auto-generated ID of the request.
+ *
+ *
+ * string request_id = 1;
+ *
+ * @return The bytes for requestId.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getRequestIdBytes() {
+ java.lang.Object ref = requestId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ requestId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(requestId_)) {
+ com.google.protobuf.GeneratedMessage.writeString(output, 1, requestId_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessage.isStringEmpty(requestId_)) {
+ size += com.google.protobuf.GeneratedMessage.computeStringSize(1, requestId_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse)) {
+ return super.equals(obj);
+ }
+ com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse other =
+ (com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse) obj;
+
+ if (!getRequestId().equals(other.getRequestId())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + REQUEST_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getRequestId().hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ *
+ *
+ *
+ * Response from the
+ * [RemoveAllAudienceMembersRequest][google.ads.datamanager.v1.RemoveAllAudienceMembersRequest].
+ *
+ *
+ * Protobuf type {@code google.ads.datamanager.v1.RemoveAllAudienceMembersResponse}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.ads.datamanager.v1.RemoveAllAudienceMembersResponse)
+ com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponseOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.ads.datamanager.v1.IngestionServiceProto
+ .internal_static_google_ads_datamanager_v1_RemoveAllAudienceMembersResponse_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.ads.datamanager.v1.IngestionServiceProto
+ .internal_static_google_ads_datamanager_v1_RemoveAllAudienceMembersResponse_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse.class,
+ com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse.Builder.class);
+ }
+
+ // Construct using com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse.newBuilder()
+ private Builder() {}
+
+ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ requestId_ = "";
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.ads.datamanager.v1.IngestionServiceProto
+ .internal_static_google_ads_datamanager_v1_RemoveAllAudienceMembersResponse_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse
+ getDefaultInstanceForType() {
+ return com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse build() {
+ com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse buildPartial() {
+ com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse result =
+ new com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse(this);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(
+ com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.requestId_ = requestId_;
+ }
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse) {
+ return mergeFrom((com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse other) {
+ if (other
+ == com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse.getDefaultInstance())
+ return this;
+ if (!other.getRequestId().isEmpty()) {
+ requestId_ = other.requestId_;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ requestId_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+
+ private int bitField0_;
+
+ private java.lang.Object requestId_ = "";
+
+ /**
+ *
+ *
+ *
+ * The auto-generated ID of the request.
+ *
+ *
+ * string request_id = 1;
+ *
+ * @return The requestId.
+ */
+ public java.lang.String getRequestId() {
+ java.lang.Object ref = requestId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ requestId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The auto-generated ID of the request.
+ *
+ *
+ * string request_id = 1;
+ *
+ * @return The bytes for requestId.
+ */
+ public com.google.protobuf.ByteString getRequestIdBytes() {
+ java.lang.Object ref = requestId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ requestId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The auto-generated ID of the request.
+ *
+ *
+ * string request_id = 1;
+ *
+ * @param value The requestId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRequestId(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ requestId_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The auto-generated ID of the request.
+ *
+ *
+ * string request_id = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearRequestId() {
+ requestId_ = getDefaultInstance().getRequestId();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The auto-generated ID of the request.
+ *
+ *
+ * string request_id = 1;
+ *
+ * @param value The bytes for requestId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRequestIdBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ requestId_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.RemoveAllAudienceMembersResponse)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.ads.datamanager.v1.RemoveAllAudienceMembersResponse)
+ private static final com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse();
+ }
+
+ public static com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public RemoveAllAudienceMembersResponse parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RemoveAllAudienceMembersResponse
+ getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/RemoveAllAudienceMembersResponseOrBuilder.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/RemoveAllAudienceMembersResponseOrBuilder.java
new file mode 100644
index 000000000000..c120047de9dd
--- /dev/null
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/RemoveAllAudienceMembersResponseOrBuilder.java
@@ -0,0 +1,54 @@
+/*
+ * Copyright 2026 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// NO CHECKED-IN PROTOBUF GENCODE
+// source: google/ads/datamanager/v1/ingestion_service.proto
+// Protobuf Java Version: 4.33.6
+
+package com.google.ads.datamanager.v1;
+
+@com.google.protobuf.Generated
+public interface RemoveAllAudienceMembersResponseOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.ads.datamanager.v1.RemoveAllAudienceMembersResponse)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * The auto-generated ID of the request.
+ *
+ *
+ * string request_id = 1;
+ *
+ * @return The requestId.
+ */
+ java.lang.String getRequestId();
+
+ /**
+ *
+ *
+ *
+ * The auto-generated ID of the request.
+ *
+ *
+ * string request_id = 1;
+ *
+ * @return The bytes for requestId.
+ */
+ com.google.protobuf.ByteString getRequestIdBytes();
+}
diff --git a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/RequestStatusPerDestination.java b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/RequestStatusPerDestination.java
index 10b0dd885aa1..f48c813a7672 100644
--- a/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/RequestStatusPerDestination.java
+++ b/java-datamanager/proto-data-manager-v1/src/main/java/com/google/ads/datamanager/v1/RequestStatusPerDestination.java
@@ -803,6 +803,100 @@ public interface IngestAudienceMembersStatusOrBuilder
com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatusOrBuilder
getCompositeDataIngestionStatusOrBuilder();
+ /**
+ *
+ *
+ *
+ * The status of the google user id data ingestion to the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus google_user_id_data_ingestion_status = 7;
+ *
+ *
+ * @return Whether the googleUserIdDataIngestionStatus field is set.
+ */
+ boolean hasGoogleUserIdDataIngestionStatus();
+
+ /**
+ *
+ *
+ *
+ * The status of the google user id data ingestion to the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus google_user_id_data_ingestion_status = 7;
+ *
+ *
+ * @return The googleUserIdDataIngestionStatus.
+ */
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus
+ getGoogleUserIdDataIngestionStatus();
+
+ /**
+ *
+ *
+ *
+ * The status of the google user id data ingestion to the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus google_user_id_data_ingestion_status = 7;
+ *
+ */
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatusOrBuilder
+ getGoogleUserIdDataIngestionStatusOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * The status of the partner provided id data ingestion to the
+ * destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.IngestPartnerProvidedIdDataStatus partner_provided_id_data_ingestion_status = 8;
+ *
+ *
+ * @return Whether the partnerProvidedIdDataIngestionStatus field is set.
+ */
+ boolean hasPartnerProvidedIdDataIngestionStatus();
+
+ /**
+ *
+ *
+ *
+ * The status of the partner provided id data ingestion to the
+ * destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.IngestPartnerProvidedIdDataStatus partner_provided_id_data_ingestion_status = 8;
+ *
+ *
+ * @return The partnerProvidedIdDataIngestionStatus.
+ */
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPartnerProvidedIdDataStatus
+ getPartnerProvidedIdDataIngestionStatus();
+
+ /**
+ *
+ *
+ *
+ * The status of the partner provided id data ingestion to the
+ * destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.IngestPartnerProvidedIdDataStatus partner_provided_id_data_ingestion_status = 8;
+ *
+ */
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestPartnerProvidedIdDataStatusOrBuilder
+ getPartnerProvidedIdDataIngestionStatusOrBuilder();
+
com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestAudienceMembersStatus.StatusCase
getStatusCase();
}
@@ -872,6 +966,8 @@ public enum StatusCase
USER_ID_DATA_INGESTION_STATUS(4),
PPID_DATA_INGESTION_STATUS(5),
COMPOSITE_DATA_INGESTION_STATUS(6),
+ GOOGLE_USER_ID_DATA_INGESTION_STATUS(7),
+ PARTNER_PROVIDED_ID_DATA_INGESTION_STATUS(8),
STATUS_NOT_SET(0);
private final int value;
@@ -903,6 +999,10 @@ public static StatusCase forNumber(int value) {
return PPID_DATA_INGESTION_STATUS;
case 6:
return COMPOSITE_DATA_INGESTION_STATUS;
+ case 7:
+ return GOOGLE_USER_ID_DATA_INGESTION_STATUS;
+ case 8:
+ return PARTNER_PROVIDED_ID_DATA_INGESTION_STATUS;
case 0:
return STATUS_NOT_SET;
default:
@@ -1316,6 +1416,148 @@ public boolean hasCompositeDataIngestionStatus() {
.getDefaultInstance();
}
+ public static final int GOOGLE_USER_ID_DATA_INGESTION_STATUS_FIELD_NUMBER = 7;
+
+ /**
+ *
+ *
+ *
+ * The status of the google user id data ingestion to the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus google_user_id_data_ingestion_status = 7;
+ *
+ *
+ * @return Whether the googleUserIdDataIngestionStatus field is set.
+ */
+ @java.lang.Override
+ public boolean hasGoogleUserIdDataIngestionStatus() {
+ return statusCase_ == 7;
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the google user id data ingestion to the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus google_user_id_data_ingestion_status = 7;
+ *
+ *
+ * @return The googleUserIdDataIngestionStatus.
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus
+ getGoogleUserIdDataIngestionStatus() {
+ if (statusCase_ == 7) {
+ return (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatus)
+ status_;
+ }
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus
+ .getDefaultInstance();
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the google user id data ingestion to the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus google_user_id_data_ingestion_status = 7;
+ *
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatusOrBuilder
+ getGoogleUserIdDataIngestionStatusOrBuilder() {
+ if (statusCase_ == 7) {
+ return (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatus)
+ status_;
+ }
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus
+ .getDefaultInstance();
+ }
+
+ public static final int PARTNER_PROVIDED_ID_DATA_INGESTION_STATUS_FIELD_NUMBER = 8;
+
+ /**
+ *
+ *
+ *
+ * The status of the partner provided id data ingestion to the
+ * destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.IngestPartnerProvidedIdDataStatus partner_provided_id_data_ingestion_status = 8;
+ *
+ *
+ * @return Whether the partnerProvidedIdDataIngestionStatus field is set.
+ */
+ @java.lang.Override
+ public boolean hasPartnerProvidedIdDataIngestionStatus() {
+ return statusCase_ == 8;
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the partner provided id data ingestion to the
+ * destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.IngestPartnerProvidedIdDataStatus partner_provided_id_data_ingestion_status = 8;
+ *
+ *
+ * @return The partnerProvidedIdDataIngestionStatus.
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestPartnerProvidedIdDataStatus
+ getPartnerProvidedIdDataIngestionStatus() {
+ if (statusCase_ == 8) {
+ return (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestPartnerProvidedIdDataStatus)
+ status_;
+ }
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestPartnerProvidedIdDataStatus.getDefaultInstance();
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the partner provided id data ingestion to the
+ * destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.IngestPartnerProvidedIdDataStatus partner_provided_id_data_ingestion_status = 8;
+ *
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestPartnerProvidedIdDataStatusOrBuilder
+ getPartnerProvidedIdDataIngestionStatusOrBuilder() {
+ if (statusCase_ == 8) {
+ return (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestPartnerProvidedIdDataStatus)
+ status_;
+ }
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestPartnerProvidedIdDataStatus.getDefaultInstance();
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -1366,6 +1608,19 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
(com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus)
status_);
}
+ if (statusCase_ == 7) {
+ output.writeMessage(
+ 7,
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus)
+ status_);
+ }
+ if (statusCase_ == 8) {
+ output.writeMessage(
+ 8,
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestPartnerProvidedIdDataStatus)
+ status_);
+ }
getUnknownFields().writeTo(output);
}
@@ -1418,6 +1673,22 @@ public int getSerializedSize() {
.IngestCompositeDataStatus)
status_);
}
+ if (statusCase_ == 7) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 7,
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatus)
+ status_);
+ }
+ if (statusCase_ == 8) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 8,
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestPartnerProvidedIdDataStatus)
+ status_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -1463,6 +1734,14 @@ public boolean equals(final java.lang.Object obj) {
if (!getCompositeDataIngestionStatus().equals(other.getCompositeDataIngestionStatus()))
return false;
break;
+ case 7:
+ if (!getGoogleUserIdDataIngestionStatus()
+ .equals(other.getGoogleUserIdDataIngestionStatus())) return false;
+ break;
+ case 8:
+ if (!getPartnerProvidedIdDataIngestionStatus()
+ .equals(other.getPartnerProvidedIdDataIngestionStatus())) return false;
+ break;
case 0:
default:
}
@@ -1502,6 +1781,14 @@ public int hashCode() {
hash = (37 * hash) + COMPOSITE_DATA_INGESTION_STATUS_FIELD_NUMBER;
hash = (53 * hash) + getCompositeDataIngestionStatus().hashCode();
break;
+ case 7:
+ hash = (37 * hash) + GOOGLE_USER_ID_DATA_INGESTION_STATUS_FIELD_NUMBER;
+ hash = (53 * hash) + getGoogleUserIdDataIngestionStatus().hashCode();
+ break;
+ case 8:
+ hash = (37 * hash) + PARTNER_PROVIDED_ID_DATA_INGESTION_STATUS_FIELD_NUMBER;
+ hash = (53 * hash) + getPartnerProvidedIdDataIngestionStatus().hashCode();
+ break;
case 0:
default:
}
@@ -1688,6 +1975,12 @@ public Builder clear() {
if (compositeDataIngestionStatusBuilder_ != null) {
compositeDataIngestionStatusBuilder_.clear();
}
+ if (googleUserIdDataIngestionStatusBuilder_ != null) {
+ googleUserIdDataIngestionStatusBuilder_.clear();
+ }
+ if (partnerProvidedIdDataIngestionStatusBuilder_ != null) {
+ partnerProvidedIdDataIngestionStatusBuilder_.clear();
+ }
statusCase_ = 0;
status_ = null;
return this;
@@ -1761,6 +2054,12 @@ private void buildPartialOneofs(
if (statusCase_ == 6 && compositeDataIngestionStatusBuilder_ != null) {
result.status_ = compositeDataIngestionStatusBuilder_.build();
}
+ if (statusCase_ == 7 && googleUserIdDataIngestionStatusBuilder_ != null) {
+ result.status_ = googleUserIdDataIngestionStatusBuilder_.build();
+ }
+ if (statusCase_ == 8 && partnerProvidedIdDataIngestionStatusBuilder_ != null) {
+ result.status_ = partnerProvidedIdDataIngestionStatusBuilder_.build();
+ }
}
@java.lang.Override
@@ -1815,6 +2114,17 @@ public Builder mergeFrom(
mergeCompositeDataIngestionStatus(other.getCompositeDataIngestionStatus());
break;
}
+ case GOOGLE_USER_ID_DATA_INGESTION_STATUS:
+ {
+ mergeGoogleUserIdDataIngestionStatus(other.getGoogleUserIdDataIngestionStatus());
+ break;
+ }
+ case PARTNER_PROVIDED_ID_DATA_INGESTION_STATUS:
+ {
+ mergePartnerProvidedIdDataIngestionStatus(
+ other.getPartnerProvidedIdDataIngestionStatus());
+ break;
+ }
case STATUS_NOT_SET:
{
break;
@@ -1894,6 +2204,22 @@ public Builder mergeFrom(
statusCase_ = 6;
break;
} // case 50
+ case 58:
+ {
+ input.readMessage(
+ internalGetGoogleUserIdDataIngestionStatusFieldBuilder().getBuilder(),
+ extensionRegistry);
+ statusCase_ = 7;
+ break;
+ } // case 58
+ case 66:
+ {
+ input.readMessage(
+ internalGetPartnerProvidedIdDataIngestionStatusFieldBuilder().getBuilder(),
+ extensionRegistry);
+ statusCase_ = 8;
+ break;
+ } // case 66
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -3510,186 +3836,742 @@ public Builder clearCompositeDataIngestionStatus() {
return compositeDataIngestionStatusBuilder_;
}
- // @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.RequestStatusPerDestination.IngestAudienceMembersStatus)
- }
-
- // @@protoc_insertion_point(class_scope:google.ads.datamanager.v1.RequestStatusPerDestination.IngestAudienceMembersStatus)
- private static final com.google.ads.datamanager.v1.RequestStatusPerDestination
- .IngestAudienceMembersStatus
- DEFAULT_INSTANCE;
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatus,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus
+ .Builder,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatusOrBuilder>
+ googleUserIdDataIngestionStatusBuilder_;
- static {
- DEFAULT_INSTANCE =
- new com.google.ads.datamanager.v1.RequestStatusPerDestination
- .IngestAudienceMembersStatus();
- }
+ /**
+ *
+ *
+ *
+ * The status of the google user id data ingestion to the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus google_user_id_data_ingestion_status = 7;
+ *
+ *
+ * @return Whether the googleUserIdDataIngestionStatus field is set.
+ */
+ @java.lang.Override
+ public boolean hasGoogleUserIdDataIngestionStatus() {
+ return statusCase_ == 7;
+ }
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination
- .IngestAudienceMembersStatus
- getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
+ /**
+ *
+ *
+ *
+ * The status of the google user id data ingestion to the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus google_user_id_data_ingestion_status = 7;
+ *
+ *
+ * @return The googleUserIdDataIngestionStatus.
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus
+ getGoogleUserIdDataIngestionStatus() {
+ if (googleUserIdDataIngestionStatusBuilder_ == null) {
+ if (statusCase_ == 7) {
+ return (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatus)
+ status_;
+ }
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatus.getDefaultInstance();
+ } else {
+ if (statusCase_ == 7) {
+ return googleUserIdDataIngestionStatusBuilder_.getMessage();
+ }
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatus.getDefaultInstance();
+ }
+ }
- private static final com.google.protobuf.Parser PARSER =
- new com.google.protobuf.AbstractParser() {
- @java.lang.Override
- public IngestAudienceMembersStatus parsePartialFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- Builder builder = newBuilder();
- try {
- builder.mergeFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(builder.buildPartial());
- } catch (com.google.protobuf.UninitializedMessageException e) {
- throw e.asInvalidProtocolBufferException()
- .setUnfinishedMessage(builder.buildPartial());
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(e)
- .setUnfinishedMessage(builder.buildPartial());
- }
- return builder.buildPartial();
+ /**
+ *
+ *
+ *
+ * The status of the google user id data ingestion to the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus google_user_id_data_ingestion_status = 7;
+ *
+ */
+ public Builder setGoogleUserIdDataIngestionStatus(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus
+ value) {
+ if (googleUserIdDataIngestionStatusBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
}
- };
-
- public static com.google.protobuf.Parser parser() {
- return PARSER;
- }
+ status_ = value;
+ onChanged();
+ } else {
+ googleUserIdDataIngestionStatusBuilder_.setMessage(value);
+ }
+ statusCase_ = 7;
+ return this;
+ }
- @java.lang.Override
- public com.google.protobuf.Parser getParserForType() {
- return PARSER;
- }
+ /**
+ *
+ *
+ *
+ * The status of the google user id data ingestion to the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus google_user_id_data_ingestion_status = 7;
+ *
+ */
+ public Builder setGoogleUserIdDataIngestionStatus(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus
+ .Builder
+ builderForValue) {
+ if (googleUserIdDataIngestionStatusBuilder_ == null) {
+ status_ = builderForValue.build();
+ onChanged();
+ } else {
+ googleUserIdDataIngestionStatusBuilder_.setMessage(builderForValue.build());
+ }
+ statusCase_ = 7;
+ return this;
+ }
- @java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestAudienceMembersStatus
- getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
- }
- }
+ /**
+ *
+ *
+ *
+ * The status of the google user id data ingestion to the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus google_user_id_data_ingestion_status = 7;
+ *
+ */
+ public Builder mergeGoogleUserIdDataIngestionStatus(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus
+ value) {
+ if (googleUserIdDataIngestionStatusBuilder_ == null) {
+ if (statusCase_ == 7
+ && status_
+ != com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatus.getDefaultInstance()) {
+ status_ =
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatus.newBuilder(
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatus)
+ status_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ status_ = value;
+ }
+ onChanged();
+ } else {
+ if (statusCase_ == 7) {
+ googleUserIdDataIngestionStatusBuilder_.mergeFrom(value);
+ } else {
+ googleUserIdDataIngestionStatusBuilder_.setMessage(value);
+ }
+ }
+ statusCase_ = 7;
+ return this;
+ }
- public interface RemoveAudienceMembersStatusOrBuilder
- extends
- // @@protoc_insertion_point(interface_extends:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveAudienceMembersStatus)
- com.google.protobuf.MessageOrBuilder {
+ /**
+ *
+ *
+ *
+ * The status of the google user id data ingestion to the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus google_user_id_data_ingestion_status = 7;
+ *
+ */
+ public Builder clearGoogleUserIdDataIngestionStatus() {
+ if (googleUserIdDataIngestionStatusBuilder_ == null) {
+ if (statusCase_ == 7) {
+ statusCase_ = 0;
+ status_ = null;
+ onChanged();
+ }
+ } else {
+ if (statusCase_ == 7) {
+ statusCase_ = 0;
+ status_ = null;
+ }
+ googleUserIdDataIngestionStatusBuilder_.clear();
+ }
+ return this;
+ }
- /**
- *
- *
- *
- * The status of the user data removal from the destination.
- *
- *
- *
- * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus user_data_removal_status = 1;
- *
- *
- * @return Whether the userDataRemovalStatus field is set.
- */
- boolean hasUserDataRemovalStatus();
+ /**
+ *
+ *
+ *
+ * The status of the google user id data ingestion to the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus google_user_id_data_ingestion_status = 7;
+ *
+ */
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus
+ .Builder
+ getGoogleUserIdDataIngestionStatusBuilder() {
+ return internalGetGoogleUserIdDataIngestionStatusFieldBuilder().getBuilder();
+ }
- /**
- *
- *
- *
- * The status of the user data removal from the destination.
- *
- *
- *
- * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus user_data_removal_status = 1;
- *
- *
- * @return The userDataRemovalStatus.
- */
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
- getUserDataRemovalStatus();
+ /**
+ *
+ *
+ *
+ * The status of the google user id data ingestion to the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus google_user_id_data_ingestion_status = 7;
+ *
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatusOrBuilder
+ getGoogleUserIdDataIngestionStatusOrBuilder() {
+ if ((statusCase_ == 7) && (googleUserIdDataIngestionStatusBuilder_ != null)) {
+ return googleUserIdDataIngestionStatusBuilder_.getMessageOrBuilder();
+ } else {
+ if (statusCase_ == 7) {
+ return (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatus)
+ status_;
+ }
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatus.getDefaultInstance();
+ }
+ }
- /**
- *
- *
- *
- * The status of the user data removal from the destination.
- *
- *
- *
- * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus user_data_removal_status = 1;
- *
- */
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatusOrBuilder
- getUserDataRemovalStatusOrBuilder();
+ /**
+ *
+ *
+ *
+ * The status of the google user id data ingestion to the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus google_user_id_data_ingestion_status = 7;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatus,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus
+ .Builder,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatusOrBuilder>
+ internalGetGoogleUserIdDataIngestionStatusFieldBuilder() {
+ if (googleUserIdDataIngestionStatusBuilder_ == null) {
+ if (!(statusCase_ == 7)) {
+ status_ =
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatus.getDefaultInstance();
+ }
+ googleUserIdDataIngestionStatusBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatus,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatus.Builder,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatusOrBuilder>(
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatus)
+ status_,
+ getParentForChildren(),
+ isClean());
+ status_ = null;
+ }
+ statusCase_ = 7;
+ onChanged();
+ return googleUserIdDataIngestionStatusBuilder_;
+ }
- /**
- *
- *
- *
- * The status of the mobile data removal from the destination.
- *
- *
- *
- * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus mobile_data_removal_status = 2;
- *
- *
- * @return Whether the mobileDataRemovalStatus field is set.
- */
- boolean hasMobileDataRemovalStatus();
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestPartnerProvidedIdDataStatus,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestPartnerProvidedIdDataStatus.Builder,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestPartnerProvidedIdDataStatusOrBuilder>
+ partnerProvidedIdDataIngestionStatusBuilder_;
- /**
- *
- *
- *
- * The status of the mobile data removal from the destination.
- *
- *
- *
- * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus mobile_data_removal_status = 2;
- *
- *
- * @return The mobileDataRemovalStatus.
- */
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
- getMobileDataRemovalStatus();
+ /**
+ *
+ *
+ *
+ * The status of the partner provided id data ingestion to the
+ * destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.IngestPartnerProvidedIdDataStatus partner_provided_id_data_ingestion_status = 8;
+ *
+ *
+ * @return Whether the partnerProvidedIdDataIngestionStatus field is set.
+ */
+ @java.lang.Override
+ public boolean hasPartnerProvidedIdDataIngestionStatus() {
+ return statusCase_ == 8;
+ }
- /**
- *
- *
+ /**
+ *
+ *
+ *
+ * The status of the partner provided id data ingestion to the
+ * destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.IngestPartnerProvidedIdDataStatus partner_provided_id_data_ingestion_status = 8;
+ *
+ *
+ * @return The partnerProvidedIdDataIngestionStatus.
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestPartnerProvidedIdDataStatus
+ getPartnerProvidedIdDataIngestionStatus() {
+ if (partnerProvidedIdDataIngestionStatusBuilder_ == null) {
+ if (statusCase_ == 8) {
+ return (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestPartnerProvidedIdDataStatus)
+ status_;
+ }
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestPartnerProvidedIdDataStatus.getDefaultInstance();
+ } else {
+ if (statusCase_ == 8) {
+ return partnerProvidedIdDataIngestionStatusBuilder_.getMessage();
+ }
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestPartnerProvidedIdDataStatus.getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the partner provided id data ingestion to the
+ * destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.IngestPartnerProvidedIdDataStatus partner_provided_id_data_ingestion_status = 8;
+ *
+ */
+ public Builder setPartnerProvidedIdDataIngestionStatus(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestPartnerProvidedIdDataStatus
+ value) {
+ if (partnerProvidedIdDataIngestionStatusBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ status_ = value;
+ onChanged();
+ } else {
+ partnerProvidedIdDataIngestionStatusBuilder_.setMessage(value);
+ }
+ statusCase_ = 8;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the partner provided id data ingestion to the
+ * destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.IngestPartnerProvidedIdDataStatus partner_provided_id_data_ingestion_status = 8;
+ *
+ */
+ public Builder setPartnerProvidedIdDataIngestionStatus(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestPartnerProvidedIdDataStatus.Builder
+ builderForValue) {
+ if (partnerProvidedIdDataIngestionStatusBuilder_ == null) {
+ status_ = builderForValue.build();
+ onChanged();
+ } else {
+ partnerProvidedIdDataIngestionStatusBuilder_.setMessage(builderForValue.build());
+ }
+ statusCase_ = 8;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the partner provided id data ingestion to the
+ * destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.IngestPartnerProvidedIdDataStatus partner_provided_id_data_ingestion_status = 8;
+ *
+ */
+ public Builder mergePartnerProvidedIdDataIngestionStatus(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestPartnerProvidedIdDataStatus
+ value) {
+ if (partnerProvidedIdDataIngestionStatusBuilder_ == null) {
+ if (statusCase_ == 8
+ && status_
+ != com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestPartnerProvidedIdDataStatus.getDefaultInstance()) {
+ status_ =
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestPartnerProvidedIdDataStatus.newBuilder(
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestPartnerProvidedIdDataStatus)
+ status_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ status_ = value;
+ }
+ onChanged();
+ } else {
+ if (statusCase_ == 8) {
+ partnerProvidedIdDataIngestionStatusBuilder_.mergeFrom(value);
+ } else {
+ partnerProvidedIdDataIngestionStatusBuilder_.setMessage(value);
+ }
+ }
+ statusCase_ = 8;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the partner provided id data ingestion to the
+ * destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.IngestPartnerProvidedIdDataStatus partner_provided_id_data_ingestion_status = 8;
+ *
+ */
+ public Builder clearPartnerProvidedIdDataIngestionStatus() {
+ if (partnerProvidedIdDataIngestionStatusBuilder_ == null) {
+ if (statusCase_ == 8) {
+ statusCase_ = 0;
+ status_ = null;
+ onChanged();
+ }
+ } else {
+ if (statusCase_ == 8) {
+ statusCase_ = 0;
+ status_ = null;
+ }
+ partnerProvidedIdDataIngestionStatusBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the partner provided id data ingestion to the
+ * destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.IngestPartnerProvidedIdDataStatus partner_provided_id_data_ingestion_status = 8;
+ *
+ */
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestPartnerProvidedIdDataStatus.Builder
+ getPartnerProvidedIdDataIngestionStatusBuilder() {
+ return internalGetPartnerProvidedIdDataIngestionStatusFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the partner provided id data ingestion to the
+ * destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.IngestPartnerProvidedIdDataStatus partner_provided_id_data_ingestion_status = 8;
+ *
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestPartnerProvidedIdDataStatusOrBuilder
+ getPartnerProvidedIdDataIngestionStatusOrBuilder() {
+ if ((statusCase_ == 8) && (partnerProvidedIdDataIngestionStatusBuilder_ != null)) {
+ return partnerProvidedIdDataIngestionStatusBuilder_.getMessageOrBuilder();
+ } else {
+ if (statusCase_ == 8) {
+ return (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestPartnerProvidedIdDataStatus)
+ status_;
+ }
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestPartnerProvidedIdDataStatus.getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the partner provided id data ingestion to the
+ * destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.IngestPartnerProvidedIdDataStatus partner_provided_id_data_ingestion_status = 8;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestPartnerProvidedIdDataStatus,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestPartnerProvidedIdDataStatus.Builder,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestPartnerProvidedIdDataStatusOrBuilder>
+ internalGetPartnerProvidedIdDataIngestionStatusFieldBuilder() {
+ if (partnerProvidedIdDataIngestionStatusBuilder_ == null) {
+ if (!(statusCase_ == 8)) {
+ status_ =
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestPartnerProvidedIdDataStatus.getDefaultInstance();
+ }
+ partnerProvidedIdDataIngestionStatusBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestPartnerProvidedIdDataStatus,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestPartnerProvidedIdDataStatus.Builder,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestPartnerProvidedIdDataStatusOrBuilder>(
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestPartnerProvidedIdDataStatus)
+ status_,
+ getParentForChildren(),
+ isClean());
+ status_ = null;
+ }
+ statusCase_ = 8;
+ onChanged();
+ return partnerProvidedIdDataIngestionStatusBuilder_;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.RequestStatusPerDestination.IngestAudienceMembersStatus)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.ads.datamanager.v1.RequestStatusPerDestination.IngestAudienceMembersStatus)
+ private static final com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestAudienceMembersStatus
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE =
+ new com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestAudienceMembersStatus();
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestAudienceMembersStatus
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public IngestAudienceMembersStatus parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException()
+ .setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestAudienceMembersStatus
+ getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+ }
+
+ public interface RemoveAudienceMembersStatusOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveAudienceMembersStatus)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
*
- * The status of the mobile data removal from the destination.
+ * The status of the user data removal from the destination.
*
*
*
- * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus mobile_data_removal_status = 2;
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus user_data_removal_status = 1;
*
+ *
+ * @return Whether the userDataRemovalStatus field is set.
*/
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatusOrBuilder
- getMobileDataRemovalStatusOrBuilder();
+ boolean hasUserDataRemovalStatus();
/**
*
*
*
- * The status of the pair data removal from the destination.
+ * The status of the user data removal from the destination.
*
*
*
- * .google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus pair_data_removal_status = 3;
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus user_data_removal_status = 1;
*
*
- * @return Whether the pairDataRemovalStatus field is set.
+ * @return The userDataRemovalStatus.
*/
- boolean hasPairDataRemovalStatus();
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
+ getUserDataRemovalStatus();
/**
*
*
*
- * The status of the pair data removal from the destination.
+ * The status of the user data removal from the destination.
*
*
*
- * .google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus pair_data_removal_status = 3;
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus user_data_removal_status = 1;
*
- *
+ */
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatusOrBuilder
+ getUserDataRemovalStatusOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * The status of the mobile data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus mobile_data_removal_status = 2;
+ *
+ *
+ * @return Whether the mobileDataRemovalStatus field is set.
+ */
+ boolean hasMobileDataRemovalStatus();
+
+ /**
+ *
+ *
+ *
+ * The status of the mobile data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus mobile_data_removal_status = 2;
+ *
+ *
+ * @return The mobileDataRemovalStatus.
+ */
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
+ getMobileDataRemovalStatus();
+
+ /**
+ *
+ *
+ *
+ * The status of the mobile data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus mobile_data_removal_status = 2;
+ *
+ */
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatusOrBuilder
+ getMobileDataRemovalStatusOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * The status of the pair data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus pair_data_removal_status = 3;
+ *
+ *
+ * @return Whether the pairDataRemovalStatus field is set.
+ */
+ boolean hasPairDataRemovalStatus();
+
+ /**
+ *
+ *
+ *
+ * The status of the pair data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus pair_data_removal_status = 3;
+ *
+ *
* @return The pairDataRemovalStatus.
*/
com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
@@ -3844,6 +4726,100 @@ public interface RemoveAudienceMembersStatusOrBuilder
com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatusOrBuilder
getCompositeDataRemovalStatusOrBuilder();
+ /**
+ *
+ *
+ *
+ * The status of the google user id data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus google_user_id_data_removal_status = 7;
+ *
+ *
+ * @return Whether the googleUserIdDataRemovalStatus field is set.
+ */
+ boolean hasGoogleUserIdDataRemovalStatus();
+
+ /**
+ *
+ *
+ *
+ * The status of the google user id data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus google_user_id_data_removal_status = 7;
+ *
+ *
+ * @return The googleUserIdDataRemovalStatus.
+ */
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus
+ getGoogleUserIdDataRemovalStatus();
+
+ /**
+ *
+ *
+ *
+ * The status of the google user id data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus google_user_id_data_removal_status = 7;
+ *
+ */
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatusOrBuilder
+ getGoogleUserIdDataRemovalStatusOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * The status of the partner provided id data removal from the
+ * destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemovePartnerProvidedIdDataStatus partner_provided_id_data_removal_status = 8;
+ *
+ *
+ * @return Whether the partnerProvidedIdDataRemovalStatus field is set.
+ */
+ boolean hasPartnerProvidedIdDataRemovalStatus();
+
+ /**
+ *
+ *
+ *
+ * The status of the partner provided id data removal from the
+ * destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemovePartnerProvidedIdDataStatus partner_provided_id_data_removal_status = 8;
+ *
+ *
+ * @return The partnerProvidedIdDataRemovalStatus.
+ */
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePartnerProvidedIdDataStatus
+ getPartnerProvidedIdDataRemovalStatus();
+
+ /**
+ *
+ *
+ *
+ * The status of the partner provided id data removal from the
+ * destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemovePartnerProvidedIdDataStatus partner_provided_id_data_removal_status = 8;
+ *
+ */
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemovePartnerProvidedIdDataStatusOrBuilder
+ getPartnerProvidedIdDataRemovalStatusOrBuilder();
+
com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveAudienceMembersStatus.StatusCase
getStatusCase();
}
@@ -3913,6 +4889,8 @@ public enum StatusCase
USER_ID_DATA_REMOVAL_STATUS(4),
PPID_DATA_REMOVAL_STATUS(5),
COMPOSITE_DATA_REMOVAL_STATUS(6),
+ GOOGLE_USER_ID_DATA_REMOVAL_STATUS(7),
+ PARTNER_PROVIDED_ID_DATA_REMOVAL_STATUS(8),
STATUS_NOT_SET(0);
private final int value;
@@ -3944,6 +4922,10 @@ public static StatusCase forNumber(int value) {
return PPID_DATA_REMOVAL_STATUS;
case 6:
return COMPOSITE_DATA_REMOVAL_STATUS;
+ case 7:
+ return GOOGLE_USER_ID_DATA_REMOVAL_STATUS;
+ case 8:
+ return PARTNER_PROVIDED_ID_DATA_REMOVAL_STATUS;
case 0:
return STATUS_NOT_SET;
default:
@@ -4357,6 +5339,148 @@ public boolean hasCompositeDataRemovalStatus() {
.getDefaultInstance();
}
+ public static final int GOOGLE_USER_ID_DATA_REMOVAL_STATUS_FIELD_NUMBER = 7;
+
+ /**
+ *
+ *
+ *
+ * The status of the google user id data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus google_user_id_data_removal_status = 7;
+ *
+ *
+ * @return Whether the googleUserIdDataRemovalStatus field is set.
+ */
+ @java.lang.Override
+ public boolean hasGoogleUserIdDataRemovalStatus() {
+ return statusCase_ == 7;
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the google user id data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus google_user_id_data_removal_status = 7;
+ *
+ *
+ * @return The googleUserIdDataRemovalStatus.
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus
+ getGoogleUserIdDataRemovalStatus() {
+ if (statusCase_ == 7) {
+ return (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatus)
+ status_;
+ }
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus
+ .getDefaultInstance();
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the google user id data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus google_user_id_data_removal_status = 7;
+ *
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatusOrBuilder
+ getGoogleUserIdDataRemovalStatusOrBuilder() {
+ if (statusCase_ == 7) {
+ return (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatus)
+ status_;
+ }
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus
+ .getDefaultInstance();
+ }
+
+ public static final int PARTNER_PROVIDED_ID_DATA_REMOVAL_STATUS_FIELD_NUMBER = 8;
+
+ /**
+ *
+ *
+ *
+ * The status of the partner provided id data removal from the
+ * destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemovePartnerProvidedIdDataStatus partner_provided_id_data_removal_status = 8;
+ *
+ *
+ * @return Whether the partnerProvidedIdDataRemovalStatus field is set.
+ */
+ @java.lang.Override
+ public boolean hasPartnerProvidedIdDataRemovalStatus() {
+ return statusCase_ == 8;
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the partner provided id data removal from the
+ * destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemovePartnerProvidedIdDataStatus partner_provided_id_data_removal_status = 8;
+ *
+ *
+ * @return The partnerProvidedIdDataRemovalStatus.
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemovePartnerProvidedIdDataStatus
+ getPartnerProvidedIdDataRemovalStatus() {
+ if (statusCase_ == 8) {
+ return (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemovePartnerProvidedIdDataStatus)
+ status_;
+ }
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemovePartnerProvidedIdDataStatus.getDefaultInstance();
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the partner provided id data removal from the
+ * destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemovePartnerProvidedIdDataStatus partner_provided_id_data_removal_status = 8;
+ *
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemovePartnerProvidedIdDataStatusOrBuilder
+ getPartnerProvidedIdDataRemovalStatusOrBuilder() {
+ if (statusCase_ == 8) {
+ return (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemovePartnerProvidedIdDataStatus)
+ status_;
+ }
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemovePartnerProvidedIdDataStatus.getDefaultInstance();
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -4407,6 +5531,19 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
(com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus)
status_);
}
+ if (statusCase_ == 7) {
+ output.writeMessage(
+ 7,
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus)
+ status_);
+ }
+ if (statusCase_ == 8) {
+ output.writeMessage(
+ 8,
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemovePartnerProvidedIdDataStatus)
+ status_);
+ }
getUnknownFields().writeTo(output);
}
@@ -4459,6 +5596,22 @@ public int getSerializedSize() {
.RemoveCompositeDataStatus)
status_);
}
+ if (statusCase_ == 7) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 7,
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatus)
+ status_);
+ }
+ if (statusCase_ == 8) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 8,
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemovePartnerProvidedIdDataStatus)
+ status_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -4501,6 +5654,14 @@ public boolean equals(final java.lang.Object obj) {
if (!getCompositeDataRemovalStatus().equals(other.getCompositeDataRemovalStatus()))
return false;
break;
+ case 7:
+ if (!getGoogleUserIdDataRemovalStatus().equals(other.getGoogleUserIdDataRemovalStatus()))
+ return false;
+ break;
+ case 8:
+ if (!getPartnerProvidedIdDataRemovalStatus()
+ .equals(other.getPartnerProvidedIdDataRemovalStatus())) return false;
+ break;
case 0:
default:
}
@@ -4540,6 +5701,14 @@ public int hashCode() {
hash = (37 * hash) + COMPOSITE_DATA_REMOVAL_STATUS_FIELD_NUMBER;
hash = (53 * hash) + getCompositeDataRemovalStatus().hashCode();
break;
+ case 7:
+ hash = (37 * hash) + GOOGLE_USER_ID_DATA_REMOVAL_STATUS_FIELD_NUMBER;
+ hash = (53 * hash) + getGoogleUserIdDataRemovalStatus().hashCode();
+ break;
+ case 8:
+ hash = (37 * hash) + PARTNER_PROVIDED_ID_DATA_REMOVAL_STATUS_FIELD_NUMBER;
+ hash = (53 * hash) + getPartnerProvidedIdDataRemovalStatus().hashCode();
+ break;
case 0:
default:
}
@@ -4726,6 +5895,12 @@ public Builder clear() {
if (compositeDataRemovalStatusBuilder_ != null) {
compositeDataRemovalStatusBuilder_.clear();
}
+ if (googleUserIdDataRemovalStatusBuilder_ != null) {
+ googleUserIdDataRemovalStatusBuilder_.clear();
+ }
+ if (partnerProvidedIdDataRemovalStatusBuilder_ != null) {
+ partnerProvidedIdDataRemovalStatusBuilder_.clear();
+ }
statusCase_ = 0;
status_ = null;
return this;
@@ -4799,6 +5974,12 @@ private void buildPartialOneofs(
if (statusCase_ == 6 && compositeDataRemovalStatusBuilder_ != null) {
result.status_ = compositeDataRemovalStatusBuilder_.build();
}
+ if (statusCase_ == 7 && googleUserIdDataRemovalStatusBuilder_ != null) {
+ result.status_ = googleUserIdDataRemovalStatusBuilder_.build();
+ }
+ if (statusCase_ == 8 && partnerProvidedIdDataRemovalStatusBuilder_ != null) {
+ result.status_ = partnerProvidedIdDataRemovalStatusBuilder_.build();
+ }
}
@java.lang.Override
@@ -4853,7 +6034,18 @@ public Builder mergeFrom(
mergeCompositeDataRemovalStatus(other.getCompositeDataRemovalStatus());
break;
}
- case STATUS_NOT_SET:
+ case GOOGLE_USER_ID_DATA_REMOVAL_STATUS:
+ {
+ mergeGoogleUserIdDataRemovalStatus(other.getGoogleUserIdDataRemovalStatus());
+ break;
+ }
+ case PARTNER_PROVIDED_ID_DATA_REMOVAL_STATUS:
+ {
+ mergePartnerProvidedIdDataRemovalStatus(
+ other.getPartnerProvidedIdDataRemovalStatus());
+ break;
+ }
+ case STATUS_NOT_SET:
{
break;
}
@@ -4932,6 +6124,22 @@ public Builder mergeFrom(
statusCase_ = 6;
break;
} // case 50
+ case 58:
+ {
+ input.readMessage(
+ internalGetGoogleUserIdDataRemovalStatusFieldBuilder().getBuilder(),
+ extensionRegistry);
+ statusCase_ = 7;
+ break;
+ } // case 58
+ case 66:
+ {
+ input.readMessage(
+ internalGetPartnerProvidedIdDataRemovalStatusFieldBuilder().getBuilder(),
+ extensionRegistry);
+ statusCase_ = 8;
+ break;
+ } // case 66
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -5861,506 +7069,2964 @@ public Builder setUserIdDataRemovalStatus(
return this;
}
- /**
- *
- *
- *
- * The status of the user id data removal from the destination.
- *
- *
- *
- * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus user_id_data_removal_status = 4;
- *
- */
- public Builder mergeUserIdDataRemovalStatus(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus value) {
- if (userIdDataRemovalStatusBuilder_ == null) {
- if (statusCase_ == 4
- && status_
- != com.google.ads.datamanager.v1.RequestStatusPerDestination
- .RemoveUserIdDataStatus.getDefaultInstance()) {
- status_ =
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
- .newBuilder(
- (com.google.ads.datamanager.v1.RequestStatusPerDestination
- .RemoveUserIdDataStatus)
- status_)
- .mergeFrom(value)
- .buildPartial();
- } else {
- status_ = value;
- }
- onChanged();
- } else {
- if (statusCase_ == 4) {
- userIdDataRemovalStatusBuilder_.mergeFrom(value);
- } else {
- userIdDataRemovalStatusBuilder_.setMessage(value);
- }
- }
- statusCase_ = 4;
- return this;
+ /**
+ *
+ *
+ *
+ * The status of the user id data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus user_id_data_removal_status = 4;
+ *
+ */
+ public Builder mergeUserIdDataRemovalStatus(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus value) {
+ if (userIdDataRemovalStatusBuilder_ == null) {
+ if (statusCase_ == 4
+ && status_
+ != com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveUserIdDataStatus.getDefaultInstance()) {
+ status_ =
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
+ .newBuilder(
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveUserIdDataStatus)
+ status_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ status_ = value;
+ }
+ onChanged();
+ } else {
+ if (statusCase_ == 4) {
+ userIdDataRemovalStatusBuilder_.mergeFrom(value);
+ } else {
+ userIdDataRemovalStatusBuilder_.setMessage(value);
+ }
+ }
+ statusCase_ = 4;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the user id data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus user_id_data_removal_status = 4;
+ *
+ */
+ public Builder clearUserIdDataRemovalStatus() {
+ if (userIdDataRemovalStatusBuilder_ == null) {
+ if (statusCase_ == 4) {
+ statusCase_ = 0;
+ status_ = null;
+ onChanged();
+ }
+ } else {
+ if (statusCase_ == 4) {
+ statusCase_ = 0;
+ status_ = null;
+ }
+ userIdDataRemovalStatusBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the user id data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus user_id_data_removal_status = 4;
+ *
+ */
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
+ .Builder
+ getUserIdDataRemovalStatusBuilder() {
+ return internalGetUserIdDataRemovalStatusFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the user id data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus user_id_data_removal_status = 4;
+ *
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveUserIdDataStatusOrBuilder
+ getUserIdDataRemovalStatusOrBuilder() {
+ if ((statusCase_ == 4) && (userIdDataRemovalStatusBuilder_ != null)) {
+ return userIdDataRemovalStatusBuilder_.getMessageOrBuilder();
+ } else {
+ if (statusCase_ == 4) {
+ return (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveUserIdDataStatus)
+ status_;
+ }
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
+ .getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the user id data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus user_id_data_removal_status = 4;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
+ .Builder,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveUserIdDataStatusOrBuilder>
+ internalGetUserIdDataRemovalStatusFieldBuilder() {
+ if (userIdDataRemovalStatusBuilder_ == null) {
+ if (!(statusCase_ == 4)) {
+ status_ =
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
+ .getDefaultInstance();
+ }
+ userIdDataRemovalStatusBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
+ .Builder,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveUserIdDataStatusOrBuilder>(
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus)
+ status_,
+ getParentForChildren(),
+ isClean());
+ status_ = null;
+ }
+ statusCase_ = 4;
+ onChanged();
+ return userIdDataRemovalStatusBuilder_;
+ }
+
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
+ .Builder,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemovePpidDataStatusOrBuilder>
+ ppidDataRemovalStatusBuilder_;
+
+ /**
+ *
+ *
+ *
+ * The status of the ppid data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus ppid_data_removal_status = 5;
+ *
+ *
+ * @return Whether the ppidDataRemovalStatus field is set.
+ */
+ @java.lang.Override
+ public boolean hasPpidDataRemovalStatus() {
+ return statusCase_ == 5;
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the ppid data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus ppid_data_removal_status = 5;
+ *
+ *
+ * @return The ppidDataRemovalStatus.
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
+ getPpidDataRemovalStatus() {
+ if (ppidDataRemovalStatusBuilder_ == null) {
+ if (statusCase_ == 5) {
+ return (com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus)
+ status_;
+ }
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
+ .getDefaultInstance();
+ } else {
+ if (statusCase_ == 5) {
+ return ppidDataRemovalStatusBuilder_.getMessage();
+ }
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
+ .getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the ppid data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus ppid_data_removal_status = 5;
+ *
+ */
+ public Builder setPpidDataRemovalStatus(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus value) {
+ if (ppidDataRemovalStatusBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ status_ = value;
+ onChanged();
+ } else {
+ ppidDataRemovalStatusBuilder_.setMessage(value);
+ }
+ statusCase_ = 5;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the ppid data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus ppid_data_removal_status = 5;
+ *
+ */
+ public Builder setPpidDataRemovalStatus(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus.Builder
+ builderForValue) {
+ if (ppidDataRemovalStatusBuilder_ == null) {
+ status_ = builderForValue.build();
+ onChanged();
+ } else {
+ ppidDataRemovalStatusBuilder_.setMessage(builderForValue.build());
+ }
+ statusCase_ = 5;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the ppid data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus ppid_data_removal_status = 5;
+ *
+ */
+ public Builder mergePpidDataRemovalStatus(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus value) {
+ if (ppidDataRemovalStatusBuilder_ == null) {
+ if (statusCase_ == 5
+ && status_
+ != com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
+ .getDefaultInstance()) {
+ status_ =
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
+ .newBuilder(
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemovePpidDataStatus)
+ status_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ status_ = value;
+ }
+ onChanged();
+ } else {
+ if (statusCase_ == 5) {
+ ppidDataRemovalStatusBuilder_.mergeFrom(value);
+ } else {
+ ppidDataRemovalStatusBuilder_.setMessage(value);
+ }
+ }
+ statusCase_ = 5;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the ppid data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus ppid_data_removal_status = 5;
+ *
+ */
+ public Builder clearPpidDataRemovalStatus() {
+ if (ppidDataRemovalStatusBuilder_ == null) {
+ if (statusCase_ == 5) {
+ statusCase_ = 0;
+ status_ = null;
+ onChanged();
+ }
+ } else {
+ if (statusCase_ == 5) {
+ statusCase_ = 0;
+ status_ = null;
+ }
+ ppidDataRemovalStatusBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the ppid data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus ppid_data_removal_status = 5;
+ *
+ */
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus.Builder
+ getPpidDataRemovalStatusBuilder() {
+ return internalGetPpidDataRemovalStatusFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the ppid data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus ppid_data_removal_status = 5;
+ *
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatusOrBuilder
+ getPpidDataRemovalStatusOrBuilder() {
+ if ((statusCase_ == 5) && (ppidDataRemovalStatusBuilder_ != null)) {
+ return ppidDataRemovalStatusBuilder_.getMessageOrBuilder();
+ } else {
+ if (statusCase_ == 5) {
+ return (com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus)
+ status_;
+ }
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
+ .getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the ppid data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus ppid_data_removal_status = 5;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
+ .Builder,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemovePpidDataStatusOrBuilder>
+ internalGetPpidDataRemovalStatusFieldBuilder() {
+ if (ppidDataRemovalStatusBuilder_ == null) {
+ if (!(statusCase_ == 5)) {
+ status_ =
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
+ .getDefaultInstance();
+ }
+ ppidDataRemovalStatusBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
+ .Builder,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemovePpidDataStatusOrBuilder>(
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus)
+ status_,
+ getParentForChildren(),
+ isClean());
+ status_ = null;
+ }
+ statusCase_ = 5;
+ onChanged();
+ return ppidDataRemovalStatusBuilder_;
+ }
+
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus
+ .Builder,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveCompositeDataStatusOrBuilder>
+ compositeDataRemovalStatusBuilder_;
+
+ /**
+ *
+ *
+ *
+ * The status of the composite data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus composite_data_removal_status = 6;
+ *
+ *
+ * @return Whether the compositeDataRemovalStatus field is set.
+ */
+ @java.lang.Override
+ public boolean hasCompositeDataRemovalStatus() {
+ return statusCase_ == 6;
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the composite data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus composite_data_removal_status = 6;
+ *
+ *
+ * @return The compositeDataRemovalStatus.
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus
+ getCompositeDataRemovalStatus() {
+ if (compositeDataRemovalStatusBuilder_ == null) {
+ if (statusCase_ == 6) {
+ return (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveCompositeDataStatus)
+ status_;
+ }
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus
+ .getDefaultInstance();
+ } else {
+ if (statusCase_ == 6) {
+ return compositeDataRemovalStatusBuilder_.getMessage();
+ }
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus
+ .getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the composite data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus composite_data_removal_status = 6;
+ *
+ */
+ public Builder setCompositeDataRemovalStatus(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus
+ value) {
+ if (compositeDataRemovalStatusBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ status_ = value;
+ onChanged();
+ } else {
+ compositeDataRemovalStatusBuilder_.setMessage(value);
+ }
+ statusCase_ = 6;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the composite data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus composite_data_removal_status = 6;
+ *
+ */
+ public Builder setCompositeDataRemovalStatus(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus
+ .Builder
+ builderForValue) {
+ if (compositeDataRemovalStatusBuilder_ == null) {
+ status_ = builderForValue.build();
+ onChanged();
+ } else {
+ compositeDataRemovalStatusBuilder_.setMessage(builderForValue.build());
+ }
+ statusCase_ = 6;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the composite data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus composite_data_removal_status = 6;
+ *
+ */
+ public Builder mergeCompositeDataRemovalStatus(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus
+ value) {
+ if (compositeDataRemovalStatusBuilder_ == null) {
+ if (statusCase_ == 6
+ && status_
+ != com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveCompositeDataStatus.getDefaultInstance()) {
+ status_ =
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus
+ .newBuilder(
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveCompositeDataStatus)
+ status_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ status_ = value;
+ }
+ onChanged();
+ } else {
+ if (statusCase_ == 6) {
+ compositeDataRemovalStatusBuilder_.mergeFrom(value);
+ } else {
+ compositeDataRemovalStatusBuilder_.setMessage(value);
+ }
+ }
+ statusCase_ = 6;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the composite data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus composite_data_removal_status = 6;
+ *
+ */
+ public Builder clearCompositeDataRemovalStatus() {
+ if (compositeDataRemovalStatusBuilder_ == null) {
+ if (statusCase_ == 6) {
+ statusCase_ = 0;
+ status_ = null;
+ onChanged();
+ }
+ } else {
+ if (statusCase_ == 6) {
+ statusCase_ = 0;
+ status_ = null;
+ }
+ compositeDataRemovalStatusBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the composite data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus composite_data_removal_status = 6;
+ *
+ */
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus
+ .Builder
+ getCompositeDataRemovalStatusBuilder() {
+ return internalGetCompositeDataRemovalStatusFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the composite data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus composite_data_removal_status = 6;
+ *
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveCompositeDataStatusOrBuilder
+ getCompositeDataRemovalStatusOrBuilder() {
+ if ((statusCase_ == 6) && (compositeDataRemovalStatusBuilder_ != null)) {
+ return compositeDataRemovalStatusBuilder_.getMessageOrBuilder();
+ } else {
+ if (statusCase_ == 6) {
+ return (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveCompositeDataStatus)
+ status_;
+ }
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus
+ .getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the composite data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus composite_data_removal_status = 6;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus
+ .Builder,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveCompositeDataStatusOrBuilder>
+ internalGetCompositeDataRemovalStatusFieldBuilder() {
+ if (compositeDataRemovalStatusBuilder_ == null) {
+ if (!(statusCase_ == 6)) {
+ status_ =
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus
+ .getDefaultInstance();
+ }
+ compositeDataRemovalStatusBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveCompositeDataStatus,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveCompositeDataStatus.Builder,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveCompositeDataStatusOrBuilder>(
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveCompositeDataStatus)
+ status_,
+ getParentForChildren(),
+ isClean());
+ status_ = null;
+ }
+ statusCase_ = 6;
+ onChanged();
+ return compositeDataRemovalStatusBuilder_;
+ }
+
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatus,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus
+ .Builder,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatusOrBuilder>
+ googleUserIdDataRemovalStatusBuilder_;
+
+ /**
+ *
+ *
+ *
+ * The status of the google user id data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus google_user_id_data_removal_status = 7;
+ *
+ *
+ * @return Whether the googleUserIdDataRemovalStatus field is set.
+ */
+ @java.lang.Override
+ public boolean hasGoogleUserIdDataRemovalStatus() {
+ return statusCase_ == 7;
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the google user id data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus google_user_id_data_removal_status = 7;
+ *
+ *
+ * @return The googleUserIdDataRemovalStatus.
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus
+ getGoogleUserIdDataRemovalStatus() {
+ if (googleUserIdDataRemovalStatusBuilder_ == null) {
+ if (statusCase_ == 7) {
+ return (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatus)
+ status_;
+ }
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatus.getDefaultInstance();
+ } else {
+ if (statusCase_ == 7) {
+ return googleUserIdDataRemovalStatusBuilder_.getMessage();
+ }
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatus.getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the google user id data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus google_user_id_data_removal_status = 7;
+ *
+ */
+ public Builder setGoogleUserIdDataRemovalStatus(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus
+ value) {
+ if (googleUserIdDataRemovalStatusBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ status_ = value;
+ onChanged();
+ } else {
+ googleUserIdDataRemovalStatusBuilder_.setMessage(value);
+ }
+ statusCase_ = 7;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the google user id data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus google_user_id_data_removal_status = 7;
+ *
+ */
+ public Builder setGoogleUserIdDataRemovalStatus(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus
+ .Builder
+ builderForValue) {
+ if (googleUserIdDataRemovalStatusBuilder_ == null) {
+ status_ = builderForValue.build();
+ onChanged();
+ } else {
+ googleUserIdDataRemovalStatusBuilder_.setMessage(builderForValue.build());
+ }
+ statusCase_ = 7;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the google user id data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus google_user_id_data_removal_status = 7;
+ *
+ */
+ public Builder mergeGoogleUserIdDataRemovalStatus(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus
+ value) {
+ if (googleUserIdDataRemovalStatusBuilder_ == null) {
+ if (statusCase_ == 7
+ && status_
+ != com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatus.getDefaultInstance()) {
+ status_ =
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatus.newBuilder(
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatus)
+ status_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ status_ = value;
+ }
+ onChanged();
+ } else {
+ if (statusCase_ == 7) {
+ googleUserIdDataRemovalStatusBuilder_.mergeFrom(value);
+ } else {
+ googleUserIdDataRemovalStatusBuilder_.setMessage(value);
+ }
+ }
+ statusCase_ = 7;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the google user id data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus google_user_id_data_removal_status = 7;
+ *
+ */
+ public Builder clearGoogleUserIdDataRemovalStatus() {
+ if (googleUserIdDataRemovalStatusBuilder_ == null) {
+ if (statusCase_ == 7) {
+ statusCase_ = 0;
+ status_ = null;
+ onChanged();
+ }
+ } else {
+ if (statusCase_ == 7) {
+ statusCase_ = 0;
+ status_ = null;
+ }
+ googleUserIdDataRemovalStatusBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the google user id data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus google_user_id_data_removal_status = 7;
+ *
+ */
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus
+ .Builder
+ getGoogleUserIdDataRemovalStatusBuilder() {
+ return internalGetGoogleUserIdDataRemovalStatusFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the google user id data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus google_user_id_data_removal_status = 7;
+ *
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatusOrBuilder
+ getGoogleUserIdDataRemovalStatusOrBuilder() {
+ if ((statusCase_ == 7) && (googleUserIdDataRemovalStatusBuilder_ != null)) {
+ return googleUserIdDataRemovalStatusBuilder_.getMessageOrBuilder();
+ } else {
+ if (statusCase_ == 7) {
+ return (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatus)
+ status_;
+ }
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatus.getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the google user id data removal from the destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus google_user_id_data_removal_status = 7;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatus,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus
+ .Builder,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatusOrBuilder>
+ internalGetGoogleUserIdDataRemovalStatusFieldBuilder() {
+ if (googleUserIdDataRemovalStatusBuilder_ == null) {
+ if (!(statusCase_ == 7)) {
+ status_ =
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatus.getDefaultInstance();
+ }
+ googleUserIdDataRemovalStatusBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatus,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatus.Builder,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatusOrBuilder>(
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatus)
+ status_,
+ getParentForChildren(),
+ isClean());
+ status_ = null;
+ }
+ statusCase_ = 7;
+ onChanged();
+ return googleUserIdDataRemovalStatusBuilder_;
+ }
+
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemovePartnerProvidedIdDataStatus,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemovePartnerProvidedIdDataStatus.Builder,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemovePartnerProvidedIdDataStatusOrBuilder>
+ partnerProvidedIdDataRemovalStatusBuilder_;
+
+ /**
+ *
+ *
+ *
+ * The status of the partner provided id data removal from the
+ * destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemovePartnerProvidedIdDataStatus partner_provided_id_data_removal_status = 8;
+ *
+ *
+ * @return Whether the partnerProvidedIdDataRemovalStatus field is set.
+ */
+ @java.lang.Override
+ public boolean hasPartnerProvidedIdDataRemovalStatus() {
+ return statusCase_ == 8;
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the partner provided id data removal from the
+ * destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemovePartnerProvidedIdDataStatus partner_provided_id_data_removal_status = 8;
+ *
+ *
+ * @return The partnerProvidedIdDataRemovalStatus.
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemovePartnerProvidedIdDataStatus
+ getPartnerProvidedIdDataRemovalStatus() {
+ if (partnerProvidedIdDataRemovalStatusBuilder_ == null) {
+ if (statusCase_ == 8) {
+ return (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemovePartnerProvidedIdDataStatus)
+ status_;
+ }
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemovePartnerProvidedIdDataStatus.getDefaultInstance();
+ } else {
+ if (statusCase_ == 8) {
+ return partnerProvidedIdDataRemovalStatusBuilder_.getMessage();
+ }
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemovePartnerProvidedIdDataStatus.getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the partner provided id data removal from the
+ * destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemovePartnerProvidedIdDataStatus partner_provided_id_data_removal_status = 8;
+ *
+ */
+ public Builder setPartnerProvidedIdDataRemovalStatus(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemovePartnerProvidedIdDataStatus
+ value) {
+ if (partnerProvidedIdDataRemovalStatusBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ status_ = value;
+ onChanged();
+ } else {
+ partnerProvidedIdDataRemovalStatusBuilder_.setMessage(value);
+ }
+ statusCase_ = 8;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the partner provided id data removal from the
+ * destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemovePartnerProvidedIdDataStatus partner_provided_id_data_removal_status = 8;
+ *
+ */
+ public Builder setPartnerProvidedIdDataRemovalStatus(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemovePartnerProvidedIdDataStatus.Builder
+ builderForValue) {
+ if (partnerProvidedIdDataRemovalStatusBuilder_ == null) {
+ status_ = builderForValue.build();
+ onChanged();
+ } else {
+ partnerProvidedIdDataRemovalStatusBuilder_.setMessage(builderForValue.build());
+ }
+ statusCase_ = 8;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the partner provided id data removal from the
+ * destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemovePartnerProvidedIdDataStatus partner_provided_id_data_removal_status = 8;
+ *
+ */
+ public Builder mergePartnerProvidedIdDataRemovalStatus(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemovePartnerProvidedIdDataStatus
+ value) {
+ if (partnerProvidedIdDataRemovalStatusBuilder_ == null) {
+ if (statusCase_ == 8
+ && status_
+ != com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemovePartnerProvidedIdDataStatus.getDefaultInstance()) {
+ status_ =
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemovePartnerProvidedIdDataStatus.newBuilder(
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemovePartnerProvidedIdDataStatus)
+ status_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ status_ = value;
+ }
+ onChanged();
+ } else {
+ if (statusCase_ == 8) {
+ partnerProvidedIdDataRemovalStatusBuilder_.mergeFrom(value);
+ } else {
+ partnerProvidedIdDataRemovalStatusBuilder_.setMessage(value);
+ }
+ }
+ statusCase_ = 8;
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the partner provided id data removal from the
+ * destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemovePartnerProvidedIdDataStatus partner_provided_id_data_removal_status = 8;
+ *
+ */
+ public Builder clearPartnerProvidedIdDataRemovalStatus() {
+ if (partnerProvidedIdDataRemovalStatusBuilder_ == null) {
+ if (statusCase_ == 8) {
+ statusCase_ = 0;
+ status_ = null;
+ onChanged();
+ }
+ } else {
+ if (statusCase_ == 8) {
+ statusCase_ = 0;
+ status_ = null;
+ }
+ partnerProvidedIdDataRemovalStatusBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the partner provided id data removal from the
+ * destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemovePartnerProvidedIdDataStatus partner_provided_id_data_removal_status = 8;
+ *
+ */
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemovePartnerProvidedIdDataStatus.Builder
+ getPartnerProvidedIdDataRemovalStatusBuilder() {
+ return internalGetPartnerProvidedIdDataRemovalStatusFieldBuilder().getBuilder();
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the partner provided id data removal from the
+ * destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemovePartnerProvidedIdDataStatus partner_provided_id_data_removal_status = 8;
+ *
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemovePartnerProvidedIdDataStatusOrBuilder
+ getPartnerProvidedIdDataRemovalStatusOrBuilder() {
+ if ((statusCase_ == 8) && (partnerProvidedIdDataRemovalStatusBuilder_ != null)) {
+ return partnerProvidedIdDataRemovalStatusBuilder_.getMessageOrBuilder();
+ } else {
+ if (statusCase_ == 8) {
+ return (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemovePartnerProvidedIdDataStatus)
+ status_;
+ }
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemovePartnerProvidedIdDataStatus.getDefaultInstance();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the partner provided id data removal from the
+ * destination.
+ *
+ *
+ *
+ * .google.ads.datamanager.v1.RequestStatusPerDestination.RemovePartnerProvidedIdDataStatus partner_provided_id_data_removal_status = 8;
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilder<
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemovePartnerProvidedIdDataStatus,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemovePartnerProvidedIdDataStatus.Builder,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemovePartnerProvidedIdDataStatusOrBuilder>
+ internalGetPartnerProvidedIdDataRemovalStatusFieldBuilder() {
+ if (partnerProvidedIdDataRemovalStatusBuilder_ == null) {
+ if (!(statusCase_ == 8)) {
+ status_ =
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemovePartnerProvidedIdDataStatus.getDefaultInstance();
+ }
+ partnerProvidedIdDataRemovalStatusBuilder_ =
+ new com.google.protobuf.SingleFieldBuilder<
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemovePartnerProvidedIdDataStatus,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemovePartnerProvidedIdDataStatus.Builder,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemovePartnerProvidedIdDataStatusOrBuilder>(
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemovePartnerProvidedIdDataStatus)
+ status_,
+ getParentForChildren(),
+ isClean());
+ status_ = null;
+ }
+ statusCase_ = 8;
+ onChanged();
+ return partnerProvidedIdDataRemovalStatusBuilder_;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveAudienceMembersStatus)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveAudienceMembersStatus)
+ private static final com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveAudienceMembersStatus
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE =
+ new com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveAudienceMembersStatus();
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveAudienceMembersStatus
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public RemoveAudienceMembersStatus parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException()
+ .setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveAudienceMembersStatus
+ getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+ }
+
+ public interface RemoveAllAudienceMembersStatusOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveAllAudienceMembersStatus)
+ com.google.protobuf.MessageOrBuilder {}
+
+ /**
+ *
+ *
+ *
+ * The status of the remove all audience members request.
+ *
+ *
+ * Protobuf type {@code
+ * google.ads.datamanager.v1.RequestStatusPerDestination.RemoveAllAudienceMembersStatus}
+ */
+ public static final class RemoveAllAudienceMembersStatus
+ extends com.google.protobuf.GeneratedMessage
+ implements
+ // @@protoc_insertion_point(message_implements:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveAllAudienceMembersStatus)
+ RemoveAllAudienceMembersStatusOrBuilder {
+ private static final long serialVersionUID = 0L;
+
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 6,
+ /* suffix= */ "",
+ "RemoveAllAudienceMembersStatus");
+ }
+
+ // Use RemoveAllAudienceMembersStatus.newBuilder() to construct.
+ private RemoveAllAudienceMembersStatus(
+ com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+
+ private RemoveAllAudienceMembersStatus() {}
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveAllAudienceMembersStatus_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveAllAudienceMembersStatus_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveAllAudienceMembersStatus.class,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveAllAudienceMembersStatus.Builder.class);
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj
+ instanceof
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveAllAudienceMembersStatus)) {
+ return super.equals(obj);
+ }
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveAllAudienceMembersStatus
+ other =
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveAllAudienceMembersStatus)
+ obj;
+
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveAllAudienceMembersStatus
+ parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveAllAudienceMembersStatus
+ parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveAllAudienceMembersStatus
+ parseFrom(com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveAllAudienceMembersStatus
+ parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveAllAudienceMembersStatus
+ parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveAllAudienceMembersStatus
+ parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveAllAudienceMembersStatus
+ parseFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveAllAudienceMembersStatus
+ parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveAllAudienceMembersStatus
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveAllAudienceMembersStatus
+ parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveAllAudienceMembersStatus
+ parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveAllAudienceMembersStatus
+ parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveAllAudienceMembersStatus
+ prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the remove all audience members request.
+ *
+ *
+ * Protobuf type {@code
+ * google.ads.datamanager.v1.RequestStatusPerDestination.RemoveAllAudienceMembersStatus}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveAllAudienceMembersStatus)
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveAllAudienceMembersStatusOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveAllAudienceMembersStatus_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveAllAudienceMembersStatus_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveAllAudienceMembersStatus.class,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveAllAudienceMembersStatus.Builder.class);
+ }
+
+ // Construct using
+ // com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveAllAudienceMembersStatus.newBuilder()
+ private Builder() {}
+
+ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveAllAudienceMembersStatus_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveAllAudienceMembersStatus
+ getDefaultInstanceForType() {
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveAllAudienceMembersStatus.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveAllAudienceMembersStatus
+ build() {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveAllAudienceMembersStatus
+ result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveAllAudienceMembersStatus
+ buildPartial() {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveAllAudienceMembersStatus
+ result =
+ new com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveAllAudienceMembersStatus(this);
+ onBuilt();
+ return result;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other
+ instanceof
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveAllAudienceMembersStatus) {
+ return mergeFrom(
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveAllAudienceMembersStatus)
+ other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveAllAudienceMembersStatus
+ other) {
+ if (other
+ == com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveAllAudienceMembersStatus.getDefaultInstance()) return this;
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveAllAudienceMembersStatus)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveAllAudienceMembersStatus)
+ private static final com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveAllAudienceMembersStatus
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE =
+ new com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveAllAudienceMembersStatus();
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveAllAudienceMembersStatus
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public RemoveAllAudienceMembersStatus parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException()
+ .setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveAllAudienceMembersStatus
+ getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+ }
+
+ public interface IngestEventsStatusOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * The total count of events sent in the upload request. Includes all
+ * events in the request, regardless of whether they were successfully
+ * ingested or not.
+ *
+ *
+ * int64 record_count = 1;
+ *
+ * @return The recordCount.
+ */
+ long getRecordCount();
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the events ingestion to the destination.
+ *
+ *
+ * Protobuf type {@code google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus}
+ */
+ public static final class IngestEventsStatus extends com.google.protobuf.GeneratedMessage
+ implements
+ // @@protoc_insertion_point(message_implements:google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus)
+ IngestEventsStatusOrBuilder {
+ private static final long serialVersionUID = 0L;
+
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 6,
+ /* suffix= */ "",
+ "IngestEventsStatus");
+ }
+
+ // Use IngestEventsStatus.newBuilder() to construct.
+ private IngestEventsStatus(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+
+ private IngestEventsStatus() {}
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestEventsStatus_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestEventsStatus_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus.class,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus.Builder
+ .class);
+ }
+
+ public static final int RECORD_COUNT_FIELD_NUMBER = 1;
+ private long recordCount_ = 0L;
+
+ /**
+ *
+ *
+ *
+ * The total count of events sent in the upload request. Includes all
+ * events in the request, regardless of whether they were successfully
+ * ingested or not.
+ *
+ *
+ * int64 record_count = 1;
+ *
+ * @return The recordCount.
+ */
+ @java.lang.Override
+ public long getRecordCount() {
+ return recordCount_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (recordCount_ != 0L) {
+ output.writeInt64(1, recordCount_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (recordCount_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, recordCount_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj
+ instanceof
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus)) {
+ return super.equals(obj);
+ }
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus other =
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus) obj;
+
+ if (getRecordCount() != other.getRecordCount()) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + RECORD_COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRecordCount());
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus
+ parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus
+ parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus
+ parseFrom(com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus
+ parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus
+ parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus
+ parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus
+ parseFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus
+ parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus
+ parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus
+ parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus
+ parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the events ingestion to the destination.
+ *
+ *
+ * Protobuf type {@code
+ * google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus)
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatusOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestEventsStatus_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestEventsStatus_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus.class,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus.Builder
+ .class);
+ }
+
+ // Construct using
+ // com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus.newBuilder()
+ private Builder() {}
+
+ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ recordCount_ = 0L;
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestEventsStatus_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus
+ getDefaultInstanceForType() {
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus
+ .getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus build() {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus result =
+ buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus
+ buildPartial() {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus result =
+ new com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus(this);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.recordCount_ = recordCount_;
+ }
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other
+ instanceof
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus) {
+ return mergeFrom(
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus other) {
+ if (other
+ == com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus
+ .getDefaultInstance()) return this;
+ if (other.getRecordCount() != 0L) {
+ setRecordCount(other.getRecordCount());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 8:
+ {
+ recordCount_ = input.readInt64();
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 8
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+
+ private int bitField0_;
+
+ private long recordCount_;
+
+ /**
+ *
+ *
+ *
+ * The total count of events sent in the upload request. Includes all
+ * events in the request, regardless of whether they were successfully
+ * ingested or not.
+ *
+ *
+ * int64 record_count = 1;
+ *
+ * @return The recordCount.
+ */
+ @java.lang.Override
+ public long getRecordCount() {
+ return recordCount_;
+ }
+
+ /**
+ *
+ *
+ *
+ * The total count of events sent in the upload request. Includes all
+ * events in the request, regardless of whether they were successfully
+ * ingested or not.
+ *
+ *
+ * int64 record_count = 1;
+ *
+ * @param value The recordCount to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRecordCount(long value) {
+
+ recordCount_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The total count of events sent in the upload request. Includes all
+ * events in the request, regardless of whether they were successfully
+ * ingested or not.
+ *
+ *
+ * int64 record_count = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearRecordCount() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ recordCount_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus)
+ private static final com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestEventsStatus
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE =
+ new com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus();
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public IngestEventsStatus parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException()
+ .setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus
+ getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+ }
+
+ public interface IngestUserDataStatusOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * The total count of audience members sent in the upload request for the
+ * destination. Includes all audience members in the request, regardless of
+ * whether they were successfully ingested or not.
+ *
+ *
+ * int64 record_count = 1;
+ *
+ * @return The recordCount.
+ */
+ long getRecordCount();
+
+ /**
+ *
+ *
+ *
+ * The total count of user identifiers sent in the upload request for the
+ * destination. Includes all user identifiers in the request, regardless of
+ * whether they were successfully ingested or not.
+ *
+ *
+ * int64 user_identifier_count = 2;
+ *
+ * @return The userIdentifierCount.
+ */
+ long getUserIdentifierCount();
+
+ /**
+ *
+ *
+ *
+ * The match rate range of the upload.
+ *
+ *
+ * .google.ads.datamanager.v1.MatchRateRange upload_match_rate_range = 3;
+ *
+ * @return The enum numeric value on the wire for uploadMatchRateRange.
+ */
+ int getUploadMatchRateRangeValue();
+
+ /**
+ *
+ *
+ *
+ * The match rate range of the upload.
+ *
+ *
+ * .google.ads.datamanager.v1.MatchRateRange upload_match_rate_range = 3;
+ *
+ * @return The uploadMatchRateRange.
+ */
+ com.google.ads.datamanager.v1.MatchRateRange getUploadMatchRateRange();
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the user data ingestion to the destination containing stats
+ * related to the ingestion.
+ *
+ *
+ * Protobuf type {@code
+ * google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus}
+ */
+ public static final class IngestUserDataStatus extends com.google.protobuf.GeneratedMessage
+ implements
+ // @@protoc_insertion_point(message_implements:google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus)
+ IngestUserDataStatusOrBuilder {
+ private static final long serialVersionUID = 0L;
+
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 6,
+ /* suffix= */ "",
+ "IngestUserDataStatus");
+ }
+
+ // Use IngestUserDataStatus.newBuilder() to construct.
+ private IngestUserDataStatus(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
+
+ private IngestUserDataStatus() {
+ uploadMatchRateRange_ = 0;
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestUserDataStatus_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestUserDataStatus_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus.class,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus.Builder
+ .class);
+ }
+
+ public static final int RECORD_COUNT_FIELD_NUMBER = 1;
+ private long recordCount_ = 0L;
+
+ /**
+ *
+ *
+ *
+ * The total count of audience members sent in the upload request for the
+ * destination. Includes all audience members in the request, regardless of
+ * whether they were successfully ingested or not.
+ *
+ *
+ * int64 record_count = 1;
+ *
+ * @return The recordCount.
+ */
+ @java.lang.Override
+ public long getRecordCount() {
+ return recordCount_;
+ }
+
+ public static final int USER_IDENTIFIER_COUNT_FIELD_NUMBER = 2;
+ private long userIdentifierCount_ = 0L;
+
+ /**
+ *
+ *
+ *
+ * The total count of user identifiers sent in the upload request for the
+ * destination. Includes all user identifiers in the request, regardless of
+ * whether they were successfully ingested or not.
+ *
+ *
+ * int64 user_identifier_count = 2;
+ *
+ * @return The userIdentifierCount.
+ */
+ @java.lang.Override
+ public long getUserIdentifierCount() {
+ return userIdentifierCount_;
+ }
+
+ public static final int UPLOAD_MATCH_RATE_RANGE_FIELD_NUMBER = 3;
+ private int uploadMatchRateRange_ = 0;
+
+ /**
+ *
+ *
+ *
+ * The match rate range of the upload.
+ *
+ *
+ * .google.ads.datamanager.v1.MatchRateRange upload_match_rate_range = 3;
+ *
+ * @return The enum numeric value on the wire for uploadMatchRateRange.
+ */
+ @java.lang.Override
+ public int getUploadMatchRateRangeValue() {
+ return uploadMatchRateRange_;
+ }
+
+ /**
+ *
+ *
+ *
+ * The match rate range of the upload.
+ *
+ *
+ * .google.ads.datamanager.v1.MatchRateRange upload_match_rate_range = 3;
+ *
+ * @return The uploadMatchRateRange.
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.MatchRateRange getUploadMatchRateRange() {
+ com.google.ads.datamanager.v1.MatchRateRange result =
+ com.google.ads.datamanager.v1.MatchRateRange.forNumber(uploadMatchRateRange_);
+ return result == null ? com.google.ads.datamanager.v1.MatchRateRange.UNRECOGNIZED : result;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (recordCount_ != 0L) {
+ output.writeInt64(1, recordCount_);
+ }
+ if (userIdentifierCount_ != 0L) {
+ output.writeInt64(2, userIdentifierCount_);
+ }
+ if (uploadMatchRateRange_
+ != com.google.ads.datamanager.v1.MatchRateRange.MATCH_RATE_RANGE_UNKNOWN.getNumber()) {
+ output.writeEnum(3, uploadMatchRateRange_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (recordCount_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, recordCount_);
+ }
+ if (userIdentifierCount_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, userIdentifierCount_);
+ }
+ if (uploadMatchRateRange_
+ != com.google.ads.datamanager.v1.MatchRateRange.MATCH_RATE_RANGE_UNKNOWN.getNumber()) {
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, uploadMatchRateRange_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj
+ instanceof
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus)) {
+ return super.equals(obj);
+ }
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus other =
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus) obj;
+
+ if (getRecordCount() != other.getRecordCount()) return false;
+ if (getUserIdentifierCount() != other.getUserIdentifierCount()) return false;
+ if (uploadMatchRateRange_ != other.uploadMatchRateRange_) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + RECORD_COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRecordCount());
+ hash = (37 * hash) + USER_IDENTIFIER_COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getUserIdentifierCount());
+ hash = (37 * hash) + UPLOAD_MATCH_RATE_RANGE_FIELD_NUMBER;
+ hash = (53 * hash) + uploadMatchRateRange_;
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ parseFrom(com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ parseFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the user data ingestion to the destination containing stats
+ * related to the ingestion.
+ *
+ *
+ * Protobuf type {@code
+ * google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus)
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatusOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestUserDataStatus_descriptor;
}
- /**
- *
- *
- *
- * The status of the user id data removal from the destination.
- *
- *
- *
- * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus user_id_data_removal_status = 4;
- *
- */
- public Builder clearUserIdDataRemovalStatus() {
- if (userIdDataRemovalStatusBuilder_ == null) {
- if (statusCase_ == 4) {
- statusCase_ = 0;
- status_ = null;
- onChanged();
- }
- } else {
- if (statusCase_ == 4) {
- statusCase_ = 0;
- status_ = null;
- }
- userIdDataRemovalStatusBuilder_.clear();
- }
- return this;
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestUserDataStatus_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ .class,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ .Builder.class);
}
- /**
- *
- *
- *
- * The status of the user id data removal from the destination.
- *
- *
- *
- * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus user_id_data_removal_status = 4;
- *
- */
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
- .Builder
- getUserIdDataRemovalStatusBuilder() {
- return internalGetUserIdDataRemovalStatusFieldBuilder().getBuilder();
+ // Construct using
+ // com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus.newBuilder()
+ private Builder() {}
+
+ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
}
- /**
- *
- *
- *
- * The status of the user id data removal from the destination.
- *
- *
- *
- * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus user_id_data_removal_status = 4;
- *
- */
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination
- .RemoveUserIdDataStatusOrBuilder
- getUserIdDataRemovalStatusOrBuilder() {
- if ((statusCase_ == 4) && (userIdDataRemovalStatusBuilder_ != null)) {
- return userIdDataRemovalStatusBuilder_.getMessageOrBuilder();
- } else {
- if (statusCase_ == 4) {
- return (com.google.ads.datamanager.v1.RequestStatusPerDestination
- .RemoveUserIdDataStatus)
- status_;
- }
- return com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
- .getDefaultInstance();
- }
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ recordCount_ = 0L;
+ userIdentifierCount_ = 0L;
+ uploadMatchRateRange_ = 0;
+ return this;
}
- /**
- *
- *
- *
- * The status of the user id data removal from the destination.
- *
- *
- *
- * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus user_id_data_removal_status = 4;
- *
- */
- private com.google.protobuf.SingleFieldBuilder<
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
- .Builder,
- com.google.ads.datamanager.v1.RequestStatusPerDestination
- .RemoveUserIdDataStatusOrBuilder>
- internalGetUserIdDataRemovalStatusFieldBuilder() {
- if (userIdDataRemovalStatusBuilder_ == null) {
- if (!(statusCase_ == 4)) {
- status_ =
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
- .getDefaultInstance();
- }
- userIdDataRemovalStatusBuilder_ =
- new com.google.protobuf.SingleFieldBuilder<
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
- .Builder,
- com.google.ads.datamanager.v1.RequestStatusPerDestination
- .RemoveUserIdDataStatusOrBuilder>(
- (com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus)
- status_,
- getParentForChildren(),
- isClean());
- status_ = null;
- }
- statusCase_ = 4;
- onChanged();
- return userIdDataRemovalStatusBuilder_;
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestUserDataStatus_descriptor;
}
- private com.google.protobuf.SingleFieldBuilder<
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
- .Builder,
- com.google.ads.datamanager.v1.RequestStatusPerDestination
- .RemovePpidDataStatusOrBuilder>
- ppidDataRemovalStatusBuilder_;
-
- /**
- *
- *
- *
- * The status of the ppid data removal from the destination.
- *
- *
- *
- * .google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus ppid_data_removal_status = 5;
- *
- *
- * @return Whether the ppidDataRemovalStatus field is set.
- */
@java.lang.Override
- public boolean hasPpidDataRemovalStatus() {
- return statusCase_ == 5;
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ getDefaultInstanceForType() {
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ .getDefaultInstance();
}
- /**
- *
- *
- *
- * The status of the ppid data removal from the destination.
- *
- *
- *
- * .google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus ppid_data_removal_status = 5;
- *
- *
- * @return The ppidDataRemovalStatus.
- */
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
- getPpidDataRemovalStatus() {
- if (ppidDataRemovalStatusBuilder_ == null) {
- if (statusCase_ == 5) {
- return (com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus)
- status_;
- }
- return com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
- .getDefaultInstance();
- } else {
- if (statusCase_ == 5) {
- return ppidDataRemovalStatusBuilder_.getMessage();
- }
- return com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
- .getDefaultInstance();
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ build() {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus result =
+ buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
}
+ return result;
}
- /**
- *
- *
- *
- * The status of the ppid data removal from the destination.
- *
- *
- *
- * .google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus ppid_data_removal_status = 5;
- *
- */
- public Builder setPpidDataRemovalStatus(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus value) {
- if (ppidDataRemovalStatusBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- status_ = value;
- onChanged();
- } else {
- ppidDataRemovalStatusBuilder_.setMessage(value);
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ buildPartial() {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus result =
+ new com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus(
+ this);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
- statusCase_ = 5;
- return this;
+ onBuilt();
+ return result;
}
- /**
- *
- *
- *
- * The status of the ppid data removal from the destination.
- *
- *
- *
- * .google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus ppid_data_removal_status = 5;
- *
- */
- public Builder setPpidDataRemovalStatus(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus.Builder
- builderForValue) {
- if (ppidDataRemovalStatusBuilder_ == null) {
- status_ = builderForValue.build();
- onChanged();
- } else {
- ppidDataRemovalStatusBuilder_.setMessage(builderForValue.build());
+ private void buildPartial0(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.recordCount_ = recordCount_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.userIdentifierCount_ = userIdentifierCount_;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.uploadMatchRateRange_ = uploadMatchRateRange_;
}
- statusCase_ = 5;
- return this;
}
- /**
- *
- *
- *
- * The status of the ppid data removal from the destination.
- *
- *
- *
- * .google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus ppid_data_removal_status = 5;
- *
- */
- public Builder mergePpidDataRemovalStatus(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus value) {
- if (ppidDataRemovalStatusBuilder_ == null) {
- if (statusCase_ == 5
- && status_
- != com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
- .getDefaultInstance()) {
- status_ =
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
- .newBuilder(
- (com.google.ads.datamanager.v1.RequestStatusPerDestination
- .RemovePpidDataStatus)
- status_)
- .mergeFrom(value)
- .buildPartial();
- } else {
- status_ = value;
- }
- onChanged();
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other
+ instanceof
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus) {
+ return mergeFrom(
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus)
+ other);
} else {
- if (statusCase_ == 5) {
- ppidDataRemovalStatusBuilder_.mergeFrom(value);
- } else {
- ppidDataRemovalStatusBuilder_.setMessage(value);
- }
+ super.mergeFrom(other);
+ return this;
}
- statusCase_ = 5;
+ }
+
+ public Builder mergeFrom(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus other) {
+ if (other
+ == com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ .getDefaultInstance()) return this;
+ if (other.getRecordCount() != 0L) {
+ setRecordCount(other.getRecordCount());
+ }
+ if (other.getUserIdentifierCount() != 0L) {
+ setUserIdentifierCount(other.getUserIdentifierCount());
+ }
+ if (other.uploadMatchRateRange_ != 0) {
+ setUploadMatchRateRangeValue(other.getUploadMatchRateRangeValue());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
return this;
}
- /**
- *
- *
- *
- * The status of the ppid data removal from the destination.
- *
- *
- *
- * .google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus ppid_data_removal_status = 5;
- *
- */
- public Builder clearPpidDataRemovalStatus() {
- if (ppidDataRemovalStatusBuilder_ == null) {
- if (statusCase_ == 5) {
- statusCase_ = 0;
- status_ = null;
- onChanged();
- }
- } else {
- if (statusCase_ == 5) {
- statusCase_ = 0;
- status_ = null;
- }
- ppidDataRemovalStatusBuilder_.clear();
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
}
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 8:
+ {
+ recordCount_ = input.readInt64();
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 8
+ case 16:
+ {
+ userIdentifierCount_ = input.readInt64();
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 16
+ case 24:
+ {
+ uploadMatchRateRange_ = input.readEnum();
+ bitField0_ |= 0x00000004;
+ break;
+ } // case 24
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
return this;
}
+ private int bitField0_;
+
+ private long recordCount_;
+
/**
*
*
*
- * The status of the ppid data removal from the destination.
+ * The total count of audience members sent in the upload request for the
+ * destination. Includes all audience members in the request, regardless of
+ * whether they were successfully ingested or not.
*
*
- *
- * .google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus ppid_data_removal_status = 5;
- *
+ * int64 record_count = 1;
+ *
+ * @return The recordCount.
*/
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus.Builder
- getPpidDataRemovalStatusBuilder() {
- return internalGetPpidDataRemovalStatusFieldBuilder().getBuilder();
+ @java.lang.Override
+ public long getRecordCount() {
+ return recordCount_;
}
/**
*
*
*
- * The status of the ppid data removal from the destination.
+ * The total count of audience members sent in the upload request for the
+ * destination. Includes all audience members in the request, regardless of
+ * whether they were successfully ingested or not.
*
*
- *
- * .google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus ppid_data_removal_status = 5;
- *
+ * int64 record_count = 1;
+ *
+ * @param value The recordCount to set.
+ * @return This builder for chaining.
*/
- @java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatusOrBuilder
- getPpidDataRemovalStatusOrBuilder() {
- if ((statusCase_ == 5) && (ppidDataRemovalStatusBuilder_ != null)) {
- return ppidDataRemovalStatusBuilder_.getMessageOrBuilder();
- } else {
- if (statusCase_ == 5) {
- return (com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus)
- status_;
- }
- return com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
- .getDefaultInstance();
- }
+ public Builder setRecordCount(long value) {
+
+ recordCount_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
}
/**
*
*
*
- * The status of the ppid data removal from the destination.
+ * The total count of audience members sent in the upload request for the
+ * destination. Includes all audience members in the request, regardless of
+ * whether they were successfully ingested or not.
*
*
- *
- * .google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus ppid_data_removal_status = 5;
- *
+ * int64 record_count = 1;
+ *
+ * @return This builder for chaining.
*/
- private com.google.protobuf.SingleFieldBuilder<
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
- .Builder,
- com.google.ads.datamanager.v1.RequestStatusPerDestination
- .RemovePpidDataStatusOrBuilder>
- internalGetPpidDataRemovalStatusFieldBuilder() {
- if (ppidDataRemovalStatusBuilder_ == null) {
- if (!(statusCase_ == 5)) {
- status_ =
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
- .getDefaultInstance();
- }
- ppidDataRemovalStatusBuilder_ =
- new com.google.protobuf.SingleFieldBuilder<
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
- .Builder,
- com.google.ads.datamanager.v1.RequestStatusPerDestination
- .RemovePpidDataStatusOrBuilder>(
- (com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus)
- status_,
- getParentForChildren(),
- isClean());
- status_ = null;
- }
- statusCase_ = 5;
+ public Builder clearRecordCount() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ recordCount_ = 0L;
onChanged();
- return ppidDataRemovalStatusBuilder_;
+ return this;
}
- private com.google.protobuf.SingleFieldBuilder<
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus
- .Builder,
- com.google.ads.datamanager.v1.RequestStatusPerDestination
- .RemoveCompositeDataStatusOrBuilder>
- compositeDataRemovalStatusBuilder_;
+ private long userIdentifierCount_;
/**
*
*
*
- * The status of the composite data removal from the destination.
+ * The total count of user identifiers sent in the upload request for the
+ * destination. Includes all user identifiers in the request, regardless of
+ * whether they were successfully ingested or not.
*
*
- *
- * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus composite_data_removal_status = 6;
- *
+ * int64 user_identifier_count = 2;
*
- * @return Whether the compositeDataRemovalStatus field is set.
+ * @return The userIdentifierCount.
*/
@java.lang.Override
- public boolean hasCompositeDataRemovalStatus() {
- return statusCase_ == 6;
+ public long getUserIdentifierCount() {
+ return userIdentifierCount_;
}
/**
*
*
*
- * The status of the composite data removal from the destination.
+ * The total count of user identifiers sent in the upload request for the
+ * destination. Includes all user identifiers in the request, regardless of
+ * whether they were successfully ingested or not.
*
*
- *
- * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus composite_data_removal_status = 6;
- *
+ * int64 user_identifier_count = 2;
*
- * @return The compositeDataRemovalStatus.
+ * @param value The userIdentifierCount to set.
+ * @return This builder for chaining.
*/
- @java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus
- getCompositeDataRemovalStatus() {
- if (compositeDataRemovalStatusBuilder_ == null) {
- if (statusCase_ == 6) {
- return (com.google.ads.datamanager.v1.RequestStatusPerDestination
- .RemoveCompositeDataStatus)
- status_;
- }
- return com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus
- .getDefaultInstance();
- } else {
- if (statusCase_ == 6) {
- return compositeDataRemovalStatusBuilder_.getMessage();
- }
- return com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus
- .getDefaultInstance();
- }
- }
+ public Builder setUserIdentifierCount(long value) {
- /**
- *
- *
- *
- * The status of the composite data removal from the destination.
- *
- *
- *
- * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus composite_data_removal_status = 6;
- *
- */
- public Builder setCompositeDataRemovalStatus(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus
- value) {
- if (compositeDataRemovalStatusBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- status_ = value;
- onChanged();
- } else {
- compositeDataRemovalStatusBuilder_.setMessage(value);
- }
- statusCase_ = 6;
+ userIdentifierCount_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
return this;
}
@@ -6368,94 +10034,56 @@ public Builder setCompositeDataRemovalStatus(
*
*
*
- * The status of the composite data removal from the destination.
+ * The total count of user identifiers sent in the upload request for the
+ * destination. Includes all user identifiers in the request, regardless of
+ * whether they were successfully ingested or not.
*
*
- *
- * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus composite_data_removal_status = 6;
- *
+ * int64 user_identifier_count = 2;
+ *
+ * @return This builder for chaining.
*/
- public Builder setCompositeDataRemovalStatus(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus
- .Builder
- builderForValue) {
- if (compositeDataRemovalStatusBuilder_ == null) {
- status_ = builderForValue.build();
- onChanged();
- } else {
- compositeDataRemovalStatusBuilder_.setMessage(builderForValue.build());
- }
- statusCase_ = 6;
+ public Builder clearUserIdentifierCount() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ userIdentifierCount_ = 0L;
+ onChanged();
return this;
}
+ private int uploadMatchRateRange_ = 0;
+
/**
*
*
*
- * The status of the composite data removal from the destination.
+ * The match rate range of the upload.
*
*
- *
- * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus composite_data_removal_status = 6;
- *
+ * .google.ads.datamanager.v1.MatchRateRange upload_match_rate_range = 3;
+ *
+ * @return The enum numeric value on the wire for uploadMatchRateRange.
*/
- public Builder mergeCompositeDataRemovalStatus(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus
- value) {
- if (compositeDataRemovalStatusBuilder_ == null) {
- if (statusCase_ == 6
- && status_
- != com.google.ads.datamanager.v1.RequestStatusPerDestination
- .RemoveCompositeDataStatus.getDefaultInstance()) {
- status_ =
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus
- .newBuilder(
- (com.google.ads.datamanager.v1.RequestStatusPerDestination
- .RemoveCompositeDataStatus)
- status_)
- .mergeFrom(value)
- .buildPartial();
- } else {
- status_ = value;
- }
- onChanged();
- } else {
- if (statusCase_ == 6) {
- compositeDataRemovalStatusBuilder_.mergeFrom(value);
- } else {
- compositeDataRemovalStatusBuilder_.setMessage(value);
- }
- }
- statusCase_ = 6;
- return this;
+ @java.lang.Override
+ public int getUploadMatchRateRangeValue() {
+ return uploadMatchRateRange_;
}
/**
*
*
*
- * The status of the composite data removal from the destination.
+ * The match rate range of the upload.
*
*
- *
- * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus composite_data_removal_status = 6;
- *
+ * .google.ads.datamanager.v1.MatchRateRange upload_match_rate_range = 3;
+ *
+ * @param value The enum numeric value on the wire for uploadMatchRateRange to set.
+ * @return This builder for chaining.
*/
- public Builder clearCompositeDataRemovalStatus() {
- if (compositeDataRemovalStatusBuilder_ == null) {
- if (statusCase_ == 6) {
- statusCase_ = 0;
- status_ = null;
- onChanged();
- }
- } else {
- if (statusCase_ == 6) {
- statusCase_ = 0;
- status_ = null;
- }
- compositeDataRemovalStatusBuilder_.clear();
- }
+ public Builder setUploadMatchRateRangeValue(int value) {
+ uploadMatchRateRange_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
return this;
}
@@ -6463,115 +10091,82 @@ public Builder clearCompositeDataRemovalStatus() {
*
*
*
- * The status of the composite data removal from the destination.
+ * The match rate range of the upload.
*
*
- *
- * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus composite_data_removal_status = 6;
- *
+ * .google.ads.datamanager.v1.MatchRateRange upload_match_rate_range = 3;
+ *
+ * @return The uploadMatchRateRange.
*/
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus
- .Builder
- getCompositeDataRemovalStatusBuilder() {
- return internalGetCompositeDataRemovalStatusFieldBuilder().getBuilder();
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.MatchRateRange getUploadMatchRateRange() {
+ com.google.ads.datamanager.v1.MatchRateRange result =
+ com.google.ads.datamanager.v1.MatchRateRange.forNumber(uploadMatchRateRange_);
+ return result == null ? com.google.ads.datamanager.v1.MatchRateRange.UNRECOGNIZED : result;
}
/**
*
*
*
- * The status of the composite data removal from the destination.
+ * The match rate range of the upload.
*
*
- *
- * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus composite_data_removal_status = 6;
- *
+ * .google.ads.datamanager.v1.MatchRateRange upload_match_rate_range = 3;
+ *
+ * @param value The uploadMatchRateRange to set.
+ * @return This builder for chaining.
*/
- @java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination
- .RemoveCompositeDataStatusOrBuilder
- getCompositeDataRemovalStatusOrBuilder() {
- if ((statusCase_ == 6) && (compositeDataRemovalStatusBuilder_ != null)) {
- return compositeDataRemovalStatusBuilder_.getMessageOrBuilder();
- } else {
- if (statusCase_ == 6) {
- return (com.google.ads.datamanager.v1.RequestStatusPerDestination
- .RemoveCompositeDataStatus)
- status_;
- }
- return com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus
- .getDefaultInstance();
+ public Builder setUploadMatchRateRange(com.google.ads.datamanager.v1.MatchRateRange value) {
+ if (value == null) {
+ throw new NullPointerException();
}
+ bitField0_ |= 0x00000004;
+ uploadMatchRateRange_ = value.getNumber();
+ onChanged();
+ return this;
}
/**
*
*
*
- * The status of the composite data removal from the destination.
+ * The match rate range of the upload.
*
*
- *
- * .google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus composite_data_removal_status = 6;
- *
+ * .google.ads.datamanager.v1.MatchRateRange upload_match_rate_range = 3;
+ *
+ * @return This builder for chaining.
*/
- private com.google.protobuf.SingleFieldBuilder<
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus
- .Builder,
- com.google.ads.datamanager.v1.RequestStatusPerDestination
- .RemoveCompositeDataStatusOrBuilder>
- internalGetCompositeDataRemovalStatusFieldBuilder() {
- if (compositeDataRemovalStatusBuilder_ == null) {
- if (!(statusCase_ == 6)) {
- status_ =
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus
- .getDefaultInstance();
- }
- compositeDataRemovalStatusBuilder_ =
- new com.google.protobuf.SingleFieldBuilder<
- com.google.ads.datamanager.v1.RequestStatusPerDestination
- .RemoveCompositeDataStatus,
- com.google.ads.datamanager.v1.RequestStatusPerDestination
- .RemoveCompositeDataStatus.Builder,
- com.google.ads.datamanager.v1.RequestStatusPerDestination
- .RemoveCompositeDataStatusOrBuilder>(
- (com.google.ads.datamanager.v1.RequestStatusPerDestination
- .RemoveCompositeDataStatus)
- status_,
- getParentForChildren(),
- isClean());
- status_ = null;
- }
- statusCase_ = 6;
+ public Builder clearUploadMatchRateRange() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ uploadMatchRateRange_ = 0;
onChanged();
- return compositeDataRemovalStatusBuilder_;
+ return this;
}
- // @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveAudienceMembersStatus)
+ // @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus)
}
- // @@protoc_insertion_point(class_scope:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveAudienceMembersStatus)
+ // @@protoc_insertion_point(class_scope:google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus)
private static final com.google.ads.datamanager.v1.RequestStatusPerDestination
- .RemoveAudienceMembersStatus
+ .IngestUserDataStatus
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE =
- new com.google.ads.datamanager.v1.RequestStatusPerDestination
- .RemoveAudienceMembersStatus();
+ new com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus();
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination
- .RemoveAudienceMembersStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parser PARSER =
- new com.google.protobuf.AbstractParser() {
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
@java.lang.Override
- public RemoveAudienceMembersStatus parsePartialFrom(
+ public IngestUserDataStatus parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -6591,34 +10186,34 @@ public RemoveAudienceMembersStatus parsePartialFrom(
}
};
- public static com.google.protobuf.Parser parser() {
+ public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
- public com.google.protobuf.Parser getParserForType() {
+ public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveAudienceMembersStatus
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
- public interface IngestEventsStatusOrBuilder
+ public interface RemoveUserDataStatusOrBuilder
extends
- // @@protoc_insertion_point(interface_extends:google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus)
+ // @@protoc_insertion_point(interface_extends:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
- * The total count of events sent in the upload request. Includes all
- * events in the request, regardless of whether they were successfully
- * ingested or not.
+ * The total count of audience members sent in the removal request. Includes
+ * all audience members in the request, regardless of whether they were
+ * successfully removed or not.
*
*
* int64 record_count = 1;
@@ -6626,21 +10221,37 @@ public interface IngestEventsStatusOrBuilder
* @return The recordCount.
*/
long getRecordCount();
+
+ /**
+ *
+ *
+ *
+ * The total count of user identifiers sent in the removal request. Includes
+ * all user identifiers in the request, regardless of whether they were
+ * successfully removed or not.
+ *
+ *
+ * int64 user_identifier_count = 2;
+ *
+ * @return The userIdentifierCount.
+ */
+ long getUserIdentifierCount();
}
/**
*
*
*
- * The status of the events ingestion to the destination.
+ * The status of the user data removal from the destination.
*
*
- * Protobuf type {@code google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus}
+ * Protobuf type {@code
+ * google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus}
*/
- public static final class IngestEventsStatus extends com.google.protobuf.GeneratedMessage
+ public static final class RemoveUserDataStatus extends com.google.protobuf.GeneratedMessage
implements
- // @@protoc_insertion_point(message_implements:google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus)
- IngestEventsStatusOrBuilder {
+ // @@protoc_insertion_point(message_implements:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus)
+ RemoveUserDataStatusOrBuilder {
private static final long serialVersionUID = 0L;
static {
@@ -6650,29 +10261,29 @@ public static final class IngestEventsStatus extends com.google.protobuf.Generat
/* minor= */ 33,
/* patch= */ 6,
/* suffix= */ "",
- "IngestEventsStatus");
+ "RemoveUserDataStatus");
}
- // Use IngestEventsStatus.newBuilder() to construct.
- private IngestEventsStatus(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ // Use RemoveUserDataStatus.newBuilder() to construct.
+ private RemoveUserDataStatus(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
- private IngestEventsStatus() {}
+ private RemoveUserDataStatus() {}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestEventsStatus_descriptor;
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveUserDataStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestEventsStatus_fieldAccessorTable
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveUserDataStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus.class,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus.Builder
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus.class,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus.Builder
.class);
}
@@ -6683,9 +10294,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * The total count of events sent in the upload request. Includes all
- * events in the request, regardless of whether they were successfully
- * ingested or not.
+ * The total count of audience members sent in the removal request. Includes
+ * all audience members in the request, regardless of whether they were
+ * successfully removed or not.
*
*
* int64 record_count = 1;
@@ -6697,6 +10308,27 @@ public long getRecordCount() {
return recordCount_;
}
+ public static final int USER_IDENTIFIER_COUNT_FIELD_NUMBER = 2;
+ private long userIdentifierCount_ = 0L;
+
+ /**
+ *
+ *
+ *
+ * The total count of user identifiers sent in the removal request. Includes
+ * all user identifiers in the request, regardless of whether they were
+ * successfully removed or not.
+ *
+ *
+ * int64 user_identifier_count = 2;
+ *
+ * @return The userIdentifierCount.
+ */
+ @java.lang.Override
+ public long getUserIdentifierCount() {
+ return userIdentifierCount_;
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -6714,6 +10346,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (recordCount_ != 0L) {
output.writeInt64(1, recordCount_);
}
+ if (userIdentifierCount_ != 0L) {
+ output.writeInt64(2, userIdentifierCount_);
+ }
getUnknownFields().writeTo(output);
}
@@ -6726,6 +10361,9 @@ public int getSerializedSize() {
if (recordCount_ != 0L) {
size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, recordCount_);
}
+ if (userIdentifierCount_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, userIdentifierCount_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -6738,13 +10376,14 @@ public boolean equals(final java.lang.Object obj) {
}
if (!(obj
instanceof
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus)) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus)) {
return super.equals(obj);
}
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus other =
- (com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus) obj;
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus other =
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus) obj;
if (getRecordCount() != other.getRecordCount()) return false;
+ if (getUserIdentifierCount() != other.getUserIdentifierCount()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -6758,31 +10397,33 @@ public int hashCode() {
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + RECORD_COUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRecordCount());
+ hash = (37 * hash) + USER_IDENTIFIER_COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getUserIdentifierCount());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
parseFrom(java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
parseFrom(
java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -6790,23 +10431,23 @@ public int hashCode() {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
parseFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
parseFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -6814,12 +10455,12 @@ public int hashCode() {
PARSER, input, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -6827,12 +10468,12 @@ public int hashCode() {
PARSER, input, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -6851,7 +10492,7 @@ public static Builder newBuilder() {
}
public static Builder newBuilder(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus prototype) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@@ -6870,34 +10511,35 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder
*
*
*
- * The status of the events ingestion to the destination.
+ * The status of the user data removal from the destination.
*
*
* Protobuf type {@code
- * google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus}
+ * google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus}
*/
public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
implements
- // @@protoc_insertion_point(builder_implements:google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus)
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatusOrBuilder {
+ // @@protoc_insertion_point(builder_implements:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus)
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatusOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestEventsStatus_descriptor;
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveUserDataStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestEventsStatus_fieldAccessorTable
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveUserDataStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus.class,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus.Builder
- .class);
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
+ .class,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
+ .Builder.class);
}
// Construct using
- // com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus.newBuilder()
+ // com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus.newBuilder()
private Builder() {}
private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
@@ -6909,25 +10551,27 @@ public Builder clear() {
super.clear();
bitField0_ = 0;
recordCount_ = 0L;
+ userIdentifierCount_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestEventsStatus_descriptor;
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveUserDataStatus_descriptor;
}
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
getDefaultInstanceForType() {
- return com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
.getDefaultInstance();
}
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus build() {
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus result =
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
+ build() {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus result =
buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
@@ -6936,10 +10580,11 @@ public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsSta
}
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
buildPartial() {
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus result =
- new com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus(this);
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus result =
+ new com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus(
+ this);
if (bitField0_ != 0) {
buildPartial0(result);
}
@@ -6948,20 +10593,24 @@ public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsSta
}
private void buildPartial0(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus result) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.recordCount_ = recordCount_;
}
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.userIdentifierCount_ = userIdentifierCount_;
+ }
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other
instanceof
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus) {
return mergeFrom(
- (com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus) other);
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus)
+ other);
} else {
super.mergeFrom(other);
return this;
@@ -6969,13 +10618,16 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
}
public Builder mergeFrom(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus other) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus other) {
if (other
- == com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus
+ == com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
.getDefaultInstance()) return this;
if (other.getRecordCount() != 0L) {
setRecordCount(other.getRecordCount());
}
+ if (other.getUserIdentifierCount() != 0L) {
+ setUserIdentifierCount(other.getUserIdentifierCount());
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -7008,6 +10660,12 @@ public Builder mergeFrom(
bitField0_ |= 0x00000001;
break;
} // case 8
+ case 16:
+ {
+ userIdentifierCount_ = input.readInt64();
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 16
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -7033,9 +10691,9 @@ public Builder mergeFrom(
*
*
*
- * The total count of events sent in the upload request. Includes all
- * events in the request, regardless of whether they were successfully
- * ingested or not.
+ * The total count of audience members sent in the removal request. Includes
+ * all audience members in the request, regardless of whether they were
+ * successfully removed or not.
*
*
* int64 record_count = 1;
@@ -7051,9 +10709,9 @@ public long getRecordCount() {
*
*
*
- * The total count of events sent in the upload request. Includes all
- * events in the request, regardless of whether they were successfully
- * ingested or not.
+ * The total count of audience members sent in the removal request. Includes
+ * all audience members in the request, regardless of whether they were
+ * successfully removed or not.
*
*
* int64 record_count = 1;
@@ -7073,9 +10731,9 @@ public Builder setRecordCount(long value) {
*
*
*
- * The total count of events sent in the upload request. Includes all
- * events in the request, regardless of whether they were successfully
- * ingested or not.
+ * The total count of audience members sent in the removal request. Includes
+ * all audience members in the request, regardless of whether they were
+ * successfully removed or not.
*
*
* int64 record_count = 1;
@@ -7089,28 +10747,90 @@ public Builder clearRecordCount() {
return this;
}
- // @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus)
+ private long userIdentifierCount_;
+
+ /**
+ *
+ *
+ *
+ * The total count of user identifiers sent in the removal request. Includes
+ * all user identifiers in the request, regardless of whether they were
+ * successfully removed or not.
+ *
+ *
+ * int64 user_identifier_count = 2;
+ *
+ * @return The userIdentifierCount.
+ */
+ @java.lang.Override
+ public long getUserIdentifierCount() {
+ return userIdentifierCount_;
+ }
+
+ /**
+ *
+ *
+ *
+ * The total count of user identifiers sent in the removal request. Includes
+ * all user identifiers in the request, regardless of whether they were
+ * successfully removed or not.
+ *
+ *
+ * int64 user_identifier_count = 2;
+ *
+ * @param value The userIdentifierCount to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUserIdentifierCount(long value) {
+
+ userIdentifierCount_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ /**
+ *
+ *
+ *
+ * The total count of user identifiers sent in the removal request. Includes
+ * all user identifiers in the request, regardless of whether they were
+ * successfully removed or not.
+ *
+ *
+ * int64 user_identifier_count = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearUserIdentifierCount() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ userIdentifierCount_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus)
}
- // @@protoc_insertion_point(class_scope:google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus)
+ // @@protoc_insertion_point(class_scope:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus)
private static final com.google.ads.datamanager.v1.RequestStatusPerDestination
- .IngestEventsStatus
+ .RemoveUserDataStatus
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE =
- new com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus();
+ new com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus();
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parser PARSER =
- new com.google.protobuf.AbstractParser() {
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
@java.lang.Override
- public IngestEventsStatus parsePartialFrom(
+ public RemoveUserDataStatus parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -7130,25 +10850,25 @@ public IngestEventsStatus parsePartialFrom(
}
};
- public static com.google.protobuf.Parser parser() {
+ public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
- public com.google.protobuf.Parser getParserForType() {
+ public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestEventsStatus
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
- public interface IngestUserDataStatusOrBuilder
+ public interface IngestMobileDataStatusOrBuilder
extends
- // @@protoc_insertion_point(interface_extends:google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus)
+ // @@protoc_insertion_point(interface_extends:google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus)
com.google.protobuf.MessageOrBuilder {
/**
@@ -7170,59 +10890,33 @@ public interface IngestUserDataStatusOrBuilder
*
*
*
- * The total count of user identifiers sent in the upload request for the
- * destination. Includes all user identifiers in the request, regardless of
+ * The total count of mobile ids sent in the upload request for the
+ * destination. Includes all mobile ids in the request, regardless of
* whether they were successfully ingested or not.
*
*
- * int64 user_identifier_count = 2;
- *
- * @return The userIdentifierCount.
- */
- long getUserIdentifierCount();
-
- /**
- *
- *
- *
- * The match rate range of the upload.
- *
- *
- * .google.ads.datamanager.v1.MatchRateRange upload_match_rate_range = 3;
- *
- * @return The enum numeric value on the wire for uploadMatchRateRange.
- */
- int getUploadMatchRateRangeValue();
-
- /**
- *
- *
- *
- * The match rate range of the upload.
- *
- *
- * .google.ads.datamanager.v1.MatchRateRange upload_match_rate_range = 3;
+ * int64 mobile_id_count = 2;
*
- * @return The uploadMatchRateRange.
+ * @return The mobileIdCount.
*/
- com.google.ads.datamanager.v1.MatchRateRange getUploadMatchRateRange();
+ long getMobileIdCount();
}
/**
*
*
*
- * The status of the user data ingestion to the destination containing stats
+ * The status of the mobile data ingestion to the destination containing stats
* related to the ingestion.
*
*
* Protobuf type {@code
- * google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus}
+ * google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus}
*/
- public static final class IngestUserDataStatus extends com.google.protobuf.GeneratedMessage
+ public static final class IngestMobileDataStatus extends com.google.protobuf.GeneratedMessage
implements
- // @@protoc_insertion_point(message_implements:google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus)
- IngestUserDataStatusOrBuilder {
+ // @@protoc_insertion_point(message_implements:google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus)
+ IngestMobileDataStatusOrBuilder {
private static final long serialVersionUID = 0L;
static {
@@ -7232,32 +10926,31 @@ public static final class IngestUserDataStatus extends com.google.protobuf.Gener
/* minor= */ 33,
/* patch= */ 6,
/* suffix= */ "",
- "IngestUserDataStatus");
+ "IngestMobileDataStatus");
}
- // Use IngestUserDataStatus.newBuilder() to construct.
- private IngestUserDataStatus(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ // Use IngestMobileDataStatus.newBuilder() to construct.
+ private IngestMobileDataStatus(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
- private IngestUserDataStatus() {
- uploadMatchRateRange_ = 0;
- }
+ private IngestMobileDataStatus() {}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestUserDataStatus_descriptor;
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestMobileDataStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestUserDataStatus_fieldAccessorTable
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestMobileDataStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus.class,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus.Builder
- .class);
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
+ .class,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
+ .Builder.class);
}
public static final int RECORD_COUNT_FIELD_NUMBER = 1;
@@ -7281,62 +10974,25 @@ public long getRecordCount() {
return recordCount_;
}
- public static final int USER_IDENTIFIER_COUNT_FIELD_NUMBER = 2;
- private long userIdentifierCount_ = 0L;
+ public static final int MOBILE_ID_COUNT_FIELD_NUMBER = 2;
+ private long mobileIdCount_ = 0L;
/**
*
*
*
- * The total count of user identifiers sent in the upload request for the
- * destination. Includes all user identifiers in the request, regardless of
+ * The total count of mobile ids sent in the upload request for the
+ * destination. Includes all mobile ids in the request, regardless of
* whether they were successfully ingested or not.
*
*
- * int64 user_identifier_count = 2;
- *
- * @return The userIdentifierCount.
- */
- @java.lang.Override
- public long getUserIdentifierCount() {
- return userIdentifierCount_;
- }
-
- public static final int UPLOAD_MATCH_RATE_RANGE_FIELD_NUMBER = 3;
- private int uploadMatchRateRange_ = 0;
-
- /**
- *
- *
- *
- * The match rate range of the upload.
- *
- *
- * .google.ads.datamanager.v1.MatchRateRange upload_match_rate_range = 3;
- *
- * @return The enum numeric value on the wire for uploadMatchRateRange.
- */
- @java.lang.Override
- public int getUploadMatchRateRangeValue() {
- return uploadMatchRateRange_;
- }
-
- /**
- *
- *
- *
- * The match rate range of the upload.
- *
- *
- * .google.ads.datamanager.v1.MatchRateRange upload_match_rate_range = 3;
+ * int64 mobile_id_count = 2;
*
- * @return The uploadMatchRateRange.
+ * @return The mobileIdCount.
*/
@java.lang.Override
- public com.google.ads.datamanager.v1.MatchRateRange getUploadMatchRateRange() {
- com.google.ads.datamanager.v1.MatchRateRange result =
- com.google.ads.datamanager.v1.MatchRateRange.forNumber(uploadMatchRateRange_);
- return result == null ? com.google.ads.datamanager.v1.MatchRateRange.UNRECOGNIZED : result;
+ public long getMobileIdCount() {
+ return mobileIdCount_;
}
private byte memoizedIsInitialized = -1;
@@ -7356,12 +11012,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (recordCount_ != 0L) {
output.writeInt64(1, recordCount_);
}
- if (userIdentifierCount_ != 0L) {
- output.writeInt64(2, userIdentifierCount_);
- }
- if (uploadMatchRateRange_
- != com.google.ads.datamanager.v1.MatchRateRange.MATCH_RATE_RANGE_UNKNOWN.getNumber()) {
- output.writeEnum(3, uploadMatchRateRange_);
+ if (mobileIdCount_ != 0L) {
+ output.writeInt64(2, mobileIdCount_);
}
getUnknownFields().writeTo(output);
}
@@ -7375,12 +11027,8 @@ public int getSerializedSize() {
if (recordCount_ != 0L) {
size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, recordCount_);
}
- if (userIdentifierCount_ != 0L) {
- size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, userIdentifierCount_);
- }
- if (uploadMatchRateRange_
- != com.google.ads.datamanager.v1.MatchRateRange.MATCH_RATE_RANGE_UNKNOWN.getNumber()) {
- size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, uploadMatchRateRange_);
+ if (mobileIdCount_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, mobileIdCount_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
@@ -7394,15 +11042,14 @@ public boolean equals(final java.lang.Object obj) {
}
if (!(obj
instanceof
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus)) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus)) {
return super.equals(obj);
}
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus other =
- (com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus) obj;
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus other =
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus) obj;
if (getRecordCount() != other.getRecordCount()) return false;
- if (getUserIdentifierCount() != other.getUserIdentifierCount()) return false;
- if (uploadMatchRateRange_ != other.uploadMatchRateRange_) return false;
+ if (getMobileIdCount() != other.getMobileIdCount()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -7416,35 +11063,33 @@ public int hashCode() {
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + RECORD_COUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRecordCount());
- hash = (37 * hash) + USER_IDENTIFIER_COUNT_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getUserIdentifierCount());
- hash = (37 * hash) + UPLOAD_MATCH_RATE_RANGE_FIELD_NUMBER;
- hash = (53 * hash) + uploadMatchRateRange_;
+ hash = (37 * hash) + MOBILE_ID_COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMobileIdCount());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
parseFrom(java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
parseFrom(
java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -7452,23 +11097,23 @@ public int hashCode() {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
parseFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
parseFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -7476,12 +11121,12 @@ public int hashCode() {
PARSER, input, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -7489,12 +11134,12 @@ public int hashCode() {
PARSER, input, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -7513,7 +11158,8 @@ public static Builder newBuilder() {
}
public static Builder newBuilder(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus prototype) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
+ prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@@ -7532,36 +11178,36 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder
*
*
*
- * The status of the user data ingestion to the destination containing stats
+ * The status of the mobile data ingestion to the destination containing stats
* related to the ingestion.
*
*
* Protobuf type {@code
- * google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus}
+ * google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus}
*/
public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
implements
- // @@protoc_insertion_point(builder_implements:google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus)
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatusOrBuilder {
+ // @@protoc_insertion_point(builder_implements:google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus)
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatusOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestUserDataStatus_descriptor;
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestMobileDataStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestUserDataStatus_fieldAccessorTable
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestMobileDataStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
.class,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
.Builder.class);
}
// Construct using
- // com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus.newBuilder()
+ // com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus.newBuilder()
private Builder() {}
private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
@@ -7573,28 +11219,27 @@ public Builder clear() {
super.clear();
bitField0_ = 0;
recordCount_ = 0L;
- userIdentifierCount_ = 0L;
- uploadMatchRateRange_ = 0;
+ mobileIdCount_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestUserDataStatus_descriptor;
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestMobileDataStatus_descriptor;
}
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
getDefaultInstanceForType() {
- return com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
.getDefaultInstance();
}
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
build() {
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus result =
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus result =
buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
@@ -7603,10 +11248,10 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
}
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
buildPartial() {
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus result =
- new com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus result =
+ new com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus(
this);
if (bitField0_ != 0) {
buildPartial0(result);
@@ -7616,16 +11261,13 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
}
private void buildPartial0(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus result) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.recordCount_ = recordCount_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
- result.userIdentifierCount_ = userIdentifierCount_;
- }
- if (((from_bitField0_ & 0x00000004) != 0)) {
- result.uploadMatchRateRange_ = uploadMatchRateRange_;
+ result.mobileIdCount_ = mobileIdCount_;
}
}
@@ -7633,9 +11275,9 @@ private void buildPartial0(
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other
instanceof
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus) {
return mergeFrom(
- (com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus)
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus)
other);
} else {
super.mergeFrom(other);
@@ -7644,18 +11286,15 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
}
public Builder mergeFrom(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus other) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus other) {
if (other
- == com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ == com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
.getDefaultInstance()) return this;
if (other.getRecordCount() != 0L) {
setRecordCount(other.getRecordCount());
}
- if (other.getUserIdentifierCount() != 0L) {
- setUserIdentifierCount(other.getUserIdentifierCount());
- }
- if (other.uploadMatchRateRange_ != 0) {
- setUploadMatchRateRangeValue(other.getUploadMatchRateRangeValue());
+ if (other.getMobileIdCount() != 0L) {
+ setMobileIdCount(other.getMobileIdCount());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
@@ -7691,16 +11330,10 @@ public Builder mergeFrom(
} // case 8
case 16:
{
- userIdentifierCount_ = input.readInt64();
+ mobileIdCount_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
- case 24:
- {
- uploadMatchRateRange_ = input.readEnum();
- bitField0_ |= 0x00000004;
- break;
- } // case 24
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -7782,43 +11415,43 @@ public Builder clearRecordCount() {
return this;
}
- private long userIdentifierCount_;
+ private long mobileIdCount_;
/**
*
*
*
- * The total count of user identifiers sent in the upload request for the
- * destination. Includes all user identifiers in the request, regardless of
+ * The total count of mobile ids sent in the upload request for the
+ * destination. Includes all mobile ids in the request, regardless of
* whether they were successfully ingested or not.
*
*
- * int64 user_identifier_count = 2;
+ * int64 mobile_id_count = 2;
*
- * @return The userIdentifierCount.
+ * @return The mobileIdCount.
*/
@java.lang.Override
- public long getUserIdentifierCount() {
- return userIdentifierCount_;
+ public long getMobileIdCount() {
+ return mobileIdCount_;
}
/**
*
*
*
- * The total count of user identifiers sent in the upload request for the
- * destination. Includes all user identifiers in the request, regardless of
+ * The total count of mobile ids sent in the upload request for the
+ * destination. Includes all mobile ids in the request, regardless of
* whether they were successfully ingested or not.
*
*
- * int64 user_identifier_count = 2;
+ * int64 mobile_id_count = 2;
*
- * @param value The userIdentifierCount to set.
+ * @param value The mobileIdCount to set.
* @return This builder for chaining.
*/
- public Builder setUserIdentifierCount(long value) {
+ public Builder setMobileIdCount(long value) {
- userIdentifierCount_ = value;
+ mobileIdCount_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
@@ -7828,139 +11461,44 @@ public Builder setUserIdentifierCount(long value) {
*
*
*
- * The total count of user identifiers sent in the upload request for the
- * destination. Includes all user identifiers in the request, regardless of
+ * The total count of mobile ids sent in the upload request for the
+ * destination. Includes all mobile ids in the request, regardless of
* whether they were successfully ingested or not.
*
*
- * int64 user_identifier_count = 2;
+ * int64 mobile_id_count = 2;
*
* @return This builder for chaining.
*/
- public Builder clearUserIdentifierCount() {
+ public Builder clearMobileIdCount() {
bitField0_ = (bitField0_ & ~0x00000002);
- userIdentifierCount_ = 0L;
- onChanged();
- return this;
- }
-
- private int uploadMatchRateRange_ = 0;
-
- /**
- *
- *
- *
- * The match rate range of the upload.
- *
- *
- * .google.ads.datamanager.v1.MatchRateRange upload_match_rate_range = 3;
- *
- * @return The enum numeric value on the wire for uploadMatchRateRange.
- */
- @java.lang.Override
- public int getUploadMatchRateRangeValue() {
- return uploadMatchRateRange_;
- }
-
- /**
- *
- *
- *
- * The match rate range of the upload.
- *
- *
- * .google.ads.datamanager.v1.MatchRateRange upload_match_rate_range = 3;
- *
- * @param value The enum numeric value on the wire for uploadMatchRateRange to set.
- * @return This builder for chaining.
- */
- public Builder setUploadMatchRateRangeValue(int value) {
- uploadMatchRateRange_ = value;
- bitField0_ |= 0x00000004;
- onChanged();
- return this;
- }
-
- /**
- *
- *
- *
- * The match rate range of the upload.
- *
- *
- * .google.ads.datamanager.v1.MatchRateRange upload_match_rate_range = 3;
- *
- * @return The uploadMatchRateRange.
- */
- @java.lang.Override
- public com.google.ads.datamanager.v1.MatchRateRange getUploadMatchRateRange() {
- com.google.ads.datamanager.v1.MatchRateRange result =
- com.google.ads.datamanager.v1.MatchRateRange.forNumber(uploadMatchRateRange_);
- return result == null ? com.google.ads.datamanager.v1.MatchRateRange.UNRECOGNIZED : result;
- }
-
- /**
- *
- *
- *
- * The match rate range of the upload.
- *
- *
- * .google.ads.datamanager.v1.MatchRateRange upload_match_rate_range = 3;
- *
- * @param value The uploadMatchRateRange to set.
- * @return This builder for chaining.
- */
- public Builder setUploadMatchRateRange(com.google.ads.datamanager.v1.MatchRateRange value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000004;
- uploadMatchRateRange_ = value.getNumber();
- onChanged();
- return this;
- }
-
- /**
- *
- *
- *
- * The match rate range of the upload.
- *
- *
- * .google.ads.datamanager.v1.MatchRateRange upload_match_rate_range = 3;
- *
- * @return This builder for chaining.
- */
- public Builder clearUploadMatchRateRange() {
- bitField0_ = (bitField0_ & ~0x00000004);
- uploadMatchRateRange_ = 0;
+ mobileIdCount_ = 0L;
onChanged();
return this;
}
- // @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus)
+ // @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus)
}
- // @@protoc_insertion_point(class_scope:google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus)
+ // @@protoc_insertion_point(class_scope:google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus)
private static final com.google.ads.datamanager.v1.RequestStatusPerDestination
- .IngestUserDataStatus
+ .IngestMobileDataStatus
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE =
- new com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus();
+ new com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus();
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parser PARSER =
- new com.google.protobuf.AbstractParser() {
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
@java.lang.Override
- public IngestUserDataStatus parsePartialFrom(
+ public IngestMobileDataStatus parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -7980,25 +11518,25 @@ public IngestUserDataStatus parsePartialFrom(
}
};
- public static com.google.protobuf.Parser parser() {
+ public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
- public com.google.protobuf.Parser getParserForType() {
+ public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
- public interface RemoveUserDataStatusOrBuilder
+ public interface RemoveMobileDataStatusOrBuilder
extends
- // @@protoc_insertion_point(interface_extends:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus)
+ // @@protoc_insertion_point(interface_extends:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus)
com.google.protobuf.MessageOrBuilder {
/**
@@ -8020,32 +11558,32 @@ public interface RemoveUserDataStatusOrBuilder
*
*
*
- * The total count of user identifiers sent in the removal request. Includes
- * all user identifiers in the request, regardless of whether they were
- * successfully removed or not.
+ * The total count of mobile Ids sent in the removal request. Includes all
+ * mobile ids in the request, regardless of whether they were successfully
+ * removed or not.
*
*
- * int64 user_identifier_count = 2;
+ * int64 mobile_id_count = 2;
*
- * @return The userIdentifierCount.
+ * @return The mobileIdCount.
*/
- long getUserIdentifierCount();
+ long getMobileIdCount();
}
/**
*
*
*
- * The status of the user data removal from the destination.
+ * The status of the mobile data removal from the destination.
*
*
* Protobuf type {@code
- * google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus}
+ * google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus}
*/
- public static final class RemoveUserDataStatus extends com.google.protobuf.GeneratedMessage
+ public static final class RemoveMobileDataStatus extends com.google.protobuf.GeneratedMessage
implements
- // @@protoc_insertion_point(message_implements:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus)
- RemoveUserDataStatusOrBuilder {
+ // @@protoc_insertion_point(message_implements:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus)
+ RemoveMobileDataStatusOrBuilder {
private static final long serialVersionUID = 0L;
static {
@@ -8055,30 +11593,31 @@ public static final class RemoveUserDataStatus extends com.google.protobuf.Gener
/* minor= */ 33,
/* patch= */ 6,
/* suffix= */ "",
- "RemoveUserDataStatus");
+ "RemoveMobileDataStatus");
}
- // Use RemoveUserDataStatus.newBuilder() to construct.
- private RemoveUserDataStatus(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ // Use RemoveMobileDataStatus.newBuilder() to construct.
+ private RemoveMobileDataStatus(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
- private RemoveUserDataStatus() {}
+ private RemoveMobileDataStatus() {}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveUserDataStatus_descriptor;
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveMobileDataStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveUserDataStatus_fieldAccessorTable
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveMobileDataStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus.class,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus.Builder
- .class);
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
+ .class,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
+ .Builder.class);
}
public static final int RECORD_COUNT_FIELD_NUMBER = 1;
@@ -8102,25 +11641,25 @@ public long getRecordCount() {
return recordCount_;
}
- public static final int USER_IDENTIFIER_COUNT_FIELD_NUMBER = 2;
- private long userIdentifierCount_ = 0L;
+ public static final int MOBILE_ID_COUNT_FIELD_NUMBER = 2;
+ private long mobileIdCount_ = 0L;
/**
*
*
*
- * The total count of user identifiers sent in the removal request. Includes
- * all user identifiers in the request, regardless of whether they were
- * successfully removed or not.
+ * The total count of mobile Ids sent in the removal request. Includes all
+ * mobile ids in the request, regardless of whether they were successfully
+ * removed or not.
*
*
- * int64 user_identifier_count = 2;
+ * int64 mobile_id_count = 2;
*
- * @return The userIdentifierCount.
+ * @return The mobileIdCount.
*/
@java.lang.Override
- public long getUserIdentifierCount() {
- return userIdentifierCount_;
+ public long getMobileIdCount() {
+ return mobileIdCount_;
}
private byte memoizedIsInitialized = -1;
@@ -8140,8 +11679,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (recordCount_ != 0L) {
output.writeInt64(1, recordCount_);
}
- if (userIdentifierCount_ != 0L) {
- output.writeInt64(2, userIdentifierCount_);
+ if (mobileIdCount_ != 0L) {
+ output.writeInt64(2, mobileIdCount_);
}
getUnknownFields().writeTo(output);
}
@@ -8155,8 +11694,8 @@ public int getSerializedSize() {
if (recordCount_ != 0L) {
size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, recordCount_);
}
- if (userIdentifierCount_ != 0L) {
- size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, userIdentifierCount_);
+ if (mobileIdCount_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, mobileIdCount_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
@@ -8170,14 +11709,14 @@ public boolean equals(final java.lang.Object obj) {
}
if (!(obj
instanceof
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus)) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus)) {
return super.equals(obj);
}
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus other =
- (com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus) obj;
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus other =
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus) obj;
if (getRecordCount() != other.getRecordCount()) return false;
- if (getUserIdentifierCount() != other.getUserIdentifierCount()) return false;
+ if (getMobileIdCount() != other.getMobileIdCount()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -8191,33 +11730,33 @@ public int hashCode() {
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + RECORD_COUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRecordCount());
- hash = (37 * hash) + USER_IDENTIFIER_COUNT_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getUserIdentifierCount());
+ hash = (37 * hash) + MOBILE_ID_COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMobileIdCount());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
parseFrom(java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
parseFrom(
java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -8225,23 +11764,23 @@ public int hashCode() {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
parseFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
parseFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -8249,12 +11788,12 @@ public int hashCode() {
PARSER, input, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -8262,12 +11801,12 @@ public int hashCode() {
PARSER, input, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -8286,7 +11825,8 @@ public static Builder newBuilder() {
}
public static Builder newBuilder(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus prototype) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
+ prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@@ -8305,35 +11845,35 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder
*
*
*
- * The status of the user data removal from the destination.
+ * The status of the mobile data removal from the destination.
*
*
* Protobuf type {@code
- * google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus}
+ * google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus}
*/
public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
implements
- // @@protoc_insertion_point(builder_implements:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus)
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatusOrBuilder {
+ // @@protoc_insertion_point(builder_implements:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus)
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatusOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveUserDataStatus_descriptor;
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveMobileDataStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveUserDataStatus_fieldAccessorTable
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveMobileDataStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
.class,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
.Builder.class);
}
// Construct using
- // com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus.newBuilder()
+ // com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus.newBuilder()
private Builder() {}
private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
@@ -8345,27 +11885,27 @@ public Builder clear() {
super.clear();
bitField0_ = 0;
recordCount_ = 0L;
- userIdentifierCount_ = 0L;
+ mobileIdCount_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveUserDataStatus_descriptor;
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveMobileDataStatus_descriptor;
}
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
getDefaultInstanceForType() {
- return com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
.getDefaultInstance();
}
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
build() {
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus result =
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus result =
buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
@@ -8374,10 +11914,10 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
}
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
buildPartial() {
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus result =
- new com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus result =
+ new com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus(
this);
if (bitField0_ != 0) {
buildPartial0(result);
@@ -8387,13 +11927,13 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
}
private void buildPartial0(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus result) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.recordCount_ = recordCount_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
- result.userIdentifierCount_ = userIdentifierCount_;
+ result.mobileIdCount_ = mobileIdCount_;
}
}
@@ -8401,9 +11941,9 @@ private void buildPartial0(
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other
instanceof
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus) {
return mergeFrom(
- (com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus)
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus)
other);
} else {
super.mergeFrom(other);
@@ -8412,15 +11952,15 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
}
public Builder mergeFrom(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus other) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus other) {
if (other
- == com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
+ == com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
.getDefaultInstance()) return this;
if (other.getRecordCount() != 0L) {
setRecordCount(other.getRecordCount());
}
- if (other.getUserIdentifierCount() != 0L) {
- setUserIdentifierCount(other.getUserIdentifierCount());
+ if (other.getMobileIdCount() != 0L) {
+ setMobileIdCount(other.getMobileIdCount());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
@@ -8456,7 +11996,7 @@ public Builder mergeFrom(
} // case 8
case 16:
{
- userIdentifierCount_ = input.readInt64();
+ mobileIdCount_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
@@ -8541,43 +12081,43 @@ public Builder clearRecordCount() {
return this;
}
- private long userIdentifierCount_;
+ private long mobileIdCount_;
/**
*
*
*
- * The total count of user identifiers sent in the removal request. Includes
- * all user identifiers in the request, regardless of whether they were
- * successfully removed or not.
+ * The total count of mobile Ids sent in the removal request. Includes all
+ * mobile ids in the request, regardless of whether they were successfully
+ * removed or not.
*
*
- * int64 user_identifier_count = 2;
+ * int64 mobile_id_count = 2;
*
- * @return The userIdentifierCount.
+ * @return The mobileIdCount.
*/
@java.lang.Override
- public long getUserIdentifierCount() {
- return userIdentifierCount_;
+ public long getMobileIdCount() {
+ return mobileIdCount_;
}
/**
*
*
*
- * The total count of user identifiers sent in the removal request. Includes
- * all user identifiers in the request, regardless of whether they were
- * successfully removed or not.
+ * The total count of mobile Ids sent in the removal request. Includes all
+ * mobile ids in the request, regardless of whether they were successfully
+ * removed or not.
*
*
- * int64 user_identifier_count = 2;
+ * int64 mobile_id_count = 2;
*
- * @param value The userIdentifierCount to set.
+ * @param value The mobileIdCount to set.
* @return This builder for chaining.
*/
- public Builder setUserIdentifierCount(long value) {
+ public Builder setMobileIdCount(long value) {
- userIdentifierCount_ = value;
+ mobileIdCount_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
@@ -8587,44 +12127,44 @@ public Builder setUserIdentifierCount(long value) {
*
*
*
- * The total count of user identifiers sent in the removal request. Includes
- * all user identifiers in the request, regardless of whether they were
- * successfully removed or not.
+ * The total count of mobile Ids sent in the removal request. Includes all
+ * mobile ids in the request, regardless of whether they were successfully
+ * removed or not.
*
*
- * int64 user_identifier_count = 2;
+ * int64 mobile_id_count = 2;
*
* @return This builder for chaining.
*/
- public Builder clearUserIdentifierCount() {
+ public Builder clearMobileIdCount() {
bitField0_ = (bitField0_ & ~0x00000002);
- userIdentifierCount_ = 0L;
+ mobileIdCount_ = 0L;
onChanged();
return this;
}
- // @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus)
+ // @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus)
}
- // @@protoc_insertion_point(class_scope:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus)
+ // @@protoc_insertion_point(class_scope:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus)
private static final com.google.ads.datamanager.v1.RequestStatusPerDestination
- .RemoveUserDataStatus
+ .RemoveMobileDataStatus
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE =
- new com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus();
+ new com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus();
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parser PARSER =
- new com.google.protobuf.AbstractParser() {
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
@java.lang.Override
- public RemoveUserDataStatus parsePartialFrom(
+ public RemoveMobileDataStatus parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -8644,25 +12184,25 @@ public RemoveUserDataStatus parsePartialFrom(
}
};
- public static com.google.protobuf.Parser parser() {
+ public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
- public com.google.protobuf.Parser getParserForType() {
+ public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserDataStatus
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
- public interface IngestMobileDataStatusOrBuilder
+ public interface IngestPairDataStatusOrBuilder
extends
- // @@protoc_insertion_point(interface_extends:google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus)
+ // @@protoc_insertion_point(interface_extends:google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus)
com.google.protobuf.MessageOrBuilder {
/**
@@ -8684,33 +12224,33 @@ public interface IngestMobileDataStatusOrBuilder
*
*
*
- * The total count of mobile ids sent in the upload request for the
- * destination. Includes all mobile ids in the request, regardless of
+ * The total count of pair ids sent in the upload request for the
+ * destination. Includes all pair ids in the request, regardless of
* whether they were successfully ingested or not.
*
*
- * int64 mobile_id_count = 2;
+ * int64 pair_id_count = 2;
*
- * @return The mobileIdCount.
+ * @return The pairIdCount.
*/
- long getMobileIdCount();
+ long getPairIdCount();
}
/**
*
*
*
- * The status of the mobile data ingestion to the destination containing stats
+ * The status of the pair data ingestion to the destination containing stats
* related to the ingestion.
*
*
* Protobuf type {@code
- * google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus}
+ * google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus}
*/
- public static final class IngestMobileDataStatus extends com.google.protobuf.GeneratedMessage
+ public static final class IngestPairDataStatus extends com.google.protobuf.GeneratedMessage
implements
- // @@protoc_insertion_point(message_implements:google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus)
- IngestMobileDataStatusOrBuilder {
+ // @@protoc_insertion_point(message_implements:google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus)
+ IngestPairDataStatusOrBuilder {
private static final long serialVersionUID = 0L;
static {
@@ -8720,31 +12260,30 @@ public static final class IngestMobileDataStatus extends com.google.protobuf.Gen
/* minor= */ 33,
/* patch= */ 6,
/* suffix= */ "",
- "IngestMobileDataStatus");
+ "IngestPairDataStatus");
}
- // Use IngestMobileDataStatus.newBuilder() to construct.
- private IngestMobileDataStatus(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ // Use IngestPairDataStatus.newBuilder() to construct.
+ private IngestPairDataStatus(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
- private IngestMobileDataStatus() {}
+ private IngestPairDataStatus() {}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestMobileDataStatus_descriptor;
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestPairDataStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestMobileDataStatus_fieldAccessorTable
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestPairDataStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
- .class,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
- .Builder.class);
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus.class,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus.Builder
+ .class);
}
public static final int RECORD_COUNT_FIELD_NUMBER = 1;
@@ -8768,25 +12307,25 @@ public long getRecordCount() {
return recordCount_;
}
- public static final int MOBILE_ID_COUNT_FIELD_NUMBER = 2;
- private long mobileIdCount_ = 0L;
+ public static final int PAIR_ID_COUNT_FIELD_NUMBER = 2;
+ private long pairIdCount_ = 0L;
/**
*
*
*
- * The total count of mobile ids sent in the upload request for the
- * destination. Includes all mobile ids in the request, regardless of
+ * The total count of pair ids sent in the upload request for the
+ * destination. Includes all pair ids in the request, regardless of
* whether they were successfully ingested or not.
*
*
- * int64 mobile_id_count = 2;
+ * int64 pair_id_count = 2;
*
- * @return The mobileIdCount.
+ * @return The pairIdCount.
*/
@java.lang.Override
- public long getMobileIdCount() {
- return mobileIdCount_;
+ public long getPairIdCount() {
+ return pairIdCount_;
}
private byte memoizedIsInitialized = -1;
@@ -8806,8 +12345,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (recordCount_ != 0L) {
output.writeInt64(1, recordCount_);
}
- if (mobileIdCount_ != 0L) {
- output.writeInt64(2, mobileIdCount_);
+ if (pairIdCount_ != 0L) {
+ output.writeInt64(2, pairIdCount_);
}
getUnknownFields().writeTo(output);
}
@@ -8821,8 +12360,8 @@ public int getSerializedSize() {
if (recordCount_ != 0L) {
size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, recordCount_);
}
- if (mobileIdCount_ != 0L) {
- size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, mobileIdCount_);
+ if (pairIdCount_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, pairIdCount_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
@@ -8836,14 +12375,14 @@ public boolean equals(final java.lang.Object obj) {
}
if (!(obj
instanceof
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus)) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus)) {
return super.equals(obj);
}
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus other =
- (com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus) obj;
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus other =
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus) obj;
if (getRecordCount() != other.getRecordCount()) return false;
- if (getMobileIdCount() != other.getMobileIdCount()) return false;
+ if (getPairIdCount() != other.getPairIdCount()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -8857,33 +12396,33 @@ public int hashCode() {
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + RECORD_COUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRecordCount());
- hash = (37 * hash) + MOBILE_ID_COUNT_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMobileIdCount());
+ hash = (37 * hash) + PAIR_ID_COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPairIdCount());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
parseFrom(java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
parseFrom(
java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -8891,23 +12430,23 @@ public int hashCode() {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
parseFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
parseFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -8915,12 +12454,12 @@ public int hashCode() {
PARSER, input, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -8928,12 +12467,12 @@ public int hashCode() {
PARSER, input, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -8952,8 +12491,7 @@ public static Builder newBuilder() {
}
public static Builder newBuilder(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
- prototype) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@@ -8972,36 +12510,36 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder
*
*
*
- * The status of the mobile data ingestion to the destination containing stats
+ * The status of the pair data ingestion to the destination containing stats
* related to the ingestion.
*
*
* Protobuf type {@code
- * google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus}
+ * google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus}
*/
public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
implements
- // @@protoc_insertion_point(builder_implements:google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus)
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatusOrBuilder {
+ // @@protoc_insertion_point(builder_implements:google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus)
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatusOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestMobileDataStatus_descriptor;
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestPairDataStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestMobileDataStatus_fieldAccessorTable
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestPairDataStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
.class,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
.Builder.class);
}
// Construct using
- // com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus.newBuilder()
+ // com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus.newBuilder()
private Builder() {}
private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
@@ -9013,27 +12551,27 @@ public Builder clear() {
super.clear();
bitField0_ = 0;
recordCount_ = 0L;
- mobileIdCount_ = 0L;
+ pairIdCount_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestMobileDataStatus_descriptor;
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestPairDataStatus_descriptor;
}
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
getDefaultInstanceForType() {
- return com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
.getDefaultInstance();
}
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
build() {
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus result =
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus result =
buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
@@ -9042,10 +12580,10 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
}
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
buildPartial() {
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus result =
- new com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus result =
+ new com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus(
this);
if (bitField0_ != 0) {
buildPartial0(result);
@@ -9055,13 +12593,13 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
}
private void buildPartial0(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus result) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.recordCount_ = recordCount_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
- result.mobileIdCount_ = mobileIdCount_;
+ result.pairIdCount_ = pairIdCount_;
}
}
@@ -9069,9 +12607,9 @@ private void buildPartial0(
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other
instanceof
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus) {
return mergeFrom(
- (com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus)
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus)
other);
} else {
super.mergeFrom(other);
@@ -9080,15 +12618,15 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
}
public Builder mergeFrom(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus other) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus other) {
if (other
- == com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
+ == com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
.getDefaultInstance()) return this;
if (other.getRecordCount() != 0L) {
setRecordCount(other.getRecordCount());
}
- if (other.getMobileIdCount() != 0L) {
- setMobileIdCount(other.getMobileIdCount());
+ if (other.getPairIdCount() != 0L) {
+ setPairIdCount(other.getPairIdCount());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
@@ -9124,7 +12662,7 @@ public Builder mergeFrom(
} // case 8
case 16:
{
- mobileIdCount_ = input.readInt64();
+ pairIdCount_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
@@ -9209,43 +12747,43 @@ public Builder clearRecordCount() {
return this;
}
- private long mobileIdCount_;
+ private long pairIdCount_;
/**
*
*
*
- * The total count of mobile ids sent in the upload request for the
- * destination. Includes all mobile ids in the request, regardless of
+ * The total count of pair ids sent in the upload request for the
+ * destination. Includes all pair ids in the request, regardless of
* whether they were successfully ingested or not.
*
*
- * int64 mobile_id_count = 2;
+ * int64 pair_id_count = 2;
*
- * @return The mobileIdCount.
+ * @return The pairIdCount.
*/
@java.lang.Override
- public long getMobileIdCount() {
- return mobileIdCount_;
+ public long getPairIdCount() {
+ return pairIdCount_;
}
/**
*
*
*
- * The total count of mobile ids sent in the upload request for the
- * destination. Includes all mobile ids in the request, regardless of
+ * The total count of pair ids sent in the upload request for the
+ * destination. Includes all pair ids in the request, regardless of
* whether they were successfully ingested or not.
*
*
- * int64 mobile_id_count = 2;
+ * int64 pair_id_count = 2;
*
- * @param value The mobileIdCount to set.
+ * @param value The pairIdCount to set.
* @return This builder for chaining.
*/
- public Builder setMobileIdCount(long value) {
+ public Builder setPairIdCount(long value) {
- mobileIdCount_ = value;
+ pairIdCount_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
@@ -9255,44 +12793,44 @@ public Builder setMobileIdCount(long value) {
*
*
*
- * The total count of mobile ids sent in the upload request for the
- * destination. Includes all mobile ids in the request, regardless of
+ * The total count of pair ids sent in the upload request for the
+ * destination. Includes all pair ids in the request, regardless of
* whether they were successfully ingested or not.
*
*
- * int64 mobile_id_count = 2;
+ * int64 pair_id_count = 2;
*
* @return This builder for chaining.
*/
- public Builder clearMobileIdCount() {
+ public Builder clearPairIdCount() {
bitField0_ = (bitField0_ & ~0x00000002);
- mobileIdCount_ = 0L;
+ pairIdCount_ = 0L;
onChanged();
return this;
}
- // @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus)
+ // @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus)
}
- // @@protoc_insertion_point(class_scope:google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus)
+ // @@protoc_insertion_point(class_scope:google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus)
private static final com.google.ads.datamanager.v1.RequestStatusPerDestination
- .IngestMobileDataStatus
+ .IngestPairDataStatus
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE =
- new com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus();
+ new com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus();
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parser PARSER =
- new com.google.protobuf.AbstractParser() {
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
@java.lang.Override
- public IngestMobileDataStatus parsePartialFrom(
+ public IngestPairDataStatus parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -9312,25 +12850,25 @@ public IngestMobileDataStatus parsePartialFrom(
}
};
- public static com.google.protobuf.Parser parser() {
+ public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
- public com.google.protobuf.Parser getParserForType() {
+ public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
- public interface RemoveMobileDataStatusOrBuilder
+ public interface RemovePairDataStatusOrBuilder
extends
- // @@protoc_insertion_point(interface_extends:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus)
+ // @@protoc_insertion_point(interface_extends:google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus)
com.google.protobuf.MessageOrBuilder {
/**
@@ -9352,32 +12890,32 @@ public interface RemoveMobileDataStatusOrBuilder
*
*
*
- * The total count of mobile Ids sent in the removal request. Includes all
- * mobile ids in the request, regardless of whether they were successfully
+ * The total count of pair ids sent in the removal request. Includes all
+ * pair ids in the request, regardless of whether they were successfully
* removed or not.
*
*
- * int64 mobile_id_count = 2;
+ * int64 pair_id_count = 2;
*
- * @return The mobileIdCount.
+ * @return The pairIdCount.
*/
- long getMobileIdCount();
+ long getPairIdCount();
}
/**
*
*
*
- * The status of the mobile data removal from the destination.
+ * The status of the pair data removal from the destination.
*
*
* Protobuf type {@code
- * google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus}
+ * google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus}
*/
- public static final class RemoveMobileDataStatus extends com.google.protobuf.GeneratedMessage
+ public static final class RemovePairDataStatus extends com.google.protobuf.GeneratedMessage
implements
- // @@protoc_insertion_point(message_implements:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus)
- RemoveMobileDataStatusOrBuilder {
+ // @@protoc_insertion_point(message_implements:google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus)
+ RemovePairDataStatusOrBuilder {
private static final long serialVersionUID = 0L;
static {
@@ -9387,31 +12925,30 @@ public static final class RemoveMobileDataStatus extends com.google.protobuf.Gen
/* minor= */ 33,
/* patch= */ 6,
/* suffix= */ "",
- "RemoveMobileDataStatus");
+ "RemovePairDataStatus");
}
- // Use RemoveMobileDataStatus.newBuilder() to construct.
- private RemoveMobileDataStatus(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ // Use RemovePairDataStatus.newBuilder() to construct.
+ private RemovePairDataStatus(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
- private RemoveMobileDataStatus() {}
+ private RemovePairDataStatus() {}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveMobileDataStatus_descriptor;
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemovePairDataStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveMobileDataStatus_fieldAccessorTable
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemovePairDataStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
- .class,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
- .Builder.class);
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus.class,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus.Builder
+ .class);
}
public static final int RECORD_COUNT_FIELD_NUMBER = 1;
@@ -9435,25 +12972,25 @@ public long getRecordCount() {
return recordCount_;
}
- public static final int MOBILE_ID_COUNT_FIELD_NUMBER = 2;
- private long mobileIdCount_ = 0L;
+ public static final int PAIR_ID_COUNT_FIELD_NUMBER = 2;
+ private long pairIdCount_ = 0L;
/**
*
*
*
- * The total count of mobile Ids sent in the removal request. Includes all
- * mobile ids in the request, regardless of whether they were successfully
+ * The total count of pair ids sent in the removal request. Includes all
+ * pair ids in the request, regardless of whether they were successfully
* removed or not.
*
*
- * int64 mobile_id_count = 2;
+ * int64 pair_id_count = 2;
*
- * @return The mobileIdCount.
+ * @return The pairIdCount.
*/
@java.lang.Override
- public long getMobileIdCount() {
- return mobileIdCount_;
+ public long getPairIdCount() {
+ return pairIdCount_;
}
private byte memoizedIsInitialized = -1;
@@ -9473,8 +13010,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (recordCount_ != 0L) {
output.writeInt64(1, recordCount_);
}
- if (mobileIdCount_ != 0L) {
- output.writeInt64(2, mobileIdCount_);
+ if (pairIdCount_ != 0L) {
+ output.writeInt64(2, pairIdCount_);
}
getUnknownFields().writeTo(output);
}
@@ -9488,8 +13025,8 @@ public int getSerializedSize() {
if (recordCount_ != 0L) {
size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, recordCount_);
}
- if (mobileIdCount_ != 0L) {
- size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, mobileIdCount_);
+ if (pairIdCount_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, pairIdCount_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
@@ -9503,14 +13040,14 @@ public boolean equals(final java.lang.Object obj) {
}
if (!(obj
instanceof
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus)) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus)) {
return super.equals(obj);
}
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus other =
- (com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus) obj;
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus other =
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus) obj;
if (getRecordCount() != other.getRecordCount()) return false;
- if (getMobileIdCount() != other.getMobileIdCount()) return false;
+ if (getPairIdCount() != other.getPairIdCount()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -9524,33 +13061,33 @@ public int hashCode() {
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + RECORD_COUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRecordCount());
- hash = (37 * hash) + MOBILE_ID_COUNT_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMobileIdCount());
+ hash = (37 * hash) + PAIR_ID_COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPairIdCount());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
parseFrom(java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
parseFrom(
java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -9558,23 +13095,23 @@ public int hashCode() {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
parseFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
parseFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -9582,12 +13119,12 @@ public int hashCode() {
PARSER, input, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -9595,12 +13132,12 @@ public int hashCode() {
PARSER, input, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -9619,8 +13156,7 @@ public static Builder newBuilder() {
}
public static Builder newBuilder(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
- prototype) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@@ -9639,35 +13175,35 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder
*
*
*
- * The status of the mobile data removal from the destination.
+ * The status of the pair data removal from the destination.
*
*
* Protobuf type {@code
- * google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus}
+ * google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus}
*/
public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
implements
- // @@protoc_insertion_point(builder_implements:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus)
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatusOrBuilder {
+ // @@protoc_insertion_point(builder_implements:google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus)
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatusOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveMobileDataStatus_descriptor;
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemovePairDataStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveMobileDataStatus_fieldAccessorTable
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemovePairDataStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
.class,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
.Builder.class);
}
// Construct using
- // com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus.newBuilder()
+ // com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus.newBuilder()
private Builder() {}
private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
@@ -9679,27 +13215,27 @@ public Builder clear() {
super.clear();
bitField0_ = 0;
recordCount_ = 0L;
- mobileIdCount_ = 0L;
+ pairIdCount_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveMobileDataStatus_descriptor;
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemovePairDataStatus_descriptor;
}
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
getDefaultInstanceForType() {
- return com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
.getDefaultInstance();
}
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
build() {
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus result =
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus result =
buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
@@ -9708,10 +13244,10 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
}
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
buildPartial() {
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus result =
- new com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus result =
+ new com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus(
this);
if (bitField0_ != 0) {
buildPartial0(result);
@@ -9721,13 +13257,13 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
}
private void buildPartial0(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus result) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.recordCount_ = recordCount_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
- result.mobileIdCount_ = mobileIdCount_;
+ result.pairIdCount_ = pairIdCount_;
}
}
@@ -9735,9 +13271,9 @@ private void buildPartial0(
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other
instanceof
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus) {
return mergeFrom(
- (com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus)
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus)
other);
} else {
super.mergeFrom(other);
@@ -9746,15 +13282,15 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
}
public Builder mergeFrom(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus other) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus other) {
if (other
- == com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
+ == com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
.getDefaultInstance()) return this;
if (other.getRecordCount() != 0L) {
setRecordCount(other.getRecordCount());
}
- if (other.getMobileIdCount() != 0L) {
- setMobileIdCount(other.getMobileIdCount());
+ if (other.getPairIdCount() != 0L) {
+ setPairIdCount(other.getPairIdCount());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
@@ -9790,7 +13326,7 @@ public Builder mergeFrom(
} // case 8
case 16:
{
- mobileIdCount_ = input.readInt64();
+ pairIdCount_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
@@ -9875,43 +13411,43 @@ public Builder clearRecordCount() {
return this;
}
- private long mobileIdCount_;
+ private long pairIdCount_;
/**
*
*
*
- * The total count of mobile Ids sent in the removal request. Includes all
- * mobile ids in the request, regardless of whether they were successfully
+ * The total count of pair ids sent in the removal request. Includes all
+ * pair ids in the request, regardless of whether they were successfully
* removed or not.
*
*
- * int64 mobile_id_count = 2;
+ * int64 pair_id_count = 2;
*
- * @return The mobileIdCount.
+ * @return The pairIdCount.
*/
@java.lang.Override
- public long getMobileIdCount() {
- return mobileIdCount_;
+ public long getPairIdCount() {
+ return pairIdCount_;
}
/**
*
*
*
- * The total count of mobile Ids sent in the removal request. Includes all
- * mobile ids in the request, regardless of whether they were successfully
+ * The total count of pair ids sent in the removal request. Includes all
+ * pair ids in the request, regardless of whether they were successfully
* removed or not.
*
*
- * int64 mobile_id_count = 2;
+ * int64 pair_id_count = 2;
*
- * @param value The mobileIdCount to set.
+ * @param value The pairIdCount to set.
* @return This builder for chaining.
*/
- public Builder setMobileIdCount(long value) {
+ public Builder setPairIdCount(long value) {
- mobileIdCount_ = value;
+ pairIdCount_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
@@ -9921,44 +13457,44 @@ public Builder setMobileIdCount(long value) {
*
*
*
- * The total count of mobile Ids sent in the removal request. Includes all
- * mobile ids in the request, regardless of whether they were successfully
+ * The total count of pair ids sent in the removal request. Includes all
+ * pair ids in the request, regardless of whether they were successfully
* removed or not.
*
*
- * int64 mobile_id_count = 2;
+ * int64 pair_id_count = 2;
*
* @return This builder for chaining.
*/
- public Builder clearMobileIdCount() {
+ public Builder clearPairIdCount() {
bitField0_ = (bitField0_ & ~0x00000002);
- mobileIdCount_ = 0L;
+ pairIdCount_ = 0L;
onChanged();
return this;
}
- // @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus)
+ // @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus)
}
- // @@protoc_insertion_point(class_scope:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus)
+ // @@protoc_insertion_point(class_scope:google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus)
private static final com.google.ads.datamanager.v1.RequestStatusPerDestination
- .RemoveMobileDataStatus
+ .RemovePairDataStatus
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE =
- new com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus();
+ new com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus();
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parser PARSER =
- new com.google.protobuf.AbstractParser() {
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
@java.lang.Override
- public RemoveMobileDataStatus parsePartialFrom(
+ public RemovePairDataStatus parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -9978,25 +13514,25 @@ public RemoveMobileDataStatus parsePartialFrom(
}
};
- public static com.google.protobuf.Parser parser() {
+ public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
- public com.google.protobuf.Parser getParserForType() {
+ public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveMobileDataStatus
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
- public interface IngestPairDataStatusOrBuilder
+ public interface IngestUserIdDataStatusOrBuilder
extends
- // @@protoc_insertion_point(interface_extends:google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus)
+ // @@protoc_insertion_point(interface_extends:google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus)
com.google.protobuf.MessageOrBuilder {
/**
@@ -10018,33 +13554,33 @@ public interface IngestPairDataStatusOrBuilder
*
*
*
- * The total count of pair ids sent in the upload request for the
- * destination. Includes all pair ids in the request, regardless of
+ * The total count of user ids sent in the upload request for the
+ * destination. Includes all user ids in the request, regardless of
* whether they were successfully ingested or not.
*
*
- * int64 pair_id_count = 2;
+ * int64 user_id_count = 2;
*
- * @return The pairIdCount.
+ * @return The userIdCount.
*/
- long getPairIdCount();
+ long getUserIdCount();
}
/**
*
*
*
- * The status of the pair data ingestion to the destination containing stats
- * related to the ingestion.
+ * The status of the user id data ingestion to the destination containing
+ * stats related to the ingestion.
*
*
* Protobuf type {@code
- * google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus}
+ * google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus}
*/
- public static final class IngestPairDataStatus extends com.google.protobuf.GeneratedMessage
+ public static final class IngestUserIdDataStatus extends com.google.protobuf.GeneratedMessage
implements
- // @@protoc_insertion_point(message_implements:google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus)
- IngestPairDataStatusOrBuilder {
+ // @@protoc_insertion_point(message_implements:google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus)
+ IngestUserIdDataStatusOrBuilder {
private static final long serialVersionUID = 0L;
static {
@@ -10054,30 +13590,31 @@ public static final class IngestPairDataStatus extends com.google.protobuf.Gener
/* minor= */ 33,
/* patch= */ 6,
/* suffix= */ "",
- "IngestPairDataStatus");
+ "IngestUserIdDataStatus");
}
- // Use IngestPairDataStatus.newBuilder() to construct.
- private IngestPairDataStatus(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ // Use IngestUserIdDataStatus.newBuilder() to construct.
+ private IngestUserIdDataStatus(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
- private IngestPairDataStatus() {}
+ private IngestUserIdDataStatus() {}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestPairDataStatus_descriptor;
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestUserIdDataStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestPairDataStatus_fieldAccessorTable
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestUserIdDataStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus.class,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus.Builder
- .class);
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
+ .class,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
+ .Builder.class);
}
public static final int RECORD_COUNT_FIELD_NUMBER = 1;
@@ -10101,25 +13638,25 @@ public long getRecordCount() {
return recordCount_;
}
- public static final int PAIR_ID_COUNT_FIELD_NUMBER = 2;
- private long pairIdCount_ = 0L;
+ public static final int USER_ID_COUNT_FIELD_NUMBER = 2;
+ private long userIdCount_ = 0L;
/**
*
*
*
- * The total count of pair ids sent in the upload request for the
- * destination. Includes all pair ids in the request, regardless of
+ * The total count of user ids sent in the upload request for the
+ * destination. Includes all user ids in the request, regardless of
* whether they were successfully ingested or not.
*
*
- * int64 pair_id_count = 2;
+ * int64 user_id_count = 2;
*
- * @return The pairIdCount.
+ * @return The userIdCount.
*/
@java.lang.Override
- public long getPairIdCount() {
- return pairIdCount_;
+ public long getUserIdCount() {
+ return userIdCount_;
}
private byte memoizedIsInitialized = -1;
@@ -10139,8 +13676,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (recordCount_ != 0L) {
output.writeInt64(1, recordCount_);
}
- if (pairIdCount_ != 0L) {
- output.writeInt64(2, pairIdCount_);
+ if (userIdCount_ != 0L) {
+ output.writeInt64(2, userIdCount_);
}
getUnknownFields().writeTo(output);
}
@@ -10154,8 +13691,8 @@ public int getSerializedSize() {
if (recordCount_ != 0L) {
size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, recordCount_);
}
- if (pairIdCount_ != 0L) {
- size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, pairIdCount_);
+ if (userIdCount_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, userIdCount_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
@@ -10169,14 +13706,14 @@ public boolean equals(final java.lang.Object obj) {
}
if (!(obj
instanceof
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus)) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus)) {
return super.equals(obj);
}
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus other =
- (com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus) obj;
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus other =
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus) obj;
if (getRecordCount() != other.getRecordCount()) return false;
- if (getPairIdCount() != other.getPairIdCount()) return false;
+ if (getUserIdCount() != other.getUserIdCount()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -10190,33 +13727,33 @@ public int hashCode() {
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + RECORD_COUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRecordCount());
- hash = (37 * hash) + PAIR_ID_COUNT_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPairIdCount());
+ hash = (37 * hash) + USER_ID_COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getUserIdCount());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
parseFrom(java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
parseFrom(
java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -10224,23 +13761,23 @@ public int hashCode() {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
parseFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
parseFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -10248,12 +13785,12 @@ public int hashCode() {
PARSER, input, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -10261,12 +13798,12 @@ public int hashCode() {
PARSER, input, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -10285,7 +13822,8 @@ public static Builder newBuilder() {
}
public static Builder newBuilder(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus prototype) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
+ prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@@ -10304,36 +13842,36 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder
*
*
*
- * The status of the pair data ingestion to the destination containing stats
- * related to the ingestion.
+ * The status of the user id data ingestion to the destination containing
+ * stats related to the ingestion.
*
*
* Protobuf type {@code
- * google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus}
+ * google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus}
*/
public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
implements
- // @@protoc_insertion_point(builder_implements:google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus)
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatusOrBuilder {
+ // @@protoc_insertion_point(builder_implements:google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus)
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatusOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestPairDataStatus_descriptor;
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestUserIdDataStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestPairDataStatus_fieldAccessorTable
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestUserIdDataStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
.class,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
.Builder.class);
}
// Construct using
- // com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus.newBuilder()
+ // com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus.newBuilder()
private Builder() {}
private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
@@ -10345,27 +13883,27 @@ public Builder clear() {
super.clear();
bitField0_ = 0;
recordCount_ = 0L;
- pairIdCount_ = 0L;
+ userIdCount_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestPairDataStatus_descriptor;
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestUserIdDataStatus_descriptor;
}
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
getDefaultInstanceForType() {
- return com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
.getDefaultInstance();
}
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
build() {
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus result =
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus result =
buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
@@ -10374,10 +13912,10 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
}
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
buildPartial() {
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus result =
- new com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus result =
+ new com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus(
this);
if (bitField0_ != 0) {
buildPartial0(result);
@@ -10387,13 +13925,13 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
}
private void buildPartial0(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus result) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.recordCount_ = recordCount_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
- result.pairIdCount_ = pairIdCount_;
+ result.userIdCount_ = userIdCount_;
}
}
@@ -10401,9 +13939,9 @@ private void buildPartial0(
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other
instanceof
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus) {
return mergeFrom(
- (com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus)
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus)
other);
} else {
super.mergeFrom(other);
@@ -10412,15 +13950,15 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
}
public Builder mergeFrom(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus other) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus other) {
if (other
- == com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
+ == com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
.getDefaultInstance()) return this;
if (other.getRecordCount() != 0L) {
setRecordCount(other.getRecordCount());
}
- if (other.getPairIdCount() != 0L) {
- setPairIdCount(other.getPairIdCount());
+ if (other.getUserIdCount() != 0L) {
+ setUserIdCount(other.getUserIdCount());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
@@ -10456,7 +13994,7 @@ public Builder mergeFrom(
} // case 8
case 16:
{
- pairIdCount_ = input.readInt64();
+ userIdCount_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
@@ -10541,43 +14079,43 @@ public Builder clearRecordCount() {
return this;
}
- private long pairIdCount_;
+ private long userIdCount_;
/**
*
*
*
- * The total count of pair ids sent in the upload request for the
- * destination. Includes all pair ids in the request, regardless of
+ * The total count of user ids sent in the upload request for the
+ * destination. Includes all user ids in the request, regardless of
* whether they were successfully ingested or not.
*
*
- * int64 pair_id_count = 2;
+ * int64 user_id_count = 2;
*
- * @return The pairIdCount.
+ * @return The userIdCount.
*/
@java.lang.Override
- public long getPairIdCount() {
- return pairIdCount_;
+ public long getUserIdCount() {
+ return userIdCount_;
}
/**
*
*
*
- * The total count of pair ids sent in the upload request for the
- * destination. Includes all pair ids in the request, regardless of
+ * The total count of user ids sent in the upload request for the
+ * destination. Includes all user ids in the request, regardless of
* whether they were successfully ingested or not.
*
*
- * int64 pair_id_count = 2;
+ * int64 user_id_count = 2;
*
- * @param value The pairIdCount to set.
+ * @param value The userIdCount to set.
* @return This builder for chaining.
*/
- public Builder setPairIdCount(long value) {
+ public Builder setUserIdCount(long value) {
- pairIdCount_ = value;
+ userIdCount_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
@@ -10587,44 +14125,44 @@ public Builder setPairIdCount(long value) {
*
*
*
- * The total count of pair ids sent in the upload request for the
- * destination. Includes all pair ids in the request, regardless of
+ * The total count of user ids sent in the upload request for the
+ * destination. Includes all user ids in the request, regardless of
* whether they were successfully ingested or not.
*
*
- * int64 pair_id_count = 2;
+ * int64 user_id_count = 2;
*
* @return This builder for chaining.
*/
- public Builder clearPairIdCount() {
+ public Builder clearUserIdCount() {
bitField0_ = (bitField0_ & ~0x00000002);
- pairIdCount_ = 0L;
+ userIdCount_ = 0L;
onChanged();
return this;
}
- // @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus)
+ // @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus)
}
- // @@protoc_insertion_point(class_scope:google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus)
+ // @@protoc_insertion_point(class_scope:google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus)
private static final com.google.ads.datamanager.v1.RequestStatusPerDestination
- .IngestPairDataStatus
+ .IngestUserIdDataStatus
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE =
- new com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus();
+ new com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus();
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parser PARSER =
- new com.google.protobuf.AbstractParser() {
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
@java.lang.Override
- public IngestPairDataStatus parsePartialFrom(
+ public IngestUserIdDataStatus parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -10644,25 +14182,25 @@ public IngestPairDataStatus parsePartialFrom(
}
};
- public static com.google.protobuf.Parser parser() {
+ public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
- public com.google.protobuf.Parser getParserForType() {
+ public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
- public interface RemovePairDataStatusOrBuilder
+ public interface RemoveUserIdDataStatusOrBuilder
extends
- // @@protoc_insertion_point(interface_extends:google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus)
+ // @@protoc_insertion_point(interface_extends:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus)
com.google.protobuf.MessageOrBuilder {
/**
@@ -10684,32 +14222,32 @@ public interface RemovePairDataStatusOrBuilder
*
*
*
- * The total count of pair ids sent in the removal request. Includes all
- * pair ids in the request, regardless of whether they were successfully
+ * The total count of user ids sent in the removal request. Includes all
+ * user ids in the request, regardless of whether they were successfully
* removed or not.
*
*
- * int64 pair_id_count = 2;
+ * int64 user_id_count = 2;
*
- * @return The pairIdCount.
+ * @return The userIdCount.
*/
- long getPairIdCount();
+ long getUserIdCount();
}
/**
*
*
*
- * The status of the pair data removal from the destination.
+ * The status of the user id data removal from the destination.
*
*
* Protobuf type {@code
- * google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus}
+ * google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus}
*/
- public static final class RemovePairDataStatus extends com.google.protobuf.GeneratedMessage
+ public static final class RemoveUserIdDataStatus extends com.google.protobuf.GeneratedMessage
implements
- // @@protoc_insertion_point(message_implements:google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus)
- RemovePairDataStatusOrBuilder {
+ // @@protoc_insertion_point(message_implements:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus)
+ RemoveUserIdDataStatusOrBuilder {
private static final long serialVersionUID = 0L;
static {
@@ -10719,30 +14257,31 @@ public static final class RemovePairDataStatus extends com.google.protobuf.Gener
/* minor= */ 33,
/* patch= */ 6,
/* suffix= */ "",
- "RemovePairDataStatus");
+ "RemoveUserIdDataStatus");
}
- // Use RemovePairDataStatus.newBuilder() to construct.
- private RemovePairDataStatus(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ // Use RemoveUserIdDataStatus.newBuilder() to construct.
+ private RemoveUserIdDataStatus(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
- private RemovePairDataStatus() {}
+ private RemoveUserIdDataStatus() {}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemovePairDataStatus_descriptor;
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveUserIdDataStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemovePairDataStatus_fieldAccessorTable
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveUserIdDataStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus.class,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus.Builder
- .class);
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
+ .class,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
+ .Builder.class);
}
public static final int RECORD_COUNT_FIELD_NUMBER = 1;
@@ -10766,25 +14305,25 @@ public long getRecordCount() {
return recordCount_;
}
- public static final int PAIR_ID_COUNT_FIELD_NUMBER = 2;
- private long pairIdCount_ = 0L;
+ public static final int USER_ID_COUNT_FIELD_NUMBER = 2;
+ private long userIdCount_ = 0L;
/**
*
*
*
- * The total count of pair ids sent in the removal request. Includes all
- * pair ids in the request, regardless of whether they were successfully
+ * The total count of user ids sent in the removal request. Includes all
+ * user ids in the request, regardless of whether they were successfully
* removed or not.
*
*
- * int64 pair_id_count = 2;
+ * int64 user_id_count = 2;
*
- * @return The pairIdCount.
+ * @return The userIdCount.
*/
@java.lang.Override
- public long getPairIdCount() {
- return pairIdCount_;
+ public long getUserIdCount() {
+ return userIdCount_;
}
private byte memoizedIsInitialized = -1;
@@ -10804,8 +14343,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (recordCount_ != 0L) {
output.writeInt64(1, recordCount_);
}
- if (pairIdCount_ != 0L) {
- output.writeInt64(2, pairIdCount_);
+ if (userIdCount_ != 0L) {
+ output.writeInt64(2, userIdCount_);
}
getUnknownFields().writeTo(output);
}
@@ -10819,8 +14358,8 @@ public int getSerializedSize() {
if (recordCount_ != 0L) {
size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, recordCount_);
}
- if (pairIdCount_ != 0L) {
- size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, pairIdCount_);
+ if (userIdCount_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, userIdCount_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
@@ -10834,14 +14373,14 @@ public boolean equals(final java.lang.Object obj) {
}
if (!(obj
instanceof
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus)) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus)) {
return super.equals(obj);
}
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus other =
- (com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus) obj;
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus other =
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus) obj;
if (getRecordCount() != other.getRecordCount()) return false;
- if (getPairIdCount() != other.getPairIdCount()) return false;
+ if (getUserIdCount() != other.getUserIdCount()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -10855,33 +14394,33 @@ public int hashCode() {
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + RECORD_COUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRecordCount());
- hash = (37 * hash) + PAIR_ID_COUNT_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPairIdCount());
+ hash = (37 * hash) + USER_ID_COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getUserIdCount());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
parseFrom(java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
parseFrom(
java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -10889,23 +14428,23 @@ public int hashCode() {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
parseFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
parseFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -10913,12 +14452,12 @@ public int hashCode() {
PARSER, input, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -10926,12 +14465,12 @@ public int hashCode() {
PARSER, input, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -10950,7 +14489,8 @@ public static Builder newBuilder() {
}
public static Builder newBuilder(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus prototype) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
+ prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@@ -10969,35 +14509,35 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder
*
*
*
- * The status of the pair data removal from the destination.
+ * The status of the user id data removal from the destination.
*
*
* Protobuf type {@code
- * google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus}
+ * google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus}
*/
public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
implements
- // @@protoc_insertion_point(builder_implements:google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus)
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatusOrBuilder {
+ // @@protoc_insertion_point(builder_implements:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus)
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatusOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemovePairDataStatus_descriptor;
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveUserIdDataStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemovePairDataStatus_fieldAccessorTable
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveUserIdDataStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
.class,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
.Builder.class);
}
// Construct using
- // com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus.newBuilder()
+ // com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus.newBuilder()
private Builder() {}
private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
@@ -11009,27 +14549,27 @@ public Builder clear() {
super.clear();
bitField0_ = 0;
recordCount_ = 0L;
- pairIdCount_ = 0L;
+ userIdCount_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemovePairDataStatus_descriptor;
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveUserIdDataStatus_descriptor;
}
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
getDefaultInstanceForType() {
- return com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
.getDefaultInstance();
}
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
build() {
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus result =
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus result =
buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
@@ -11038,10 +14578,10 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
}
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
buildPartial() {
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus result =
- new com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus result =
+ new com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus(
this);
if (bitField0_ != 0) {
buildPartial0(result);
@@ -11051,13 +14591,13 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
}
private void buildPartial0(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus result) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.recordCount_ = recordCount_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
- result.pairIdCount_ = pairIdCount_;
+ result.userIdCount_ = userIdCount_;
}
}
@@ -11065,9 +14605,9 @@ private void buildPartial0(
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other
instanceof
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus) {
return mergeFrom(
- (com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus)
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus)
other);
} else {
super.mergeFrom(other);
@@ -11076,15 +14616,15 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
}
public Builder mergeFrom(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus other) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus other) {
if (other
- == com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
+ == com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
.getDefaultInstance()) return this;
if (other.getRecordCount() != 0L) {
setRecordCount(other.getRecordCount());
}
- if (other.getPairIdCount() != 0L) {
- setPairIdCount(other.getPairIdCount());
+ if (other.getUserIdCount() != 0L) {
+ setUserIdCount(other.getUserIdCount());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
@@ -11120,7 +14660,7 @@ public Builder mergeFrom(
} // case 8
case 16:
{
- pairIdCount_ = input.readInt64();
+ userIdCount_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
@@ -11205,43 +14745,43 @@ public Builder clearRecordCount() {
return this;
}
- private long pairIdCount_;
+ private long userIdCount_;
/**
*
*
*
- * The total count of pair ids sent in the removal request. Includes all
- * pair ids in the request, regardless of whether they were successfully
+ * The total count of user ids sent in the removal request. Includes all
+ * user ids in the request, regardless of whether they were successfully
* removed or not.
*
*
- * int64 pair_id_count = 2;
+ * int64 user_id_count = 2;
*
- * @return The pairIdCount.
+ * @return The userIdCount.
*/
@java.lang.Override
- public long getPairIdCount() {
- return pairIdCount_;
+ public long getUserIdCount() {
+ return userIdCount_;
}
/**
*
*
*
- * The total count of pair ids sent in the removal request. Includes all
- * pair ids in the request, regardless of whether they were successfully
+ * The total count of user ids sent in the removal request. Includes all
+ * user ids in the request, regardless of whether they were successfully
* removed or not.
*
*
- * int64 pair_id_count = 2;
+ * int64 user_id_count = 2;
*
- * @param value The pairIdCount to set.
+ * @param value The userIdCount to set.
* @return This builder for chaining.
*/
- public Builder setPairIdCount(long value) {
+ public Builder setUserIdCount(long value) {
- pairIdCount_ = value;
+ userIdCount_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
@@ -11251,44 +14791,44 @@ public Builder setPairIdCount(long value) {
*
*
*
- * The total count of pair ids sent in the removal request. Includes all
- * pair ids in the request, regardless of whether they were successfully
+ * The total count of user ids sent in the removal request. Includes all
+ * user ids in the request, regardless of whether they were successfully
* removed or not.
*
*
- * int64 pair_id_count = 2;
+ * int64 user_id_count = 2;
*
* @return This builder for chaining.
*/
- public Builder clearPairIdCount() {
+ public Builder clearUserIdCount() {
bitField0_ = (bitField0_ & ~0x00000002);
- pairIdCount_ = 0L;
+ userIdCount_ = 0L;
onChanged();
return this;
}
- // @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus)
+ // @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus)
}
- // @@protoc_insertion_point(class_scope:google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus)
+ // @@protoc_insertion_point(class_scope:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus)
private static final com.google.ads.datamanager.v1.RequestStatusPerDestination
- .RemovePairDataStatus
+ .RemoveUserIdDataStatus
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE =
- new com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus();
+ new com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus();
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parser PARSER =
- new com.google.protobuf.AbstractParser() {
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
@java.lang.Override
- public RemovePairDataStatus parsePartialFrom(
+ public RemoveUserIdDataStatus parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -11308,25 +14848,25 @@ public RemovePairDataStatus parsePartialFrom(
}
};
- public static com.google.protobuf.Parser parser() {
+ public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
- public com.google.protobuf.Parser getParserForType() {
+ public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePairDataStatus
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
- public interface IngestUserIdDataStatusOrBuilder
+ public interface IngestPpidDataStatusOrBuilder
extends
- // @@protoc_insertion_point(interface_extends:google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus)
+ // @@protoc_insertion_point(interface_extends:google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus)
com.google.protobuf.MessageOrBuilder {
/**
@@ -11348,33 +14888,33 @@ public interface IngestUserIdDataStatusOrBuilder
*
*
*
- * The total count of user ids sent in the upload request for the
- * destination. Includes all user ids in the request, regardless of
+ * The total count of ppids sent in the upload request for the
+ * destination. Includes all ppids in the request, regardless of
* whether they were successfully ingested or not.
*
*
- * int64 user_id_count = 2;
+ * int64 ppid_count = 2;
*
- * @return The userIdCount.
+ * @return The ppidCount.
*/
- long getUserIdCount();
+ long getPpidCount();
}
/**
*
*
*
- * The status of the user id data ingestion to the destination containing
- * stats related to the ingestion.
+ * The status of the ppid data ingestion to the destination containing stats
+ * related to the ingestion.
*
*
* Protobuf type {@code
- * google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus}
+ * google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus}
*/
- public static final class IngestUserIdDataStatus extends com.google.protobuf.GeneratedMessage
+ public static final class IngestPpidDataStatus extends com.google.protobuf.GeneratedMessage
implements
- // @@protoc_insertion_point(message_implements:google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus)
- IngestUserIdDataStatusOrBuilder {
+ // @@protoc_insertion_point(message_implements:google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus)
+ IngestPpidDataStatusOrBuilder {
private static final long serialVersionUID = 0L;
static {
@@ -11384,31 +14924,30 @@ public static final class IngestUserIdDataStatus extends com.google.protobuf.Gen
/* minor= */ 33,
/* patch= */ 6,
/* suffix= */ "",
- "IngestUserIdDataStatus");
+ "IngestPpidDataStatus");
}
- // Use IngestUserIdDataStatus.newBuilder() to construct.
- private IngestUserIdDataStatus(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ // Use IngestPpidDataStatus.newBuilder() to construct.
+ private IngestPpidDataStatus(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
- private IngestUserIdDataStatus() {}
+ private IngestPpidDataStatus() {}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestUserIdDataStatus_descriptor;
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestPpidDataStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestUserIdDataStatus_fieldAccessorTable
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestPpidDataStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
- .class,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
- .Builder.class);
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus.class,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus.Builder
+ .class);
}
public static final int RECORD_COUNT_FIELD_NUMBER = 1;
@@ -11432,25 +14971,25 @@ public long getRecordCount() {
return recordCount_;
}
- public static final int USER_ID_COUNT_FIELD_NUMBER = 2;
- private long userIdCount_ = 0L;
+ public static final int PPID_COUNT_FIELD_NUMBER = 2;
+ private long ppidCount_ = 0L;
/**
*
*
*
- * The total count of user ids sent in the upload request for the
- * destination. Includes all user ids in the request, regardless of
+ * The total count of ppids sent in the upload request for the
+ * destination. Includes all ppids in the request, regardless of
* whether they were successfully ingested or not.
*
*
- * int64 user_id_count = 2;
+ * int64 ppid_count = 2;
*
- * @return The userIdCount.
+ * @return The ppidCount.
*/
@java.lang.Override
- public long getUserIdCount() {
- return userIdCount_;
+ public long getPpidCount() {
+ return ppidCount_;
}
private byte memoizedIsInitialized = -1;
@@ -11470,8 +15009,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (recordCount_ != 0L) {
output.writeInt64(1, recordCount_);
}
- if (userIdCount_ != 0L) {
- output.writeInt64(2, userIdCount_);
+ if (ppidCount_ != 0L) {
+ output.writeInt64(2, ppidCount_);
}
getUnknownFields().writeTo(output);
}
@@ -11485,8 +15024,8 @@ public int getSerializedSize() {
if (recordCount_ != 0L) {
size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, recordCount_);
}
- if (userIdCount_ != 0L) {
- size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, userIdCount_);
+ if (ppidCount_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, ppidCount_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
@@ -11500,14 +15039,14 @@ public boolean equals(final java.lang.Object obj) {
}
if (!(obj
instanceof
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus)) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus)) {
return super.equals(obj);
}
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus other =
- (com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus) obj;
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus other =
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus) obj;
if (getRecordCount() != other.getRecordCount()) return false;
- if (getUserIdCount() != other.getUserIdCount()) return false;
+ if (getPpidCount() != other.getPpidCount()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -11521,33 +15060,33 @@ public int hashCode() {
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + RECORD_COUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRecordCount());
- hash = (37 * hash) + USER_ID_COUNT_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getUserIdCount());
+ hash = (37 * hash) + PPID_COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPpidCount());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
parseFrom(java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
parseFrom(
java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -11555,23 +15094,23 @@ public int hashCode() {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
parseFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
parseFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -11579,12 +15118,12 @@ public int hashCode() {
PARSER, input, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -11592,12 +15131,12 @@ public int hashCode() {
PARSER, input, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -11616,8 +15155,7 @@ public static Builder newBuilder() {
}
public static Builder newBuilder(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
- prototype) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@@ -11636,36 +15174,36 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder
*
*
*
- * The status of the user id data ingestion to the destination containing
- * stats related to the ingestion.
+ * The status of the ppid data ingestion to the destination containing stats
+ * related to the ingestion.
*
*
* Protobuf type {@code
- * google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus}
+ * google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus}
*/
public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
implements
- // @@protoc_insertion_point(builder_implements:google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus)
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatusOrBuilder {
+ // @@protoc_insertion_point(builder_implements:google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus)
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatusOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestUserIdDataStatus_descriptor;
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestPpidDataStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestUserIdDataStatus_fieldAccessorTable
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestPpidDataStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
.class,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
.Builder.class);
}
// Construct using
- // com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus.newBuilder()
+ // com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus.newBuilder()
private Builder() {}
private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
@@ -11677,27 +15215,27 @@ public Builder clear() {
super.clear();
bitField0_ = 0;
recordCount_ = 0L;
- userIdCount_ = 0L;
+ ppidCount_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestUserIdDataStatus_descriptor;
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestPpidDataStatus_descriptor;
}
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
getDefaultInstanceForType() {
- return com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
.getDefaultInstance();
}
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
build() {
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus result =
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus result =
buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
@@ -11706,10 +15244,10 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
}
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
buildPartial() {
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus result =
- new com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus result =
+ new com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus(
this);
if (bitField0_ != 0) {
buildPartial0(result);
@@ -11719,13 +15257,13 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
}
private void buildPartial0(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus result) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.recordCount_ = recordCount_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
- result.userIdCount_ = userIdCount_;
+ result.ppidCount_ = ppidCount_;
}
}
@@ -11733,9 +15271,9 @@ private void buildPartial0(
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other
instanceof
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus) {
return mergeFrom(
- (com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus)
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus)
other);
} else {
super.mergeFrom(other);
@@ -11744,15 +15282,15 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
}
public Builder mergeFrom(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus other) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus other) {
if (other
- == com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
+ == com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
.getDefaultInstance()) return this;
if (other.getRecordCount() != 0L) {
setRecordCount(other.getRecordCount());
}
- if (other.getUserIdCount() != 0L) {
- setUserIdCount(other.getUserIdCount());
+ if (other.getPpidCount() != 0L) {
+ setPpidCount(other.getPpidCount());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
@@ -11788,7 +15326,7 @@ public Builder mergeFrom(
} // case 8
case 16:
{
- userIdCount_ = input.readInt64();
+ ppidCount_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
@@ -11873,43 +15411,43 @@ public Builder clearRecordCount() {
return this;
}
- private long userIdCount_;
+ private long ppidCount_;
/**
*
*
*
- * The total count of user ids sent in the upload request for the
- * destination. Includes all user ids in the request, regardless of
+ * The total count of ppids sent in the upload request for the
+ * destination. Includes all ppids in the request, regardless of
* whether they were successfully ingested or not.
*
*
- * int64 user_id_count = 2;
+ * int64 ppid_count = 2;
*
- * @return The userIdCount.
+ * @return The ppidCount.
*/
@java.lang.Override
- public long getUserIdCount() {
- return userIdCount_;
+ public long getPpidCount() {
+ return ppidCount_;
}
/**
*
*
*
- * The total count of user ids sent in the upload request for the
- * destination. Includes all user ids in the request, regardless of
+ * The total count of ppids sent in the upload request for the
+ * destination. Includes all ppids in the request, regardless of
* whether they were successfully ingested or not.
*
*
- * int64 user_id_count = 2;
+ * int64 ppid_count = 2;
*
- * @param value The userIdCount to set.
+ * @param value The ppidCount to set.
* @return This builder for chaining.
*/
- public Builder setUserIdCount(long value) {
+ public Builder setPpidCount(long value) {
- userIdCount_ = value;
+ ppidCount_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
@@ -11919,44 +15457,44 @@ public Builder setUserIdCount(long value) {
*
*
*
- * The total count of user ids sent in the upload request for the
- * destination. Includes all user ids in the request, regardless of
+ * The total count of ppids sent in the upload request for the
+ * destination. Includes all ppids in the request, regardless of
* whether they were successfully ingested or not.
*
*
- * int64 user_id_count = 2;
+ * int64 ppid_count = 2;
*
* @return This builder for chaining.
*/
- public Builder clearUserIdCount() {
+ public Builder clearPpidCount() {
bitField0_ = (bitField0_ & ~0x00000002);
- userIdCount_ = 0L;
+ ppidCount_ = 0L;
onChanged();
return this;
}
- // @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus)
+ // @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus)
}
- // @@protoc_insertion_point(class_scope:google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus)
+ // @@protoc_insertion_point(class_scope:google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus)
private static final com.google.ads.datamanager.v1.RequestStatusPerDestination
- .IngestUserIdDataStatus
+ .IngestPpidDataStatus
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE =
- new com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus();
+ new com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus();
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parser PARSER =
- new com.google.protobuf.AbstractParser() {
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
@java.lang.Override
- public IngestUserIdDataStatus parsePartialFrom(
+ public IngestPpidDataStatus parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -11976,25 +15514,25 @@ public IngestUserIdDataStatus parsePartialFrom(
}
};
- public static com.google.protobuf.Parser parser() {
+ public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
- public com.google.protobuf.Parser getParserForType() {
+ public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
- public interface RemoveUserIdDataStatusOrBuilder
+ public interface RemovePpidDataStatusOrBuilder
extends
- // @@protoc_insertion_point(interface_extends:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus)
+ // @@protoc_insertion_point(interface_extends:google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus)
com.google.protobuf.MessageOrBuilder {
/**
@@ -12016,32 +15554,32 @@ public interface RemoveUserIdDataStatusOrBuilder
*
*
*
- * The total count of user ids sent in the removal request. Includes all
- * user ids in the request, regardless of whether they were successfully
+ * The total count of ppids sent in the removal request. Includes all
+ * ppids in the request, regardless of whether they were successfully
* removed or not.
*
*
- * int64 user_id_count = 2;
+ * int64 ppid_count = 2;
*
- * @return The userIdCount.
+ * @return The ppidCount.
*/
- long getUserIdCount();
+ long getPpidCount();
}
/**
*
*
*
- * The status of the user id data removal from the destination.
+ * The status of the ppid data removal from the destination.
*
*
* Protobuf type {@code
- * google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus}
+ * google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus}
*/
- public static final class RemoveUserIdDataStatus extends com.google.protobuf.GeneratedMessage
+ public static final class RemovePpidDataStatus extends com.google.protobuf.GeneratedMessage
implements
- // @@protoc_insertion_point(message_implements:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus)
- RemoveUserIdDataStatusOrBuilder {
+ // @@protoc_insertion_point(message_implements:google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus)
+ RemovePpidDataStatusOrBuilder {
private static final long serialVersionUID = 0L;
static {
@@ -12051,31 +15589,30 @@ public static final class RemoveUserIdDataStatus extends com.google.protobuf.Gen
/* minor= */ 33,
/* patch= */ 6,
/* suffix= */ "",
- "RemoveUserIdDataStatus");
+ "RemovePpidDataStatus");
}
- // Use RemoveUserIdDataStatus.newBuilder() to construct.
- private RemoveUserIdDataStatus(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ // Use RemovePpidDataStatus.newBuilder() to construct.
+ private RemovePpidDataStatus(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
- private RemoveUserIdDataStatus() {}
+ private RemovePpidDataStatus() {}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveUserIdDataStatus_descriptor;
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemovePpidDataStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveUserIdDataStatus_fieldAccessorTable
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemovePpidDataStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
- .class,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
- .Builder.class);
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus.class,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus.Builder
+ .class);
}
public static final int RECORD_COUNT_FIELD_NUMBER = 1;
@@ -12099,25 +15636,25 @@ public long getRecordCount() {
return recordCount_;
}
- public static final int USER_ID_COUNT_FIELD_NUMBER = 2;
- private long userIdCount_ = 0L;
+ public static final int PPID_COUNT_FIELD_NUMBER = 2;
+ private long ppidCount_ = 0L;
/**
*
*
*
- * The total count of user ids sent in the removal request. Includes all
- * user ids in the request, regardless of whether they were successfully
+ * The total count of ppids sent in the removal request. Includes all
+ * ppids in the request, regardless of whether they were successfully
* removed or not.
*
*
- * int64 user_id_count = 2;
+ * int64 ppid_count = 2;
*
- * @return The userIdCount.
+ * @return The ppidCount.
*/
@java.lang.Override
- public long getUserIdCount() {
- return userIdCount_;
+ public long getPpidCount() {
+ return ppidCount_;
}
private byte memoizedIsInitialized = -1;
@@ -12137,8 +15674,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (recordCount_ != 0L) {
output.writeInt64(1, recordCount_);
}
- if (userIdCount_ != 0L) {
- output.writeInt64(2, userIdCount_);
+ if (ppidCount_ != 0L) {
+ output.writeInt64(2, ppidCount_);
}
getUnknownFields().writeTo(output);
}
@@ -12152,8 +15689,8 @@ public int getSerializedSize() {
if (recordCount_ != 0L) {
size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, recordCount_);
}
- if (userIdCount_ != 0L) {
- size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, userIdCount_);
+ if (ppidCount_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, ppidCount_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
@@ -12167,14 +15704,14 @@ public boolean equals(final java.lang.Object obj) {
}
if (!(obj
instanceof
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus)) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus)) {
return super.equals(obj);
}
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus other =
- (com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus) obj;
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus other =
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus) obj;
if (getRecordCount() != other.getRecordCount()) return false;
- if (getUserIdCount() != other.getUserIdCount()) return false;
+ if (getPpidCount() != other.getPpidCount()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -12188,33 +15725,33 @@ public int hashCode() {
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + RECORD_COUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRecordCount());
- hash = (37 * hash) + USER_ID_COUNT_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getUserIdCount());
+ hash = (37 * hash) + PPID_COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPpidCount());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
parseFrom(java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
parseFrom(
java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -12222,23 +15759,23 @@ public int hashCode() {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
parseFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
parseFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -12246,12 +15783,12 @@ public int hashCode() {
PARSER, input, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -12259,12 +15796,12 @@ public int hashCode() {
PARSER, input, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -12283,8 +15820,7 @@ public static Builder newBuilder() {
}
public static Builder newBuilder(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
- prototype) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@@ -12303,35 +15839,35 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder
*
*
*
- * The status of the user id data removal from the destination.
+ * The status of the ppid data removal from the destination.
*
*
* Protobuf type {@code
- * google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus}
+ * google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus}
*/
public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
implements
- // @@protoc_insertion_point(builder_implements:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus)
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatusOrBuilder {
+ // @@protoc_insertion_point(builder_implements:google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus)
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatusOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveUserIdDataStatus_descriptor;
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemovePpidDataStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveUserIdDataStatus_fieldAccessorTable
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemovePpidDataStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
.class,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
.Builder.class);
}
// Construct using
- // com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus.newBuilder()
+ // com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus.newBuilder()
private Builder() {}
private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
@@ -12343,27 +15879,27 @@ public Builder clear() {
super.clear();
bitField0_ = 0;
recordCount_ = 0L;
- userIdCount_ = 0L;
+ ppidCount_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveUserIdDataStatus_descriptor;
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemovePpidDataStatus_descriptor;
}
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
getDefaultInstanceForType() {
- return com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
.getDefaultInstance();
}
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
build() {
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus result =
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus result =
buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
@@ -12372,10 +15908,10 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
}
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
buildPartial() {
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus result =
- new com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus result =
+ new com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus(
this);
if (bitField0_ != 0) {
buildPartial0(result);
@@ -12385,13 +15921,13 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
}
private void buildPartial0(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus result) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.recordCount_ = recordCount_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
- result.userIdCount_ = userIdCount_;
+ result.ppidCount_ = ppidCount_;
}
}
@@ -12399,9 +15935,9 @@ private void buildPartial0(
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other
instanceof
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus) {
return mergeFrom(
- (com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus)
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus)
other);
} else {
super.mergeFrom(other);
@@ -12410,15 +15946,15 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
}
public Builder mergeFrom(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus other) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus other) {
if (other
- == com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
+ == com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
.getDefaultInstance()) return this;
if (other.getRecordCount() != 0L) {
setRecordCount(other.getRecordCount());
}
- if (other.getUserIdCount() != 0L) {
- setUserIdCount(other.getUserIdCount());
+ if (other.getPpidCount() != 0L) {
+ setPpidCount(other.getPpidCount());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
@@ -12454,7 +15990,7 @@ public Builder mergeFrom(
} // case 8
case 16:
{
- userIdCount_ = input.readInt64();
+ ppidCount_ = input.readInt64();
bitField0_ |= 0x00000002;
break;
} // case 16
@@ -12539,43 +16075,43 @@ public Builder clearRecordCount() {
return this;
}
- private long userIdCount_;
+ private long ppidCount_;
/**
*
*
*
- * The total count of user ids sent in the removal request. Includes all
- * user ids in the request, regardless of whether they were successfully
+ * The total count of ppids sent in the removal request. Includes all
+ * ppids in the request, regardless of whether they were successfully
* removed or not.
*
*
- * int64 user_id_count = 2;
+ * int64 ppid_count = 2;
*
- * @return The userIdCount.
+ * @return The ppidCount.
*/
@java.lang.Override
- public long getUserIdCount() {
- return userIdCount_;
+ public long getPpidCount() {
+ return ppidCount_;
}
/**
*
*
*
- * The total count of user ids sent in the removal request. Includes all
- * user ids in the request, regardless of whether they were successfully
+ * The total count of ppids sent in the removal request. Includes all
+ * ppids in the request, regardless of whether they were successfully
* removed or not.
*
*
- * int64 user_id_count = 2;
+ * int64 ppid_count = 2;
*
- * @param value The userIdCount to set.
+ * @param value The ppidCount to set.
* @return This builder for chaining.
*/
- public Builder setUserIdCount(long value) {
+ public Builder setPpidCount(long value) {
- userIdCount_ = value;
+ ppidCount_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
@@ -12585,44 +16121,44 @@ public Builder setUserIdCount(long value) {
*
*
*
- * The total count of user ids sent in the removal request. Includes all
- * user ids in the request, regardless of whether they were successfully
+ * The total count of ppids sent in the removal request. Includes all
+ * ppids in the request, regardless of whether they were successfully
* removed or not.
*
*
- * int64 user_id_count = 2;
+ * int64 ppid_count = 2;
*
* @return This builder for chaining.
*/
- public Builder clearUserIdCount() {
+ public Builder clearPpidCount() {
bitField0_ = (bitField0_ & ~0x00000002);
- userIdCount_ = 0L;
+ ppidCount_ = 0L;
onChanged();
return this;
}
- // @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus)
+ // @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus)
}
- // @@protoc_insertion_point(class_scope:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus)
+ // @@protoc_insertion_point(class_scope:google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus)
private static final com.google.ads.datamanager.v1.RequestStatusPerDestination
- .RemoveUserIdDataStatus
+ .RemovePpidDataStatus
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE =
- new com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus();
+ new com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus();
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parser PARSER =
- new com.google.protobuf.AbstractParser() {
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
@java.lang.Override
- public RemoveUserIdDataStatus parsePartialFrom(
+ public RemovePpidDataStatus parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -12642,25 +16178,25 @@ public RemoveUserIdDataStatus parsePartialFrom(
}
};
- public static com.google.protobuf.Parser parser() {
+ public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
- public com.google.protobuf.Parser getParserForType() {
+ public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveUserIdDataStatus
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
- public interface IngestPpidDataStatusOrBuilder
+ public interface IngestCompositeDataStatusOrBuilder
extends
- // @@protoc_insertion_point(interface_extends:google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus)
+ // @@protoc_insertion_point(interface_extends:google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus)
com.google.protobuf.MessageOrBuilder {
/**
@@ -12682,33 +16218,130 @@ public interface IngestPpidDataStatusOrBuilder
*
*
*
- * The total count of ppids sent in the upload request for the
- * destination. Includes all ppids in the request, regardless of
- * whether they were successfully ingested or not.
+ * The total count of data types sent in the upload request for the
+ * destination, broken down by data type. Includes all data types in
+ * the request, regardless of whether they were successfully ingested or
+ * not.
*
*
- * int64 ppid_count = 2;
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ java.util.List
+ getDataTypeCountsList();
+
+ /**
*
- * @return The ppidCount.
+ *
+ *
+ * The total count of data types sent in the upload request for the
+ * destination, broken down by data type. Includes all data types in
+ * the request, regardless of whether they were successfully ingested or
+ * not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
*/
- long getPpidCount();
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount getDataTypeCounts(
+ int index);
+
+ /**
+ *
+ *
+ *
+ * The total count of data types sent in the upload request for the
+ * destination, broken down by data type. Includes all data types in
+ * the request, regardless of whether they were successfully ingested or
+ * not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ int getDataTypeCountsCount();
+
+ /**
+ *
+ *
+ *
+ * The total count of data types sent in the upload request for the
+ * destination, broken down by data type. Includes all data types in
+ * the request, regardless of whether they were successfully ingested or
+ * not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ java.util.List<
+ ? extends
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCountOrBuilder>
+ getDataTypeCountsOrBuilderList();
+
+ /**
+ *
+ *
+ *
+ * The total count of data types sent in the upload request for the
+ * destination, broken down by data type. Includes all data types in
+ * the request, regardless of whether they were successfully ingested or
+ * not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCountOrBuilder
+ getDataTypeCountsOrBuilder(int index);
+
+ /**
+ *
+ *
+ *
+ * The match rate range of the upload.
+ *
+ *
+ * .google.ads.datamanager.v1.MatchRateRange upload_match_rate_range = 3;
+ *
+ * @return The enum numeric value on the wire for uploadMatchRateRange.
+ */
+ int getUploadMatchRateRangeValue();
+
+ /**
+ *
+ *
+ *
+ * The match rate range of the upload.
+ *
+ *
+ * .google.ads.datamanager.v1.MatchRateRange upload_match_rate_range = 3;
+ *
+ * @return The uploadMatchRateRange.
+ */
+ com.google.ads.datamanager.v1.MatchRateRange getUploadMatchRateRange();
}
/**
*
*
*
- * The status of the ppid data ingestion to the destination containing stats
- * related to the ingestion.
+ * The status of the composite data ingestion to the destination containing
+ * stats related to the ingestion.
*
*
* Protobuf type {@code
- * google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus}
+ * google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus}
*/
- public static final class IngestPpidDataStatus extends com.google.protobuf.GeneratedMessage
+ public static final class IngestCompositeDataStatus extends com.google.protobuf.GeneratedMessage
implements
- // @@protoc_insertion_point(message_implements:google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus)
- IngestPpidDataStatusOrBuilder {
+ // @@protoc_insertion_point(message_implements:google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus)
+ IngestCompositeDataStatusOrBuilder {
private static final long serialVersionUID = 0L;
static {
@@ -12718,72 +16351,199 @@ public static final class IngestPpidDataStatus extends com.google.protobuf.Gener
/* minor= */ 33,
/* patch= */ 6,
/* suffix= */ "",
- "IngestPpidDataStatus");
+ "IngestCompositeDataStatus");
}
- // Use IngestPpidDataStatus.newBuilder() to construct.
- private IngestPpidDataStatus(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ // Use IngestCompositeDataStatus.newBuilder() to construct.
+ private IngestCompositeDataStatus(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
- private IngestPpidDataStatus() {}
+ private IngestCompositeDataStatus() {
+ dataTypeCounts_ = java.util.Collections.emptyList();
+ uploadMatchRateRange_ = 0;
+ }
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestPpidDataStatus_descriptor;
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestCompositeDataStatus_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestCompositeDataStatus_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus
+ .class,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus
+ .Builder.class);
+ }
+
+ public static final int RECORD_COUNT_FIELD_NUMBER = 1;
+ private long recordCount_ = 0L;
+
+ /**
+ *
+ *
+ *
+ * The total count of audience members sent in the upload request for the
+ * destination. Includes all audience members in the request, regardless of
+ * whether they were successfully ingested or not.
+ *
+ *
+ * int64 record_count = 1;
+ *
+ * @return The recordCount.
+ */
+ @java.lang.Override
+ public long getRecordCount() {
+ return recordCount_;
+ }
+
+ public static final int DATA_TYPE_COUNTS_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private java.util.List
+ dataTypeCounts_;
+
+ /**
+ *
+ *
+ *
+ * The total count of data types sent in the upload request for the
+ * destination, broken down by data type. Includes all data types in
+ * the request, regardless of whether they were successfully ingested or
+ * not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ @java.lang.Override
+ public java.util.List
+ getDataTypeCountsList() {
+ return dataTypeCounts_;
+ }
+
+ /**
+ *
+ *
+ *
+ * The total count of data types sent in the upload request for the
+ * destination, broken down by data type. Includes all data types in
+ * the request, regardless of whether they were successfully ingested or
+ * not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ @java.lang.Override
+ public java.util.List<
+ ? extends
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCountOrBuilder>
+ getDataTypeCountsOrBuilderList() {
+ return dataTypeCounts_;
+ }
+
+ /**
+ *
+ *
+ *
+ * The total count of data types sent in the upload request for the
+ * destination, broken down by data type. Includes all data types in
+ * the request, regardless of whether they were successfully ingested or
+ * not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ @java.lang.Override
+ public int getDataTypeCountsCount() {
+ return dataTypeCounts_.size();
+ }
+
+ /**
+ *
+ *
+ *
+ * The total count of data types sent in the upload request for the
+ * destination, broken down by data type. Includes all data types in
+ * the request, regardless of whether they were successfully ingested or
+ * not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount
+ getDataTypeCounts(int index) {
+ return dataTypeCounts_.get(index);
}
+ /**
+ *
+ *
+ *
+ * The total count of data types sent in the upload request for the
+ * destination, broken down by data type. Includes all data types in
+ * the request, regardless of whether they were successfully ingested or
+ * not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
@java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestPpidDataStatus_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus.class,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus.Builder
- .class);
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCountOrBuilder
+ getDataTypeCountsOrBuilder(int index) {
+ return dataTypeCounts_.get(index);
}
- public static final int RECORD_COUNT_FIELD_NUMBER = 1;
- private long recordCount_ = 0L;
+ public static final int UPLOAD_MATCH_RATE_RANGE_FIELD_NUMBER = 3;
+ private int uploadMatchRateRange_ = 0;
/**
*
*
*
- * The total count of audience members sent in the upload request for the
- * destination. Includes all audience members in the request, regardless of
- * whether they were successfully ingested or not.
+ * The match rate range of the upload.
*
*
- * int64 record_count = 1;
+ * .google.ads.datamanager.v1.MatchRateRange upload_match_rate_range = 3;
*
- * @return The recordCount.
+ * @return The enum numeric value on the wire for uploadMatchRateRange.
*/
@java.lang.Override
- public long getRecordCount() {
- return recordCount_;
+ public int getUploadMatchRateRangeValue() {
+ return uploadMatchRateRange_;
}
- public static final int PPID_COUNT_FIELD_NUMBER = 2;
- private long ppidCount_ = 0L;
-
/**
*
*
*
- * The total count of ppids sent in the upload request for the
- * destination. Includes all ppids in the request, regardless of
- * whether they were successfully ingested or not.
+ * The match rate range of the upload.
*
*
- * int64 ppid_count = 2;
+ * .google.ads.datamanager.v1.MatchRateRange upload_match_rate_range = 3;
*
- * @return The ppidCount.
+ * @return The uploadMatchRateRange.
*/
@java.lang.Override
- public long getPpidCount() {
- return ppidCount_;
+ public com.google.ads.datamanager.v1.MatchRateRange getUploadMatchRateRange() {
+ com.google.ads.datamanager.v1.MatchRateRange result =
+ com.google.ads.datamanager.v1.MatchRateRange.forNumber(uploadMatchRateRange_);
+ return result == null ? com.google.ads.datamanager.v1.MatchRateRange.UNRECOGNIZED : result;
}
private byte memoizedIsInitialized = -1;
@@ -12803,446 +16563,1064 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (recordCount_ != 0L) {
output.writeInt64(1, recordCount_);
}
- if (ppidCount_ != 0L) {
- output.writeInt64(2, ppidCount_);
+ for (int i = 0; i < dataTypeCounts_.size(); i++) {
+ output.writeMessage(2, dataTypeCounts_.get(i));
+ }
+ if (uploadMatchRateRange_
+ != com.google.ads.datamanager.v1.MatchRateRange.MATCH_RATE_RANGE_UNKNOWN.getNumber()) {
+ output.writeEnum(3, uploadMatchRateRange_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (recordCount_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, recordCount_);
+ }
+ for (int i = 0; i < dataTypeCounts_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, dataTypeCounts_.get(i));
+ }
+ if (uploadMatchRateRange_
+ != com.google.ads.datamanager.v1.MatchRateRange.MATCH_RATE_RANGE_UNKNOWN.getNumber()) {
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, uploadMatchRateRange_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj
+ instanceof
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus)) {
+ return super.equals(obj);
+ }
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus other =
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus) obj;
+
+ if (getRecordCount() != other.getRecordCount()) return false;
+ if (!getDataTypeCountsList().equals(other.getDataTypeCountsList())) return false;
+ if (uploadMatchRateRange_ != other.uploadMatchRateRange_) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + RECORD_COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRecordCount());
+ if (getDataTypeCountsCount() > 0) {
+ hash = (37 * hash) + DATA_TYPE_COUNTS_FIELD_NUMBER;
+ hash = (53 * hash) + getDataTypeCountsList().hashCode();
+ }
+ hash = (37 * hash) + UPLOAD_MATCH_RATE_RANGE_FIELD_NUMBER;
+ hash = (53 * hash) + uploadMatchRateRange_;
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestCompositeDataStatus
+ parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestCompositeDataStatus
+ parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestCompositeDataStatus
+ parseFrom(com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestCompositeDataStatus
+ parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestCompositeDataStatus
+ parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestCompositeDataStatus
+ parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestCompositeDataStatus
+ parseFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestCompositeDataStatus
+ parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestCompositeDataStatus
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestCompositeDataStatus
+ parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestCompositeDataStatus
+ parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestCompositeDataStatus
+ parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus
+ prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the composite data ingestion to the destination containing
+ * stats related to the ingestion.
+ *
+ *
+ * Protobuf type {@code
+ * google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus)
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestCompositeDataStatusOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestCompositeDataStatus_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestCompositeDataStatus_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus
+ .class,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus
+ .Builder.class);
}
- getUnknownFields().writeTo(output);
- }
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
+ // Construct using
+ // com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus.newBuilder()
+ private Builder() {}
- size = 0;
- if (recordCount_ != 0L) {
- size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, recordCount_);
- }
- if (ppidCount_ != 0L) {
- size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, ppidCount_);
+ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
}
- size += getUnknownFields().getSerializedSize();
- memoizedSize = size;
- return size;
- }
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ recordCount_ = 0L;
+ if (dataTypeCountsBuilder_ == null) {
+ dataTypeCounts_ = java.util.Collections.emptyList();
+ } else {
+ dataTypeCounts_ = null;
+ dataTypeCountsBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000002);
+ uploadMatchRateRange_ = 0;
+ return this;
}
- if (!(obj
- instanceof
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus)) {
- return super.equals(obj);
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestCompositeDataStatus_descriptor;
}
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus other =
- (com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus) obj;
- if (getRecordCount() != other.getRecordCount()) return false;
- if (getPpidCount() != other.getPpidCount()) return false;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
- }
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus
+ getDefaultInstanceForType() {
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus
+ .getDefaultInstance();
+ }
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus
+ build() {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus result =
+ buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
}
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + RECORD_COUNT_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRecordCount());
- hash = (37 * hash) + PPID_COUNT_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPpidCount());
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
- parseFrom(java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus
+ buildPartial() {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus result =
+ new com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus(
+ this);
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
- parseFrom(
- java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
+ private void buildPartialRepeatedFields(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus
+ result) {
+ if (dataTypeCountsBuilder_ == null) {
+ if (((bitField0_ & 0x00000002) != 0)) {
+ dataTypeCounts_ = java.util.Collections.unmodifiableList(dataTypeCounts_);
+ bitField0_ = (bitField0_ & ~0x00000002);
+ }
+ result.dataTypeCounts_ = dataTypeCounts_;
+ } else {
+ result.dataTypeCounts_ = dataTypeCountsBuilder_.build();
+ }
+ }
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
- parseFrom(com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
+ private void buildPartial0(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus
+ result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.recordCount_ = recordCount_;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.uploadMatchRateRange_ = uploadMatchRateRange_;
+ }
+ }
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
- parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other
+ instanceof
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus) {
+ return mergeFrom(
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus)
+ other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
- parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
+ public Builder mergeFrom(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus
+ other) {
+ if (other
+ == com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus
+ .getDefaultInstance()) return this;
+ if (other.getRecordCount() != 0L) {
+ setRecordCount(other.getRecordCount());
+ }
+ if (dataTypeCountsBuilder_ == null) {
+ if (!other.dataTypeCounts_.isEmpty()) {
+ if (dataTypeCounts_.isEmpty()) {
+ dataTypeCounts_ = other.dataTypeCounts_;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ } else {
+ ensureDataTypeCountsIsMutable();
+ dataTypeCounts_.addAll(other.dataTypeCounts_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.dataTypeCounts_.isEmpty()) {
+ if (dataTypeCountsBuilder_.isEmpty()) {
+ dataTypeCountsBuilder_.dispose();
+ dataTypeCountsBuilder_ = null;
+ dataTypeCounts_ = other.dataTypeCounts_;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ dataTypeCountsBuilder_ =
+ com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders
+ ? internalGetDataTypeCountsFieldBuilder()
+ : null;
+ } else {
+ dataTypeCountsBuilder_.addAllMessages(other.dataTypeCounts_);
+ }
+ }
+ }
+ if (other.uploadMatchRateRange_ != 0) {
+ setUploadMatchRateRangeValue(other.getUploadMatchRateRangeValue());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
- parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
- parseFrom(java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
- }
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 8:
+ {
+ recordCount_ = input.readInt64();
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 8
+ case 18:
+ {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount m =
+ input.readMessage(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount
+ .parser(),
+ extensionRegistry);
+ if (dataTypeCountsBuilder_ == null) {
+ ensureDataTypeCountsIsMutable();
+ dataTypeCounts_.add(m);
+ } else {
+ dataTypeCountsBuilder_.addMessage(m);
+ }
+ break;
+ } // case 18
+ case 24:
+ {
+ uploadMatchRateRange_ = input.readEnum();
+ bitField0_ |= 0x00000004;
+ break;
+ } // case 24
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
- parseFrom(
- java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage.parseWithIOException(
- PARSER, input, extensionRegistry);
- }
+ private int bitField0_;
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
- parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
- }
+ private long recordCount_;
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
- parseDelimitedFrom(
- java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
- PARSER, input, extensionRegistry);
- }
+ /**
+ *
+ *
+ *
+ * The total count of audience members sent in the upload request for the
+ * destination. Includes all audience members in the request, regardless of
+ * whether they were successfully ingested or not.
+ *
+ *
+ * int64 record_count = 1;
+ *
+ * @return The recordCount.
+ */
+ @java.lang.Override
+ public long getRecordCount() {
+ return recordCount_;
+ }
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
- parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
- }
+ /**
+ *
+ *
+ *
+ * The total count of audience members sent in the upload request for the
+ * destination. Includes all audience members in the request, regardless of
+ * whether they were successfully ingested or not.
+ *
+ *
+ * int64 record_count = 1;
+ *
+ * @param value The recordCount to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRecordCount(long value) {
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
- parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage.parseWithIOException(
- PARSER, input, extensionRegistry);
- }
+ recordCount_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
- }
+ /**
+ *
+ *
+ *
+ * The total count of audience members sent in the upload request for the
+ * destination. Includes all audience members in the request, regardless of
+ * whether they were successfully ingested or not.
+ *
+ *
+ * int64 record_count = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearRecordCount() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ recordCount_ = 0L;
+ onChanged();
+ return this;
+ }
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
+ private java.util.List<
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount>
+ dataTypeCounts_ = java.util.Collections.emptyList();
- public static Builder newBuilder(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
+ private void ensureDataTypeCountsIsMutable() {
+ if (!((bitField0_ & 0x00000002) != 0)) {
+ dataTypeCounts_ =
+ new java.util.ArrayList<
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount>(
+ dataTypeCounts_);
+ bitField0_ |= 0x00000002;
+ }
+ }
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
- }
+ private com.google.protobuf.RepeatedFieldBuilder<
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount.Builder,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCountOrBuilder>
+ dataTypeCountsBuilder_;
- @java.lang.Override
- protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
+ /**
+ *
+ *
+ *
+ * The total count of data types sent in the upload request for the
+ * destination, broken down by data type. Includes all data types in
+ * the request, regardless of whether they were successfully ingested or
+ * not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ public java.util.List
+ getDataTypeCountsList() {
+ if (dataTypeCountsBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(dataTypeCounts_);
+ } else {
+ return dataTypeCountsBuilder_.getMessageList();
+ }
+ }
- /**
- *
- *
- *
- * The status of the ppid data ingestion to the destination containing stats
- * related to the ingestion.
- *
- *
- * Protobuf type {@code
- * google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus}
- */
- public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
- implements
- // @@protoc_insertion_point(builder_implements:google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus)
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatusOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestPpidDataStatus_descriptor;
+ /**
+ *
+ *
+ *
+ * The total count of data types sent in the upload request for the
+ * destination, broken down by data type. Includes all data types in
+ * the request, regardless of whether they were successfully ingested or
+ * not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ public int getDataTypeCountsCount() {
+ if (dataTypeCountsBuilder_ == null) {
+ return dataTypeCounts_.size();
+ } else {
+ return dataTypeCountsBuilder_.getCount();
+ }
}
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestPpidDataStatus_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
- .class,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
- .Builder.class);
+ /**
+ *
+ *
+ *
+ * The total count of data types sent in the upload request for the
+ * destination, broken down by data type. Includes all data types in
+ * the request, regardless of whether they were successfully ingested or
+ * not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount
+ getDataTypeCounts(int index) {
+ if (dataTypeCountsBuilder_ == null) {
+ return dataTypeCounts_.get(index);
+ } else {
+ return dataTypeCountsBuilder_.getMessage(index);
+ }
}
- // Construct using
- // com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus.newBuilder()
- private Builder() {}
-
- private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- super(parent);
+ /**
+ *
+ *
+ *
+ * The total count of data types sent in the upload request for the
+ * destination, broken down by data type. Includes all data types in
+ * the request, regardless of whether they were successfully ingested or
+ * not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ public Builder setDataTypeCounts(
+ int index,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount value) {
+ if (dataTypeCountsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDataTypeCountsIsMutable();
+ dataTypeCounts_.set(index, value);
+ onChanged();
+ } else {
+ dataTypeCountsBuilder_.setMessage(index, value);
+ }
+ return this;
}
- @java.lang.Override
- public Builder clear() {
- super.clear();
- bitField0_ = 0;
- recordCount_ = 0L;
- ppidCount_ = 0L;
+ /**
+ *
+ *
+ *
+ * The total count of data types sent in the upload request for the
+ * destination, broken down by data type. Includes all data types in
+ * the request, regardless of whether they were successfully ingested or
+ * not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ public Builder setDataTypeCounts(
+ int index,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount.Builder
+ builderForValue) {
+ if (dataTypeCountsBuilder_ == null) {
+ ensureDataTypeCountsIsMutable();
+ dataTypeCounts_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ dataTypeCountsBuilder_.setMessage(index, builderForValue.build());
+ }
return this;
}
- @java.lang.Override
- public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestPpidDataStatus_descriptor;
+ /**
+ *
+ *
+ *
+ * The total count of data types sent in the upload request for the
+ * destination, broken down by data type. Includes all data types in
+ * the request, regardless of whether they were successfully ingested or
+ * not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ public Builder addDataTypeCounts(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount value) {
+ if (dataTypeCountsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDataTypeCountsIsMutable();
+ dataTypeCounts_.add(value);
+ onChanged();
+ } else {
+ dataTypeCountsBuilder_.addMessage(value);
+ }
+ return this;
}
- @java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
- getDefaultInstanceForType() {
- return com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
- .getDefaultInstance();
+ /**
+ *
+ *
+ *
+ * The total count of data types sent in the upload request for the
+ * destination, broken down by data type. Includes all data types in
+ * the request, regardless of whether they were successfully ingested or
+ * not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ public Builder addDataTypeCounts(
+ int index,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount value) {
+ if (dataTypeCountsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDataTypeCountsIsMutable();
+ dataTypeCounts_.add(index, value);
+ onChanged();
+ } else {
+ dataTypeCountsBuilder_.addMessage(index, value);
+ }
+ return this;
}
- @java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
- build() {
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus result =
- buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
+ /**
+ *
+ *
+ *
+ * The total count of data types sent in the upload request for the
+ * destination, broken down by data type. Includes all data types in
+ * the request, regardless of whether they were successfully ingested or
+ * not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ public Builder addDataTypeCounts(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount.Builder
+ builderForValue) {
+ if (dataTypeCountsBuilder_ == null) {
+ ensureDataTypeCountsIsMutable();
+ dataTypeCounts_.add(builderForValue.build());
+ onChanged();
+ } else {
+ dataTypeCountsBuilder_.addMessage(builderForValue.build());
}
- return result;
+ return this;
}
- @java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
- buildPartial() {
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus result =
- new com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus(
- this);
- if (bitField0_ != 0) {
- buildPartial0(result);
+ /**
+ *
+ *
+ *
+ * The total count of data types sent in the upload request for the
+ * destination, broken down by data type. Includes all data types in
+ * the request, regardless of whether they were successfully ingested or
+ * not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ public Builder addDataTypeCounts(
+ int index,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount.Builder
+ builderForValue) {
+ if (dataTypeCountsBuilder_ == null) {
+ ensureDataTypeCountsIsMutable();
+ dataTypeCounts_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ dataTypeCountsBuilder_.addMessage(index, builderForValue.build());
}
- onBuilt();
- return result;
+ return this;
}
- private void buildPartial0(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus result) {
- int from_bitField0_ = bitField0_;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.recordCount_ = recordCount_;
- }
- if (((from_bitField0_ & 0x00000002) != 0)) {
- result.ppidCount_ = ppidCount_;
+ /**
+ *
+ *
+ *
+ * The total count of data types sent in the upload request for the
+ * destination, broken down by data type. Includes all data types in
+ * the request, regardless of whether they were successfully ingested or
+ * not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ public Builder addAllDataTypeCounts(
+ java.lang.Iterable<
+ ? extends com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount>
+ values) {
+ if (dataTypeCountsBuilder_ == null) {
+ ensureDataTypeCountsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dataTypeCounts_);
+ onChanged();
+ } else {
+ dataTypeCountsBuilder_.addAllMessages(values);
}
+ return this;
}
- @java.lang.Override
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other
- instanceof
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus) {
- return mergeFrom(
- (com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus)
- other);
+ /**
+ *
+ *
+ *
+ * The total count of data types sent in the upload request for the
+ * destination, broken down by data type. Includes all data types in
+ * the request, regardless of whether they were successfully ingested or
+ * not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ public Builder clearDataTypeCounts() {
+ if (dataTypeCountsBuilder_ == null) {
+ dataTypeCounts_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
} else {
- super.mergeFrom(other);
- return this;
+ dataTypeCountsBuilder_.clear();
}
+ return this;
}
- public Builder mergeFrom(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus other) {
- if (other
- == com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
- .getDefaultInstance()) return this;
- if (other.getRecordCount() != 0L) {
- setRecordCount(other.getRecordCount());
- }
- if (other.getPpidCount() != 0L) {
- setPpidCount(other.getPpidCount());
+ /**
+ *
+ *
+ *
+ * The total count of data types sent in the upload request for the
+ * destination, broken down by data type. Includes all data types in
+ * the request, regardless of whether they were successfully ingested or
+ * not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ public Builder removeDataTypeCounts(int index) {
+ if (dataTypeCountsBuilder_ == null) {
+ ensureDataTypeCountsIsMutable();
+ dataTypeCounts_.remove(index);
+ onChanged();
+ } else {
+ dataTypeCountsBuilder_.remove(index);
}
- this.mergeUnknownFields(other.getUnknownFields());
- onChanged();
return this;
}
- @java.lang.Override
- public final boolean isInitialized() {
- return true;
+ /**
+ *
+ *
+ *
+ * The total count of data types sent in the upload request for the
+ * destination, broken down by data type. Includes all data types in
+ * the request, regardless of whether they were successfully ingested or
+ * not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount.Builder
+ getDataTypeCountsBuilder(int index) {
+ return internalGetDataTypeCountsFieldBuilder().getBuilder(index);
}
- @java.lang.Override
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
+ /**
+ *
+ *
+ *
+ * The total count of data types sent in the upload request for the
+ * destination, broken down by data type. Includes all data types in
+ * the request, regardless of whether they were successfully ingested or
+ * not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCountOrBuilder
+ getDataTypeCountsOrBuilder(int index) {
+ if (dataTypeCountsBuilder_ == null) {
+ return dataTypeCounts_.get(index);
+ } else {
+ return dataTypeCountsBuilder_.getMessageOrBuilder(index);
}
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 8:
- {
- recordCount_ = input.readInt64();
- bitField0_ |= 0x00000001;
- break;
- } // case 8
- case 16:
- {
- ppidCount_ = input.readInt64();
- bitField0_ |= 0x00000002;
- break;
- } // case 16
- default:
- {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.unwrapIOException();
- } finally {
- onChanged();
- } // finally
- return this;
}
- private int bitField0_;
+ /**
+ *
+ *
+ *
+ * The total count of data types sent in the upload request for the
+ * destination, broken down by data type. Includes all data types in
+ * the request, regardless of whether they were successfully ingested or
+ * not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ public java.util.List<
+ ? extends
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCountOrBuilder>
+ getDataTypeCountsOrBuilderList() {
+ if (dataTypeCountsBuilder_ != null) {
+ return dataTypeCountsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(dataTypeCounts_);
+ }
+ }
- private long recordCount_;
+ /**
+ *
+ *
+ *
+ * The total count of data types sent in the upload request for the
+ * destination, broken down by data type. Includes all data types in
+ * the request, regardless of whether they were successfully ingested or
+ * not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount.Builder
+ addDataTypeCountsBuilder() {
+ return internalGetDataTypeCountsFieldBuilder()
+ .addBuilder(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount
+ .getDefaultInstance());
+ }
/**
*
*
*
- * The total count of audience members sent in the upload request for the
- * destination. Includes all audience members in the request, regardless of
- * whether they were successfully ingested or not.
+ * The total count of data types sent in the upload request for the
+ * destination, broken down by data type. Includes all data types in
+ * the request, regardless of whether they were successfully ingested or
+ * not.
*
*
- * int64 record_count = 1;
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount.Builder
+ addDataTypeCountsBuilder(int index) {
+ return internalGetDataTypeCountsFieldBuilder()
+ .addBuilder(
+ index,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount
+ .getDefaultInstance());
+ }
+
+ /**
*
- * @return The recordCount.
+ *
+ *
+ * The total count of data types sent in the upload request for the
+ * destination, broken down by data type. Includes all data types in
+ * the request, regardless of whether they were successfully ingested or
+ * not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
*/
- @java.lang.Override
- public long getRecordCount() {
- return recordCount_;
+ public java.util.List<
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount.Builder>
+ getDataTypeCountsBuilderList() {
+ return internalGetDataTypeCountsFieldBuilder().getBuilderList();
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilder<
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount.Builder,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCountOrBuilder>
+ internalGetDataTypeCountsFieldBuilder() {
+ if (dataTypeCountsBuilder_ == null) {
+ dataTypeCountsBuilder_ =
+ new com.google.protobuf.RepeatedFieldBuilder<
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount.Builder,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCountOrBuilder>(
+ dataTypeCounts_,
+ ((bitField0_ & 0x00000002) != 0),
+ getParentForChildren(),
+ isClean());
+ dataTypeCounts_ = null;
+ }
+ return dataTypeCountsBuilder_;
}
+ private int uploadMatchRateRange_ = 0;
+
/**
*
*
*
- * The total count of audience members sent in the upload request for the
- * destination. Includes all audience members in the request, regardless of
- * whether they were successfully ingested or not.
+ * The match rate range of the upload.
*
*
- * int64 record_count = 1;
+ * .google.ads.datamanager.v1.MatchRateRange upload_match_rate_range = 3;
*
- * @param value The recordCount to set.
- * @return This builder for chaining.
+ * @return The enum numeric value on the wire for uploadMatchRateRange.
*/
- public Builder setRecordCount(long value) {
-
- recordCount_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
+ @java.lang.Override
+ public int getUploadMatchRateRangeValue() {
+ return uploadMatchRateRange_;
}
/**
*
*
*
- * The total count of audience members sent in the upload request for the
- * destination. Includes all audience members in the request, regardless of
- * whether they were successfully ingested or not.
+ * The match rate range of the upload.
*
*
- * int64 record_count = 1;
+ * .google.ads.datamanager.v1.MatchRateRange upload_match_rate_range = 3;
*
+ * @param value The enum numeric value on the wire for uploadMatchRateRange to set.
* @return This builder for chaining.
*/
- public Builder clearRecordCount() {
- bitField0_ = (bitField0_ & ~0x00000001);
- recordCount_ = 0L;
+ public Builder setUploadMatchRateRangeValue(int value) {
+ uploadMatchRateRange_ = value;
+ bitField0_ |= 0x00000004;
onChanged();
return this;
}
- private long ppidCount_;
-
/**
*
*
*
- * The total count of ppids sent in the upload request for the
- * destination. Includes all ppids in the request, regardless of
- * whether they were successfully ingested or not.
+ * The match rate range of the upload.
*
*
- * int64 ppid_count = 2;
+ * .google.ads.datamanager.v1.MatchRateRange upload_match_rate_range = 3;
*
- * @return The ppidCount.
+ * @return The uploadMatchRateRange.
*/
@java.lang.Override
- public long getPpidCount() {
- return ppidCount_;
+ public com.google.ads.datamanager.v1.MatchRateRange getUploadMatchRateRange() {
+ com.google.ads.datamanager.v1.MatchRateRange result =
+ com.google.ads.datamanager.v1.MatchRateRange.forNumber(uploadMatchRateRange_);
+ return result == null ? com.google.ads.datamanager.v1.MatchRateRange.UNRECOGNIZED : result;
}
/**
*
*
*
- * The total count of ppids sent in the upload request for the
- * destination. Includes all ppids in the request, regardless of
- * whether they were successfully ingested or not.
+ * The match rate range of the upload.
*
*
- * int64 ppid_count = 2;
+ * .google.ads.datamanager.v1.MatchRateRange upload_match_rate_range = 3;
*
- * @param value The ppidCount to set.
+ * @param value The uploadMatchRateRange to set.
* @return This builder for chaining.
*/
- public Builder setPpidCount(long value) {
-
- ppidCount_ = value;
- bitField0_ |= 0x00000002;
+ public Builder setUploadMatchRateRange(com.google.ads.datamanager.v1.MatchRateRange value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000004;
+ uploadMatchRateRange_ = value.getNumber();
onChanged();
return this;
}
@@ -13251,44 +17629,43 @@ public Builder setPpidCount(long value) {
*
*
*
- * The total count of ppids sent in the upload request for the
- * destination. Includes all ppids in the request, regardless of
- * whether they were successfully ingested or not.
+ * The match rate range of the upload.
*
*
- * int64 ppid_count = 2;
+ * .google.ads.datamanager.v1.MatchRateRange upload_match_rate_range = 3;
*
* @return This builder for chaining.
*/
- public Builder clearPpidCount() {
- bitField0_ = (bitField0_ & ~0x00000002);
- ppidCount_ = 0L;
+ public Builder clearUploadMatchRateRange() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ uploadMatchRateRange_ = 0;
onChanged();
return this;
}
- // @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus)
+ // @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus)
}
- // @@protoc_insertion_point(class_scope:google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus)
+ // @@protoc_insertion_point(class_scope:google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus)
private static final com.google.ads.datamanager.v1.RequestStatusPerDestination
- .IngestPpidDataStatus
+ .IngestCompositeDataStatus
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE =
- new com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus();
+ new com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus();
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestCompositeDataStatus
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parser PARSER =
- new com.google.protobuf.AbstractParser() {
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
@java.lang.Override
- public IngestPpidDataStatus parsePartialFrom(
+ public IngestCompositeDataStatus parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -13308,25 +17685,25 @@ public IngestPpidDataStatus parsePartialFrom(
}
};
- public static com.google.protobuf.Parser parser() {
+ public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
- public com.google.protobuf.Parser getParserForType() {
+ public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus
getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
- public interface RemovePpidDataStatusOrBuilder
+ public interface RemoveCompositeDataStatusOrBuilder
extends
- // @@protoc_insertion_point(interface_extends:google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus)
+ // @@protoc_insertion_point(interface_extends:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus)
com.google.protobuf.MessageOrBuilder {
/**
@@ -13348,32 +17725,98 @@ public interface RemovePpidDataStatusOrBuilder
*
*
*
- * The total count of ppids sent in the removal request. Includes all
- * ppids in the request, regardless of whether they were successfully
- * removed or not.
+ * The total count of data types sent in the removal request, broken down
+ * by data type. Includes all data types in the request, regardless
+ * of whether they were successfully removed or not.
*
*
- * int64 ppid_count = 2;
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ java.util.List
+ getDataTypeCountsList();
+
+ /**
*
- * @return The ppidCount.
+ *
+ *
+ * The total count of data types sent in the removal request, broken down
+ * by data type. Includes all data types in the request, regardless
+ * of whether they were successfully removed or not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
*/
- long getPpidCount();
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount getDataTypeCounts(
+ int index);
+
+ /**
+ *
+ *
+ *
+ * The total count of data types sent in the removal request, broken down
+ * by data type. Includes all data types in the request, regardless
+ * of whether they were successfully removed or not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ int getDataTypeCountsCount();
+
+ /**
+ *
+ *
+ *
+ * The total count of data types sent in the removal request, broken down
+ * by data type. Includes all data types in the request, regardless
+ * of whether they were successfully removed or not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ java.util.List<
+ ? extends
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCountOrBuilder>
+ getDataTypeCountsOrBuilderList();
+
+ /**
+ *
+ *
+ *
+ * The total count of data types sent in the removal request, broken down
+ * by data type. Includes all data types in the request, regardless
+ * of whether they were successfully removed or not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCountOrBuilder
+ getDataTypeCountsOrBuilder(int index);
}
/**
*
*
*
- * The status of the ppid data removal from the destination.
+ * The status of the composite data removal from the destination.
*
*
* Protobuf type {@code
- * google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus}
+ * google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus}
*/
- public static final class RemovePpidDataStatus extends com.google.protobuf.GeneratedMessage
+ public static final class RemoveCompositeDataStatus extends com.google.protobuf.GeneratedMessage
implements
- // @@protoc_insertion_point(message_implements:google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus)
- RemovePpidDataStatusOrBuilder {
+ // @@protoc_insertion_point(message_implements:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus)
+ RemoveCompositeDataStatusOrBuilder {
private static final long serialVersionUID = 0L;
static {
@@ -13383,72 +17826,156 @@ public static final class RemovePpidDataStatus extends com.google.protobuf.Gener
/* minor= */ 33,
/* patch= */ 6,
/* suffix= */ "",
- "RemovePpidDataStatus");
+ "RemoveCompositeDataStatus");
}
- // Use RemovePpidDataStatus.newBuilder() to construct.
- private RemovePpidDataStatus(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ // Use RemoveCompositeDataStatus.newBuilder() to construct.
+ private RemoveCompositeDataStatus(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
- private RemovePpidDataStatus() {}
+ private RemoveCompositeDataStatus() {
+ dataTypeCounts_ = java.util.Collections.emptyList();
+ }
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemovePpidDataStatus_descriptor;
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveCompositeDataStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemovePpidDataStatus_fieldAccessorTable
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveCompositeDataStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus.class,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus.Builder
- .class);
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus
+ .class,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus
+ .Builder.class);
+ }
+
+ public static final int RECORD_COUNT_FIELD_NUMBER = 1;
+ private long recordCount_ = 0L;
+
+ /**
+ *
+ *
+ *
+ * The total count of audience members sent in the removal request. Includes
+ * all audience members in the request, regardless of whether they were
+ * successfully removed or not.
+ *
+ *
+ * int64 record_count = 1;
+ *
+ * @return The recordCount.
+ */
+ @java.lang.Override
+ public long getRecordCount() {
+ return recordCount_;
+ }
+
+ public static final int DATA_TYPE_COUNTS_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private java.util.List
+ dataTypeCounts_;
+
+ /**
+ *
+ *
+ *
+ * The total count of data types sent in the removal request, broken down
+ * by data type. Includes all data types in the request, regardless
+ * of whether they were successfully removed or not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ @java.lang.Override
+ public java.util.List
+ getDataTypeCountsList() {
+ return dataTypeCounts_;
+ }
+
+ /**
+ *
+ *
+ *
+ * The total count of data types sent in the removal request, broken down
+ * by data type. Includes all data types in the request, regardless
+ * of whether they were successfully removed or not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ @java.lang.Override
+ public java.util.List<
+ ? extends
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCountOrBuilder>
+ getDataTypeCountsOrBuilderList() {
+ return dataTypeCounts_;
}
- public static final int RECORD_COUNT_FIELD_NUMBER = 1;
- private long recordCount_ = 0L;
-
/**
*
*
*
- * The total count of audience members sent in the removal request. Includes
- * all audience members in the request, regardless of whether they were
- * successfully removed or not.
+ * The total count of data types sent in the removal request, broken down
+ * by data type. Includes all data types in the request, regardless
+ * of whether they were successfully removed or not.
*
*
- * int64 record_count = 1;
- *
- * @return The recordCount.
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
*/
@java.lang.Override
- public long getRecordCount() {
- return recordCount_;
+ public int getDataTypeCountsCount() {
+ return dataTypeCounts_.size();
}
- public static final int PPID_COUNT_FIELD_NUMBER = 2;
- private long ppidCount_ = 0L;
-
/**
*
*
*
- * The total count of ppids sent in the removal request. Includes all
- * ppids in the request, regardless of whether they were successfully
- * removed or not.
+ * The total count of data types sent in the removal request, broken down
+ * by data type. Includes all data types in the request, regardless
+ * of whether they were successfully removed or not.
*
*
- * int64 ppid_count = 2;
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount
+ getDataTypeCounts(int index) {
+ return dataTypeCounts_.get(index);
+ }
+
+ /**
*
- * @return The ppidCount.
+ *
+ *
+ * The total count of data types sent in the removal request, broken down
+ * by data type. Includes all data types in the request, regardless
+ * of whether they were successfully removed or not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
*/
@java.lang.Override
- public long getPpidCount() {
- return ppidCount_;
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCountOrBuilder
+ getDataTypeCountsOrBuilder(int index) {
+ return dataTypeCounts_.get(index);
}
private byte memoizedIsInitialized = -1;
@@ -13468,8 +17995,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (recordCount_ != 0L) {
output.writeInt64(1, recordCount_);
}
- if (ppidCount_ != 0L) {
- output.writeInt64(2, ppidCount_);
+ for (int i = 0; i < dataTypeCounts_.size(); i++) {
+ output.writeMessage(2, dataTypeCounts_.get(i));
}
getUnknownFields().writeTo(output);
}
@@ -13483,8 +18010,8 @@ public int getSerializedSize() {
if (recordCount_ != 0L) {
size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, recordCount_);
}
- if (ppidCount_ != 0L) {
- size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, ppidCount_);
+ for (int i = 0; i < dataTypeCounts_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, dataTypeCounts_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
@@ -13498,14 +18025,14 @@ public boolean equals(final java.lang.Object obj) {
}
if (!(obj
instanceof
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus)) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus)) {
return super.equals(obj);
}
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus other =
- (com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus) obj;
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus other =
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus) obj;
if (getRecordCount() != other.getRecordCount()) return false;
- if (getPpidCount() != other.getPpidCount()) return false;
+ if (!getDataTypeCountsList().equals(other.getDataTypeCountsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -13519,33 +18046,39 @@ public int hashCode() {
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + RECORD_COUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRecordCount());
- hash = (37 * hash) + PPID_COUNT_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPpidCount());
+ if (getDataTypeCountsCount() > 0) {
+ hash = (37 * hash) + DATA_TYPE_COUNTS_FIELD_NUMBER;
+ hash = (53 * hash) + getDataTypeCountsList().hashCode();
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveCompositeDataStatus
parseFrom(java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveCompositeDataStatus
parseFrom(
java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveCompositeDataStatus
parseFrom(com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveCompositeDataStatus
parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -13553,23 +18086,27 @@ public int hashCode() {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveCompositeDataStatus
parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveCompositeDataStatus
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveCompositeDataStatus
parseFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveCompositeDataStatus
parseFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -13577,12 +18114,14 @@ public int hashCode() {
PARSER, input, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveCompositeDataStatus
parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveCompositeDataStatus
parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -13590,12 +18129,14 @@ public int hashCode() {
PARSER, input, extensionRegistry);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveCompositeDataStatus
parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveCompositeDataStatus
parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -13614,238 +18155,615 @@ public static Builder newBuilder() {
}
public static Builder newBuilder(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus prototype) {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus
+ prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
- }
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the composite data removal from the destination.
+ *
+ *
+ * Protobuf type {@code
+ * google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus)
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveCompositeDataStatusOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveCompositeDataStatus_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveCompositeDataStatus_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus
+ .class,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus
+ .Builder.class);
+ }
+
+ // Construct using
+ // com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus.newBuilder()
+ private Builder() {}
+
+ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ recordCount_ = 0L;
+ if (dataTypeCountsBuilder_ == null) {
+ dataTypeCounts_ = java.util.Collections.emptyList();
+ } else {
+ dataTypeCounts_ = null;
+ dataTypeCountsBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000002);
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveCompositeDataStatus_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus
+ getDefaultInstanceForType() {
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus
+ .getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus
+ build() {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus result =
+ buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus
+ buildPartial() {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus result =
+ new com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus(
+ this);
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus
+ result) {
+ if (dataTypeCountsBuilder_ == null) {
+ if (((bitField0_ & 0x00000002) != 0)) {
+ dataTypeCounts_ = java.util.Collections.unmodifiableList(dataTypeCounts_);
+ bitField0_ = (bitField0_ & ~0x00000002);
+ }
+ result.dataTypeCounts_ = dataTypeCounts_;
+ } else {
+ result.dataTypeCounts_ = dataTypeCountsBuilder_.build();
+ }
+ }
+
+ private void buildPartial0(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus
+ result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.recordCount_ = recordCount_;
+ }
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other
+ instanceof
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus) {
+ return mergeFrom(
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus)
+ other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus
+ other) {
+ if (other
+ == com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus
+ .getDefaultInstance()) return this;
+ if (other.getRecordCount() != 0L) {
+ setRecordCount(other.getRecordCount());
+ }
+ if (dataTypeCountsBuilder_ == null) {
+ if (!other.dataTypeCounts_.isEmpty()) {
+ if (dataTypeCounts_.isEmpty()) {
+ dataTypeCounts_ = other.dataTypeCounts_;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ } else {
+ ensureDataTypeCountsIsMutable();
+ dataTypeCounts_.addAll(other.dataTypeCounts_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.dataTypeCounts_.isEmpty()) {
+ if (dataTypeCountsBuilder_.isEmpty()) {
+ dataTypeCountsBuilder_.dispose();
+ dataTypeCountsBuilder_ = null;
+ dataTypeCounts_ = other.dataTypeCounts_;
+ bitField0_ = (bitField0_ & ~0x00000002);
+ dataTypeCountsBuilder_ =
+ com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders
+ ? internalGetDataTypeCountsFieldBuilder()
+ : null;
+ } else {
+ dataTypeCountsBuilder_.addAllMessages(other.dataTypeCounts_);
+ }
+ }
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
- @java.lang.Override
- protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
- /**
- *
- *
- *
- * The status of the ppid data removal from the destination.
- *
- *
- * Protobuf type {@code
- * google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus}
- */
- public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
- implements
- // @@protoc_insertion_point(builder_implements:google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus)
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatusOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemovePpidDataStatus_descriptor;
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 8:
+ {
+ recordCount_ = input.readInt64();
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 8
+ case 18:
+ {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount m =
+ input.readMessage(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount
+ .parser(),
+ extensionRegistry);
+ if (dataTypeCountsBuilder_ == null) {
+ ensureDataTypeCountsIsMutable();
+ dataTypeCounts_.add(m);
+ } else {
+ dataTypeCountsBuilder_.addMessage(m);
+ }
+ break;
+ } // case 18
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
}
+ private int bitField0_;
+
+ private long recordCount_;
+
+ /**
+ *
+ *
+ *
+ * The total count of audience members sent in the removal request. Includes
+ * all audience members in the request, regardless of whether they were
+ * successfully removed or not.
+ *
+ *
+ * int64 record_count = 1;
+ *
+ * @return The recordCount.
+ */
@java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemovePpidDataStatus_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
- .class,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
- .Builder.class);
+ public long getRecordCount() {
+ return recordCount_;
}
- // Construct using
- // com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus.newBuilder()
- private Builder() {}
+ /**
+ *
+ *
+ *
+ * The total count of audience members sent in the removal request. Includes
+ * all audience members in the request, regardless of whether they were
+ * successfully removed or not.
+ *
+ *
+ * int64 record_count = 1;
+ *
+ * @param value The recordCount to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRecordCount(long value) {
- private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- super(parent);
+ recordCount_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
}
- @java.lang.Override
- public Builder clear() {
- super.clear();
- bitField0_ = 0;
+ /**
+ *
+ *
+ *
+ * The total count of audience members sent in the removal request. Includes
+ * all audience members in the request, regardless of whether they were
+ * successfully removed or not.
+ *
+ *
+ * int64 record_count = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearRecordCount() {
+ bitField0_ = (bitField0_ & ~0x00000001);
recordCount_ = 0L;
- ppidCount_ = 0L;
+ onChanged();
return this;
}
- @java.lang.Override
- public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemovePpidDataStatus_descriptor;
+ private java.util.List<
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount>
+ dataTypeCounts_ = java.util.Collections.emptyList();
+
+ private void ensureDataTypeCountsIsMutable() {
+ if (!((bitField0_ & 0x00000002) != 0)) {
+ dataTypeCounts_ =
+ new java.util.ArrayList<
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount>(
+ dataTypeCounts_);
+ bitField0_ |= 0x00000002;
+ }
}
- @java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
- getDefaultInstanceForType() {
- return com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
- .getDefaultInstance();
+ private com.google.protobuf.RepeatedFieldBuilder<
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount.Builder,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCountOrBuilder>
+ dataTypeCountsBuilder_;
+
+ /**
+ *
+ *
+ *
+ * The total count of data types sent in the removal request, broken down
+ * by data type. Includes all data types in the request, regardless
+ * of whether they were successfully removed or not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ public java.util.List
+ getDataTypeCountsList() {
+ if (dataTypeCountsBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(dataTypeCounts_);
+ } else {
+ return dataTypeCountsBuilder_.getMessageList();
+ }
+ }
+
+ /**
+ *
+ *
+ *
+ * The total count of data types sent in the removal request, broken down
+ * by data type. Includes all data types in the request, regardless
+ * of whether they were successfully removed or not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ public int getDataTypeCountsCount() {
+ if (dataTypeCountsBuilder_ == null) {
+ return dataTypeCounts_.size();
+ } else {
+ return dataTypeCountsBuilder_.getCount();
+ }
}
- @java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
- build() {
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus result =
- buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
+ /**
+ *
+ *
+ *
+ * The total count of data types sent in the removal request, broken down
+ * by data type. Includes all data types in the request, regardless
+ * of whether they were successfully removed or not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount
+ getDataTypeCounts(int index) {
+ if (dataTypeCountsBuilder_ == null) {
+ return dataTypeCounts_.get(index);
+ } else {
+ return dataTypeCountsBuilder_.getMessage(index);
}
- return result;
}
- @java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
- buildPartial() {
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus result =
- new com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus(
- this);
- if (bitField0_ != 0) {
- buildPartial0(result);
+ /**
+ *
+ *
+ *
+ * The total count of data types sent in the removal request, broken down
+ * by data type. Includes all data types in the request, regardless
+ * of whether they were successfully removed or not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ public Builder setDataTypeCounts(
+ int index,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount value) {
+ if (dataTypeCountsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDataTypeCountsIsMutable();
+ dataTypeCounts_.set(index, value);
+ onChanged();
+ } else {
+ dataTypeCountsBuilder_.setMessage(index, value);
}
- onBuilt();
- return result;
+ return this;
}
- private void buildPartial0(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus result) {
- int from_bitField0_ = bitField0_;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.recordCount_ = recordCount_;
- }
- if (((from_bitField0_ & 0x00000002) != 0)) {
- result.ppidCount_ = ppidCount_;
+ /**
+ *
+ *
+ *
+ * The total count of data types sent in the removal request, broken down
+ * by data type. Includes all data types in the request, regardless
+ * of whether they were successfully removed or not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ public Builder setDataTypeCounts(
+ int index,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount.Builder
+ builderForValue) {
+ if (dataTypeCountsBuilder_ == null) {
+ ensureDataTypeCountsIsMutable();
+ dataTypeCounts_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ dataTypeCountsBuilder_.setMessage(index, builderForValue.build());
}
+ return this;
}
- @java.lang.Override
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other
- instanceof
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus) {
- return mergeFrom(
- (com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus)
- other);
+ /**
+ *
+ *
+ *
+ * The total count of data types sent in the removal request, broken down
+ * by data type. Includes all data types in the request, regardless
+ * of whether they were successfully removed or not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ public Builder addDataTypeCounts(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount value) {
+ if (dataTypeCountsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDataTypeCountsIsMutable();
+ dataTypeCounts_.add(value);
+ onChanged();
} else {
- super.mergeFrom(other);
- return this;
+ dataTypeCountsBuilder_.addMessage(value);
}
+ return this;
}
- public Builder mergeFrom(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus other) {
- if (other
- == com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
- .getDefaultInstance()) return this;
- if (other.getRecordCount() != 0L) {
- setRecordCount(other.getRecordCount());
- }
- if (other.getPpidCount() != 0L) {
- setPpidCount(other.getPpidCount());
+ /**
+ *
+ *
+ *
+ * The total count of data types sent in the removal request, broken down
+ * by data type. Includes all data types in the request, regardless
+ * of whether they were successfully removed or not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ public Builder addDataTypeCounts(
+ int index,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount value) {
+ if (dataTypeCountsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDataTypeCountsIsMutable();
+ dataTypeCounts_.add(index, value);
+ onChanged();
+ } else {
+ dataTypeCountsBuilder_.addMessage(index, value);
}
- this.mergeUnknownFields(other.getUnknownFields());
- onChanged();
return this;
}
- @java.lang.Override
- public final boolean isInitialized() {
- return true;
+ /**
+ *
+ *
+ *
+ * The total count of data types sent in the removal request, broken down
+ * by data type. Includes all data types in the request, regardless
+ * of whether they were successfully removed or not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ public Builder addDataTypeCounts(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount.Builder
+ builderForValue) {
+ if (dataTypeCountsBuilder_ == null) {
+ ensureDataTypeCountsIsMutable();
+ dataTypeCounts_.add(builderForValue.build());
+ onChanged();
+ } else {
+ dataTypeCountsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
}
- @java.lang.Override
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 8:
- {
- recordCount_ = input.readInt64();
- bitField0_ |= 0x00000001;
- break;
- } // case 8
- case 16:
- {
- ppidCount_ = input.readInt64();
- bitField0_ |= 0x00000002;
- break;
- } // case 16
- default:
- {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.unwrapIOException();
- } finally {
+ /**
+ *
+ *
+ *
+ * The total count of data types sent in the removal request, broken down
+ * by data type. Includes all data types in the request, regardless
+ * of whether they were successfully removed or not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ public Builder addDataTypeCounts(
+ int index,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount.Builder
+ builderForValue) {
+ if (dataTypeCountsBuilder_ == null) {
+ ensureDataTypeCountsIsMutable();
+ dataTypeCounts_.add(index, builderForValue.build());
onChanged();
- } // finally
+ } else {
+ dataTypeCountsBuilder_.addMessage(index, builderForValue.build());
+ }
return this;
}
- private int bitField0_;
-
- private long recordCount_;
-
/**
*
*
*
- * The total count of audience members sent in the removal request. Includes
- * all audience members in the request, regardless of whether they were
- * successfully removed or not.
+ * The total count of data types sent in the removal request, broken down
+ * by data type. Includes all data types in the request, regardless
+ * of whether they were successfully removed or not.
*
*
- * int64 record_count = 1;
- *
- * @return The recordCount.
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
*/
- @java.lang.Override
- public long getRecordCount() {
- return recordCount_;
+ public Builder addAllDataTypeCounts(
+ java.lang.Iterable<
+ ? extends com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount>
+ values) {
+ if (dataTypeCountsBuilder_ == null) {
+ ensureDataTypeCountsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dataTypeCounts_);
+ onChanged();
+ } else {
+ dataTypeCountsBuilder_.addAllMessages(values);
+ }
+ return this;
}
/**
*
*
*
- * The total count of audience members sent in the removal request. Includes
- * all audience members in the request, regardless of whether they were
- * successfully removed or not.
+ * The total count of data types sent in the removal request, broken down
+ * by data type. Includes all data types in the request, regardless
+ * of whether they were successfully removed or not.
*
*
- * int64 record_count = 1;
- *
- * @param value The recordCount to set.
- * @return This builder for chaining.
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
*/
- public Builder setRecordCount(long value) {
-
- recordCount_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
+ public Builder clearDataTypeCounts() {
+ if (dataTypeCountsBuilder_ == null) {
+ dataTypeCounts_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ } else {
+ dataTypeCountsBuilder_.clear();
+ }
return this;
}
@@ -13853,106 +18771,195 @@ public Builder setRecordCount(long value) {
*
*
*
- * The total count of audience members sent in the removal request. Includes
- * all audience members in the request, regardless of whether they were
- * successfully removed or not.
+ * The total count of data types sent in the removal request, broken down
+ * by data type. Includes all data types in the request, regardless
+ * of whether they were successfully removed or not.
*
*
- * int64 record_count = 1;
- *
- * @return This builder for chaining.
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
*/
- public Builder clearRecordCount() {
- bitField0_ = (bitField0_ & ~0x00000001);
- recordCount_ = 0L;
- onChanged();
+ public Builder removeDataTypeCounts(int index) {
+ if (dataTypeCountsBuilder_ == null) {
+ ensureDataTypeCountsIsMutable();
+ dataTypeCounts_.remove(index);
+ onChanged();
+ } else {
+ dataTypeCountsBuilder_.remove(index);
+ }
return this;
}
- private long ppidCount_;
-
/**
*
*
*
- * The total count of ppids sent in the removal request. Includes all
- * ppids in the request, regardless of whether they were successfully
- * removed or not.
+ * The total count of data types sent in the removal request, broken down
+ * by data type. Includes all data types in the request, regardless
+ * of whether they were successfully removed or not.
*
*
- * int64 ppid_count = 2;
- *
- * @return The ppidCount.
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
*/
- @java.lang.Override
- public long getPpidCount() {
- return ppidCount_;
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount.Builder
+ getDataTypeCountsBuilder(int index) {
+ return internalGetDataTypeCountsFieldBuilder().getBuilder(index);
}
/**
*
*
*
- * The total count of ppids sent in the removal request. Includes all
- * ppids in the request, regardless of whether they were successfully
- * removed or not.
+ * The total count of data types sent in the removal request, broken down
+ * by data type. Includes all data types in the request, regardless
+ * of whether they were successfully removed or not.
*
*
- * int64 ppid_count = 2;
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCountOrBuilder
+ getDataTypeCountsOrBuilder(int index) {
+ if (dataTypeCountsBuilder_ == null) {
+ return dataTypeCounts_.get(index);
+ } else {
+ return dataTypeCountsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+
+ /**
*
- * @param value The ppidCount to set.
- * @return This builder for chaining.
+ *
+ *
+ * The total count of data types sent in the removal request, broken down
+ * by data type. Includes all data types in the request, regardless
+ * of whether they were successfully removed or not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
*/
- public Builder setPpidCount(long value) {
+ public java.util.List<
+ ? extends
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCountOrBuilder>
+ getDataTypeCountsOrBuilderList() {
+ if (dataTypeCountsBuilder_ != null) {
+ return dataTypeCountsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(dataTypeCounts_);
+ }
+ }
- ppidCount_ = value;
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
+ /**
+ *
+ *
+ *
+ * The total count of data types sent in the removal request, broken down
+ * by data type. Includes all data types in the request, regardless
+ * of whether they were successfully removed or not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount.Builder
+ addDataTypeCountsBuilder() {
+ return internalGetDataTypeCountsFieldBuilder()
+ .addBuilder(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount
+ .getDefaultInstance());
}
/**
*
*
*
- * The total count of ppids sent in the removal request. Includes all
- * ppids in the request, regardless of whether they were successfully
- * removed or not.
+ * The total count of data types sent in the removal request, broken down
+ * by data type. Includes all data types in the request, regardless
+ * of whether they were successfully removed or not.
*
*
- * int64 ppid_count = 2;
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
+ */
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount.Builder
+ addDataTypeCountsBuilder(int index) {
+ return internalGetDataTypeCountsFieldBuilder()
+ .addBuilder(
+ index,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount
+ .getDefaultInstance());
+ }
+
+ /**
*
- * @return This builder for chaining.
+ *
+ *
+ * The total count of data types sent in the removal request, broken down
+ * by data type. Includes all data types in the request, regardless
+ * of whether they were successfully removed or not.
+ *
+ *
+ *
+ * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
+ *
*/
- public Builder clearPpidCount() {
- bitField0_ = (bitField0_ & ~0x00000002);
- ppidCount_ = 0L;
- onChanged();
- return this;
+ public java.util.List<
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount.Builder>
+ getDataTypeCountsBuilderList() {
+ return internalGetDataTypeCountsFieldBuilder().getBuilderList();
}
- // @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus)
+ private com.google.protobuf.RepeatedFieldBuilder<
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount.Builder,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCountOrBuilder>
+ internalGetDataTypeCountsFieldBuilder() {
+ if (dataTypeCountsBuilder_ == null) {
+ dataTypeCountsBuilder_ =
+ new com.google.protobuf.RepeatedFieldBuilder<
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount.Builder,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCountOrBuilder>(
+ dataTypeCounts_,
+ ((bitField0_ & 0x00000002) != 0),
+ getParentForChildren(),
+ isClean());
+ dataTypeCounts_ = null;
+ }
+ return dataTypeCountsBuilder_;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus)
}
- // @@protoc_insertion_point(class_scope:google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus)
+ // @@protoc_insertion_point(class_scope:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus)
private static final com.google.ads.datamanager.v1.RequestStatusPerDestination
- .RemovePpidDataStatus
+ .RemoveCompositeDataStatus
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE =
- new com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus();
+ new com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus();
}
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveCompositeDataStatus
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parser PARSER =
- new com.google.protobuf.AbstractParser() {
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
@java.lang.Override
- public RemovePpidDataStatus parsePartialFrom(
+ public RemoveCompositeDataStatus parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -13972,25 +18979,25 @@ public RemovePpidDataStatus parsePartialFrom(
}
};
- public static com.google.protobuf.Parser parser() {
+ public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
- public com.google.protobuf.Parser getParserForType() {
+ public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemovePpidDataStatus
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus
getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
- public interface IngestCompositeDataStatusOrBuilder
+ public interface IngestGoogleUserIdDataStatusOrBuilder
extends
- // @@protoc_insertion_point(interface_extends:google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus)
+ // @@protoc_insertion_point(interface_extends:google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus)
com.google.protobuf.MessageOrBuilder {
/**
@@ -14012,130 +19019,34 @@ public interface IngestCompositeDataStatusOrBuilder
*
*
*
- * The total count of data types sent in the upload request for the
- * destination, broken down by data type. Includes all data types in
- * the request, regardless of whether they were successfully ingested or
- * not.
- *
- *
- *
- * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
- *
- */
- java.util.List
- getDataTypeCountsList();
-
- /**
- *
- *
- *
- * The total count of data types sent in the upload request for the
- * destination, broken down by data type. Includes all data types in
- * the request, regardless of whether they were successfully ingested or
- * not.
- *
- *
- *
- * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
- *
- */
- com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount getDataTypeCounts(
- int index);
-
- /**
- *
- *
- *
- * The total count of data types sent in the upload request for the
- * destination, broken down by data type. Includes all data types in
- * the request, regardless of whether they were successfully ingested or
- * not.
- *
- *
- *
- * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
- *
- */
- int getDataTypeCountsCount();
-
- /**
- *
- *
- *
- * The total count of data types sent in the upload request for the
- * destination, broken down by data type. Includes all data types in
- * the request, regardless of whether they were successfully ingested or
- * not.
- *
- *
- *
- * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
- *
- */
- java.util.List<
- ? extends
- com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCountOrBuilder>
- getDataTypeCountsOrBuilderList();
-
- /**
- *
- *
- *
- * The total count of data types sent in the upload request for the
- * destination, broken down by data type. Includes all data types in
- * the request, regardless of whether they were successfully ingested or
- * not.
- *
- *
- *
- * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
- *
- */
- com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCountOrBuilder
- getDataTypeCountsOrBuilder(int index);
-
- /**
- *
- *
- *
- * The match rate range of the upload.
- *
- *
- * .google.ads.datamanager.v1.MatchRateRange upload_match_rate_range = 3;
- *
- * @return The enum numeric value on the wire for uploadMatchRateRange.
- */
- int getUploadMatchRateRangeValue();
-
- /**
- *
- *
- *
- * The match rate range of the upload.
+ * The total count of google user ids sent in the upload request for the
+ * destination. Includes all google user ids in the request, regardless of
+ * whether they were successfully ingested or not.
*
*
- * .google.ads.datamanager.v1.MatchRateRange upload_match_rate_range = 3;
+ * int64 google_user_id_count = 2;
*
- * @return The uploadMatchRateRange.
+ * @return The googleUserIdCount.
*/
- com.google.ads.datamanager.v1.MatchRateRange getUploadMatchRateRange();
+ long getGoogleUserIdCount();
}
/**
*
*
*
- * The status of the composite data ingestion to the destination containing
- * stats related to the ingestion.
+ * The status of the google user id data ingestion to the destination
+ * containing stats related to the ingestion.
*
*
* Protobuf type {@code
- * google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus}
+ * google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus}
*/
- public static final class IngestCompositeDataStatus extends com.google.protobuf.GeneratedMessage
+ public static final class IngestGoogleUserIdDataStatus
+ extends com.google.protobuf.GeneratedMessage
implements
- // @@protoc_insertion_point(message_implements:google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus)
- IngestCompositeDataStatusOrBuilder {
+ // @@protoc_insertion_point(message_implements:google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus)
+ IngestGoogleUserIdDataStatusOrBuilder {
private static final long serialVersionUID = 0L;
static {
@@ -14145,33 +19056,30 @@ public static final class IngestCompositeDataStatus extends com.google.protobuf.
/* minor= */ 33,
/* patch= */ 6,
/* suffix= */ "",
- "IngestCompositeDataStatus");
+ "IngestGoogleUserIdDataStatus");
}
- // Use IngestCompositeDataStatus.newBuilder() to construct.
- private IngestCompositeDataStatus(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ // Use IngestGoogleUserIdDataStatus.newBuilder() to construct.
+ private IngestGoogleUserIdDataStatus(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
- private IngestCompositeDataStatus() {
- dataTypeCounts_ = java.util.Collections.emptyList();
- uploadMatchRateRange_ = 0;
- }
+ private IngestGoogleUserIdDataStatus() {}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestCompositeDataStatus_descriptor;
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestGoogleUserIdDataStatus_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestCompositeDataStatus_fieldAccessorTable
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestGoogleUserIdDataStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus
.class,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus
.Builder.class);
}
@@ -14196,148 +19104,25 @@ public long getRecordCount() {
return recordCount_;
}
- public static final int DATA_TYPE_COUNTS_FIELD_NUMBER = 2;
-
- @SuppressWarnings("serial")
- private java.util.List
- dataTypeCounts_;
-
- /**
- *
- *
- *
- * The total count of data types sent in the upload request for the
- * destination, broken down by data type. Includes all data types in
- * the request, regardless of whether they were successfully ingested or
- * not.
- *
- *
- *
- * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
- *
- */
- @java.lang.Override
- public java.util.List
- getDataTypeCountsList() {
- return dataTypeCounts_;
- }
-
- /**
- *
- *
- *
- * The total count of data types sent in the upload request for the
- * destination, broken down by data type. Includes all data types in
- * the request, regardless of whether they were successfully ingested or
- * not.
- *
- *
- *
- * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
- *
- */
- @java.lang.Override
- public java.util.List<
- ? extends
- com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCountOrBuilder>
- getDataTypeCountsOrBuilderList() {
- return dataTypeCounts_;
- }
-
- /**
- *
- *
- *
- * The total count of data types sent in the upload request for the
- * destination, broken down by data type. Includes all data types in
- * the request, regardless of whether they were successfully ingested or
- * not.
- *
- *
- *
- * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
- *
- */
- @java.lang.Override
- public int getDataTypeCountsCount() {
- return dataTypeCounts_.size();
- }
-
- /**
- *
- *
- *
- * The total count of data types sent in the upload request for the
- * destination, broken down by data type. Includes all data types in
- * the request, regardless of whether they were successfully ingested or
- * not.
- *
- *
- *
- * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
- *
- */
- @java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount
- getDataTypeCounts(int index) {
- return dataTypeCounts_.get(index);
- }
-
- /**
- *
- *
- *
- * The total count of data types sent in the upload request for the
- * destination, broken down by data type. Includes all data types in
- * the request, regardless of whether they were successfully ingested or
- * not.
- *
- *
- *
- * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
- *
- */
- @java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCountOrBuilder
- getDataTypeCountsOrBuilder(int index) {
- return dataTypeCounts_.get(index);
- }
-
- public static final int UPLOAD_MATCH_RATE_RANGE_FIELD_NUMBER = 3;
- private int uploadMatchRateRange_ = 0;
-
- /**
- *
- *
- *
- * The match rate range of the upload.
- *
- *
- * .google.ads.datamanager.v1.MatchRateRange upload_match_rate_range = 3;
- *
- * @return The enum numeric value on the wire for uploadMatchRateRange.
- */
- @java.lang.Override
- public int getUploadMatchRateRangeValue() {
- return uploadMatchRateRange_;
- }
+ public static final int GOOGLE_USER_ID_COUNT_FIELD_NUMBER = 2;
+ private long googleUserIdCount_ = 0L;
/**
*
*
*
- * The match rate range of the upload.
+ * The total count of google user ids sent in the upload request for the
+ * destination. Includes all google user ids in the request, regardless of
+ * whether they were successfully ingested or not.
*
*
- * .google.ads.datamanager.v1.MatchRateRange upload_match_rate_range = 3;
+ * int64 google_user_id_count = 2;
*
- * @return The uploadMatchRateRange.
+ * @return The googleUserIdCount.
*/
@java.lang.Override
- public com.google.ads.datamanager.v1.MatchRateRange getUploadMatchRateRange() {
- com.google.ads.datamanager.v1.MatchRateRange result =
- com.google.ads.datamanager.v1.MatchRateRange.forNumber(uploadMatchRateRange_);
- return result == null ? com.google.ads.datamanager.v1.MatchRateRange.UNRECOGNIZED : result;
+ public long getGoogleUserIdCount() {
+ return googleUserIdCount_;
}
private byte memoizedIsInitialized = -1;
@@ -14357,12 +19142,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (recordCount_ != 0L) {
output.writeInt64(1, recordCount_);
}
- for (int i = 0; i < dataTypeCounts_.size(); i++) {
- output.writeMessage(2, dataTypeCounts_.get(i));
- }
- if (uploadMatchRateRange_
- != com.google.ads.datamanager.v1.MatchRateRange.MATCH_RATE_RANGE_UNKNOWN.getNumber()) {
- output.writeEnum(3, uploadMatchRateRange_);
+ if (googleUserIdCount_ != 0L) {
+ output.writeInt64(2, googleUserIdCount_);
}
getUnknownFields().writeTo(output);
}
@@ -14376,1045 +19157,1139 @@ public int getSerializedSize() {
if (recordCount_ != 0L) {
size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, recordCount_);
}
- for (int i = 0; i < dataTypeCounts_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, dataTypeCounts_.get(i));
+ if (googleUserIdCount_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, googleUserIdCount_);
}
- if (uploadMatchRateRange_
- != com.google.ads.datamanager.v1.MatchRateRange.MATCH_RATE_RANGE_UNKNOWN.getNumber()) {
- size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, uploadMatchRateRange_);
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj
+ instanceof
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus)) {
+ return super.equals(obj);
+ }
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus other =
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus)
+ obj;
+
+ if (getRecordCount() != other.getRecordCount()) return false;
+ if (getGoogleUserIdCount() != other.getGoogleUserIdCount()) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + RECORD_COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRecordCount());
+ hash = (37 * hash) + GOOGLE_USER_ID_COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getGoogleUserIdCount());
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatus
+ parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatus
+ parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatus
+ parseFrom(com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatus
+ parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatus
+ parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatus
+ parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatus
+ parseFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatus
+ parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatus
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatus
+ parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatus
+ parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatus
+ parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus
+ prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the google user id data ingestion to the destination
+ * containing stats related to the ingestion.
+ *
+ *
+ * Protobuf type {@code
+ * google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus)
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatusOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestGoogleUserIdDataStatus_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestGoogleUserIdDataStatus_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatus.class,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatus.Builder.class);
+ }
+
+ // Construct using
+ // com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus.newBuilder()
+ private Builder() {}
+
+ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ recordCount_ = 0L;
+ googleUserIdCount_ = 0L;
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestGoogleUserIdDataStatus_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus
+ getDefaultInstanceForType() {
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatus.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus
+ build() {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus
+ result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus
+ buildPartial() {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus
+ result =
+ new com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatus(this);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus
+ result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.recordCount_ = recordCount_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.googleUserIdCount_ = googleUserIdCount_;
+ }
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other
+ instanceof
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatus) {
+ return mergeFrom(
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatus)
+ other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus
+ other) {
+ if (other
+ == com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatus.getDefaultInstance()) return this;
+ if (other.getRecordCount() != 0L) {
+ setRecordCount(other.getRecordCount());
+ }
+ if (other.getGoogleUserIdCount() != 0L) {
+ setGoogleUserIdCount(other.getGoogleUserIdCount());
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
}
- size += getUnknownFields().getSerializedSize();
- memoizedSize = size;
- return size;
- }
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
+ @java.lang.Override
+ public final boolean isInitialized() {
return true;
}
- if (!(obj
- instanceof
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus)) {
- return super.equals(obj);
- }
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus other =
- (com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus) obj;
-
- if (getRecordCount() != other.getRecordCount()) return false;
- if (!getDataTypeCountsList().equals(other.getDataTypeCountsList())) return false;
- if (uploadMatchRateRange_ != other.uploadMatchRateRange_) return false;
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
- }
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + RECORD_COUNT_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRecordCount());
- if (getDataTypeCountsCount() > 0) {
- hash = (37 * hash) + DATA_TYPE_COUNTS_FIELD_NUMBER;
- hash = (53 * hash) + getDataTypeCountsList().hashCode();
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 8:
+ {
+ recordCount_ = input.readInt64();
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 8
+ case 16:
+ {
+ googleUserIdCount_ = input.readInt64();
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 16
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
}
- hash = (37 * hash) + UPLOAD_MATCH_RATE_RANGE_FIELD_NUMBER;
- hash = (53 * hash) + uploadMatchRateRange_;
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination
- .IngestCompositeDataStatus
- parseFrom(java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination
- .IngestCompositeDataStatus
- parseFrom(
- java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
+ private int bitField0_;
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination
- .IngestCompositeDataStatus
- parseFrom(com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
+ private long recordCount_;
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination
- .IngestCompositeDataStatus
- parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
+ /**
+ *
+ *
+ *
+ * The total count of audience members sent in the upload request for the
+ * destination. Includes all audience members in the request, regardless of
+ * whether they were successfully ingested or not.
+ *
+ *
+ * int64 record_count = 1;
+ *
+ * @return The recordCount.
+ */
+ @java.lang.Override
+ public long getRecordCount() {
+ return recordCount_;
+ }
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination
- .IngestCompositeDataStatus
- parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
+ /**
+ *
+ *
+ *
+ * The total count of audience members sent in the upload request for the
+ * destination. Includes all audience members in the request, regardless of
+ * whether they were successfully ingested or not.
+ *
+ *
+ * int64 record_count = 1;
+ *
+ * @param value The recordCount to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRecordCount(long value) {
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination
- .IngestCompositeDataStatus
- parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
+ recordCount_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination
- .IngestCompositeDataStatus
- parseFrom(java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
- }
+ /**
+ *
+ *
+ *
+ * The total count of audience members sent in the upload request for the
+ * destination. Includes all audience members in the request, regardless of
+ * whether they were successfully ingested or not.
+ *
+ *
+ * int64 record_count = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearRecordCount() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ recordCount_ = 0L;
+ onChanged();
+ return this;
+ }
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination
- .IngestCompositeDataStatus
- parseFrom(
- java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage.parseWithIOException(
- PARSER, input, extensionRegistry);
- }
+ private long googleUserIdCount_;
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination
- .IngestCompositeDataStatus
- parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
- }
+ /**
+ *
+ *
+ *
+ * The total count of google user ids sent in the upload request for the
+ * destination. Includes all google user ids in the request, regardless of
+ * whether they were successfully ingested or not.
+ *
+ *
+ * int64 google_user_id_count = 2;
+ *
+ * @return The googleUserIdCount.
+ */
+ @java.lang.Override
+ public long getGoogleUserIdCount() {
+ return googleUserIdCount_;
+ }
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination
- .IngestCompositeDataStatus
- parseDelimitedFrom(
- java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
- PARSER, input, extensionRegistry);
- }
+ /**
+ *
+ *
+ *
+ * The total count of google user ids sent in the upload request for the
+ * destination. Includes all google user ids in the request, regardless of
+ * whether they were successfully ingested or not.
+ *
+ *
+ * int64 google_user_id_count = 2;
+ *
+ * @param value The googleUserIdCount to set.
+ * @return This builder for chaining.
+ */
+ public Builder setGoogleUserIdCount(long value) {
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination
- .IngestCompositeDataStatus
- parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
- }
+ googleUserIdCount_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
- public static com.google.ads.datamanager.v1.RequestStatusPerDestination
- .IngestCompositeDataStatus
- parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage.parseWithIOException(
- PARSER, input, extensionRegistry);
+ /**
+ *
+ *
+ *
+ * The total count of google user ids sent in the upload request for the
+ * destination. Includes all google user ids in the request, regardless of
+ * whether they were successfully ingested or not.
+ *
+ *
+ * int64 google_user_id_count = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearGoogleUserIdCount() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ googleUserIdCount_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus)
}
- @java.lang.Override
- public Builder newBuilderForType() {
- return newBuilder();
+ // @@protoc_insertion_point(class_scope:google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus)
+ private static final com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatus
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE =
+ new com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatus();
}
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .IngestGoogleUserIdDataStatus
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
}
- public static Builder newBuilder(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus
- prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public IngestGoogleUserIdDataStatus parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException()
+ .setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
}
@java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
}
@java.lang.Override
- protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestGoogleUserIdDataStatus
+ getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
}
+ }
+
+ public interface RemoveGoogleUserIdDataStatusOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus)
+ com.google.protobuf.MessageOrBuilder {
/**
*
*
*
- * The status of the composite data ingestion to the destination containing
- * stats related to the ingestion.
+ * The total count of audience members sent in the removal request. Includes
+ * all audience members in the request, regardless of whether they were
+ * successfully removed or not.
*
*
- * Protobuf type {@code
- * google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus}
+ * int64 record_count = 1;
+ *
+ * @return The recordCount.
*/
- public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
- implements
- // @@protoc_insertion_point(builder_implements:google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus)
- com.google.ads.datamanager.v1.RequestStatusPerDestination
- .IngestCompositeDataStatusOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
- return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestCompositeDataStatus_descriptor;
- }
+ long getRecordCount();
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestCompositeDataStatus_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus
- .class,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus
- .Builder.class);
- }
+ /**
+ *
+ *
+ *
+ * The total count of google user ids sent in the removal request. Includes
+ * all google user ids in the request, regardless of whether they were
+ * successfully removed or not.
+ *
+ *
+ * int64 google_user_id_count = 2;
+ *
+ * @return The googleUserIdCount.
+ */
+ long getGoogleUserIdCount();
+ }
- // Construct using
- // com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus.newBuilder()
- private Builder() {}
+ /**
+ *
+ *
+ *
+ * The status of the google user id data removal from the destination.
+ *
+ *
+ * Protobuf type {@code
+ * google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus}
+ */
+ public static final class RemoveGoogleUserIdDataStatus
+ extends com.google.protobuf.GeneratedMessage
+ implements
+ // @@protoc_insertion_point(message_implements:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus)
+ RemoveGoogleUserIdDataStatusOrBuilder {
+ private static final long serialVersionUID = 0L;
- private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- super(parent);
- }
+ static {
+ com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 33,
+ /* patch= */ 6,
+ /* suffix= */ "",
+ "RemoveGoogleUserIdDataStatus");
+ }
- @java.lang.Override
- public Builder clear() {
- super.clear();
- bitField0_ = 0;
- recordCount_ = 0L;
- if (dataTypeCountsBuilder_ == null) {
- dataTypeCounts_ = java.util.Collections.emptyList();
- } else {
- dataTypeCounts_ = null;
- dataTypeCountsBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000002);
- uploadMatchRateRange_ = 0;
- return this;
- }
+ // Use RemoveGoogleUserIdDataStatus.newBuilder() to construct.
+ private RemoveGoogleUserIdDataStatus(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ super(builder);
+ }
- @java.lang.Override
- public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
- return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
- .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_IngestCompositeDataStatus_descriptor;
- }
+ private RemoveGoogleUserIdDataStatus() {}
- @java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus
- getDefaultInstanceForType() {
- return com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus
- .getDefaultInstance();
- }
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveGoogleUserIdDataStatus_descriptor;
+ }
- @java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus
- build() {
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus result =
- buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveGoogleUserIdDataStatus_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus
+ .class,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus
+ .Builder.class);
+ }
- @java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus
- buildPartial() {
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus result =
- new com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus(
- this);
- buildPartialRepeatedFields(result);
- if (bitField0_ != 0) {
- buildPartial0(result);
- }
- onBuilt();
- return result;
- }
+ public static final int RECORD_COUNT_FIELD_NUMBER = 1;
+ private long recordCount_ = 0L;
- private void buildPartialRepeatedFields(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus
- result) {
- if (dataTypeCountsBuilder_ == null) {
- if (((bitField0_ & 0x00000002) != 0)) {
- dataTypeCounts_ = java.util.Collections.unmodifiableList(dataTypeCounts_);
- bitField0_ = (bitField0_ & ~0x00000002);
- }
- result.dataTypeCounts_ = dataTypeCounts_;
- } else {
- result.dataTypeCounts_ = dataTypeCountsBuilder_.build();
- }
- }
+ /**
+ *
+ *
+ *
+ * The total count of audience members sent in the removal request. Includes
+ * all audience members in the request, regardless of whether they were
+ * successfully removed or not.
+ *
+ *
+ * int64 record_count = 1;
+ *
+ * @return The recordCount.
+ */
+ @java.lang.Override
+ public long getRecordCount() {
+ return recordCount_;
+ }
- private void buildPartial0(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus
- result) {
- int from_bitField0_ = bitField0_;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.recordCount_ = recordCount_;
- }
- if (((from_bitField0_ & 0x00000004) != 0)) {
- result.uploadMatchRateRange_ = uploadMatchRateRange_;
- }
- }
+ public static final int GOOGLE_USER_ID_COUNT_FIELD_NUMBER = 2;
+ private long googleUserIdCount_ = 0L;
- @java.lang.Override
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other
- instanceof
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus) {
- return mergeFrom(
- (com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus)
- other);
- } else {
- super.mergeFrom(other);
- return this;
- }
+ /**
+ *
+ *
+ *
+ * The total count of google user ids sent in the removal request. Includes
+ * all google user ids in the request, regardless of whether they were
+ * successfully removed or not.
+ *
+ *
+ * int64 google_user_id_count = 2;
+ *
+ * @return The googleUserIdCount.
+ */
+ @java.lang.Override
+ public long getGoogleUserIdCount() {
+ return googleUserIdCount_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (recordCount_ != 0L) {
+ output.writeInt64(1, recordCount_);
}
+ if (googleUserIdCount_ != 0L) {
+ output.writeInt64(2, googleUserIdCount_);
+ }
+ getUnknownFields().writeTo(output);
+ }
- public Builder mergeFrom(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus
- other) {
- if (other
- == com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus
- .getDefaultInstance()) return this;
- if (other.getRecordCount() != 0L) {
- setRecordCount(other.getRecordCount());
- }
- if (dataTypeCountsBuilder_ == null) {
- if (!other.dataTypeCounts_.isEmpty()) {
- if (dataTypeCounts_.isEmpty()) {
- dataTypeCounts_ = other.dataTypeCounts_;
- bitField0_ = (bitField0_ & ~0x00000002);
- } else {
- ensureDataTypeCountsIsMutable();
- dataTypeCounts_.addAll(other.dataTypeCounts_);
- }
- onChanged();
- }
- } else {
- if (!other.dataTypeCounts_.isEmpty()) {
- if (dataTypeCountsBuilder_.isEmpty()) {
- dataTypeCountsBuilder_.dispose();
- dataTypeCountsBuilder_ = null;
- dataTypeCounts_ = other.dataTypeCounts_;
- bitField0_ = (bitField0_ & ~0x00000002);
- dataTypeCountsBuilder_ =
- com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders
- ? internalGetDataTypeCountsFieldBuilder()
- : null;
- } else {
- dataTypeCountsBuilder_.addAllMessages(other.dataTypeCounts_);
- }
- }
- }
- if (other.uploadMatchRateRange_ != 0) {
- setUploadMatchRateRangeValue(other.getUploadMatchRateRangeValue());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- onChanged();
- return this;
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (recordCount_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, recordCount_);
+ }
+ if (googleUserIdCount_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, googleUserIdCount_);
}
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
- @java.lang.Override
- public final boolean isInitialized() {
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
return true;
}
+ if (!(obj
+ instanceof
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus)) {
+ return super.equals(obj);
+ }
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus other =
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus)
+ obj;
- @java.lang.Override
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 8:
- {
- recordCount_ = input.readInt64();
- bitField0_ |= 0x00000001;
- break;
- } // case 8
- case 18:
- {
- com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount m =
- input.readMessage(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount
- .parser(),
- extensionRegistry);
- if (dataTypeCountsBuilder_ == null) {
- ensureDataTypeCountsIsMutable();
- dataTypeCounts_.add(m);
- } else {
- dataTypeCountsBuilder_.addMessage(m);
- }
- break;
- } // case 18
- case 24:
- {
- uploadMatchRateRange_ = input.readEnum();
- bitField0_ |= 0x00000004;
- break;
- } // case 24
- default:
- {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.unwrapIOException();
- } finally {
- onChanged();
- } // finally
- return this;
+ if (getRecordCount() != other.getRecordCount()) return false;
+ if (getGoogleUserIdCount() != other.getGoogleUserIdCount()) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
}
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + RECORD_COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRecordCount());
+ hash = (37 * hash) + GOOGLE_USER_ID_COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getGoogleUserIdCount());
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
- private int bitField0_;
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatus
+ parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
- private long recordCount_;
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatus
+ parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
- /**
- *
- *
- *
- * The total count of audience members sent in the upload request for the
- * destination. Includes all audience members in the request, regardless of
- * whether they were successfully ingested or not.
- *
- *
- * int64 record_count = 1;
- *
- * @return The recordCount.
- */
- @java.lang.Override
- public long getRecordCount() {
- return recordCount_;
- }
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatus
+ parseFrom(com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
- /**
- *
- *
- *
- * The total count of audience members sent in the upload request for the
- * destination. Includes all audience members in the request, regardless of
- * whether they were successfully ingested or not.
- *
- *
- * int64 record_count = 1;
- *
- * @param value The recordCount to set.
- * @return This builder for chaining.
- */
- public Builder setRecordCount(long value) {
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatus
+ parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
- recordCount_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatus
+ parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
- /**
- *
- *
- *
- * The total count of audience members sent in the upload request for the
- * destination. Includes all audience members in the request, regardless of
- * whether they were successfully ingested or not.
- *
- *
- * int64 record_count = 1;
- *
- * @return This builder for chaining.
- */
- public Builder clearRecordCount() {
- bitField0_ = (bitField0_ & ~0x00000001);
- recordCount_ = 0L;
- onChanged();
- return this;
- }
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatus
+ parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatus
+ parseFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatus
+ parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
- private java.util.List<
- com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount>
- dataTypeCounts_ = java.util.Collections.emptyList();
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatus
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
+ }
- private void ensureDataTypeCountsIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
- dataTypeCounts_ =
- new java.util.ArrayList<
- com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount>(
- dataTypeCounts_);
- bitField0_ |= 0x00000002;
- }
- }
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatus
+ parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
- private com.google.protobuf.RepeatedFieldBuilder<
- com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount.Builder,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCountOrBuilder>
- dataTypeCountsBuilder_;
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatus
+ parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
+ }
- /**
- *
- *
- *
- * The total count of data types sent in the upload request for the
- * destination, broken down by data type. Includes all data types in
- * the request, regardless of whether they were successfully ingested or
- * not.
- *
- *
- *
- * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
- *
- */
- public java.util.List
- getDataTypeCountsList() {
- if (dataTypeCountsBuilder_ == null) {
- return java.util.Collections.unmodifiableList(dataTypeCounts_);
- } else {
- return dataTypeCountsBuilder_.getMessageList();
- }
- }
+ public static com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatus
+ parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
- /**
- *
- *
- *
- * The total count of data types sent in the upload request for the
- * destination, broken down by data type. Includes all data types in
- * the request, regardless of whether they were successfully ingested or
- * not.
- *
- *
- *
- * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
- *
- */
- public int getDataTypeCountsCount() {
- if (dataTypeCountsBuilder_ == null) {
- return dataTypeCounts_.size();
- } else {
- return dataTypeCountsBuilder_.getCount();
- }
- }
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
- /**
- *
- *
- *
- * The total count of data types sent in the upload request for the
- * destination, broken down by data type. Includes all data types in
- * the request, regardless of whether they were successfully ingested or
- * not.
- *
- *
- *
- * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
- *
- */
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount
- getDataTypeCounts(int index) {
- if (dataTypeCountsBuilder_ == null) {
- return dataTypeCounts_.get(index);
- } else {
- return dataTypeCountsBuilder_.getMessage(index);
- }
- }
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
- /**
- *
- *
- *
- * The total count of data types sent in the upload request for the
- * destination, broken down by data type. Includes all data types in
- * the request, regardless of whether they were successfully ingested or
- * not.
- *
- *
- *
- * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
- *
- */
- public Builder setDataTypeCounts(
- int index,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount value) {
- if (dataTypeCountsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureDataTypeCountsIsMutable();
- dataTypeCounts_.set(index, value);
- onChanged();
- } else {
- dataTypeCountsBuilder_.setMessage(index, value);
- }
- return this;
- }
+ public static Builder newBuilder(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus
+ prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
- /**
- *
- *
- *
- * The total count of data types sent in the upload request for the
- * destination, broken down by data type. Includes all data types in
- * the request, regardless of whether they were successfully ingested or
- * not.
- *
- *
- *
- * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
- *
- */
- public Builder setDataTypeCounts(
- int index,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount.Builder
- builderForValue) {
- if (dataTypeCountsBuilder_ == null) {
- ensureDataTypeCountsIsMutable();
- dataTypeCounts_.set(index, builderForValue.build());
- onChanged();
- } else {
- dataTypeCountsBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ *
+ *
+ *
+ * The status of the google user id data removal from the destination.
+ *
+ *
+ * Protobuf type {@code
+ * google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus)
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatusOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveGoogleUserIdDataStatus_descriptor;
}
- /**
- *
- *
- *
- * The total count of data types sent in the upload request for the
- * destination, broken down by data type. Includes all data types in
- * the request, regardless of whether they were successfully ingested or
- * not.
- *
- *
- *
- * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
- *
- */
- public Builder addDataTypeCounts(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount value) {
- if (dataTypeCountsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureDataTypeCountsIsMutable();
- dataTypeCounts_.add(value);
- onChanged();
- } else {
- dataTypeCountsBuilder_.addMessage(value);
- }
- return this;
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveGoogleUserIdDataStatus_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatus.class,
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatus.Builder.class);
}
- /**
- *
- *
- *
- * The total count of data types sent in the upload request for the
- * destination, broken down by data type. Includes all data types in
- * the request, regardless of whether they were successfully ingested or
- * not.
- *
- *
- *
- * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
- *
- */
- public Builder addDataTypeCounts(
- int index,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount value) {
- if (dataTypeCountsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureDataTypeCountsIsMutable();
- dataTypeCounts_.add(index, value);
- onChanged();
- } else {
- dataTypeCountsBuilder_.addMessage(index, value);
- }
+ // Construct using
+ // com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus.newBuilder()
+ private Builder() {}
+
+ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ super(parent);
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ recordCount_ = 0L;
+ googleUserIdCount_ = 0L;
return this;
}
- /**
- *
- *
- *
- * The total count of data types sent in the upload request for the
- * destination, broken down by data type. Includes all data types in
- * the request, regardless of whether they were successfully ingested or
- * not.
- *
- *
- *
- * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
- *
- */
- public Builder addDataTypeCounts(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount.Builder
- builderForValue) {
- if (dataTypeCountsBuilder_ == null) {
- ensureDataTypeCountsIsMutable();
- dataTypeCounts_.add(builderForValue.build());
- onChanged();
- } else {
- dataTypeCountsBuilder_.addMessage(builderForValue.build());
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.ads.datamanager.v1.RequestStatusPerDestinationProto
+ .internal_static_google_ads_datamanager_v1_RequestStatusPerDestination_RemoveGoogleUserIdDataStatus_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus
+ getDefaultInstanceForType() {
+ return com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatus.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus
+ build() {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus
+ result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
}
- return this;
+ return result;
}
- /**
- *
- *
- *
- * The total count of data types sent in the upload request for the
- * destination, broken down by data type. Includes all data types in
- * the request, regardless of whether they were successfully ingested or
- * not.
- *
- *
- *
- * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
- *
- */
- public Builder addDataTypeCounts(
- int index,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount.Builder
- builderForValue) {
- if (dataTypeCountsBuilder_ == null) {
- ensureDataTypeCountsIsMutable();
- dataTypeCounts_.add(index, builderForValue.build());
- onChanged();
- } else {
- dataTypeCountsBuilder_.addMessage(index, builderForValue.build());
+ @java.lang.Override
+ public com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus
+ buildPartial() {
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus
+ result =
+ new com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatus(this);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
}
- return this;
+ onBuilt();
+ return result;
}
- /**
- *
- *
- *
- * The total count of data types sent in the upload request for the
- * destination, broken down by data type. Includes all data types in
- * the request, regardless of whether they were successfully ingested or
- * not.
- *
- *
- *
- * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
- *
- */
- public Builder addAllDataTypeCounts(
- java.lang.Iterable<
- ? extends com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount>
- values) {
- if (dataTypeCountsBuilder_ == null) {
- ensureDataTypeCountsIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dataTypeCounts_);
- onChanged();
- } else {
- dataTypeCountsBuilder_.addAllMessages(values);
+ private void buildPartial0(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus
+ result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.recordCount_ = recordCount_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.googleUserIdCount_ = googleUserIdCount_;
}
- return this;
}
- /**
- *
- *
- *
- * The total count of data types sent in the upload request for the
- * destination, broken down by data type. Includes all data types in
- * the request, regardless of whether they were successfully ingested or
- * not.
- *
- *
- *
- * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
- *
- */
- public Builder clearDataTypeCounts() {
- if (dataTypeCountsBuilder_ == null) {
- dataTypeCounts_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
- onChanged();
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other
+ instanceof
+ com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatus) {
+ return mergeFrom(
+ (com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatus)
+ other);
} else {
- dataTypeCountsBuilder_.clear();
+ super.mergeFrom(other);
+ return this;
}
- return this;
}
- /**
- *
- *
- *
- * The total count of data types sent in the upload request for the
- * destination, broken down by data type. Includes all data types in
- * the request, regardless of whether they were successfully ingested or
- * not.
- *
- *
- *
- * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
- *
- */
- public Builder removeDataTypeCounts(int index) {
- if (dataTypeCountsBuilder_ == null) {
- ensureDataTypeCountsIsMutable();
- dataTypeCounts_.remove(index);
- onChanged();
- } else {
- dataTypeCountsBuilder_.remove(index);
+ public Builder mergeFrom(
+ com.google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus
+ other) {
+ if (other
+ == com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatus.getDefaultInstance()) return this;
+ if (other.getRecordCount() != 0L) {
+ setRecordCount(other.getRecordCount());
+ }
+ if (other.getGoogleUserIdCount() != 0L) {
+ setGoogleUserIdCount(other.getGoogleUserIdCount());
}
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
return this;
}
- /**
- *
- *
- *
- * The total count of data types sent in the upload request for the
- * destination, broken down by data type. Includes all data types in
- * the request, regardless of whether they were successfully ingested or
- * not.
- *
- *
- *
- * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
- *
- */
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount.Builder
- getDataTypeCountsBuilder(int index) {
- return internalGetDataTypeCountsFieldBuilder().getBuilder(index);
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
}
- /**
- *
- *
- *
- * The total count of data types sent in the upload request for the
- * destination, broken down by data type. Includes all data types in
- * the request, regardless of whether they were successfully ingested or
- * not.
- *
- *
- *
- * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
- *
- */
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCountOrBuilder
- getDataTypeCountsOrBuilder(int index) {
- if (dataTypeCountsBuilder_ == null) {
- return dataTypeCounts_.get(index);
- } else {
- return dataTypeCountsBuilder_.getMessageOrBuilder(index);
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
}
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 8:
+ {
+ recordCount_ = input.readInt64();
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 8
+ case 16:
+ {
+ googleUserIdCount_ = input.readInt64();
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 16
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
}
- /**
- *
- *
- *
- * The total count of data types sent in the upload request for the
- * destination, broken down by data type. Includes all data types in
- * the request, regardless of whether they were successfully ingested or
- * not.
- *
- *
- *
- * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
- *
- */
- public java.util.List<
- ? extends
- com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCountOrBuilder>
- getDataTypeCountsOrBuilderList() {
- if (dataTypeCountsBuilder_ != null) {
- return dataTypeCountsBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(dataTypeCounts_);
- }
- }
+ private int bitField0_;
- /**
- *
- *
- *
- * The total count of data types sent in the upload request for the
- * destination, broken down by data type. Includes all data types in
- * the request, regardless of whether they were successfully ingested or
- * not.
- *
- *
- *
- * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
- *
- */
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount.Builder
- addDataTypeCountsBuilder() {
- return internalGetDataTypeCountsFieldBuilder()
- .addBuilder(
- com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount
- .getDefaultInstance());
- }
+ private long recordCount_;
/**
*
*
*
- * The total count of data types sent in the upload request for the
- * destination, broken down by data type. Includes all data types in
- * the request, regardless of whether they were successfully ingested or
- * not.
+ * The total count of audience members sent in the removal request. Includes
+ * all audience members in the request, regardless of whether they were
+ * successfully removed or not.
*
*
- *
- * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
- *
- */
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount.Builder
- addDataTypeCountsBuilder(int index) {
- return internalGetDataTypeCountsFieldBuilder()
- .addBuilder(
- index,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount
- .getDefaultInstance());
- }
-
- /**
- *
- *
- *
- * The total count of data types sent in the upload request for the
- * destination, broken down by data type. Includes all data types in
- * the request, regardless of whether they were successfully ingested or
- * not.
- *
+ * int64 record_count = 1;
*
- *
- * repeated .google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount data_type_counts = 2;
- *
+ * @return The recordCount.
*/
- public java.util.List<
- com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount.Builder>
- getDataTypeCountsBuilderList() {
- return internalGetDataTypeCountsFieldBuilder().getBuilderList();
- }
-
- private com.google.protobuf.RepeatedFieldBuilder<
- com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount.Builder,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCountOrBuilder>
- internalGetDataTypeCountsFieldBuilder() {
- if (dataTypeCountsBuilder_ == null) {
- dataTypeCountsBuilder_ =
- new com.google.protobuf.RepeatedFieldBuilder<
- com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCount.Builder,
- com.google.ads.datamanager.v1.RequestStatusPerDestination.DataTypeCountOrBuilder>(
- dataTypeCounts_,
- ((bitField0_ & 0x00000002) != 0),
- getParentForChildren(),
- isClean());
- dataTypeCounts_ = null;
- }
- return dataTypeCountsBuilder_;
+ @java.lang.Override
+ public long getRecordCount() {
+ return recordCount_;
}
- private int uploadMatchRateRange_ = 0;
-
/**
*
*
*
- * The match rate range of the upload.
+ * The total count of audience members sent in the removal request. Includes
+ * all audience members in the request, regardless of whether they were
+ * successfully removed or not.
*
*
- * .google.ads.datamanager.v1.MatchRateRange upload_match_rate_range = 3;
+ * int64 record_count = 1;
*
- * @return The enum numeric value on the wire for uploadMatchRateRange.
+ * @param value The recordCount to set.
+ * @return This builder for chaining.
*/
- @java.lang.Override
- public int getUploadMatchRateRangeValue() {
- return uploadMatchRateRange_;
+ public Builder setRecordCount(long value) {
+
+ recordCount_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
}
/**
*
*
*
- * The match rate range of the upload.
+ * The total count of audience members sent in the removal request. Includes
+ * all audience members in the request, regardless of whether they were
+ * successfully removed or not.
*
*
- * .google.ads.datamanager.v1.MatchRateRange upload_match_rate_range = 3;
+ * int64 record_count = 1;
*
- * @param value The enum numeric value on the wire for uploadMatchRateRange to set.
* @return This builder for chaining.
*/
- public Builder setUploadMatchRateRangeValue(int value) {
- uploadMatchRateRange_ = value;
- bitField0_ |= 0x00000004;
+ public Builder clearRecordCount() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ recordCount_ = 0L;
onChanged();
return this;
}
+ private long googleUserIdCount_;
+
/**
*
*
*
- * The match rate range of the upload.
+ * The total count of google user ids sent in the removal request. Includes
+ * all google user ids in the request, regardless of whether they were
+ * successfully removed or not.
*
*
- * .google.ads.datamanager.v1.MatchRateRange upload_match_rate_range = 3;
+ * int64 google_user_id_count = 2;
*
- * @return The uploadMatchRateRange.
+ * @return The googleUserIdCount.
*/
@java.lang.Override
- public com.google.ads.datamanager.v1.MatchRateRange getUploadMatchRateRange() {
- com.google.ads.datamanager.v1.MatchRateRange result =
- com.google.ads.datamanager.v1.MatchRateRange.forNumber(uploadMatchRateRange_);
- return result == null ? com.google.ads.datamanager.v1.MatchRateRange.UNRECOGNIZED : result;
+ public long getGoogleUserIdCount() {
+ return googleUserIdCount_;
}
/**
*
*
*
- * The match rate range of the upload.
+ * The total count of google user ids sent in the removal request. Includes
+ * all google user ids in the request, regardless of whether they were
+ * successfully removed or not.
*
*
- * .google.ads.datamanager.v1.MatchRateRange upload_match_rate_range = 3;
+ * int64 google_user_id_count = 2;
*
- * @param value The uploadMatchRateRange to set.
+ * @param value The googleUserIdCount to set.
* @return This builder for chaining.
*/
- public Builder setUploadMatchRateRange(com.google.ads.datamanager.v1.MatchRateRange value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000004;
- uploadMatchRateRange_ = value.getNumber();
+ public Builder setGoogleUserIdCount(long value) {
+
+ googleUserIdCount_ = value;
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -15423,43 +20298,46 @@ public Builder setUploadMatchRateRange(com.google.ads.datamanager.v1.MatchRateRa
*
*
*
- * The match rate range of the upload.
+ * The total count of google user ids sent in the removal request. Includes
+ * all google user ids in the request, regardless of whether they were
+ * successfully removed or not.
*
*
- * .google.ads.datamanager.v1.MatchRateRange upload_match_rate_range = 3;
+ * int64 google_user_id_count = 2;
*
* @return This builder for chaining.
*/
- public Builder clearUploadMatchRateRange() {
- bitField0_ = (bitField0_ & ~0x00000004);
- uploadMatchRateRange_ = 0;
+ public Builder clearGoogleUserIdCount() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ googleUserIdCount_ = 0L;
onChanged();
return this;
}
- // @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus)
+ // @@protoc_insertion_point(builder_scope:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus)
}
- // @@protoc_insertion_point(class_scope:google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus)
+ // @@protoc_insertion_point(class_scope:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveGoogleUserIdDataStatus)
private static final com.google.ads.datamanager.v1.RequestStatusPerDestination
- .IngestCompositeDataStatus
+ .RemoveGoogleUserIdDataStatus
DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE =
- new com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus();
+ new com.google.ads.datamanager.v1.RequestStatusPerDestination
+ .RemoveGoogleUserIdDataStatus();
}
public static com.google.ads.datamanager.v1.RequestStatusPerDestination
- .IngestCompositeDataStatus
+ .RemoveGoogleUserIdDataStatus
getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parser PARSER =
- new com.google.protobuf.AbstractParser() {
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
@java.lang.Override
- public IngestCompositeDataStatus parsePartialFrom(
+ public RemoveGoogleUserIdDataStatus parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
@@ -15479,138 +20357,74 @@ public IngestCompositeDataStatus parsePartialFrom(
}
};
- public static com.google.protobuf.Parser parser() {
+ public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
- public com.google.protobuf.Parser getParserForType() {
+ public com.google.protobuf.Parser getParserForType() {
return PARSER;
- }
-
- @java.lang.Override
- public com.google.ads.datamanager.v1.RequestStatusPerDestination.IngestCompositeDataStatus
- getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
- }
- }
-
- public interface RemoveCompositeDataStatusOrBuilder
- extends
- // @@protoc_insertion_point(interface_extends:google.ads.datamanager.v1.RequestStatusPerDestination.RemoveCompositeDataStatus)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- *
- *
- *