diff --git a/java-analytics-data/README.md b/java-analytics-data/README.md
index f7fa28166182..22cafbb3652f 100644
--- a/java-analytics-data/README.md
+++ b/java-analytics-data/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
A recurring audience list ensures that you have audience list based on the most recent data + * available for use each day. If you manually create audience list, you don't know when an + * audience list based on an additional day's data is available. This recurring audience list + * automates the creation of an audience list when an additional day's data is available. You will + * consume fewer quota tokens by using recurring audience list versus manually creating audience + * list at various times of day trying to guess when an additional day's data is ready. + * + *
This method is introduced at alpha stability with the intention of gathering feedback on + * syntax and capabilities before entering beta. To give your feedback on this API, complete the + * [Google Analytics Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + *
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 (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) { + * PropertyName parent = PropertyName.of("[PROPERTY]"); + * RecurringAudienceList recurringAudienceList = RecurringAudienceList.newBuilder().build(); + * RecurringAudienceList response = + * alphaAnalyticsDataClient.createRecurringAudienceList(parent, recurringAudienceList); + * } + * }+ * + * @param parent Required. The parent resource where this recurring audience list will be created. + * Format: `properties/{property}` + * @param recurringAudienceList Required. The recurring audience list to create. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final RecurringAudienceList createRecurringAudienceList( + PropertyName parent, RecurringAudienceList recurringAudienceList) { + CreateRecurringAudienceListRequest request = + CreateRecurringAudienceListRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .setRecurringAudienceList(recurringAudienceList) + .build(); + return createRecurringAudienceList(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a recurring audience list. Recurring audience lists produces new audience lists each + * day. Audience lists are users in an audience at the time of the list's creation. + * + *
A recurring audience list ensures that you have audience list based on the most recent data + * available for use each day. If you manually create audience list, you don't know when an + * audience list based on an additional day's data is available. This recurring audience list + * automates the creation of an audience list when an additional day's data is available. You will + * consume fewer quota tokens by using recurring audience list versus manually creating audience + * list at various times of day trying to guess when an additional day's data is ready. + * + *
This method is introduced at alpha stability with the intention of gathering feedback on + * syntax and capabilities before entering beta. To give your feedback on this API, complete the + * [Google Analytics Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + *
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 (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) { + * String parent = PropertyName.of("[PROPERTY]").toString(); + * RecurringAudienceList recurringAudienceList = RecurringAudienceList.newBuilder().build(); + * RecurringAudienceList response = + * alphaAnalyticsDataClient.createRecurringAudienceList(parent, recurringAudienceList); + * } + * }+ * + * @param parent Required. The parent resource where this recurring audience list will be created. + * Format: `properties/{property}` + * @param recurringAudienceList Required. The recurring audience list to create. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final RecurringAudienceList createRecurringAudienceList( + String parent, RecurringAudienceList recurringAudienceList) { + CreateRecurringAudienceListRequest request = + CreateRecurringAudienceListRequest.newBuilder() + .setParent(parent) + .setRecurringAudienceList(recurringAudienceList) + .build(); + return createRecurringAudienceList(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a recurring audience list. Recurring audience lists produces new audience lists each + * day. Audience lists are users in an audience at the time of the list's creation. + * + *
A recurring audience list ensures that you have audience list based on the most recent data + * available for use each day. If you manually create audience list, you don't know when an + * audience list based on an additional day's data is available. This recurring audience list + * automates the creation of an audience list when an additional day's data is available. You will + * consume fewer quota tokens by using recurring audience list versus manually creating audience + * list at various times of day trying to guess when an additional day's data is ready. + * + *
This method is introduced at alpha stability with the intention of gathering feedback on + * syntax and capabilities before entering beta. To give your feedback on this API, complete the + * [Google Analytics Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + *
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 (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) { + * CreateRecurringAudienceListRequest request = + * CreateRecurringAudienceListRequest.newBuilder() + * .setParent(PropertyName.of("[PROPERTY]").toString()) + * .setRecurringAudienceList(RecurringAudienceList.newBuilder().build()) + * .build(); + * RecurringAudienceList response = + * alphaAnalyticsDataClient.createRecurringAudienceList(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 RecurringAudienceList createRecurringAudienceList( + CreateRecurringAudienceListRequest request) { + return createRecurringAudienceListCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates a recurring audience list. Recurring audience lists produces new audience lists each + * day. Audience lists are users in an audience at the time of the list's creation. + * + *
A recurring audience list ensures that you have audience list based on the most recent data + * available for use each day. If you manually create audience list, you don't know when an + * audience list based on an additional day's data is available. This recurring audience list + * automates the creation of an audience list when an additional day's data is available. You will + * consume fewer quota tokens by using recurring audience list versus manually creating audience + * list at various times of day trying to guess when an additional day's data is ready. + * + *
This method is introduced at alpha stability with the intention of gathering feedback on + * syntax and capabilities before entering beta. To give your feedback on this API, complete the + * [Google Analytics Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + *
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 (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) { + * CreateRecurringAudienceListRequest request = + * CreateRecurringAudienceListRequest.newBuilder() + * .setParent(PropertyName.of("[PROPERTY]").toString()) + * .setRecurringAudienceList(RecurringAudienceList.newBuilder().build()) + * .build(); + * ApiFuture+ */ + public final UnaryCallablefuture = + * alphaAnalyticsDataClient.createRecurringAudienceListCallable().futureCall(request); + * // Do something. + * RecurringAudienceList response = future.get(); + * } + * }
This method is introduced at alpha stability with the intention of gathering feedback on + * syntax and capabilities before entering beta. To give your feedback on this API, complete the + * [Google Analytics Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + *
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 (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) { + * RecurringAudienceListName name = + * RecurringAudienceListName.of("[PROPERTY]", "[RECURRING_AUDIENCE_LIST]"); + * RecurringAudienceList response = alphaAnalyticsDataClient.getRecurringAudienceList(name); + * } + * }+ * + * @param name Required. The recurring audience list resource name. Format: + * `properties/{property}/recurringAudienceLists/{recurring_audience_list}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final RecurringAudienceList getRecurringAudienceList(RecurringAudienceListName name) { + GetRecurringAudienceListRequest request = + GetRecurringAudienceListRequest.newBuilder() + .setName(name == null ? null : name.toString()) + .build(); + return getRecurringAudienceList(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets configuration metadata about a specific recurring audience list. This method can be used + * to understand a recurring audience list's state after it has been created. For example, a + * recurring audience list resource will generate audience list instances for each day, and this + * method can be used to get the resource name of the most recent audience list instance. + * + *
This method is introduced at alpha stability with the intention of gathering feedback on + * syntax and capabilities before entering beta. To give your feedback on this API, complete the + * [Google Analytics Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + *
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 (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) { + * String name = + * RecurringAudienceListName.of("[PROPERTY]", "[RECURRING_AUDIENCE_LIST]").toString(); + * RecurringAudienceList response = alphaAnalyticsDataClient.getRecurringAudienceList(name); + * } + * }+ * + * @param name Required. The recurring audience list resource name. Format: + * `properties/{property}/recurringAudienceLists/{recurring_audience_list}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final RecurringAudienceList getRecurringAudienceList(String name) { + GetRecurringAudienceListRequest request = + GetRecurringAudienceListRequest.newBuilder().setName(name).build(); + return getRecurringAudienceList(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets configuration metadata about a specific recurring audience list. This method can be used + * to understand a recurring audience list's state after it has been created. For example, a + * recurring audience list resource will generate audience list instances for each day, and this + * method can be used to get the resource name of the most recent audience list instance. + * + *
This method is introduced at alpha stability with the intention of gathering feedback on + * syntax and capabilities before entering beta. To give your feedback on this API, complete the + * [Google Analytics Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + *
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 (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) { + * GetRecurringAudienceListRequest request = + * GetRecurringAudienceListRequest.newBuilder() + * .setName( + * RecurringAudienceListName.of("[PROPERTY]", "[RECURRING_AUDIENCE_LIST]") + * .toString()) + * .build(); + * RecurringAudienceList response = alphaAnalyticsDataClient.getRecurringAudienceList(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 RecurringAudienceList getRecurringAudienceList( + GetRecurringAudienceListRequest request) { + return getRecurringAudienceListCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets configuration metadata about a specific recurring audience list. This method can be used + * to understand a recurring audience list's state after it has been created. For example, a + * recurring audience list resource will generate audience list instances for each day, and this + * method can be used to get the resource name of the most recent audience list instance. + * + *
This method is introduced at alpha stability with the intention of gathering feedback on + * syntax and capabilities before entering beta. To give your feedback on this API, complete the + * [Google Analytics Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + *
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 (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) { + * GetRecurringAudienceListRequest request = + * GetRecurringAudienceListRequest.newBuilder() + * .setName( + * RecurringAudienceListName.of("[PROPERTY]", "[RECURRING_AUDIENCE_LIST]") + * .toString()) + * .build(); + * ApiFuture+ */ + public final UnaryCallablefuture = + * alphaAnalyticsDataClient.getRecurringAudienceListCallable().futureCall(request); + * // Do something. + * RecurringAudienceList response = future.get(); + * } + * }
This method is introduced at alpha stability with the intention of gathering feedback on + * syntax and capabilities before entering beta. To give your feedback on this API, complete the + * [Google Analytics Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + *
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 (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) { + * PropertyName parent = PropertyName.of("[PROPERTY]"); + * for (RecurringAudienceList element : + * alphaAnalyticsDataClient.listRecurringAudienceLists(parent).iterateAll()) { + * // doThingsWith(element); + * } + * } + * }+ * + * @param parent Required. All recurring audience lists for this property will be listed in the + * response. Format: `properties/{property}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListRecurringAudienceListsPagedResponse listRecurringAudienceLists( + PropertyName parent) { + ListRecurringAudienceListsRequest request = + ListRecurringAudienceListsRequest.newBuilder() + .setParent(parent == null ? null : parent.toString()) + .build(); + return listRecurringAudienceLists(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all recurring audience lists for a property. This method can be used for you to find and + * reuse existing recurring audience lists rather than creating unnecessary new recurring audience + * lists. The same audience can have multiple recurring audience lists that represent different + * dimension combinations; for example, just the dimension `deviceId` or both the dimensions + * `deviceId` and `userId`. + * + *
This method is introduced at alpha stability with the intention of gathering feedback on + * syntax and capabilities before entering beta. To give your feedback on this API, complete the + * [Google Analytics Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + *
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 (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) { + * String parent = PropertyName.of("[PROPERTY]").toString(); + * for (RecurringAudienceList element : + * alphaAnalyticsDataClient.listRecurringAudienceLists(parent).iterateAll()) { + * // doThingsWith(element); + * } + * } + * }+ * + * @param parent Required. All recurring audience lists for this property will be listed in the + * response. Format: `properties/{property}` + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListRecurringAudienceListsPagedResponse listRecurringAudienceLists(String parent) { + ListRecurringAudienceListsRequest request = + ListRecurringAudienceListsRequest.newBuilder().setParent(parent).build(); + return listRecurringAudienceLists(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all recurring audience lists for a property. This method can be used for you to find and + * reuse existing recurring audience lists rather than creating unnecessary new recurring audience + * lists. The same audience can have multiple recurring audience lists that represent different + * dimension combinations; for example, just the dimension `deviceId` or both the dimensions + * `deviceId` and `userId`. + * + *
This method is introduced at alpha stability with the intention of gathering feedback on + * syntax and capabilities before entering beta. To give your feedback on this API, complete the + * [Google Analytics Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + *
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 (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) { + * ListRecurringAudienceListsRequest request = + * ListRecurringAudienceListsRequest.newBuilder() + * .setParent(PropertyName.of("[PROPERTY]").toString()) + * .setPageSize(883849137) + * .setPageToken("pageToken873572522") + * .build(); + * for (RecurringAudienceList element : + * alphaAnalyticsDataClient.listRecurringAudienceLists(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 ListRecurringAudienceListsPagedResponse listRecurringAudienceLists( + ListRecurringAudienceListsRequest request) { + return listRecurringAudienceListsPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all recurring audience lists for a property. This method can be used for you to find and + * reuse existing recurring audience lists rather than creating unnecessary new recurring audience + * lists. The same audience can have multiple recurring audience lists that represent different + * dimension combinations; for example, just the dimension `deviceId` or both the dimensions + * `deviceId` and `userId`. + * + *
This method is introduced at alpha stability with the intention of gathering feedback on + * syntax and capabilities before entering beta. To give your feedback on this API, complete the + * [Google Analytics Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + *
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 (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) { + * ListRecurringAudienceListsRequest request = + * ListRecurringAudienceListsRequest.newBuilder() + * .setParent(PropertyName.of("[PROPERTY]").toString()) + * .setPageSize(883849137) + * .setPageToken("pageToken873572522") + * .build(); + * ApiFuture+ */ + public final UnaryCallable< + ListRecurringAudienceListsRequest, ListRecurringAudienceListsPagedResponse> + listRecurringAudienceListsPagedCallable() { + return stub.listRecurringAudienceListsPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists all recurring audience lists for a property. This method can be used for you to find and + * reuse existing recurring audience lists rather than creating unnecessary new recurring audience + * lists. The same audience can have multiple recurring audience lists that represent different + * dimension combinations; for example, just the dimension `deviceId` or both the dimensions + * `deviceId` and `userId`. + * + *future = + * alphaAnalyticsDataClient.listRecurringAudienceListsPagedCallable().futureCall(request); + * // Do something. + * for (RecurringAudienceList element : future.get().iterateAll()) { + * // doThingsWith(element); + * } + * } + * }
This method is introduced at alpha stability with the intention of gathering feedback on + * syntax and capabilities before entering beta. To give your feedback on this API, complete the + * [Google Analytics Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + * + *
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 (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) { + * ListRecurringAudienceListsRequest request = + * ListRecurringAudienceListsRequest.newBuilder() + * .setParent(PropertyName.of("[PROPERTY]").toString()) + * .setPageSize(883849137) + * .setPageToken("pageToken873572522") + * .build(); + * while (true) { + * ListRecurringAudienceListsResponse response = + * alphaAnalyticsDataClient.listRecurringAudienceListsCallable().call(request); + * for (RecurringAudienceList element : response.getRecurringAudienceListsList()) { + * // doThingsWith(element); + * } + * String nextPageToken = response.getNextPageToken(); + * if (!Strings.isNullOrEmpty(nextPageToken)) { + * request = request.toBuilder().setPageToken(nextPageToken).build(); + * } else { + * break; + * } + * } + * } + * }+ */ + public final UnaryCallable
+ * Creates a recurring audience list. Recurring audience lists produces new + * audience lists each day. Audience lists are users in an audience at the + * time of the list's creation. + * A recurring audience list ensures that you have audience list based on the + * most recent data available for use each day. If you manually create + * audience list, you don't know when an audience list based on an additional + * day's data is available. This recurring audience list automates the + * creation of an audience list when an additional day's data is available. + * You will consume fewer quota tokens by using recurring audience list versus + * manually creating audience list at various times of day trying to guess + * when an additional day's data is ready. + * This method is introduced at alpha stability with the intention of + * gathering feedback on syntax and capabilities before entering beta. To give + * your feedback on this API, complete the + * [Google Analytics Audience Export API + * Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + *+ */ + default void createRecurringAudienceList( + com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest request, + io.grpc.stub.StreamObserver
+ * Gets configuration metadata about a specific recurring audience list. This + * method can be used to understand a recurring audience list's state after it + * has been created. For example, a recurring audience list resource will + * generate audience list instances for each day, and this method can be used + * to get the resource name of the most recent audience list instance. + * This method is introduced at alpha stability with the intention of + * gathering feedback on syntax and capabilities before entering beta. To give + * your feedback on this API, complete the + * [Google Analytics Audience Export API + * Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + *+ */ + default void getRecurringAudienceList( + com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest request, + io.grpc.stub.StreamObserver
+ * Lists all recurring audience lists for a property. This method can be used + * for you to find and reuse existing recurring audience lists rather than + * creating unnecessary new recurring audience lists. The same audience can + * have multiple recurring audience lists that represent different dimension + * combinations; for example, just the dimension `deviceId` or both the + * dimensions `deviceId` and `userId`. + * This method is introduced at alpha stability with the intention of + * gathering feedback on syntax and capabilities before entering beta. To give + * your feedback on this API, complete the + * [Google Analytics Audience Export API + * Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + *+ */ + default void listRecurringAudienceLists( + com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListRecurringAudienceListsMethod(), responseObserver); + } } /** @@ -767,6 +1006,92 @@ public void listAudienceLists( request, responseObserver); } + + /** + * + * + *
+ * Creates a recurring audience list. Recurring audience lists produces new + * audience lists each day. Audience lists are users in an audience at the + * time of the list's creation. + * A recurring audience list ensures that you have audience list based on the + * most recent data available for use each day. If you manually create + * audience list, you don't know when an audience list based on an additional + * day's data is available. This recurring audience list automates the + * creation of an audience list when an additional day's data is available. + * You will consume fewer quota tokens by using recurring audience list versus + * manually creating audience list at various times of day trying to guess + * when an additional day's data is ready. + * This method is introduced at alpha stability with the intention of + * gathering feedback on syntax and capabilities before entering beta. To give + * your feedback on this API, complete the + * [Google Analytics Audience Export API + * Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + *+ */ + public void createRecurringAudienceList( + com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest request, + io.grpc.stub.StreamObserver
+ * Gets configuration metadata about a specific recurring audience list. This + * method can be used to understand a recurring audience list's state after it + * has been created. For example, a recurring audience list resource will + * generate audience list instances for each day, and this method can be used + * to get the resource name of the most recent audience list instance. + * This method is introduced at alpha stability with the intention of + * gathering feedback on syntax and capabilities before entering beta. To give + * your feedback on this API, complete the + * [Google Analytics Audience Export API + * Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + *+ */ + public void getRecurringAudienceList( + com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest request, + io.grpc.stub.StreamObserver
+ * Lists all recurring audience lists for a property. This method can be used + * for you to find and reuse existing recurring audience lists rather than + * creating unnecessary new recurring audience lists. The same audience can + * have multiple recurring audience lists that represent different dimension + * combinations; for example, just the dimension `deviceId` or both the + * dimensions `deviceId` and `userId`. + * This method is introduced at alpha stability with the intention of + * gathering feedback on syntax and capabilities before entering beta. To give + * your feedback on this API, complete the + * [Google Analytics Audience Export API + * Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + *+ */ + public void listRecurringAudienceLists( + com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest request, + io.grpc.stub.StreamObserver< + com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListRecurringAudienceListsMethod(), getCallOptions()), + request, + responseObserver); + } } /** @@ -950,6 +1275,80 @@ public com.google.analytics.data.v1alpha.ListAudienceListsResponse listAudienceL return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListAudienceListsMethod(), getCallOptions(), request); } + + /** + * + * + *
+ * Creates a recurring audience list. Recurring audience lists produces new + * audience lists each day. Audience lists are users in an audience at the + * time of the list's creation. + * A recurring audience list ensures that you have audience list based on the + * most recent data available for use each day. If you manually create + * audience list, you don't know when an audience list based on an additional + * day's data is available. This recurring audience list automates the + * creation of an audience list when an additional day's data is available. + * You will consume fewer quota tokens by using recurring audience list versus + * manually creating audience list at various times of day trying to guess + * when an additional day's data is ready. + * This method is introduced at alpha stability with the intention of + * gathering feedback on syntax and capabilities before entering beta. To give + * your feedback on this API, complete the + * [Google Analytics Audience Export API + * Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + *+ */ + public com.google.analytics.data.v1alpha.RecurringAudienceList createRecurringAudienceList( + com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateRecurringAudienceListMethod(), getCallOptions(), request); + } + + /** + * + * + *
+ * Gets configuration metadata about a specific recurring audience list. This + * method can be used to understand a recurring audience list's state after it + * has been created. For example, a recurring audience list resource will + * generate audience list instances for each day, and this method can be used + * to get the resource name of the most recent audience list instance. + * This method is introduced at alpha stability with the intention of + * gathering feedback on syntax and capabilities before entering beta. To give + * your feedback on this API, complete the + * [Google Analytics Audience Export API + * Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + *+ */ + public com.google.analytics.data.v1alpha.RecurringAudienceList getRecurringAudienceList( + com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetRecurringAudienceListMethod(), getCallOptions(), request); + } + + /** + * + * + *
+ * Lists all recurring audience lists for a property. This method can be used + * for you to find and reuse existing recurring audience lists rather than + * creating unnecessary new recurring audience lists. The same audience can + * have multiple recurring audience lists that represent different dimension + * combinations; for example, just the dimension `deviceId` or both the + * dimensions `deviceId` and `userId`. + * This method is introduced at alpha stability with the intention of + * gathering feedback on syntax and capabilities before entering beta. To give + * your feedback on this API, complete the + * [Google Analytics Audience Export API + * Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + *+ */ + public com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse + listRecurringAudienceLists( + com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListRecurringAudienceListsMethod(), getCallOptions(), request); + } } /** @@ -1137,6 +1536,85 @@ protected AlphaAnalyticsDataFutureStub build( return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListAudienceListsMethod(), getCallOptions()), request); } + + /** + * + * + *
+ * Creates a recurring audience list. Recurring audience lists produces new + * audience lists each day. Audience lists are users in an audience at the + * time of the list's creation. + * A recurring audience list ensures that you have audience list based on the + * most recent data available for use each day. If you manually create + * audience list, you don't know when an audience list based on an additional + * day's data is available. This recurring audience list automates the + * creation of an audience list when an additional day's data is available. + * You will consume fewer quota tokens by using recurring audience list versus + * manually creating audience list at various times of day trying to guess + * when an additional day's data is ready. + * This method is introduced at alpha stability with the intention of + * gathering feedback on syntax and capabilities before entering beta. To give + * your feedback on this API, complete the + * [Google Analytics Audience Export API + * Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + *+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.data.v1alpha.RecurringAudienceList> + createRecurringAudienceList( + com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateRecurringAudienceListMethod(), getCallOptions()), request); + } + + /** + * + * + *
+ * Gets configuration metadata about a specific recurring audience list. This + * method can be used to understand a recurring audience list's state after it + * has been created. For example, a recurring audience list resource will + * generate audience list instances for each day, and this method can be used + * to get the resource name of the most recent audience list instance. + * This method is introduced at alpha stability with the intention of + * gathering feedback on syntax and capabilities before entering beta. To give + * your feedback on this API, complete the + * [Google Analytics Audience Export API + * Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + *+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.data.v1alpha.RecurringAudienceList> + getRecurringAudienceList( + com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetRecurringAudienceListMethod(), getCallOptions()), request); + } + + /** + * + * + *
+ * Lists all recurring audience lists for a property. This method can be used + * for you to find and reuse existing recurring audience lists rather than + * creating unnecessary new recurring audience lists. The same audience can + * have multiple recurring audience lists that represent different dimension + * combinations; for example, just the dimension `deviceId` or both the + * dimensions `deviceId` and `userId`. + * This method is introduced at alpha stability with the intention of + * gathering feedback on syntax and capabilities before entering beta. To give + * your feedback on this API, complete the + * [Google Analytics Audience Export API + * Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form. + *+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse> + listRecurringAudienceLists( + com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListRecurringAudienceListsMethod(), getCallOptions()), request); + } } private static final int METHODID_RUN_FUNNEL_REPORT = 0; @@ -1145,6 +1623,9 @@ protected AlphaAnalyticsDataFutureStub build( private static final int METHODID_SHEET_EXPORT_AUDIENCE_LIST = 3; private static final int METHODID_GET_AUDIENCE_LIST = 4; private static final int METHODID_LIST_AUDIENCE_LISTS = 5; + private static final int METHODID_CREATE_RECURRING_AUDIENCE_LIST = 6; + private static final int METHODID_GET_RECURRING_AUDIENCE_LIST = 7; + private static final int METHODID_LIST_RECURRING_AUDIENCE_LISTS = 8; private static final class MethodHandlers
- * Required. The dimensions requested and displayed in the report response. + * Required. The dimensions requested and displayed in the query response. ** *
@@ -453,7 +454,7 @@ public java.util.List getDi
*
*
*
- * Required. The dimensions requested and displayed in the report response.
+ * Required. The dimensions requested and displayed in the query response.
*
*
*
@@ -469,7 +470,7 @@ public java.util.List getDi
*
*
*
- * Required. The dimensions requested and displayed in the report response.
+ * Required. The dimensions requested and displayed in the query response.
*
*
*
@@ -484,7 +485,7 @@ public int getDimensionsCount() {
*
*
*
- * Required. The dimensions requested and displayed in the report response.
+ * Required. The dimensions requested and displayed in the query response.
*
*
*
@@ -499,7 +500,7 @@ public com.google.analytics.data.v1alpha.AudienceDimension getDimensions(int ind
*
*
*
- * Required. The dimensions requested and displayed in the report response.
+ * Required. The dimensions requested and displayed in the query response.
*
*
*
@@ -753,6 +754,127 @@ public com.google.protobuf.ByteString getErrorMessageBytes() {
}
}
+ public static final int PERCENTAGE_COMPLETED_FIELD_NUMBER = 11;
+ private double percentageCompleted_ = 0D;
+ /**
+ *
+ *
+ *
+ * Output only. The percentage completed for this audience export ranging
+ * between 0 to 100.
+ *
+ *
+ * optional double percentage_completed = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the percentageCompleted field is set.
+ */
+ @java.lang.Override
+ public boolean hasPercentageCompleted() {
+ return ((bitField0_ & 0x00000010) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The percentage completed for this audience export ranging
+ * between 0 to 100.
+ *
+ *
+ * optional double percentage_completed = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The percentageCompleted.
+ */
+ @java.lang.Override
+ public double getPercentageCompleted() {
+ return percentageCompleted_;
+ }
+
+ public static final int RECURRING_AUDIENCE_LIST_FIELD_NUMBER = 12;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object recurringAudienceList_ = "";
+ /**
+ *
+ *
+ *
+ * Output only. The recurring audience list that created this audience list.
+ * Recurring audience lists create audience lists daily.
+ *
+ * If audience lists are created directly, they will have no associated
+ * recurring audience list, and this field will be blank.
+ *
+ *
+ *
+ * optional string recurring_audience_list = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the recurringAudienceList field is set.
+ */
+ @java.lang.Override
+ public boolean hasRecurringAudienceList() {
+ return ((bitField0_ & 0x00000020) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The recurring audience list that created this audience list.
+ * Recurring audience lists create audience lists daily.
+ *
+ * If audience lists are created directly, they will have no associated
+ * recurring audience list, and this field will be blank.
+ *
+ *
+ *
+ * optional string recurring_audience_list = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The recurringAudienceList.
+ */
+ @java.lang.Override
+ public java.lang.String getRecurringAudienceList() {
+ java.lang.Object ref = recurringAudienceList_;
+ 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();
+ recurringAudienceList_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The recurring audience list that created this audience list.
+ * Recurring audience lists create audience lists daily.
+ *
+ * If audience lists are created directly, they will have no associated
+ * recurring audience list, and this field will be blank.
+ *
+ *
+ *
+ * optional string recurring_audience_list = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The bytes for recurringAudienceList.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getRecurringAudienceListBytes() {
+ java.lang.Object ref = recurringAudienceList_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ recurringAudienceList_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
private byte memoizedIsInitialized = -1;
@java.lang.Override
@@ -794,6 +916,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
if (((bitField0_ & 0x00000008) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, errorMessage_);
}
+ if (((bitField0_ & 0x00000010) != 0)) {
+ output.writeDouble(11, percentageCompleted_);
+ }
+ if (((bitField0_ & 0x00000020) != 0)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 12, recurringAudienceList_);
+ }
getUnknownFields().writeTo(output);
}
@@ -831,6 +959,12 @@ public int getSerializedSize() {
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, errorMessage_);
}
+ if (((bitField0_ & 0x00000010) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeDoubleSize(11, percentageCompleted_);
+ }
+ if (((bitField0_ & 0x00000020) != 0)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, recurringAudienceList_);
+ }
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
@@ -868,6 +1002,15 @@ public boolean equals(final java.lang.Object obj) {
if (hasErrorMessage()) {
if (!getErrorMessage().equals(other.getErrorMessage())) return false;
}
+ if (hasPercentageCompleted() != other.hasPercentageCompleted()) return false;
+ if (hasPercentageCompleted()) {
+ if (java.lang.Double.doubleToLongBits(getPercentageCompleted())
+ != java.lang.Double.doubleToLongBits(other.getPercentageCompleted())) return false;
+ }
+ if (hasRecurringAudienceList() != other.hasRecurringAudienceList()) return false;
+ if (hasRecurringAudienceList()) {
+ if (!getRecurringAudienceList().equals(other.getRecurringAudienceList())) return false;
+ }
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -907,6 +1050,17 @@ public int hashCode() {
hash = (37 * hash) + ERROR_MESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getErrorMessage().hashCode();
}
+ if (hasPercentageCompleted()) {
+ hash = (37 * hash) + PERCENTAGE_COMPLETED_FIELD_NUMBER;
+ hash =
+ (53 * hash)
+ + com.google.protobuf.Internal.hashLong(
+ java.lang.Double.doubleToLongBits(getPercentageCompleted()));
+ }
+ if (hasRecurringAudienceList()) {
+ hash = (37 * hash) + RECURRING_AUDIENCE_LIST_FIELD_NUMBER;
+ hash = (53 * hash) + getRecurringAudienceList().hashCode();
+ }
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
@@ -1077,6 +1231,8 @@ public Builder clear() {
creationQuotaTokensCharged_ = 0;
rowCount_ = 0;
errorMessage_ = "";
+ percentageCompleted_ = 0D;
+ recurringAudienceList_ = "";
return this;
}
@@ -1158,6 +1314,14 @@ private void buildPartial0(com.google.analytics.data.v1alpha.AudienceList result
result.errorMessage_ = errorMessage_;
to_bitField0_ |= 0x00000008;
}
+ if (((from_bitField0_ & 0x00000200) != 0)) {
+ result.percentageCompleted_ = percentageCompleted_;
+ to_bitField0_ |= 0x00000010;
+ }
+ if (((from_bitField0_ & 0x00000400) != 0)) {
+ result.recurringAudienceList_ = recurringAudienceList_;
+ to_bitField0_ |= 0x00000020;
+ }
result.bitField0_ |= to_bitField0_;
}
@@ -1265,6 +1429,14 @@ public Builder mergeFrom(com.google.analytics.data.v1alpha.AudienceList other) {
bitField0_ |= 0x00000100;
onChanged();
}
+ if (other.hasPercentageCompleted()) {
+ setPercentageCompleted(other.getPercentageCompleted());
+ }
+ if (other.hasRecurringAudienceList()) {
+ recurringAudienceList_ = other.recurringAudienceList_;
+ bitField0_ |= 0x00000400;
+ onChanged();
+ }
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
@@ -1354,6 +1526,18 @@ public Builder mergeFrom(
bitField0_ |= 0x00000100;
break;
} // case 74
+ case 89:
+ {
+ percentageCompleted_ = input.readDouble();
+ bitField0_ |= 0x00000200;
+ break;
+ } // case 89
+ case 98:
+ {
+ recurringAudienceList_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000400;
+ break;
+ } // case 98
default:
{
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
@@ -1763,7 +1947,7 @@ private void ensureDimensionsIsMutable() {
*
*
*
- * Required. The dimensions requested and displayed in the report response.
+ * Required. The dimensions requested and displayed in the query response.
*
*
*
@@ -1781,7 +1965,7 @@ public java.util.List getDi
*
*
*
- * Required. The dimensions requested and displayed in the report response.
+ * Required. The dimensions requested and displayed in the query response.
*
*
*
@@ -1799,7 +1983,7 @@ public int getDimensionsCount() {
*
*
*
- * Required. The dimensions requested and displayed in the report response.
+ * Required. The dimensions requested and displayed in the query response.
*
*
*
@@ -1817,7 +2001,7 @@ public com.google.analytics.data.v1alpha.AudienceDimension getDimensions(int ind
*
*
*
- * Required. The dimensions requested and displayed in the report response.
+ * Required. The dimensions requested and displayed in the query response.
*
*
*
@@ -1842,7 +2026,7 @@ public Builder setDimensions(
*
*
*
- * Required. The dimensions requested and displayed in the report response.
+ * Required. The dimensions requested and displayed in the query response.
*
*
*
@@ -1864,7 +2048,7 @@ public Builder setDimensions(
*
*
*
- * Required. The dimensions requested and displayed in the report response.
+ * Required. The dimensions requested and displayed in the query response.
*
*
*
@@ -1888,7 +2072,7 @@ public Builder addDimensions(com.google.analytics.data.v1alpha.AudienceDimension
*
*
*
- * Required. The dimensions requested and displayed in the report response.
+ * Required. The dimensions requested and displayed in the query response.
*
*
*
@@ -1913,7 +2097,7 @@ public Builder addDimensions(
*
*
*
- * Required. The dimensions requested and displayed in the report response.
+ * Required. The dimensions requested and displayed in the query response.
*
*
*
@@ -1935,7 +2119,7 @@ public Builder addDimensions(
*
*
*
- * Required. The dimensions requested and displayed in the report response.
+ * Required. The dimensions requested and displayed in the query response.
*
*
*
@@ -1957,7 +2141,7 @@ public Builder addDimensions(
*
*
*
- * Required. The dimensions requested and displayed in the report response.
+ * Required. The dimensions requested and displayed in the query response.
*
*
*
@@ -1979,7 +2163,7 @@ public Builder addAllDimensions(
*
*
*
- * Required. The dimensions requested and displayed in the report response.
+ * Required. The dimensions requested and displayed in the query response.
*
*
*
@@ -2000,7 +2184,7 @@ public Builder clearDimensions() {
*
*
*
- * Required. The dimensions requested and displayed in the report response.
+ * Required. The dimensions requested and displayed in the query response.
*
*
*
@@ -2021,7 +2205,7 @@ public Builder removeDimensions(int index) {
*
*
*
- * Required. The dimensions requested and displayed in the report response.
+ * Required. The dimensions requested and displayed in the query response.
*
*
*
@@ -2036,7 +2220,7 @@ public com.google.analytics.data.v1alpha.AudienceDimension.Builder getDimensions
*
*
*
- * Required. The dimensions requested and displayed in the report response.
+ * Required. The dimensions requested and displayed in the query response.
*
*
*
@@ -2055,7 +2239,7 @@ public com.google.analytics.data.v1alpha.AudienceDimensionOrBuilder getDimension
*
*
*
- * Required. The dimensions requested and displayed in the report response.
+ * Required. The dimensions requested and displayed in the query response.
*
*
*
@@ -2074,7 +2258,7 @@ public com.google.analytics.data.v1alpha.AudienceDimensionOrBuilder getDimension
*
*
*
- * Required. The dimensions requested and displayed in the report response.
+ * Required. The dimensions requested and displayed in the query response.
*
*
*
@@ -2089,7 +2273,7 @@ public com.google.analytics.data.v1alpha.AudienceDimension.Builder addDimensions
*
*
*
- * Required. The dimensions requested and displayed in the report response.
+ * Required. The dimensions requested and displayed in the query response.
*
*
*
@@ -2106,7 +2290,7 @@ public com.google.analytics.data.v1alpha.AudienceDimension.Builder addDimensions
*
*
*
- * Required. The dimensions requested and displayed in the report response.
+ * Required. The dimensions requested and displayed in the query response.
*
*
*
@@ -2723,6 +2907,238 @@ public Builder setErrorMessageBytes(com.google.protobuf.ByteString value) {
return this;
}
+ private double percentageCompleted_;
+ /**
+ *
+ *
+ *
+ * Output only. The percentage completed for this audience export ranging
+ * between 0 to 100.
+ *
+ *
+ * optional double percentage_completed = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the percentageCompleted field is set.
+ */
+ @java.lang.Override
+ public boolean hasPercentageCompleted() {
+ return ((bitField0_ & 0x00000200) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The percentage completed for this audience export ranging
+ * between 0 to 100.
+ *
+ *
+ * optional double percentage_completed = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The percentageCompleted.
+ */
+ @java.lang.Override
+ public double getPercentageCompleted() {
+ return percentageCompleted_;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The percentage completed for this audience export ranging
+ * between 0 to 100.
+ *
+ *
+ * optional double percentage_completed = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @param value The percentageCompleted to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPercentageCompleted(double value) {
+
+ percentageCompleted_ = value;
+ bitField0_ |= 0x00000200;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The percentage completed for this audience export ranging
+ * between 0 to 100.
+ *
+ *
+ * optional double percentage_completed = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearPercentageCompleted() {
+ bitField0_ = (bitField0_ & ~0x00000200);
+ percentageCompleted_ = 0D;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object recurringAudienceList_ = "";
+ /**
+ *
+ *
+ *
+ * Output only. The recurring audience list that created this audience list.
+ * Recurring audience lists create audience lists daily.
+ *
+ * If audience lists are created directly, they will have no associated
+ * recurring audience list, and this field will be blank.
+ *
+ *
+ *
+ * optional string recurring_audience_list = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the recurringAudienceList field is set.
+ */
+ public boolean hasRecurringAudienceList() {
+ return ((bitField0_ & 0x00000400) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The recurring audience list that created this audience list.
+ * Recurring audience lists create audience lists daily.
+ *
+ * If audience lists are created directly, they will have no associated
+ * recurring audience list, and this field will be blank.
+ *
+ *
+ *
+ * optional string recurring_audience_list = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The recurringAudienceList.
+ */
+ public java.lang.String getRecurringAudienceList() {
+ java.lang.Object ref = recurringAudienceList_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ recurringAudienceList_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The recurring audience list that created this audience list.
+ * Recurring audience lists create audience lists daily.
+ *
+ * If audience lists are created directly, they will have no associated
+ * recurring audience list, and this field will be blank.
+ *
+ *
+ *
+ * optional string recurring_audience_list = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The bytes for recurringAudienceList.
+ */
+ public com.google.protobuf.ByteString getRecurringAudienceListBytes() {
+ java.lang.Object ref = recurringAudienceList_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ recurringAudienceList_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The recurring audience list that created this audience list.
+ * Recurring audience lists create audience lists daily.
+ *
+ * If audience lists are created directly, they will have no associated
+ * recurring audience list, and this field will be blank.
+ *
+ *
+ *
+ * optional string recurring_audience_list = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @param value The recurringAudienceList to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRecurringAudienceList(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ recurringAudienceList_ = value;
+ bitField0_ |= 0x00000400;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The recurring audience list that created this audience list.
+ * Recurring audience lists create audience lists daily.
+ *
+ * If audience lists are created directly, they will have no associated
+ * recurring audience list, and this field will be blank.
+ *
+ *
+ *
+ * optional string recurring_audience_list = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearRecurringAudienceList() {
+ recurringAudienceList_ = getDefaultInstance().getRecurringAudienceList();
+ bitField0_ = (bitField0_ & ~0x00000400);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The recurring audience list that created this audience list.
+ * Recurring audience lists create audience lists daily.
+ *
+ * If audience lists are created directly, they will have no associated
+ * recurring audience list, and this field will be blank.
+ *
+ *
+ *
+ * optional string recurring_audience_list = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @param value The bytes for recurringAudienceList to set.
+ * @return This builder for chaining.
+ */
+ public Builder setRecurringAudienceListBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ recurringAudienceList_ = value;
+ bitField0_ |= 0x00000400;
+ onChanged();
+ return this;
+ }
+
@java.lang.Override
public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
diff --git a/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/AudienceListOrBuilder.java b/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/AudienceListOrBuilder.java
index 3d0ca7d6ed50..ab3251ccceab 100644
--- a/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/AudienceListOrBuilder.java
+++ b/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/AudienceListOrBuilder.java
@@ -122,7 +122,7 @@ public interface AudienceListOrBuilder
*
*
*
- * Required. The dimensions requested and displayed in the report response.
+ * Required. The dimensions requested and displayed in the query response.
*
*
*
@@ -134,7 +134,7 @@ public interface AudienceListOrBuilder
*
*
*
- * Required. The dimensions requested and displayed in the report response.
+ * Required. The dimensions requested and displayed in the query response.
*
*
*
@@ -146,7 +146,7 @@ public interface AudienceListOrBuilder
*
*
*
- * Required. The dimensions requested and displayed in the report response.
+ * Required. The dimensions requested and displayed in the query response.
*
*
*
@@ -158,7 +158,7 @@ public interface AudienceListOrBuilder
*
*
*
- * Required. The dimensions requested and displayed in the report response.
+ * Required. The dimensions requested and displayed in the query response.
*
*
*
@@ -171,7 +171,7 @@ public interface AudienceListOrBuilder
*
*
*
- * Required. The dimensions requested and displayed in the report response.
+ * Required. The dimensions requested and displayed in the query response.
*
*
*
@@ -348,4 +348,88 @@ public interface AudienceListOrBuilder
* @return The bytes for errorMessage.
*/
com.google.protobuf.ByteString getErrorMessageBytes();
+
+ /**
+ *
+ *
+ *
+ * Output only. The percentage completed for this audience export ranging
+ * between 0 to 100.
+ *
+ *
+ * optional double percentage_completed = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the percentageCompleted field is set.
+ */
+ boolean hasPercentageCompleted();
+ /**
+ *
+ *
+ *
+ * Output only. The percentage completed for this audience export ranging
+ * between 0 to 100.
+ *
+ *
+ * optional double percentage_completed = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The percentageCompleted.
+ */
+ double getPercentageCompleted();
+
+ /**
+ *
+ *
+ *
+ * Output only. The recurring audience list that created this audience list.
+ * Recurring audience lists create audience lists daily.
+ *
+ * If audience lists are created directly, they will have no associated
+ * recurring audience list, and this field will be blank.
+ *
+ *
+ *
+ * optional string recurring_audience_list = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return Whether the recurringAudienceList field is set.
+ */
+ boolean hasRecurringAudienceList();
+ /**
+ *
+ *
+ *
+ * Output only. The recurring audience list that created this audience list.
+ * Recurring audience lists create audience lists daily.
+ *
+ * If audience lists are created directly, they will have no associated
+ * recurring audience list, and this field will be blank.
+ *
+ *
+ *
+ * optional string recurring_audience_list = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The recurringAudienceList.
+ */
+ java.lang.String getRecurringAudienceList();
+ /**
+ *
+ *
+ *
+ * Output only. The recurring audience list that created this audience list.
+ * Recurring audience lists create audience lists daily.
+ *
+ * If audience lists are created directly, they will have no associated
+ * recurring audience list, and this field will be blank.
+ *
+ *
+ *
+ * optional string recurring_audience_list = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The bytes for recurringAudienceList.
+ */
+ com.google.protobuf.ByteString getRecurringAudienceListBytes();
}
diff --git a/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/CreateRecurringAudienceListRequest.java b/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/CreateRecurringAudienceListRequest.java
new file mode 100644
index 000000000000..094b2831d008
--- /dev/null
+++ b/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/CreateRecurringAudienceListRequest.java
@@ -0,0 +1,958 @@
+/*
+ * Copyright 2023 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!
+// source: google/analytics/data/v1alpha/analytics_data_api.proto
+
+package com.google.analytics.data.v1alpha;
+
+/**
+ *
+ *
+ *
+ * A request to create a new recurring audience list.
+ *
+ *
+ * Protobuf type {@code google.analytics.data.v1alpha.CreateRecurringAudienceListRequest}
+ */
+public final class CreateRecurringAudienceListRequest extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.CreateRecurringAudienceListRequest)
+ CreateRecurringAudienceListRequestOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use CreateRecurringAudienceListRequest.newBuilder() to construct.
+ private CreateRecurringAudienceListRequest(
+ com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private CreateRecurringAudienceListRequest() {
+ parent_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CreateRecurringAudienceListRequest();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.analytics.data.v1alpha.AnalyticsDataApiProto
+ .internal_static_google_analytics_data_v1alpha_CreateRecurringAudienceListRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.analytics.data.v1alpha.AnalyticsDataApiProto
+ .internal_static_google_analytics_data_v1alpha_CreateRecurringAudienceListRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest.class,
+ com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest.Builder.class);
+ }
+
+ public static final int PARENT_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object parent_ = "";
+ /**
+ *
+ *
+ *
+ * Required. The parent resource where this recurring audience list will be
+ * created. Format: `properties/{property}`
+ *
+ *
+ *
+ * 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 parent resource where this recurring audience list will be
+ * created. Format: `properties/{property}`
+ *
+ *
+ *
+ * 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 RECURRING_AUDIENCE_LIST_FIELD_NUMBER = 2;
+ private com.google.analytics.data.v1alpha.RecurringAudienceList recurringAudienceList_;
+ /**
+ *
+ *
+ *
+ * Required. The recurring audience list to create.
+ *
+ *
+ *
+ * .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_list = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the recurringAudienceList field is set.
+ */
+ @java.lang.Override
+ public boolean hasRecurringAudienceList() {
+ return recurringAudienceList_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The recurring audience list to create.
+ *
+ *
+ *
+ * .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_list = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The recurringAudienceList.
+ */
+ @java.lang.Override
+ public com.google.analytics.data.v1alpha.RecurringAudienceList getRecurringAudienceList() {
+ return recurringAudienceList_ == null
+ ? com.google.analytics.data.v1alpha.RecurringAudienceList.getDefaultInstance()
+ : recurringAudienceList_;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The recurring audience list to create.
+ *
+ *
+ *
+ * .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_list = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.analytics.data.v1alpha.RecurringAudienceListOrBuilder
+ getRecurringAudienceListOrBuilder() {
+ return recurringAudienceList_ == null
+ ? com.google.analytics.data.v1alpha.RecurringAudienceList.getDefaultInstance()
+ : recurringAudienceList_;
+ }
+
+ 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.GeneratedMessageV3.isStringEmpty(parent_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
+ }
+ if (recurringAudienceList_ != null) {
+ output.writeMessage(2, getRecurringAudienceList());
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
+ }
+ if (recurringAudienceList_ != null) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(2, getRecurringAudienceList());
+ }
+ 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.analytics.data.v1alpha.CreateRecurringAudienceListRequest)) {
+ return super.equals(obj);
+ }
+ com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest other =
+ (com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest) obj;
+
+ if (!getParent().equals(other.getParent())) return false;
+ if (hasRecurringAudienceList() != other.hasRecurringAudienceList()) return false;
+ if (hasRecurringAudienceList()) {
+ if (!getRecurringAudienceList().equals(other.getRecurringAudienceList())) 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();
+ if (hasRecurringAudienceList()) {
+ hash = (37 * hash) + RECURRING_AUDIENCE_LIST_FIELD_NUMBER;
+ hash = (53 * hash) + getRecurringAudienceList().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest 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.analytics.data.v1alpha.CreateRecurringAudienceListRequest parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest
+ parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.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.analytics.data.v1alpha.CreateRecurringAudienceListRequest 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.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ *
+ * A request to create a new recurring audience list.
+ *
+ *
+ * Protobuf type {@code google.analytics.data.v1alpha.CreateRecurringAudienceListRequest}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.CreateRecurringAudienceListRequest)
+ com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequestOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.analytics.data.v1alpha.AnalyticsDataApiProto
+ .internal_static_google_analytics_data_v1alpha_CreateRecurringAudienceListRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.analytics.data.v1alpha.AnalyticsDataApiProto
+ .internal_static_google_analytics_data_v1alpha_CreateRecurringAudienceListRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest.class,
+ com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest.Builder.class);
+ }
+
+ // Construct using
+ // com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest.newBuilder()
+ private Builder() {}
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ parent_ = "";
+ recurringAudienceList_ = null;
+ if (recurringAudienceListBuilder_ != null) {
+ recurringAudienceListBuilder_.dispose();
+ recurringAudienceListBuilder_ = null;
+ }
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.analytics.data.v1alpha.AnalyticsDataApiProto
+ .internal_static_google_analytics_data_v1alpha_CreateRecurringAudienceListRequest_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest
+ getDefaultInstanceForType() {
+ return com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest
+ .getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest build() {
+ com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest buildPartial() {
+ com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest result =
+ new com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest(this);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(
+ com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.parent_ = parent_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.recurringAudienceList_ =
+ recurringAudienceListBuilder_ == null
+ ? recurringAudienceList_
+ : recurringAudienceListBuilder_.build();
+ }
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest) {
+ return mergeFrom(
+ (com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(
+ com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest other) {
+ if (other
+ == com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest
+ .getDefaultInstance()) return this;
+ if (!other.getParent().isEmpty()) {
+ parent_ = other.parent_;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
+ if (other.hasRecurringAudienceList()) {
+ mergeRecurringAudienceList(other.getRecurringAudienceList());
+ }
+ 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:
+ {
+ parent_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ case 18:
+ {
+ input.readMessage(
+ getRecurringAudienceListFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000002;
+ 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 java.lang.Object parent_ = "";
+ /**
+ *
+ *
+ *
+ * Required. The parent resource where this recurring audience list will be
+ * created. Format: `properties/{property}`
+ *
+ *
+ *
+ * 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 parent resource where this recurring audience list will be
+ * created. Format: `properties/{property}`
+ *
+ *
+ *
+ * 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 parent resource where this recurring audience list will be
+ * created. Format: `properties/{property}`
+ *
+ *
+ *
+ * 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 parent resource where this recurring audience list will be
+ * created. Format: `properties/{property}`
+ *
+ *
+ *
+ * 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 parent resource where this recurring audience list will be
+ * created. Format: `properties/{property}`
+ *
+ *
+ *
+ * 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 com.google.analytics.data.v1alpha.RecurringAudienceList recurringAudienceList_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.data.v1alpha.RecurringAudienceList,
+ com.google.analytics.data.v1alpha.RecurringAudienceList.Builder,
+ com.google.analytics.data.v1alpha.RecurringAudienceListOrBuilder>
+ recurringAudienceListBuilder_;
+ /**
+ *
+ *
+ *
+ * Required. The recurring audience list to create.
+ *
+ *
+ *
+ * .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_list = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the recurringAudienceList field is set.
+ */
+ public boolean hasRecurringAudienceList() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Required. The recurring audience list to create.
+ *
+ *
+ *
+ * .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_list = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The recurringAudienceList.
+ */
+ public com.google.analytics.data.v1alpha.RecurringAudienceList getRecurringAudienceList() {
+ if (recurringAudienceListBuilder_ == null) {
+ return recurringAudienceList_ == null
+ ? com.google.analytics.data.v1alpha.RecurringAudienceList.getDefaultInstance()
+ : recurringAudienceList_;
+ } else {
+ return recurringAudienceListBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The recurring audience list to create.
+ *
+ *
+ *
+ * .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_list = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setRecurringAudienceList(
+ com.google.analytics.data.v1alpha.RecurringAudienceList value) {
+ if (recurringAudienceListBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ recurringAudienceList_ = value;
+ } else {
+ recurringAudienceListBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The recurring audience list to create.
+ *
+ *
+ *
+ * .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_list = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setRecurringAudienceList(
+ com.google.analytics.data.v1alpha.RecurringAudienceList.Builder builderForValue) {
+ if (recurringAudienceListBuilder_ == null) {
+ recurringAudienceList_ = builderForValue.build();
+ } else {
+ recurringAudienceListBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The recurring audience list to create.
+ *
+ *
+ *
+ * .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_list = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder mergeRecurringAudienceList(
+ com.google.analytics.data.v1alpha.RecurringAudienceList value) {
+ if (recurringAudienceListBuilder_ == null) {
+ if (((bitField0_ & 0x00000002) != 0)
+ && recurringAudienceList_ != null
+ && recurringAudienceList_
+ != com.google.analytics.data.v1alpha.RecurringAudienceList.getDefaultInstance()) {
+ getRecurringAudienceListBuilder().mergeFrom(value);
+ } else {
+ recurringAudienceList_ = value;
+ }
+ } else {
+ recurringAudienceListBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The recurring audience list to create.
+ *
+ *
+ *
+ * .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_list = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder clearRecurringAudienceList() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ recurringAudienceList_ = null;
+ if (recurringAudienceListBuilder_ != null) {
+ recurringAudienceListBuilder_.dispose();
+ recurringAudienceListBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The recurring audience list to create.
+ *
+ *
+ *
+ * .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_list = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.analytics.data.v1alpha.RecurringAudienceList.Builder
+ getRecurringAudienceListBuilder() {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return getRecurringAudienceListFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * Required. The recurring audience list to create.
+ *
+ *
+ *
+ * .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_list = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.analytics.data.v1alpha.RecurringAudienceListOrBuilder
+ getRecurringAudienceListOrBuilder() {
+ if (recurringAudienceListBuilder_ != null) {
+ return recurringAudienceListBuilder_.getMessageOrBuilder();
+ } else {
+ return recurringAudienceList_ == null
+ ? com.google.analytics.data.v1alpha.RecurringAudienceList.getDefaultInstance()
+ : recurringAudienceList_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The recurring audience list to create.
+ *
+ *
+ *
+ * .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_list = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.data.v1alpha.RecurringAudienceList,
+ com.google.analytics.data.v1alpha.RecurringAudienceList.Builder,
+ com.google.analytics.data.v1alpha.RecurringAudienceListOrBuilder>
+ getRecurringAudienceListFieldBuilder() {
+ if (recurringAudienceListBuilder_ == null) {
+ recurringAudienceListBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.analytics.data.v1alpha.RecurringAudienceList,
+ com.google.analytics.data.v1alpha.RecurringAudienceList.Builder,
+ com.google.analytics.data.v1alpha.RecurringAudienceListOrBuilder>(
+ getRecurringAudienceList(), getParentForChildren(), isClean());
+ recurringAudienceList_ = null;
+ }
+ return recurringAudienceListBuilder_;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.CreateRecurringAudienceListRequest)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.CreateRecurringAudienceListRequest)
+ private static final com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest();
+ }
+
+ public static com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public CreateRecurringAudienceListRequest 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.analytics.data.v1alpha.CreateRecurringAudienceListRequest
+ getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/CreateRecurringAudienceListRequestOrBuilder.java b/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/CreateRecurringAudienceListRequestOrBuilder.java
new file mode 100644
index 000000000000..700a05abdcb1
--- /dev/null
+++ b/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/CreateRecurringAudienceListRequestOrBuilder.java
@@ -0,0 +1,98 @@
+/*
+ * Copyright 2023 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!
+// source: google/analytics/data/v1alpha/analytics_data_api.proto
+
+package com.google.analytics.data.v1alpha;
+
+public interface CreateRecurringAudienceListRequestOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.CreateRecurringAudienceListRequest)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Required. The parent resource where this recurring audience list will be
+ * created. Format: `properties/{property}`
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The parent.
+ */
+ java.lang.String getParent();
+ /**
+ *
+ *
+ *
+ * Required. The parent resource where this recurring audience list will be
+ * created. Format: `properties/{property}`
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for parent.
+ */
+ com.google.protobuf.ByteString getParentBytes();
+
+ /**
+ *
+ *
+ *
+ * Required. The recurring audience list to create.
+ *
+ *
+ *
+ * .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_list = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the recurringAudienceList field is set.
+ */
+ boolean hasRecurringAudienceList();
+ /**
+ *
+ *
+ *
+ * Required. The recurring audience list to create.
+ *
+ *
+ *
+ * .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_list = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The recurringAudienceList.
+ */
+ com.google.analytics.data.v1alpha.RecurringAudienceList getRecurringAudienceList();
+ /**
+ *
+ *
+ *
+ * Required. The recurring audience list to create.
+ *
+ *
+ *
+ * .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_list = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ com.google.analytics.data.v1alpha.RecurringAudienceListOrBuilder
+ getRecurringAudienceListOrBuilder();
+}
diff --git a/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/GetRecurringAudienceListRequest.java b/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/GetRecurringAudienceListRequest.java
new file mode 100644
index 000000000000..1bc53df95181
--- /dev/null
+++ b/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/GetRecurringAudienceListRequest.java
@@ -0,0 +1,665 @@
+/*
+ * Copyright 2023 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!
+// source: google/analytics/data/v1alpha/analytics_data_api.proto
+
+package com.google.analytics.data.v1alpha;
+
+/**
+ *
+ *
+ *
+ * A request to retrieve configuration metadata about a specific recurring
+ * audience list.
+ *
+ *
+ * Protobuf type {@code google.analytics.data.v1alpha.GetRecurringAudienceListRequest}
+ */
+public final class GetRecurringAudienceListRequest extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.GetRecurringAudienceListRequest)
+ GetRecurringAudienceListRequestOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use GetRecurringAudienceListRequest.newBuilder() to construct.
+ private GetRecurringAudienceListRequest(
+ com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private GetRecurringAudienceListRequest() {
+ name_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new GetRecurringAudienceListRequest();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.analytics.data.v1alpha.AnalyticsDataApiProto
+ .internal_static_google_analytics_data_v1alpha_GetRecurringAudienceListRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.analytics.data.v1alpha.AnalyticsDataApiProto
+ .internal_static_google_analytics_data_v1alpha_GetRecurringAudienceListRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest.class,
+ com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest.Builder.class);
+ }
+
+ public static final int NAME_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
+ /**
+ *
+ *
+ *
+ * Required. The recurring audience list resource name.
+ * Format:
+ * `properties/{property}/recurringAudienceLists/{recurring_audience_list}`
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The name.
+ */
+ @java.lang.Override
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ 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();
+ name_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The recurring audience list resource name.
+ * Format:
+ * `properties/{property}/recurringAudienceLists/{recurring_audience_list}`
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for name.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ name_ = 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.GeneratedMessageV3.isStringEmpty(name_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
+ }
+ 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.analytics.data.v1alpha.GetRecurringAudienceListRequest)) {
+ return super.equals(obj);
+ }
+ com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest other =
+ (com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest) obj;
+
+ if (!getName().equals(other.getName())) 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) + NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getName().hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest 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.analytics.data.v1alpha.GetRecurringAudienceListRequest parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest
+ parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.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.analytics.data.v1alpha.GetRecurringAudienceListRequest 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.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ *
+ * A request to retrieve configuration metadata about a specific recurring
+ * audience list.
+ *
+ *
+ * Protobuf type {@code google.analytics.data.v1alpha.GetRecurringAudienceListRequest}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.GetRecurringAudienceListRequest)
+ com.google.analytics.data.v1alpha.GetRecurringAudienceListRequestOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.analytics.data.v1alpha.AnalyticsDataApiProto
+ .internal_static_google_analytics_data_v1alpha_GetRecurringAudienceListRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.analytics.data.v1alpha.AnalyticsDataApiProto
+ .internal_static_google_analytics_data_v1alpha_GetRecurringAudienceListRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest.class,
+ com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest.Builder.class);
+ }
+
+ // Construct using
+ // com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest.newBuilder()
+ private Builder() {}
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ name_ = "";
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.analytics.data.v1alpha.AnalyticsDataApiProto
+ .internal_static_google_analytics_data_v1alpha_GetRecurringAudienceListRequest_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest
+ getDefaultInstanceForType() {
+ return com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest build() {
+ com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest buildPartial() {
+ com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest result =
+ new com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest(this);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(
+ com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest) {
+ return mergeFrom((com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(
+ com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest other) {
+ if (other
+ == com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest.getDefaultInstance())
+ return this;
+ if (!other.getName().isEmpty()) {
+ name_ = other.name_;
+ 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:
+ {
+ name_ = 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 name_ = "";
+ /**
+ *
+ *
+ *
+ * Required. The recurring audience list resource name.
+ * Format:
+ * `properties/{property}/recurringAudienceLists/{recurring_audience_list}`
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The name.
+ */
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ name_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The recurring audience list resource name.
+ * Format:
+ * `properties/{property}/recurringAudienceLists/{recurring_audience_list}`
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for name.
+ */
+ public com.google.protobuf.ByteString getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The recurring audience list resource name.
+ * Format:
+ * `properties/{property}/recurringAudienceLists/{recurring_audience_list}`
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
+ */
+ public Builder setName(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ name_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The recurring audience list resource name.
+ * Format:
+ * `properties/{property}/recurringAudienceLists/{recurring_audience_list}`
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearName() {
+ name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The recurring audience list resource name.
+ * Format:
+ * `properties/{property}/recurringAudienceLists/{recurring_audience_list}`
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
+ */
+ public Builder setNameBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ name_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.GetRecurringAudienceListRequest)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.GetRecurringAudienceListRequest)
+ private static final com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest();
+ }
+
+ public static com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public GetRecurringAudienceListRequest 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.analytics.data.v1alpha.GetRecurringAudienceListRequest
+ getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/GetRecurringAudienceListRequestOrBuilder.java b/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/GetRecurringAudienceListRequestOrBuilder.java
new file mode 100644
index 000000000000..21d4af0b529d
--- /dev/null
+++ b/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/GetRecurringAudienceListRequestOrBuilder.java
@@ -0,0 +1,58 @@
+/*
+ * Copyright 2023 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!
+// source: google/analytics/data/v1alpha/analytics_data_api.proto
+
+package com.google.analytics.data.v1alpha;
+
+public interface GetRecurringAudienceListRequestOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.GetRecurringAudienceListRequest)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Required. The recurring audience list resource name.
+ * Format:
+ * `properties/{property}/recurringAudienceLists/{recurring_audience_list}`
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The name.
+ */
+ java.lang.String getName();
+ /**
+ *
+ *
+ *
+ * Required. The recurring audience list resource name.
+ * Format:
+ * `properties/{property}/recurringAudienceLists/{recurring_audience_list}`
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for name.
+ */
+ com.google.protobuf.ByteString getNameBytes();
+}
diff --git a/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/ListRecurringAudienceListsRequest.java b/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/ListRecurringAudienceListsRequest.java
new file mode 100644
index 000000000000..bd15d664871a
--- /dev/null
+++ b/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/ListRecurringAudienceListsRequest.java
@@ -0,0 +1,987 @@
+/*
+ * Copyright 2023 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!
+// source: google/analytics/data/v1alpha/analytics_data_api.proto
+
+package com.google.analytics.data.v1alpha;
+
+/**
+ *
+ *
+ *
+ * A request to list all recurring audience lists for a property.
+ *
+ *
+ * Protobuf type {@code google.analytics.data.v1alpha.ListRecurringAudienceListsRequest}
+ */
+public final class ListRecurringAudienceListsRequest extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.ListRecurringAudienceListsRequest)
+ ListRecurringAudienceListsRequestOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use ListRecurringAudienceListsRequest.newBuilder() to construct.
+ private ListRecurringAudienceListsRequest(
+ com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private ListRecurringAudienceListsRequest() {
+ parent_ = "";
+ pageToken_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListRecurringAudienceListsRequest();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.analytics.data.v1alpha.AnalyticsDataApiProto
+ .internal_static_google_analytics_data_v1alpha_ListRecurringAudienceListsRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.analytics.data.v1alpha.AnalyticsDataApiProto
+ .internal_static_google_analytics_data_v1alpha_ListRecurringAudienceListsRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest.class,
+ com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest.Builder.class);
+ }
+
+ public static final int PARENT_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object parent_ = "";
+ /**
+ *
+ *
+ *
+ * Required. All recurring audience lists for this property will be listed in
+ * the response. Format: `properties/{property}`
+ *
+ *
+ *
+ * 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. All recurring audience lists for this property will be listed in
+ * the response. Format: `properties/{property}`
+ *
+ *
+ *
+ * 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 PAGE_SIZE_FIELD_NUMBER = 2;
+ private int pageSize_ = 0;
+ /**
+ *
+ *
+ *
+ * Optional. The maximum number of recurring audience lists to return. The
+ * service may return fewer than this value. If unspecified, at most 200
+ * recurring audience lists will be returned. The maximum value is 1000
+ * (higher values will be coerced to the maximum).
+ *
+ *
+ * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The pageSize.
+ */
+ @java.lang.Override
+ public int getPageSize() {
+ return pageSize_;
+ }
+
+ public static final int PAGE_TOKEN_FIELD_NUMBER = 3;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object pageToken_ = "";
+ /**
+ *
+ *
+ *
+ * Optional. A page token, received from a previous
+ * `ListRecurringAudienceLists` call. Provide this to retrieve the subsequent
+ * page.
+ *
+ * When paginating, all other parameters provided to
+ * `ListRecurringAudienceLists` must match the call that provided the page
+ * token.
+ *
+ *
+ * string page_token = 3 [(.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 page token, received from a previous
+ * `ListRecurringAudienceLists` call. Provide this to retrieve the subsequent
+ * page.
+ *
+ * When paginating, all other parameters provided to
+ * `ListRecurringAudienceLists` must match the call that provided the page
+ * token.
+ *
+ *
+ * string page_token = 3 [(.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;
+ }
+ }
+
+ 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.GeneratedMessageV3.isStringEmpty(parent_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
+ }
+ if (pageSize_ != 0) {
+ output.writeInt32(2, pageSize_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
+ }
+ if (pageSize_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_);
+ }
+ 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.analytics.data.v1alpha.ListRecurringAudienceListsRequest)) {
+ return super.equals(obj);
+ }
+ com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest other =
+ (com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest) obj;
+
+ if (!getParent().equals(other.getParent())) return false;
+ if (getPageSize() != other.getPageSize()) return false;
+ if (!getPageToken().equals(other.getPageToken())) 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) + PAGE_SIZE_FIELD_NUMBER;
+ hash = (53 * hash) + getPageSize();
+ hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER;
+ hash = (53 * hash) + getPageToken().hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest 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.analytics.data.v1alpha.ListRecurringAudienceListsRequest parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest
+ parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.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.analytics.data.v1alpha.ListRecurringAudienceListsRequest 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.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ *
+ * A request to list all recurring audience lists for a property.
+ *
+ *
+ * Protobuf type {@code google.analytics.data.v1alpha.ListRecurringAudienceListsRequest}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.ListRecurringAudienceListsRequest)
+ com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequestOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.analytics.data.v1alpha.AnalyticsDataApiProto
+ .internal_static_google_analytics_data_v1alpha_ListRecurringAudienceListsRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.analytics.data.v1alpha.AnalyticsDataApiProto
+ .internal_static_google_analytics_data_v1alpha_ListRecurringAudienceListsRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest.class,
+ com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest.Builder.class);
+ }
+
+ // Construct using
+ // com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest.newBuilder()
+ private Builder() {}
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ parent_ = "";
+ pageSize_ = 0;
+ pageToken_ = "";
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.analytics.data.v1alpha.AnalyticsDataApiProto
+ .internal_static_google_analytics_data_v1alpha_ListRecurringAudienceListsRequest_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest
+ getDefaultInstanceForType() {
+ return com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest
+ .getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest build() {
+ com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest buildPartial() {
+ com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest result =
+ new com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest(this);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(
+ com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.parent_ = parent_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.pageSize_ = pageSize_;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.pageToken_ = pageToken_;
+ }
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest) {
+ return mergeFrom(
+ (com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(
+ com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest other) {
+ if (other
+ == com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest
+ .getDefaultInstance()) return this;
+ if (!other.getParent().isEmpty()) {
+ parent_ = other.parent_;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
+ if (other.getPageSize() != 0) {
+ setPageSize(other.getPageSize());
+ }
+ if (!other.getPageToken().isEmpty()) {
+ pageToken_ = other.pageToken_;
+ 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 10:
+ {
+ parent_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ case 16:
+ {
+ pageSize_ = input.readInt32();
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 16
+ case 26:
+ {
+ pageToken_ = 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 java.lang.Object parent_ = "";
+ /**
+ *
+ *
+ *
+ * Required. All recurring audience lists for this property will be listed in
+ * the response. Format: `properties/{property}`
+ *
+ *
+ *
+ * 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. All recurring audience lists for this property will be listed in
+ * the response. Format: `properties/{property}`
+ *
+ *
+ *
+ * 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. All recurring audience lists for this property will be listed in
+ * the response. Format: `properties/{property}`
+ *
+ *
+ *
+ * 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. All recurring audience lists for this property will be listed in
+ * the response. Format: `properties/{property}`
+ *
+ *
+ *
+ * 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. All recurring audience lists for this property will be listed in
+ * the response. Format: `properties/{property}`
+ *
+ *
+ *
+ * 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 int pageSize_;
+ /**
+ *
+ *
+ *
+ * Optional. The maximum number of recurring audience lists to return. The
+ * service may return fewer than this value. If unspecified, at most 200
+ * recurring audience lists will be returned. The maximum value is 1000
+ * (higher values will be coerced to the maximum).
+ *
+ *
+ * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The pageSize.
+ */
+ @java.lang.Override
+ public int getPageSize() {
+ return pageSize_;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The maximum number of recurring audience lists to return. The
+ * service may return fewer than this value. If unspecified, at most 200
+ * recurring audience lists will be returned. The maximum value is 1000
+ * (higher values will be coerced to the maximum).
+ *
+ *
+ * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The pageSize to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPageSize(int value) {
+
+ pageSize_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The maximum number of recurring audience lists to return. The
+ * service may return fewer than this value. If unspecified, at most 200
+ * recurring audience lists will be returned. The maximum value is 1000
+ * (higher values will be coerced to the maximum).
+ *
+ *
+ * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearPageSize() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ pageSize_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object pageToken_ = "";
+ /**
+ *
+ *
+ *
+ * Optional. A page token, received from a previous
+ * `ListRecurringAudienceLists` call. Provide this to retrieve the subsequent
+ * page.
+ *
+ * When paginating, all other parameters provided to
+ * `ListRecurringAudienceLists` must match the call that provided the page
+ * token.
+ *
+ *
+ * string page_token = 3 [(.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 page token, received from a previous
+ * `ListRecurringAudienceLists` call. Provide this to retrieve the subsequent
+ * page.
+ *
+ * When paginating, all other parameters provided to
+ * `ListRecurringAudienceLists` must match the call that provided the page
+ * token.
+ *
+ *
+ * string page_token = 3 [(.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 page token, received from a previous
+ * `ListRecurringAudienceLists` call. Provide this to retrieve the subsequent
+ * page.
+ *
+ * When paginating, all other parameters provided to
+ * `ListRecurringAudienceLists` must match the call that provided the page
+ * token.
+ *
+ *
+ * string page_token = 3 [(.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_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. A page token, received from a previous
+ * `ListRecurringAudienceLists` call. Provide this to retrieve the subsequent
+ * page.
+ *
+ * When paginating, all other parameters provided to
+ * `ListRecurringAudienceLists` must match the call that provided the page
+ * token.
+ *
+ *
+ * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearPageToken() {
+ pageToken_ = getDefaultInstance().getPageToken();
+ bitField0_ = (bitField0_ & ~0x00000004);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. A page token, received from a previous
+ * `ListRecurringAudienceLists` call. Provide this to retrieve the subsequent
+ * page.
+ *
+ * When paginating, all other parameters provided to
+ * `ListRecurringAudienceLists` must match the call that provided the page
+ * token.
+ *
+ *
+ * string page_token = 3 [(.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_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.ListRecurringAudienceListsRequest)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.ListRecurringAudienceListsRequest)
+ private static final com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest();
+ }
+
+ public static com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public ListRecurringAudienceListsRequest 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.analytics.data.v1alpha.ListRecurringAudienceListsRequest
+ getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/ListRecurringAudienceListsRequestOrBuilder.java b/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/ListRecurringAudienceListsRequestOrBuilder.java
new file mode 100644
index 000000000000..397a0b66fb71
--- /dev/null
+++ b/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/ListRecurringAudienceListsRequestOrBuilder.java
@@ -0,0 +1,109 @@
+/*
+ * Copyright 2023 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!
+// source: google/analytics/data/v1alpha/analytics_data_api.proto
+
+package com.google.analytics.data.v1alpha;
+
+public interface ListRecurringAudienceListsRequestOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.ListRecurringAudienceListsRequest)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Required. All recurring audience lists for this property will be listed in
+ * the response. Format: `properties/{property}`
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The parent.
+ */
+ java.lang.String getParent();
+ /**
+ *
+ *
+ *
+ * Required. All recurring audience lists for this property will be listed in
+ * the response. Format: `properties/{property}`
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for parent.
+ */
+ com.google.protobuf.ByteString getParentBytes();
+
+ /**
+ *
+ *
+ *
+ * Optional. The maximum number of recurring audience lists to return. The
+ * service may return fewer than this value. If unspecified, at most 200
+ * recurring audience lists will be returned. The maximum value is 1000
+ * (higher values will be coerced to the maximum).
+ *
+ *
+ * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The pageSize.
+ */
+ int getPageSize();
+
+ /**
+ *
+ *
+ *
+ * Optional. A page token, received from a previous
+ * `ListRecurringAudienceLists` call. Provide this to retrieve the subsequent
+ * page.
+ *
+ * When paginating, all other parameters provided to
+ * `ListRecurringAudienceLists` must match the call that provided the page
+ * token.
+ *
+ *
+ * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The pageToken.
+ */
+ java.lang.String getPageToken();
+ /**
+ *
+ *
+ *
+ * Optional. A page token, received from a previous
+ * `ListRecurringAudienceLists` call. Provide this to retrieve the subsequent
+ * page.
+ *
+ * When paginating, all other parameters provided to
+ * `ListRecurringAudienceLists` must match the call that provided the page
+ * token.
+ *
+ *
+ * string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for pageToken.
+ */
+ com.google.protobuf.ByteString getPageTokenBytes();
+}
diff --git a/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/ListRecurringAudienceListsResponse.java b/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/ListRecurringAudienceListsResponse.java
new file mode 100644
index 000000000000..11c9cb9f0978
--- /dev/null
+++ b/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/ListRecurringAudienceListsResponse.java
@@ -0,0 +1,1251 @@
+/*
+ * Copyright 2023 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!
+// source: google/analytics/data/v1alpha/analytics_data_api.proto
+
+package com.google.analytics.data.v1alpha;
+
+/**
+ *
+ *
+ *
+ * A list of all recurring audience lists for a property.
+ *
+ *
+ * Protobuf type {@code google.analytics.data.v1alpha.ListRecurringAudienceListsResponse}
+ */
+public final class ListRecurringAudienceListsResponse extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.ListRecurringAudienceListsResponse)
+ ListRecurringAudienceListsResponseOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use ListRecurringAudienceListsResponse.newBuilder() to construct.
+ private ListRecurringAudienceListsResponse(
+ com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private ListRecurringAudienceListsResponse() {
+ recurringAudienceLists_ = java.util.Collections.emptyList();
+ nextPageToken_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListRecurringAudienceListsResponse();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.analytics.data.v1alpha.AnalyticsDataApiProto
+ .internal_static_google_analytics_data_v1alpha_ListRecurringAudienceListsResponse_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.analytics.data.v1alpha.AnalyticsDataApiProto
+ .internal_static_google_analytics_data_v1alpha_ListRecurringAudienceListsResponse_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse.class,
+ com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int RECURRING_AUDIENCE_LISTS_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private java.util.List
+ recurringAudienceLists_;
+ /**
+ *
+ *
+ *
+ * Each recurring audience list for a property.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_lists = 1;
+ *
+ */
+ @java.lang.Override
+ public java.util.List
+ getRecurringAudienceListsList() {
+ return recurringAudienceLists_;
+ }
+ /**
+ *
+ *
+ *
+ * Each recurring audience list for a property.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_lists = 1;
+ *
+ */
+ @java.lang.Override
+ public java.util.List extends com.google.analytics.data.v1alpha.RecurringAudienceListOrBuilder>
+ getRecurringAudienceListsOrBuilderList() {
+ return recurringAudienceLists_;
+ }
+ /**
+ *
+ *
+ *
+ * Each recurring audience list for a property.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_lists = 1;
+ *
+ */
+ @java.lang.Override
+ public int getRecurringAudienceListsCount() {
+ return recurringAudienceLists_.size();
+ }
+ /**
+ *
+ *
+ *
+ * Each recurring audience list for a property.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_lists = 1;
+ *
+ */
+ @java.lang.Override
+ public com.google.analytics.data.v1alpha.RecurringAudienceList getRecurringAudienceLists(
+ int index) {
+ return recurringAudienceLists_.get(index);
+ }
+ /**
+ *
+ *
+ *
+ * Each recurring audience list for a property.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_lists = 1;
+ *
+ */
+ @java.lang.Override
+ public com.google.analytics.data.v1alpha.RecurringAudienceListOrBuilder
+ getRecurringAudienceListsOrBuilder(int index) {
+ return recurringAudienceLists_.get(index);
+ }
+
+ public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object nextPageToken_ = "";
+ /**
+ *
+ *
+ *
+ * A token, which can be sent as `page_token` to retrieve the next page.
+ * If this field is omitted, there are no subsequent pages.
+ *
+ *
+ * optional string next_page_token = 2;
+ *
+ * @return Whether the nextPageToken field is set.
+ */
+ @java.lang.Override
+ public boolean hasNextPageToken() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * A token, which can be sent as `page_token` to retrieve the next page.
+ * If this field is omitted, there are no subsequent pages.
+ *
+ *
+ * optional 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, which can be sent as `page_token` to retrieve the next page.
+ * If this field is omitted, there are no subsequent pages.
+ *
+ *
+ * optional 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 < recurringAudienceLists_.size(); i++) {
+ output.writeMessage(1, recurringAudienceLists_.get(i));
+ }
+ if (((bitField0_ & 0x00000001) != 0)) {
+ com.google.protobuf.GeneratedMessageV3.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 < recurringAudienceLists_.size(); i++) {
+ size +=
+ com.google.protobuf.CodedOutputStream.computeMessageSize(
+ 1, recurringAudienceLists_.get(i));
+ }
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.GeneratedMessageV3.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.analytics.data.v1alpha.ListRecurringAudienceListsResponse)) {
+ return super.equals(obj);
+ }
+ com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse other =
+ (com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse) obj;
+
+ if (!getRecurringAudienceListsList().equals(other.getRecurringAudienceListsList()))
+ return false;
+ if (hasNextPageToken() != other.hasNextPageToken()) return false;
+ if (hasNextPageToken()) {
+ 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 (getRecurringAudienceListsCount() > 0) {
+ hash = (37 * hash) + RECURRING_AUDIENCE_LISTS_FIELD_NUMBER;
+ hash = (53 * hash) + getRecurringAudienceListsList().hashCode();
+ }
+ if (hasNextPageToken()) {
+ 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.analytics.data.v1alpha.ListRecurringAudienceListsResponse parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse 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.analytics.data.v1alpha.ListRecurringAudienceListsResponse parseFrom(
+ byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse
+ parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse
+ parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.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.analytics.data.v1alpha.ListRecurringAudienceListsResponse 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.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ *
+ * A list of all recurring audience lists for a property.
+ *
+ *
+ * Protobuf type {@code google.analytics.data.v1alpha.ListRecurringAudienceListsResponse}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.ListRecurringAudienceListsResponse)
+ com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponseOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.analytics.data.v1alpha.AnalyticsDataApiProto
+ .internal_static_google_analytics_data_v1alpha_ListRecurringAudienceListsResponse_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.analytics.data.v1alpha.AnalyticsDataApiProto
+ .internal_static_google_analytics_data_v1alpha_ListRecurringAudienceListsResponse_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse.class,
+ com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse.Builder.class);
+ }
+
+ // Construct using
+ // com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse.newBuilder()
+ private Builder() {}
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ if (recurringAudienceListsBuilder_ == null) {
+ recurringAudienceLists_ = java.util.Collections.emptyList();
+ } else {
+ recurringAudienceLists_ = null;
+ recurringAudienceListsBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000001);
+ nextPageToken_ = "";
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.analytics.data.v1alpha.AnalyticsDataApiProto
+ .internal_static_google_analytics_data_v1alpha_ListRecurringAudienceListsResponse_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse
+ getDefaultInstanceForType() {
+ return com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse
+ .getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse build() {
+ com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse buildPartial() {
+ com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse result =
+ new com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse(this);
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(
+ com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse result) {
+ if (recurringAudienceListsBuilder_ == null) {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ recurringAudienceLists_ = java.util.Collections.unmodifiableList(recurringAudienceLists_);
+ bitField0_ = (bitField0_ & ~0x00000001);
+ }
+ result.recurringAudienceLists_ = recurringAudienceLists_;
+ } else {
+ result.recurringAudienceLists_ = recurringAudienceListsBuilder_.build();
+ }
+ }
+
+ private void buildPartial0(
+ com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse result) {
+ int from_bitField0_ = bitField0_;
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.nextPageToken_ = nextPageToken_;
+ to_bitField0_ |= 0x00000001;
+ }
+ result.bitField0_ |= to_bitField0_;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse) {
+ return mergeFrom(
+ (com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(
+ com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse other) {
+ if (other
+ == com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse
+ .getDefaultInstance()) return this;
+ if (recurringAudienceListsBuilder_ == null) {
+ if (!other.recurringAudienceLists_.isEmpty()) {
+ if (recurringAudienceLists_.isEmpty()) {
+ recurringAudienceLists_ = other.recurringAudienceLists_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ } else {
+ ensureRecurringAudienceListsIsMutable();
+ recurringAudienceLists_.addAll(other.recurringAudienceLists_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.recurringAudienceLists_.isEmpty()) {
+ if (recurringAudienceListsBuilder_.isEmpty()) {
+ recurringAudienceListsBuilder_.dispose();
+ recurringAudienceListsBuilder_ = null;
+ recurringAudienceLists_ = other.recurringAudienceLists_;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ recurringAudienceListsBuilder_ =
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+ ? getRecurringAudienceListsFieldBuilder()
+ : null;
+ } else {
+ recurringAudienceListsBuilder_.addAllMessages(other.recurringAudienceLists_);
+ }
+ }
+ }
+ if (other.hasNextPageToken()) {
+ nextPageToken_ = other.nextPageToken_;
+ bitField0_ |= 0x00000002;
+ 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:
+ {
+ com.google.analytics.data.v1alpha.RecurringAudienceList m =
+ input.readMessage(
+ com.google.analytics.data.v1alpha.RecurringAudienceList.parser(),
+ extensionRegistry);
+ if (recurringAudienceListsBuilder_ == null) {
+ ensureRecurringAudienceListsIsMutable();
+ recurringAudienceLists_.add(m);
+ } else {
+ recurringAudienceListsBuilder_.addMessage(m);
+ }
+ break;
+ } // case 10
+ case 18:
+ {
+ nextPageToken_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000002;
+ 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 java.util.List
+ recurringAudienceLists_ = java.util.Collections.emptyList();
+
+ private void ensureRecurringAudienceListsIsMutable() {
+ if (!((bitField0_ & 0x00000001) != 0)) {
+ recurringAudienceLists_ =
+ new java.util.ArrayList(
+ recurringAudienceLists_);
+ bitField0_ |= 0x00000001;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.analytics.data.v1alpha.RecurringAudienceList,
+ com.google.analytics.data.v1alpha.RecurringAudienceList.Builder,
+ com.google.analytics.data.v1alpha.RecurringAudienceListOrBuilder>
+ recurringAudienceListsBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Each recurring audience list for a property.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_lists = 1;
+ *
+ */
+ public java.util.List
+ getRecurringAudienceListsList() {
+ if (recurringAudienceListsBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(recurringAudienceLists_);
+ } else {
+ return recurringAudienceListsBuilder_.getMessageList();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Each recurring audience list for a property.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_lists = 1;
+ *
+ */
+ public int getRecurringAudienceListsCount() {
+ if (recurringAudienceListsBuilder_ == null) {
+ return recurringAudienceLists_.size();
+ } else {
+ return recurringAudienceListsBuilder_.getCount();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Each recurring audience list for a property.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_lists = 1;
+ *
+ */
+ public com.google.analytics.data.v1alpha.RecurringAudienceList getRecurringAudienceLists(
+ int index) {
+ if (recurringAudienceListsBuilder_ == null) {
+ return recurringAudienceLists_.get(index);
+ } else {
+ return recurringAudienceListsBuilder_.getMessage(index);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Each recurring audience list for a property.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_lists = 1;
+ *
+ */
+ public Builder setRecurringAudienceLists(
+ int index, com.google.analytics.data.v1alpha.RecurringAudienceList value) {
+ if (recurringAudienceListsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureRecurringAudienceListsIsMutable();
+ recurringAudienceLists_.set(index, value);
+ onChanged();
+ } else {
+ recurringAudienceListsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Each recurring audience list for a property.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_lists = 1;
+ *
+ */
+ public Builder setRecurringAudienceLists(
+ int index,
+ com.google.analytics.data.v1alpha.RecurringAudienceList.Builder builderForValue) {
+ if (recurringAudienceListsBuilder_ == null) {
+ ensureRecurringAudienceListsIsMutable();
+ recurringAudienceLists_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ recurringAudienceListsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Each recurring audience list for a property.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_lists = 1;
+ *
+ */
+ public Builder addRecurringAudienceLists(
+ com.google.analytics.data.v1alpha.RecurringAudienceList value) {
+ if (recurringAudienceListsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureRecurringAudienceListsIsMutable();
+ recurringAudienceLists_.add(value);
+ onChanged();
+ } else {
+ recurringAudienceListsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Each recurring audience list for a property.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_lists = 1;
+ *
+ */
+ public Builder addRecurringAudienceLists(
+ int index, com.google.analytics.data.v1alpha.RecurringAudienceList value) {
+ if (recurringAudienceListsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureRecurringAudienceListsIsMutable();
+ recurringAudienceLists_.add(index, value);
+ onChanged();
+ } else {
+ recurringAudienceListsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Each recurring audience list for a property.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_lists = 1;
+ *
+ */
+ public Builder addRecurringAudienceLists(
+ com.google.analytics.data.v1alpha.RecurringAudienceList.Builder builderForValue) {
+ if (recurringAudienceListsBuilder_ == null) {
+ ensureRecurringAudienceListsIsMutable();
+ recurringAudienceLists_.add(builderForValue.build());
+ onChanged();
+ } else {
+ recurringAudienceListsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Each recurring audience list for a property.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_lists = 1;
+ *
+ */
+ public Builder addRecurringAudienceLists(
+ int index,
+ com.google.analytics.data.v1alpha.RecurringAudienceList.Builder builderForValue) {
+ if (recurringAudienceListsBuilder_ == null) {
+ ensureRecurringAudienceListsIsMutable();
+ recurringAudienceLists_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ recurringAudienceListsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Each recurring audience list for a property.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_lists = 1;
+ *
+ */
+ public Builder addAllRecurringAudienceLists(
+ java.lang.Iterable extends com.google.analytics.data.v1alpha.RecurringAudienceList>
+ values) {
+ if (recurringAudienceListsBuilder_ == null) {
+ ensureRecurringAudienceListsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, recurringAudienceLists_);
+ onChanged();
+ } else {
+ recurringAudienceListsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Each recurring audience list for a property.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_lists = 1;
+ *
+ */
+ public Builder clearRecurringAudienceLists() {
+ if (recurringAudienceListsBuilder_ == null) {
+ recurringAudienceLists_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ } else {
+ recurringAudienceListsBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Each recurring audience list for a property.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_lists = 1;
+ *
+ */
+ public Builder removeRecurringAudienceLists(int index) {
+ if (recurringAudienceListsBuilder_ == null) {
+ ensureRecurringAudienceListsIsMutable();
+ recurringAudienceLists_.remove(index);
+ onChanged();
+ } else {
+ recurringAudienceListsBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Each recurring audience list for a property.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_lists = 1;
+ *
+ */
+ public com.google.analytics.data.v1alpha.RecurringAudienceList.Builder
+ getRecurringAudienceListsBuilder(int index) {
+ return getRecurringAudienceListsFieldBuilder().getBuilder(index);
+ }
+ /**
+ *
+ *
+ *
+ * Each recurring audience list for a property.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_lists = 1;
+ *
+ */
+ public com.google.analytics.data.v1alpha.RecurringAudienceListOrBuilder
+ getRecurringAudienceListsOrBuilder(int index) {
+ if (recurringAudienceListsBuilder_ == null) {
+ return recurringAudienceLists_.get(index);
+ } else {
+ return recurringAudienceListsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Each recurring audience list for a property.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_lists = 1;
+ *
+ */
+ public java.util.List<
+ ? extends com.google.analytics.data.v1alpha.RecurringAudienceListOrBuilder>
+ getRecurringAudienceListsOrBuilderList() {
+ if (recurringAudienceListsBuilder_ != null) {
+ return recurringAudienceListsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(recurringAudienceLists_);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Each recurring audience list for a property.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_lists = 1;
+ *
+ */
+ public com.google.analytics.data.v1alpha.RecurringAudienceList.Builder
+ addRecurringAudienceListsBuilder() {
+ return getRecurringAudienceListsFieldBuilder()
+ .addBuilder(com.google.analytics.data.v1alpha.RecurringAudienceList.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ *
+ * Each recurring audience list for a property.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_lists = 1;
+ *
+ */
+ public com.google.analytics.data.v1alpha.RecurringAudienceList.Builder
+ addRecurringAudienceListsBuilder(int index) {
+ return getRecurringAudienceListsFieldBuilder()
+ .addBuilder(
+ index, com.google.analytics.data.v1alpha.RecurringAudienceList.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ *
+ * Each recurring audience list for a property.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_lists = 1;
+ *
+ */
+ public java.util.List
+ getRecurringAudienceListsBuilderList() {
+ return getRecurringAudienceListsFieldBuilder().getBuilderList();
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.analytics.data.v1alpha.RecurringAudienceList,
+ com.google.analytics.data.v1alpha.RecurringAudienceList.Builder,
+ com.google.analytics.data.v1alpha.RecurringAudienceListOrBuilder>
+ getRecurringAudienceListsFieldBuilder() {
+ if (recurringAudienceListsBuilder_ == null) {
+ recurringAudienceListsBuilder_ =
+ new com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.analytics.data.v1alpha.RecurringAudienceList,
+ com.google.analytics.data.v1alpha.RecurringAudienceList.Builder,
+ com.google.analytics.data.v1alpha.RecurringAudienceListOrBuilder>(
+ recurringAudienceLists_,
+ ((bitField0_ & 0x00000001) != 0),
+ getParentForChildren(),
+ isClean());
+ recurringAudienceLists_ = null;
+ }
+ return recurringAudienceListsBuilder_;
+ }
+
+ private java.lang.Object nextPageToken_ = "";
+ /**
+ *
+ *
+ *
+ * A token, which can be sent as `page_token` to retrieve the next page.
+ * If this field is omitted, there are no subsequent pages.
+ *
+ *
+ * optional string next_page_token = 2;
+ *
+ * @return Whether the nextPageToken field is set.
+ */
+ public boolean hasNextPageToken() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * A token, which can be sent as `page_token` to retrieve the next page.
+ * If this field is omitted, there are no subsequent pages.
+ *
+ *
+ * optional 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, which can be sent as `page_token` to retrieve the next page.
+ * If this field is omitted, there are no subsequent pages.
+ *
+ *
+ * optional 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, which can be sent as `page_token` to retrieve the next page.
+ * If this field is omitted, there are no subsequent pages.
+ *
+ *
+ * optional 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, which can be sent as `page_token` to retrieve the next page.
+ * If this field is omitted, there are no subsequent pages.
+ *
+ *
+ * optional string next_page_token = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearNextPageToken() {
+ nextPageToken_ = getDefaultInstance().getNextPageToken();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * A token, which can be sent as `page_token` to retrieve the next page.
+ * If this field is omitted, there are no subsequent pages.
+ *
+ *
+ * optional 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;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.ListRecurringAudienceListsResponse)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.ListRecurringAudienceListsResponse)
+ private static final com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse
+ DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse();
+ }
+
+ public static com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse
+ getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public ListRecurringAudienceListsResponse 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.analytics.data.v1alpha.ListRecurringAudienceListsResponse
+ getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/ListRecurringAudienceListsResponseOrBuilder.java b/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/ListRecurringAudienceListsResponseOrBuilder.java
new file mode 100644
index 000000000000..2440b155675f
--- /dev/null
+++ b/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/ListRecurringAudienceListsResponseOrBuilder.java
@@ -0,0 +1,129 @@
+/*
+ * Copyright 2023 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!
+// source: google/analytics/data/v1alpha/analytics_data_api.proto
+
+package com.google.analytics.data.v1alpha;
+
+public interface ListRecurringAudienceListsResponseOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.ListRecurringAudienceListsResponse)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Each recurring audience list for a property.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_lists = 1;
+ *
+ */
+ java.util.List
+ getRecurringAudienceListsList();
+ /**
+ *
+ *
+ *
+ * Each recurring audience list for a property.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_lists = 1;
+ *
+ */
+ com.google.analytics.data.v1alpha.RecurringAudienceList getRecurringAudienceLists(int index);
+ /**
+ *
+ *
+ *
+ * Each recurring audience list for a property.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_lists = 1;
+ *
+ */
+ int getRecurringAudienceListsCount();
+ /**
+ *
+ *
+ *
+ * Each recurring audience list for a property.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_lists = 1;
+ *
+ */
+ java.util.List extends com.google.analytics.data.v1alpha.RecurringAudienceListOrBuilder>
+ getRecurringAudienceListsOrBuilderList();
+ /**
+ *
+ *
+ *
+ * Each recurring audience list for a property.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.RecurringAudienceList recurring_audience_lists = 1;
+ *
+ */
+ com.google.analytics.data.v1alpha.RecurringAudienceListOrBuilder
+ getRecurringAudienceListsOrBuilder(int index);
+
+ /**
+ *
+ *
+ *
+ * A token, which can be sent as `page_token` to retrieve the next page.
+ * If this field is omitted, there are no subsequent pages.
+ *
+ *
+ * optional string next_page_token = 2;
+ *
+ * @return Whether the nextPageToken field is set.
+ */
+ boolean hasNextPageToken();
+ /**
+ *
+ *
+ *
+ * A token, which can be sent as `page_token` to retrieve the next page.
+ * If this field is omitted, there are no subsequent pages.
+ *
+ *
+ * optional string next_page_token = 2;
+ *
+ * @return The nextPageToken.
+ */
+ java.lang.String getNextPageToken();
+ /**
+ *
+ *
+ *
+ * A token, which can be sent as `page_token` to retrieve the next page.
+ * If this field is omitted, there are no subsequent pages.
+ *
+ *
+ * optional string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
+ */
+ com.google.protobuf.ByteString getNextPageTokenBytes();
+}
diff --git a/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RecurringAudienceList.java b/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RecurringAudienceList.java
new file mode 100644
index 000000000000..3aa1c49f4213
--- /dev/null
+++ b/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RecurringAudienceList.java
@@ -0,0 +1,2173 @@
+/*
+ * Copyright 2023 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!
+// source: google/analytics/data/v1alpha/analytics_data_api.proto
+
+package com.google.analytics.data.v1alpha;
+
+/**
+ *
+ *
+ *
+ * A recurring audience list produces new audience lists each day. Audience
+ * lists are users in an audience at the time of the list's creation. A
+ * recurring audience list ensures that you have audience list based on the most
+ * recent data available for use each day.
+ *
+ *
+ * Protobuf type {@code google.analytics.data.v1alpha.RecurringAudienceList}
+ */
+public final class RecurringAudienceList extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.analytics.data.v1alpha.RecurringAudienceList)
+ RecurringAudienceListOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use RecurringAudienceList.newBuilder() to construct.
+ private RecurringAudienceList(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private RecurringAudienceList() {
+ name_ = "";
+ audience_ = "";
+ audienceDisplayName_ = "";
+ dimensions_ = java.util.Collections.emptyList();
+ audienceLists_ = com.google.protobuf.LazyStringArrayList.emptyList();
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new RecurringAudienceList();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.analytics.data.v1alpha.AnalyticsDataApiProto
+ .internal_static_google_analytics_data_v1alpha_RecurringAudienceList_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.analytics.data.v1alpha.AnalyticsDataApiProto
+ .internal_static_google_analytics_data_v1alpha_RecurringAudienceList_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.analytics.data.v1alpha.RecurringAudienceList.class,
+ com.google.analytics.data.v1alpha.RecurringAudienceList.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int NAME_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object name_ = "";
+ /**
+ *
+ *
+ *
+ * Output only. Identifier. The recurring audience list resource name assigned
+ * during creation. This resource name identifies this
+ * `RecurringAudienceList`.
+ *
+ * Format:
+ * `properties/{property}/recurringAudienceLists/{recurring_audience_list}`
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The name.
+ */
+ @java.lang.Override
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ 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();
+ name_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Identifier. The recurring audience list resource name assigned
+ * during creation. This resource name identifies this
+ * `RecurringAudienceList`.
+ *
+ * Format:
+ * `properties/{property}/recurringAudienceLists/{recurring_audience_list}`
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The bytes for name.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int AUDIENCE_FIELD_NUMBER = 2;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object audience_ = "";
+ /**
+ *
+ *
+ *
+ * Required. The audience resource name. This resource name identifies the
+ * audience being listed and is shared between the Analytics Data & Admin
+ * APIs.
+ *
+ * Format: `properties/{property}/audiences/{audience}`
+ *
+ *
+ * string audience = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The audience.
+ */
+ @java.lang.Override
+ public java.lang.String getAudience() {
+ java.lang.Object ref = audience_;
+ 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();
+ audience_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The audience resource name. This resource name identifies the
+ * audience being listed and is shared between the Analytics Data & Admin
+ * APIs.
+ *
+ * Format: `properties/{property}/audiences/{audience}`
+ *
+ *
+ * string audience = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for audience.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getAudienceBytes() {
+ java.lang.Object ref = audience_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ audience_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int AUDIENCE_DISPLAY_NAME_FIELD_NUMBER = 3;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object audienceDisplayName_ = "";
+ /**
+ *
+ *
+ *
+ * Output only. The descriptive display name for this audience. For example,
+ * "Purchasers".
+ *
+ *
+ * string audience_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The audienceDisplayName.
+ */
+ @java.lang.Override
+ public java.lang.String getAudienceDisplayName() {
+ java.lang.Object ref = audienceDisplayName_;
+ 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();
+ audienceDisplayName_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The descriptive display name for this audience. For example,
+ * "Purchasers".
+ *
+ *
+ * string audience_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for audienceDisplayName.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getAudienceDisplayNameBytes() {
+ java.lang.Object ref = audienceDisplayName_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ audienceDisplayName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int DIMENSIONS_FIELD_NUMBER = 4;
+
+ @SuppressWarnings("serial")
+ private java.util.List dimensions_;
+ /**
+ *
+ *
+ *
+ * Required. The dimensions requested and displayed in the audience list
+ * response.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public java.util.List getDimensionsList() {
+ return dimensions_;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The dimensions requested and displayed in the audience list
+ * response.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public java.util.List extends com.google.analytics.data.v1alpha.AudienceDimensionOrBuilder>
+ getDimensionsOrBuilderList() {
+ return dimensions_;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The dimensions requested and displayed in the audience list
+ * response.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public int getDimensionsCount() {
+ return dimensions_.size();
+ }
+ /**
+ *
+ *
+ *
+ * Required. The dimensions requested and displayed in the audience list
+ * response.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.analytics.data.v1alpha.AudienceDimension getDimensions(int index) {
+ return dimensions_.get(index);
+ }
+ /**
+ *
+ *
+ *
+ * Required. The dimensions requested and displayed in the audience list
+ * response.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.analytics.data.v1alpha.AudienceDimensionOrBuilder getDimensionsOrBuilder(
+ int index) {
+ return dimensions_.get(index);
+ }
+
+ public static final int ACTIVE_DAYS_REMAINING_FIELD_NUMBER = 5;
+ private int activeDaysRemaining_ = 0;
+ /**
+ *
+ *
+ *
+ * Optional. The number of remaining days that a recurring audience export
+ * will produce an audience list instance. This counter decreases by one each
+ * day, and when it reaches zero, no new audience lists will be created.
+ *
+ * Recurring audience list request for Analytics 360 properties default to 180
+ * days and have a maximum of 365 days. Requests for standard Analytics
+ * properties default to 14 days and have a maximum of 30 days.
+ *
+ * The minimum value allowed during creation is 1. Requests above their
+ * respective maximum will be coerced to their maximum.
+ *
+ *
+ * optional int32 active_days_remaining = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the activeDaysRemaining field is set.
+ */
+ @java.lang.Override
+ public boolean hasActiveDaysRemaining() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The number of remaining days that a recurring audience export
+ * will produce an audience list instance. This counter decreases by one each
+ * day, and when it reaches zero, no new audience lists will be created.
+ *
+ * Recurring audience list request for Analytics 360 properties default to 180
+ * days and have a maximum of 365 days. Requests for standard Analytics
+ * properties default to 14 days and have a maximum of 30 days.
+ *
+ * The minimum value allowed during creation is 1. Requests above their
+ * respective maximum will be coerced to their maximum.
+ *
+ *
+ * optional int32 active_days_remaining = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The activeDaysRemaining.
+ */
+ @java.lang.Override
+ public int getActiveDaysRemaining() {
+ return activeDaysRemaining_;
+ }
+
+ public static final int AUDIENCE_LISTS_FIELD_NUMBER = 6;
+
+ @SuppressWarnings("serial")
+ private com.google.protobuf.LazyStringArrayList audienceLists_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
+ /**
+ *
+ *
+ *
+ * Output only. Audience list resource names for audience list instances
+ * created for this recurring audience list. One audience list is created for
+ * each day, and the audience list will be listed here.
+ *
+ * This list is ordered with the most recently created audience list first.
+ *
+ *
+ * repeated string audience_lists = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return A list containing the audienceLists.
+ */
+ public com.google.protobuf.ProtocolStringList getAudienceListsList() {
+ return audienceLists_;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Audience list resource names for audience list instances
+ * created for this recurring audience list. One audience list is created for
+ * each day, and the audience list will be listed here.
+ *
+ * This list is ordered with the most recently created audience list first.
+ *
+ *
+ * repeated string audience_lists = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The count of audienceLists.
+ */
+ public int getAudienceListsCount() {
+ return audienceLists_.size();
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Audience list resource names for audience list instances
+ * created for this recurring audience list. One audience list is created for
+ * each day, and the audience list will be listed here.
+ *
+ * This list is ordered with the most recently created audience list first.
+ *
+ *
+ * repeated string audience_lists = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param index The index of the element to return.
+ * @return The audienceLists at the given index.
+ */
+ public java.lang.String getAudienceLists(int index) {
+ return audienceLists_.get(index);
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Audience list resource names for audience list instances
+ * created for this recurring audience list. One audience list is created for
+ * each day, and the audience list will be listed here.
+ *
+ * This list is ordered with the most recently created audience list first.
+ *
+ *
+ * repeated string audience_lists = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the audienceLists at the given index.
+ */
+ public com.google.protobuf.ByteString getAudienceListsBytes(int index) {
+ return audienceLists_.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 {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(audience_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, audience_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(audienceDisplayName_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, audienceDisplayName_);
+ }
+ for (int i = 0; i < dimensions_.size(); i++) {
+ output.writeMessage(4, dimensions_.get(i));
+ }
+ if (((bitField0_ & 0x00000001) != 0)) {
+ output.writeInt32(5, activeDaysRemaining_);
+ }
+ for (int i = 0; i < audienceLists_.size(); i++) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 6, audienceLists_.getRaw(i));
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(audience_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, audience_);
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(audienceDisplayName_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, audienceDisplayName_);
+ }
+ for (int i = 0; i < dimensions_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, dimensions_.get(i));
+ }
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, activeDaysRemaining_);
+ }
+ {
+ int dataSize = 0;
+ for (int i = 0; i < audienceLists_.size(); i++) {
+ dataSize += computeStringSizeNoTag(audienceLists_.getRaw(i));
+ }
+ size += dataSize;
+ size += 1 * getAudienceListsList().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.analytics.data.v1alpha.RecurringAudienceList)) {
+ return super.equals(obj);
+ }
+ com.google.analytics.data.v1alpha.RecurringAudienceList other =
+ (com.google.analytics.data.v1alpha.RecurringAudienceList) obj;
+
+ if (!getName().equals(other.getName())) return false;
+ if (!getAudience().equals(other.getAudience())) return false;
+ if (!getAudienceDisplayName().equals(other.getAudienceDisplayName())) return false;
+ if (!getDimensionsList().equals(other.getDimensionsList())) return false;
+ if (hasActiveDaysRemaining() != other.hasActiveDaysRemaining()) return false;
+ if (hasActiveDaysRemaining()) {
+ if (getActiveDaysRemaining() != other.getActiveDaysRemaining()) return false;
+ }
+ if (!getAudienceListsList().equals(other.getAudienceListsList())) 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) + NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getName().hashCode();
+ hash = (37 * hash) + AUDIENCE_FIELD_NUMBER;
+ hash = (53 * hash) + getAudience().hashCode();
+ hash = (37 * hash) + AUDIENCE_DISPLAY_NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getAudienceDisplayName().hashCode();
+ if (getDimensionsCount() > 0) {
+ hash = (37 * hash) + DIMENSIONS_FIELD_NUMBER;
+ hash = (53 * hash) + getDimensionsList().hashCode();
+ }
+ if (hasActiveDaysRemaining()) {
+ hash = (37 * hash) + ACTIVE_DAYS_REMAINING_FIELD_NUMBER;
+ hash = (53 * hash) + getActiveDaysRemaining();
+ }
+ if (getAudienceListsCount() > 0) {
+ hash = (37 * hash) + AUDIENCE_LISTS_FIELD_NUMBER;
+ hash = (53 * hash) + getAudienceListsList().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.analytics.data.v1alpha.RecurringAudienceList parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.data.v1alpha.RecurringAudienceList parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.analytics.data.v1alpha.RecurringAudienceList parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.data.v1alpha.RecurringAudienceList 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.analytics.data.v1alpha.RecurringAudienceList parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.analytics.data.v1alpha.RecurringAudienceList parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.analytics.data.v1alpha.RecurringAudienceList parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.data.v1alpha.RecurringAudienceList parseFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.analytics.data.v1alpha.RecurringAudienceList parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.data.v1alpha.RecurringAudienceList parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.analytics.data.v1alpha.RecurringAudienceList parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.analytics.data.v1alpha.RecurringAudienceList parseFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.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.analytics.data.v1alpha.RecurringAudienceList 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.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ *
+ * A recurring audience list produces new audience lists each day. Audience
+ * lists are users in an audience at the time of the list's creation. A
+ * recurring audience list ensures that you have audience list based on the most
+ * recent data available for use each day.
+ *
+ *
+ * Protobuf type {@code google.analytics.data.v1alpha.RecurringAudienceList}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.analytics.data.v1alpha.RecurringAudienceList)
+ com.google.analytics.data.v1alpha.RecurringAudienceListOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.analytics.data.v1alpha.AnalyticsDataApiProto
+ .internal_static_google_analytics_data_v1alpha_RecurringAudienceList_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.analytics.data.v1alpha.AnalyticsDataApiProto
+ .internal_static_google_analytics_data_v1alpha_RecurringAudienceList_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.analytics.data.v1alpha.RecurringAudienceList.class,
+ com.google.analytics.data.v1alpha.RecurringAudienceList.Builder.class);
+ }
+
+ // Construct using com.google.analytics.data.v1alpha.RecurringAudienceList.newBuilder()
+ private Builder() {}
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ name_ = "";
+ audience_ = "";
+ audienceDisplayName_ = "";
+ if (dimensionsBuilder_ == null) {
+ dimensions_ = java.util.Collections.emptyList();
+ } else {
+ dimensions_ = null;
+ dimensionsBuilder_.clear();
+ }
+ bitField0_ = (bitField0_ & ~0x00000008);
+ activeDaysRemaining_ = 0;
+ audienceLists_ = com.google.protobuf.LazyStringArrayList.emptyList();
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.analytics.data.v1alpha.AnalyticsDataApiProto
+ .internal_static_google_analytics_data_v1alpha_RecurringAudienceList_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.analytics.data.v1alpha.RecurringAudienceList getDefaultInstanceForType() {
+ return com.google.analytics.data.v1alpha.RecurringAudienceList.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.analytics.data.v1alpha.RecurringAudienceList build() {
+ com.google.analytics.data.v1alpha.RecurringAudienceList result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.analytics.data.v1alpha.RecurringAudienceList buildPartial() {
+ com.google.analytics.data.v1alpha.RecurringAudienceList result =
+ new com.google.analytics.data.v1alpha.RecurringAudienceList(this);
+ buildPartialRepeatedFields(result);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartialRepeatedFields(
+ com.google.analytics.data.v1alpha.RecurringAudienceList result) {
+ if (dimensionsBuilder_ == null) {
+ if (((bitField0_ & 0x00000008) != 0)) {
+ dimensions_ = java.util.Collections.unmodifiableList(dimensions_);
+ bitField0_ = (bitField0_ & ~0x00000008);
+ }
+ result.dimensions_ = dimensions_;
+ } else {
+ result.dimensions_ = dimensionsBuilder_.build();
+ }
+ }
+
+ private void buildPartial0(com.google.analytics.data.v1alpha.RecurringAudienceList result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.name_ = name_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.audience_ = audience_;
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.audienceDisplayName_ = audienceDisplayName_;
+ }
+ int to_bitField0_ = 0;
+ if (((from_bitField0_ & 0x00000010) != 0)) {
+ result.activeDaysRemaining_ = activeDaysRemaining_;
+ to_bitField0_ |= 0x00000001;
+ }
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ audienceLists_.makeImmutable();
+ result.audienceLists_ = audienceLists_;
+ }
+ result.bitField0_ |= to_bitField0_;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.analytics.data.v1alpha.RecurringAudienceList) {
+ return mergeFrom((com.google.analytics.data.v1alpha.RecurringAudienceList) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.analytics.data.v1alpha.RecurringAudienceList other) {
+ if (other == com.google.analytics.data.v1alpha.RecurringAudienceList.getDefaultInstance())
+ return this;
+ if (!other.getName().isEmpty()) {
+ name_ = other.name_;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
+ if (!other.getAudience().isEmpty()) {
+ audience_ = other.audience_;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ }
+ if (!other.getAudienceDisplayName().isEmpty()) {
+ audienceDisplayName_ = other.audienceDisplayName_;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ }
+ if (dimensionsBuilder_ == null) {
+ if (!other.dimensions_.isEmpty()) {
+ if (dimensions_.isEmpty()) {
+ dimensions_ = other.dimensions_;
+ bitField0_ = (bitField0_ & ~0x00000008);
+ } else {
+ ensureDimensionsIsMutable();
+ dimensions_.addAll(other.dimensions_);
+ }
+ onChanged();
+ }
+ } else {
+ if (!other.dimensions_.isEmpty()) {
+ if (dimensionsBuilder_.isEmpty()) {
+ dimensionsBuilder_.dispose();
+ dimensionsBuilder_ = null;
+ dimensions_ = other.dimensions_;
+ bitField0_ = (bitField0_ & ~0x00000008);
+ dimensionsBuilder_ =
+ com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+ ? getDimensionsFieldBuilder()
+ : null;
+ } else {
+ dimensionsBuilder_.addAllMessages(other.dimensions_);
+ }
+ }
+ }
+ if (other.hasActiveDaysRemaining()) {
+ setActiveDaysRemaining(other.getActiveDaysRemaining());
+ }
+ if (!other.audienceLists_.isEmpty()) {
+ if (audienceLists_.isEmpty()) {
+ audienceLists_ = other.audienceLists_;
+ bitField0_ |= 0x00000020;
+ } else {
+ ensureAudienceListsIsMutable();
+ audienceLists_.addAll(other.audienceLists_);
+ }
+ 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:
+ {
+ name_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ case 18:
+ {
+ audience_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 18
+ case 26:
+ {
+ audienceDisplayName_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000004;
+ break;
+ } // case 26
+ case 34:
+ {
+ com.google.analytics.data.v1alpha.AudienceDimension m =
+ input.readMessage(
+ com.google.analytics.data.v1alpha.AudienceDimension.parser(),
+ extensionRegistry);
+ if (dimensionsBuilder_ == null) {
+ ensureDimensionsIsMutable();
+ dimensions_.add(m);
+ } else {
+ dimensionsBuilder_.addMessage(m);
+ }
+ break;
+ } // case 34
+ case 40:
+ {
+ activeDaysRemaining_ = input.readInt32();
+ bitField0_ |= 0x00000010;
+ break;
+ } // case 40
+ case 50:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+ ensureAudienceListsIsMutable();
+ audienceLists_.add(s);
+ break;
+ } // case 50
+ 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 name_ = "";
+ /**
+ *
+ *
+ *
+ * Output only. Identifier. The recurring audience list resource name assigned
+ * during creation. This resource name identifies this
+ * `RecurringAudienceList`.
+ *
+ * Format:
+ * `properties/{property}/recurringAudienceLists/{recurring_audience_list}`
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The name.
+ */
+ public java.lang.String getName() {
+ java.lang.Object ref = name_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ name_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Identifier. The recurring audience list resource name assigned
+ * during creation. This resource name identifies this
+ * `RecurringAudienceList`.
+ *
+ * Format:
+ * `properties/{property}/recurringAudienceLists/{recurring_audience_list}`
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The bytes for name.
+ */
+ public com.google.protobuf.ByteString getNameBytes() {
+ java.lang.Object ref = name_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ name_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Identifier. The recurring audience list resource name assigned
+ * during creation. This resource name identifies this
+ * `RecurringAudienceList`.
+ *
+ * Format:
+ * `properties/{property}/recurringAudienceLists/{recurring_audience_list}`
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
+ */
+ public Builder setName(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ name_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Identifier. The recurring audience list resource name assigned
+ * during creation. This resource name identifies this
+ * `RecurringAudienceList`.
+ *
+ * Format:
+ * `properties/{property}/recurringAudienceLists/{recurring_audience_list}`
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearName() {
+ name_ = getDefaultInstance().getName();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Identifier. The recurring audience list resource name assigned
+ * during creation. This resource name identifies this
+ * `RecurringAudienceList`.
+ *
+ * Format:
+ * `properties/{property}/recurringAudienceLists/{recurring_audience_list}`
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
+ */
+ public Builder setNameBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ name_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object audience_ = "";
+ /**
+ *
+ *
+ *
+ * Required. The audience resource name. This resource name identifies the
+ * audience being listed and is shared between the Analytics Data & Admin
+ * APIs.
+ *
+ * Format: `properties/{property}/audiences/{audience}`
+ *
+ *
+ * string audience = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The audience.
+ */
+ public java.lang.String getAudience() {
+ java.lang.Object ref = audience_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ audience_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The audience resource name. This resource name identifies the
+ * audience being listed and is shared between the Analytics Data & Admin
+ * APIs.
+ *
+ * Format: `properties/{property}/audiences/{audience}`
+ *
+ *
+ * string audience = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for audience.
+ */
+ public com.google.protobuf.ByteString getAudienceBytes() {
+ java.lang.Object ref = audience_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ audience_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The audience resource name. This resource name identifies the
+ * audience being listed and is shared between the Analytics Data & Admin
+ * APIs.
+ *
+ * Format: `properties/{property}/audiences/{audience}`
+ *
+ *
+ * string audience = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The audience to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAudience(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ audience_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The audience resource name. This resource name identifies the
+ * audience being listed and is shared between the Analytics Data & Admin
+ * APIs.
+ *
+ * Format: `properties/{property}/audiences/{audience}`
+ *
+ *
+ * string audience = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearAudience() {
+ audience_ = getDefaultInstance().getAudience();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The audience resource name. This resource name identifies the
+ * audience being listed and is shared between the Analytics Data & Admin
+ * APIs.
+ *
+ * Format: `properties/{property}/audiences/{audience}`
+ *
+ *
+ * string audience = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for audience to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAudienceBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ audience_ = value;
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object audienceDisplayName_ = "";
+ /**
+ *
+ *
+ *
+ * Output only. The descriptive display name for this audience. For example,
+ * "Purchasers".
+ *
+ *
+ * string audience_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The audienceDisplayName.
+ */
+ public java.lang.String getAudienceDisplayName() {
+ java.lang.Object ref = audienceDisplayName_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ audienceDisplayName_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The descriptive display name for this audience. For example,
+ * "Purchasers".
+ *
+ *
+ * string audience_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for audienceDisplayName.
+ */
+ public com.google.protobuf.ByteString getAudienceDisplayNameBytes() {
+ java.lang.Object ref = audienceDisplayName_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ audienceDisplayName_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The descriptive display name for this audience. For example,
+ * "Purchasers".
+ *
+ *
+ * string audience_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The audienceDisplayName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAudienceDisplayName(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ audienceDisplayName_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The descriptive display name for this audience. For example,
+ * "Purchasers".
+ *
+ *
+ * string audience_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearAudienceDisplayName() {
+ audienceDisplayName_ = getDefaultInstance().getAudienceDisplayName();
+ bitField0_ = (bitField0_ & ~0x00000004);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. The descriptive display name for this audience. For example,
+ * "Purchasers".
+ *
+ *
+ * string audience_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The bytes for audienceDisplayName to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAudienceDisplayNameBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ audienceDisplayName_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+
+ private java.util.List dimensions_ =
+ java.util.Collections.emptyList();
+
+ private void ensureDimensionsIsMutable() {
+ if (!((bitField0_ & 0x00000008) != 0)) {
+ dimensions_ =
+ new java.util.ArrayList(
+ dimensions_);
+ bitField0_ |= 0x00000008;
+ }
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.analytics.data.v1alpha.AudienceDimension,
+ com.google.analytics.data.v1alpha.AudienceDimension.Builder,
+ com.google.analytics.data.v1alpha.AudienceDimensionOrBuilder>
+ dimensionsBuilder_;
+
+ /**
+ *
+ *
+ *
+ * Required. The dimensions requested and displayed in the audience list
+ * response.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public java.util.List getDimensionsList() {
+ if (dimensionsBuilder_ == null) {
+ return java.util.Collections.unmodifiableList(dimensions_);
+ } else {
+ return dimensionsBuilder_.getMessageList();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The dimensions requested and displayed in the audience list
+ * response.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public int getDimensionsCount() {
+ if (dimensionsBuilder_ == null) {
+ return dimensions_.size();
+ } else {
+ return dimensionsBuilder_.getCount();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The dimensions requested and displayed in the audience list
+ * response.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.analytics.data.v1alpha.AudienceDimension getDimensions(int index) {
+ if (dimensionsBuilder_ == null) {
+ return dimensions_.get(index);
+ } else {
+ return dimensionsBuilder_.getMessage(index);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The dimensions requested and displayed in the audience list
+ * response.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setDimensions(
+ int index, com.google.analytics.data.v1alpha.AudienceDimension value) {
+ if (dimensionsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDimensionsIsMutable();
+ dimensions_.set(index, value);
+ onChanged();
+ } else {
+ dimensionsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The dimensions requested and displayed in the audience list
+ * response.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setDimensions(
+ int index, com.google.analytics.data.v1alpha.AudienceDimension.Builder builderForValue) {
+ if (dimensionsBuilder_ == null) {
+ ensureDimensionsIsMutable();
+ dimensions_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ dimensionsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The dimensions requested and displayed in the audience list
+ * response.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addDimensions(com.google.analytics.data.v1alpha.AudienceDimension value) {
+ if (dimensionsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDimensionsIsMutable();
+ dimensions_.add(value);
+ onChanged();
+ } else {
+ dimensionsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The dimensions requested and displayed in the audience list
+ * response.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addDimensions(
+ int index, com.google.analytics.data.v1alpha.AudienceDimension value) {
+ if (dimensionsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureDimensionsIsMutable();
+ dimensions_.add(index, value);
+ onChanged();
+ } else {
+ dimensionsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The dimensions requested and displayed in the audience list
+ * response.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addDimensions(
+ com.google.analytics.data.v1alpha.AudienceDimension.Builder builderForValue) {
+ if (dimensionsBuilder_ == null) {
+ ensureDimensionsIsMutable();
+ dimensions_.add(builderForValue.build());
+ onChanged();
+ } else {
+ dimensionsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The dimensions requested and displayed in the audience list
+ * response.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addDimensions(
+ int index, com.google.analytics.data.v1alpha.AudienceDimension.Builder builderForValue) {
+ if (dimensionsBuilder_ == null) {
+ ensureDimensionsIsMutable();
+ dimensions_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ dimensionsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The dimensions requested and displayed in the audience list
+ * response.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder addAllDimensions(
+ java.lang.Iterable extends com.google.analytics.data.v1alpha.AudienceDimension> values) {
+ if (dimensionsBuilder_ == null) {
+ ensureDimensionsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dimensions_);
+ onChanged();
+ } else {
+ dimensionsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The dimensions requested and displayed in the audience list
+ * response.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder clearDimensions() {
+ if (dimensionsBuilder_ == null) {
+ dimensions_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000008);
+ onChanged();
+ } else {
+ dimensionsBuilder_.clear();
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The dimensions requested and displayed in the audience list
+ * response.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder removeDimensions(int index) {
+ if (dimensionsBuilder_ == null) {
+ ensureDimensionsIsMutable();
+ dimensions_.remove(index);
+ onChanged();
+ } else {
+ dimensionsBuilder_.remove(index);
+ }
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The dimensions requested and displayed in the audience list
+ * response.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.analytics.data.v1alpha.AudienceDimension.Builder getDimensionsBuilder(
+ int index) {
+ return getDimensionsFieldBuilder().getBuilder(index);
+ }
+ /**
+ *
+ *
+ *
+ * Required. The dimensions requested and displayed in the audience list
+ * response.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.analytics.data.v1alpha.AudienceDimensionOrBuilder getDimensionsOrBuilder(
+ int index) {
+ if (dimensionsBuilder_ == null) {
+ return dimensions_.get(index);
+ } else {
+ return dimensionsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The dimensions requested and displayed in the audience list
+ * response.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public java.util.List extends com.google.analytics.data.v1alpha.AudienceDimensionOrBuilder>
+ getDimensionsOrBuilderList() {
+ if (dimensionsBuilder_ != null) {
+ return dimensionsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(dimensions_);
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The dimensions requested and displayed in the audience list
+ * response.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.analytics.data.v1alpha.AudienceDimension.Builder addDimensionsBuilder() {
+ return getDimensionsFieldBuilder()
+ .addBuilder(com.google.analytics.data.v1alpha.AudienceDimension.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ *
+ * Required. The dimensions requested and displayed in the audience list
+ * response.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.analytics.data.v1alpha.AudienceDimension.Builder addDimensionsBuilder(
+ int index) {
+ return getDimensionsFieldBuilder()
+ .addBuilder(
+ index, com.google.analytics.data.v1alpha.AudienceDimension.getDefaultInstance());
+ }
+ /**
+ *
+ *
+ *
+ * Required. The dimensions requested and displayed in the audience list
+ * response.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public java.util.List
+ getDimensionsBuilderList() {
+ return getDimensionsFieldBuilder().getBuilderList();
+ }
+
+ private com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.analytics.data.v1alpha.AudienceDimension,
+ com.google.analytics.data.v1alpha.AudienceDimension.Builder,
+ com.google.analytics.data.v1alpha.AudienceDimensionOrBuilder>
+ getDimensionsFieldBuilder() {
+ if (dimensionsBuilder_ == null) {
+ dimensionsBuilder_ =
+ new com.google.protobuf.RepeatedFieldBuilderV3<
+ com.google.analytics.data.v1alpha.AudienceDimension,
+ com.google.analytics.data.v1alpha.AudienceDimension.Builder,
+ com.google.analytics.data.v1alpha.AudienceDimensionOrBuilder>(
+ dimensions_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean());
+ dimensions_ = null;
+ }
+ return dimensionsBuilder_;
+ }
+
+ private int activeDaysRemaining_;
+ /**
+ *
+ *
+ *
+ * Optional. The number of remaining days that a recurring audience export
+ * will produce an audience list instance. This counter decreases by one each
+ * day, and when it reaches zero, no new audience lists will be created.
+ *
+ * Recurring audience list request for Analytics 360 properties default to 180
+ * days and have a maximum of 365 days. Requests for standard Analytics
+ * properties default to 14 days and have a maximum of 30 days.
+ *
+ * The minimum value allowed during creation is 1. Requests above their
+ * respective maximum will be coerced to their maximum.
+ *
+ *
+ * optional int32 active_days_remaining = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the activeDaysRemaining field is set.
+ */
+ @java.lang.Override
+ public boolean hasActiveDaysRemaining() {
+ return ((bitField0_ & 0x00000010) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The number of remaining days that a recurring audience export
+ * will produce an audience list instance. This counter decreases by one each
+ * day, and when it reaches zero, no new audience lists will be created.
+ *
+ * Recurring audience list request for Analytics 360 properties default to 180
+ * days and have a maximum of 365 days. Requests for standard Analytics
+ * properties default to 14 days and have a maximum of 30 days.
+ *
+ * The minimum value allowed during creation is 1. Requests above their
+ * respective maximum will be coerced to their maximum.
+ *
+ *
+ * optional int32 active_days_remaining = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The activeDaysRemaining.
+ */
+ @java.lang.Override
+ public int getActiveDaysRemaining() {
+ return activeDaysRemaining_;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The number of remaining days that a recurring audience export
+ * will produce an audience list instance. This counter decreases by one each
+ * day, and when it reaches zero, no new audience lists will be created.
+ *
+ * Recurring audience list request for Analytics 360 properties default to 180
+ * days and have a maximum of 365 days. Requests for standard Analytics
+ * properties default to 14 days and have a maximum of 30 days.
+ *
+ * The minimum value allowed during creation is 1. Requests above their
+ * respective maximum will be coerced to their maximum.
+ *
+ *
+ * optional int32 active_days_remaining = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @param value The activeDaysRemaining to set.
+ * @return This builder for chaining.
+ */
+ public Builder setActiveDaysRemaining(int value) {
+
+ activeDaysRemaining_ = value;
+ bitField0_ |= 0x00000010;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Optional. The number of remaining days that a recurring audience export
+ * will produce an audience list instance. This counter decreases by one each
+ * day, and when it reaches zero, no new audience lists will be created.
+ *
+ * Recurring audience list request for Analytics 360 properties default to 180
+ * days and have a maximum of 365 days. Requests for standard Analytics
+ * properties default to 14 days and have a maximum of 30 days.
+ *
+ * The minimum value allowed during creation is 1. Requests above their
+ * respective maximum will be coerced to their maximum.
+ *
+ *
+ * optional int32 active_days_remaining = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearActiveDaysRemaining() {
+ bitField0_ = (bitField0_ & ~0x00000010);
+ activeDaysRemaining_ = 0;
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.LazyStringArrayList audienceLists_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
+
+ private void ensureAudienceListsIsMutable() {
+ if (!audienceLists_.isModifiable()) {
+ audienceLists_ = new com.google.protobuf.LazyStringArrayList(audienceLists_);
+ }
+ bitField0_ |= 0x00000020;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Audience list resource names for audience list instances
+ * created for this recurring audience list. One audience list is created for
+ * each day, and the audience list will be listed here.
+ *
+ * This list is ordered with the most recently created audience list first.
+ *
+ *
+ * repeated string audience_lists = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return A list containing the audienceLists.
+ */
+ public com.google.protobuf.ProtocolStringList getAudienceListsList() {
+ audienceLists_.makeImmutable();
+ return audienceLists_;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Audience list resource names for audience list instances
+ * created for this recurring audience list. One audience list is created for
+ * each day, and the audience list will be listed here.
+ *
+ * This list is ordered with the most recently created audience list first.
+ *
+ *
+ * repeated string audience_lists = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The count of audienceLists.
+ */
+ public int getAudienceListsCount() {
+ return audienceLists_.size();
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Audience list resource names for audience list instances
+ * created for this recurring audience list. One audience list is created for
+ * each day, and the audience list will be listed here.
+ *
+ * This list is ordered with the most recently created audience list first.
+ *
+ *
+ * repeated string audience_lists = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param index The index of the element to return.
+ * @return The audienceLists at the given index.
+ */
+ public java.lang.String getAudienceLists(int index) {
+ return audienceLists_.get(index);
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Audience list resource names for audience list instances
+ * created for this recurring audience list. One audience list is created for
+ * each day, and the audience list will be listed here.
+ *
+ * This list is ordered with the most recently created audience list first.
+ *
+ *
+ * repeated string audience_lists = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the audienceLists at the given index.
+ */
+ public com.google.protobuf.ByteString getAudienceListsBytes(int index) {
+ return audienceLists_.getByteString(index);
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Audience list resource names for audience list instances
+ * created for this recurring audience list. One audience list is created for
+ * each day, and the audience list will be listed here.
+ *
+ * This list is ordered with the most recently created audience list first.
+ *
+ *
+ * repeated string audience_lists = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param index The index to set the value at.
+ * @param value The audienceLists to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAudienceLists(int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureAudienceListsIsMutable();
+ audienceLists_.set(index, value);
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Audience list resource names for audience list instances
+ * created for this recurring audience list. One audience list is created for
+ * each day, and the audience list will be listed here.
+ *
+ * This list is ordered with the most recently created audience list first.
+ *
+ *
+ * repeated string audience_lists = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The audienceLists to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAudienceLists(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureAudienceListsIsMutable();
+ audienceLists_.add(value);
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Audience list resource names for audience list instances
+ * created for this recurring audience list. One audience list is created for
+ * each day, and the audience list will be listed here.
+ *
+ * This list is ordered with the most recently created audience list first.
+ *
+ *
+ * repeated string audience_lists = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param values The audienceLists to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllAudienceLists(java.lang.Iterable values) {
+ ensureAudienceListsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, audienceLists_);
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Audience list resource names for audience list instances
+ * created for this recurring audience list. One audience list is created for
+ * each day, and the audience list will be listed here.
+ *
+ * This list is ordered with the most recently created audience list first.
+ *
+ *
+ * repeated string audience_lists = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearAudienceLists() {
+ audienceLists_ = com.google.protobuf.LazyStringArrayList.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000020);
+ ;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Output only. Audience list resource names for audience list instances
+ * created for this recurring audience list. One audience list is created for
+ * each day, and the audience list will be listed here.
+ *
+ * This list is ordered with the most recently created audience list first.
+ *
+ *
+ * repeated string audience_lists = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param value The bytes of the audienceLists to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAudienceListsBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ ensureAudienceListsIsMutable();
+ audienceLists_.add(value);
+ bitField0_ |= 0x00000020;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.analytics.data.v1alpha.RecurringAudienceList)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.analytics.data.v1alpha.RecurringAudienceList)
+ private static final com.google.analytics.data.v1alpha.RecurringAudienceList DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.analytics.data.v1alpha.RecurringAudienceList();
+ }
+
+ public static com.google.analytics.data.v1alpha.RecurringAudienceList getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public RecurringAudienceList 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.analytics.data.v1alpha.RecurringAudienceList getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RecurringAudienceListName.java b/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RecurringAudienceListName.java
new file mode 100644
index 000000000000..9445c1e6186c
--- /dev/null
+++ b/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RecurringAudienceListName.java
@@ -0,0 +1,202 @@
+/*
+ * Copyright 2023 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.analytics.data.v1alpha;
+
+import com.google.api.pathtemplate.PathTemplate;
+import com.google.api.resourcenames.ResourceName;
+import com.google.common.base.Preconditions;
+import com.google.common.collect.ImmutableMap;
+import java.util.ArrayList;
+import java.util.List;
+import java.util.Map;
+import java.util.Objects;
+import javax.annotation.Generated;
+
+// AUTO-GENERATED DOCUMENTATION AND CLASS.
+@Generated("by gapic-generator-java")
+public class RecurringAudienceListName implements ResourceName {
+ private static final PathTemplate PROPERTY_RECURRING_AUDIENCE_LIST =
+ PathTemplate.createWithoutUrlEncoding(
+ "properties/{property}/recurringAudienceLists/{recurring_audience_list}");
+ private volatile Map fieldValuesMap;
+ private final String property;
+ private final String recurringAudienceList;
+
+ @Deprecated
+ protected RecurringAudienceListName() {
+ property = null;
+ recurringAudienceList = null;
+ }
+
+ private RecurringAudienceListName(Builder builder) {
+ property = Preconditions.checkNotNull(builder.getProperty());
+ recurringAudienceList = Preconditions.checkNotNull(builder.getRecurringAudienceList());
+ }
+
+ public String getProperty() {
+ return property;
+ }
+
+ public String getRecurringAudienceList() {
+ return recurringAudienceList;
+ }
+
+ public static Builder newBuilder() {
+ return new Builder();
+ }
+
+ public Builder toBuilder() {
+ return new Builder(this);
+ }
+
+ public static RecurringAudienceListName of(String property, String recurringAudienceList) {
+ return newBuilder()
+ .setProperty(property)
+ .setRecurringAudienceList(recurringAudienceList)
+ .build();
+ }
+
+ public static String format(String property, String recurringAudienceList) {
+ return newBuilder()
+ .setProperty(property)
+ .setRecurringAudienceList(recurringAudienceList)
+ .build()
+ .toString();
+ }
+
+ public static RecurringAudienceListName parse(String formattedString) {
+ if (formattedString.isEmpty()) {
+ return null;
+ }
+ Map matchMap =
+ PROPERTY_RECURRING_AUDIENCE_LIST.validatedMatch(
+ formattedString,
+ "RecurringAudienceListName.parse: formattedString not in valid format");
+ return of(matchMap.get("property"), matchMap.get("recurring_audience_list"));
+ }
+
+ public static List parseList(List formattedStrings) {
+ List list = new ArrayList<>(formattedStrings.size());
+ for (String formattedString : formattedStrings) {
+ list.add(parse(formattedString));
+ }
+ return list;
+ }
+
+ public static List toStringList(List values) {
+ List list = new ArrayList<>(values.size());
+ for (RecurringAudienceListName value : values) {
+ if (value == null) {
+ list.add("");
+ } else {
+ list.add(value.toString());
+ }
+ }
+ return list;
+ }
+
+ public static boolean isParsableFrom(String formattedString) {
+ return PROPERTY_RECURRING_AUDIENCE_LIST.matches(formattedString);
+ }
+
+ @Override
+ public Map getFieldValuesMap() {
+ if (fieldValuesMap == null) {
+ synchronized (this) {
+ if (fieldValuesMap == null) {
+ ImmutableMap.Builder fieldMapBuilder = ImmutableMap.builder();
+ if (property != null) {
+ fieldMapBuilder.put("property", property);
+ }
+ if (recurringAudienceList != null) {
+ fieldMapBuilder.put("recurring_audience_list", recurringAudienceList);
+ }
+ fieldValuesMap = fieldMapBuilder.build();
+ }
+ }
+ }
+ return fieldValuesMap;
+ }
+
+ public String getFieldValue(String fieldName) {
+ return getFieldValuesMap().get(fieldName);
+ }
+
+ @Override
+ public String toString() {
+ return PROPERTY_RECURRING_AUDIENCE_LIST.instantiate(
+ "property", property, "recurring_audience_list", recurringAudienceList);
+ }
+
+ @Override
+ public boolean equals(Object o) {
+ if (o == this) {
+ return true;
+ }
+ if (o != null && getClass() == o.getClass()) {
+ RecurringAudienceListName that = ((RecurringAudienceListName) o);
+ return Objects.equals(this.property, that.property)
+ && Objects.equals(this.recurringAudienceList, that.recurringAudienceList);
+ }
+ return false;
+ }
+
+ @Override
+ public int hashCode() {
+ int h = 1;
+ h *= 1000003;
+ h ^= Objects.hashCode(property);
+ h *= 1000003;
+ h ^= Objects.hashCode(recurringAudienceList);
+ return h;
+ }
+
+ /** Builder for properties/{property}/recurringAudienceLists/{recurring_audience_list}. */
+ public static class Builder {
+ private String property;
+ private String recurringAudienceList;
+
+ protected Builder() {}
+
+ public String getProperty() {
+ return property;
+ }
+
+ public String getRecurringAudienceList() {
+ return recurringAudienceList;
+ }
+
+ public Builder setProperty(String property) {
+ this.property = property;
+ return this;
+ }
+
+ public Builder setRecurringAudienceList(String recurringAudienceList) {
+ this.recurringAudienceList = recurringAudienceList;
+ return this;
+ }
+
+ private Builder(RecurringAudienceListName recurringAudienceListName) {
+ this.property = recurringAudienceListName.property;
+ this.recurringAudienceList = recurringAudienceListName.recurringAudienceList;
+ }
+
+ public RecurringAudienceListName build() {
+ return new RecurringAudienceListName(this);
+ }
+ }
+}
diff --git a/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RecurringAudienceListOrBuilder.java b/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RecurringAudienceListOrBuilder.java
new file mode 100644
index 000000000000..fe822503c0c9
--- /dev/null
+++ b/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/java/com/google/analytics/data/v1alpha/RecurringAudienceListOrBuilder.java
@@ -0,0 +1,303 @@
+/*
+ * Copyright 2023 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!
+// source: google/analytics/data/v1alpha/analytics_data_api.proto
+
+package com.google.analytics.data.v1alpha;
+
+public interface RecurringAudienceListOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.analytics.data.v1alpha.RecurringAudienceList)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Output only. Identifier. The recurring audience list resource name assigned
+ * during creation. This resource name identifies this
+ * `RecurringAudienceList`.
+ *
+ * Format:
+ * `properties/{property}/recurringAudienceLists/{recurring_audience_list}`
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The name.
+ */
+ java.lang.String getName();
+ /**
+ *
+ *
+ *
+ * Output only. Identifier. The recurring audience list resource name assigned
+ * during creation. This resource name identifies this
+ * `RecurringAudienceList`.
+ *
+ * Format:
+ * `properties/{property}/recurringAudienceLists/{recurring_audience_list}`
+ *
+ *
+ *
+ * string name = 1 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ *
+ * @return The bytes for name.
+ */
+ com.google.protobuf.ByteString getNameBytes();
+
+ /**
+ *
+ *
+ *
+ * Required. The audience resource name. This resource name identifies the
+ * audience being listed and is shared between the Analytics Data & Admin
+ * APIs.
+ *
+ * Format: `properties/{property}/audiences/{audience}`
+ *
+ *
+ * string audience = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The audience.
+ */
+ java.lang.String getAudience();
+ /**
+ *
+ *
+ *
+ * Required. The audience resource name. This resource name identifies the
+ * audience being listed and is shared between the Analytics Data & Admin
+ * APIs.
+ *
+ * Format: `properties/{property}/audiences/{audience}`
+ *
+ *
+ * string audience = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for audience.
+ */
+ com.google.protobuf.ByteString getAudienceBytes();
+
+ /**
+ *
+ *
+ *
+ * Output only. The descriptive display name for this audience. For example,
+ * "Purchasers".
+ *
+ *
+ * string audience_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The audienceDisplayName.
+ */
+ java.lang.String getAudienceDisplayName();
+ /**
+ *
+ *
+ *
+ * Output only. The descriptive display name for this audience. For example,
+ * "Purchasers".
+ *
+ *
+ * string audience_display_name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The bytes for audienceDisplayName.
+ */
+ com.google.protobuf.ByteString getAudienceDisplayNameBytes();
+
+ /**
+ *
+ *
+ *
+ * Required. The dimensions requested and displayed in the audience list
+ * response.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ java.util.List getDimensionsList();
+ /**
+ *
+ *
+ *
+ * Required. The dimensions requested and displayed in the audience list
+ * response.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ com.google.analytics.data.v1alpha.AudienceDimension getDimensions(int index);
+ /**
+ *
+ *
+ *
+ * Required. The dimensions requested and displayed in the audience list
+ * response.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ int getDimensionsCount();
+ /**
+ *
+ *
+ *
+ * Required. The dimensions requested and displayed in the audience list
+ * response.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ java.util.List extends com.google.analytics.data.v1alpha.AudienceDimensionOrBuilder>
+ getDimensionsOrBuilderList();
+ /**
+ *
+ *
+ *
+ * Required. The dimensions requested and displayed in the audience list
+ * response.
+ *
+ *
+ *
+ * repeated .google.analytics.data.v1alpha.AudienceDimension dimensions = 4 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ com.google.analytics.data.v1alpha.AudienceDimensionOrBuilder getDimensionsOrBuilder(int index);
+
+ /**
+ *
+ *
+ *
+ * Optional. The number of remaining days that a recurring audience export
+ * will produce an audience list instance. This counter decreases by one each
+ * day, and when it reaches zero, no new audience lists will be created.
+ *
+ * Recurring audience list request for Analytics 360 properties default to 180
+ * days and have a maximum of 365 days. Requests for standard Analytics
+ * properties default to 14 days and have a maximum of 30 days.
+ *
+ * The minimum value allowed during creation is 1. Requests above their
+ * respective maximum will be coerced to their maximum.
+ *
+ *
+ * optional int32 active_days_remaining = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the activeDaysRemaining field is set.
+ */
+ boolean hasActiveDaysRemaining();
+ /**
+ *
+ *
+ *
+ * Optional. The number of remaining days that a recurring audience export
+ * will produce an audience list instance. This counter decreases by one each
+ * day, and when it reaches zero, no new audience lists will be created.
+ *
+ * Recurring audience list request for Analytics 360 properties default to 180
+ * days and have a maximum of 365 days. Requests for standard Analytics
+ * properties default to 14 days and have a maximum of 30 days.
+ *
+ * The minimum value allowed during creation is 1. Requests above their
+ * respective maximum will be coerced to their maximum.
+ *
+ *
+ * optional int32 active_days_remaining = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The activeDaysRemaining.
+ */
+ int getActiveDaysRemaining();
+
+ /**
+ *
+ *
+ *
+ * Output only. Audience list resource names for audience list instances
+ * created for this recurring audience list. One audience list is created for
+ * each day, and the audience list will be listed here.
+ *
+ * This list is ordered with the most recently created audience list first.
+ *
+ *
+ * repeated string audience_lists = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return A list containing the audienceLists.
+ */
+ java.util.List getAudienceListsList();
+ /**
+ *
+ *
+ *
+ * Output only. Audience list resource names for audience list instances
+ * created for this recurring audience list. One audience list is created for
+ * each day, and the audience list will be listed here.
+ *
+ * This list is ordered with the most recently created audience list first.
+ *
+ *
+ * repeated string audience_lists = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @return The count of audienceLists.
+ */
+ int getAudienceListsCount();
+ /**
+ *
+ *
+ *
+ * Output only. Audience list resource names for audience list instances
+ * created for this recurring audience list. One audience list is created for
+ * each day, and the audience list will be listed here.
+ *
+ * This list is ordered with the most recently created audience list first.
+ *
+ *
+ * repeated string audience_lists = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param index The index of the element to return.
+ * @return The audienceLists at the given index.
+ */
+ java.lang.String getAudienceLists(int index);
+ /**
+ *
+ *
+ *
+ * Output only. Audience list resource names for audience list instances
+ * created for this recurring audience list. One audience list is created for
+ * each day, and the audience list will be listed here.
+ *
+ * This list is ordered with the most recently created audience list first.
+ *
+ *
+ * repeated string audience_lists = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the audienceLists at the given index.
+ */
+ com.google.protobuf.ByteString getAudienceListsBytes(int index);
+}
diff --git a/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/proto/google/analytics/data/v1alpha/analytics_data_api.proto b/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/proto/google/analytics/data/v1alpha/analytics_data_api.proto
index 9faf7f9bcbb2..4e4bde0d18e8 100644
--- a/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/proto/google/analytics/data/v1alpha/analytics_data_api.proto
+++ b/java-analytics-data/proto-google-analytics-data-v1alpha/src/main/proto/google/analytics/data/v1alpha/analytics_data_api.proto
@@ -201,6 +201,200 @@ service AlphaAnalyticsData {
};
option (google.api.method_signature) = "parent";
}
+
+ // Creates a recurring audience list. Recurring audience lists produces new
+ // audience lists each day. Audience lists are users in an audience at the
+ // time of the list's creation.
+ //
+ // A recurring audience list ensures that you have audience list based on the
+ // most recent data available for use each day. If you manually create
+ // audience list, you don't know when an audience list based on an additional
+ // day's data is available. This recurring audience list automates the
+ // creation of an audience list when an additional day's data is available.
+ // You will consume fewer quota tokens by using recurring audience list versus
+ // manually creating audience list at various times of day trying to guess
+ // when an additional day's data is ready.
+ //
+ // This method is introduced at alpha stability with the intention of
+ // gathering feedback on syntax and capabilities before entering beta. To give
+ // your feedback on this API, complete the
+ // [Google Analytics Audience Export API
+ // Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form.
+ rpc CreateRecurringAudienceList(CreateRecurringAudienceListRequest)
+ returns (RecurringAudienceList) {
+ option (google.api.http) = {
+ post: "/v1alpha/{parent=properties/*}/recurringAudienceLists"
+ body: "recurring_audience_list"
+ };
+ option (google.api.method_signature) = "parent,recurring_audience_list";
+ }
+
+ // Gets configuration metadata about a specific recurring audience list. This
+ // method can be used to understand a recurring audience list's state after it
+ // has been created. For example, a recurring audience list resource will
+ // generate audience list instances for each day, and this method can be used
+ // to get the resource name of the most recent audience list instance.
+ //
+ // This method is introduced at alpha stability with the intention of
+ // gathering feedback on syntax and capabilities before entering beta. To give
+ // your feedback on this API, complete the
+ // [Google Analytics Audience Export API
+ // Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form.
+ rpc GetRecurringAudienceList(GetRecurringAudienceListRequest)
+ returns (RecurringAudienceList) {
+ option (google.api.http) = {
+ get: "/v1alpha/{name=properties/*/recurringAudienceLists/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Lists all recurring audience lists for a property. This method can be used
+ // for you to find and reuse existing recurring audience lists rather than
+ // creating unnecessary new recurring audience lists. The same audience can
+ // have multiple recurring audience lists that represent different dimension
+ // combinations; for example, just the dimension `deviceId` or both the
+ // dimensions `deviceId` and `userId`.
+ //
+ // This method is introduced at alpha stability with the intention of
+ // gathering feedback on syntax and capabilities before entering beta. To give
+ // your feedback on this API, complete the
+ // [Google Analytics Audience Export API
+ // Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form.
+ rpc ListRecurringAudienceLists(ListRecurringAudienceListsRequest)
+ returns (ListRecurringAudienceListsResponse) {
+ option (google.api.http) = {
+ get: "/v1alpha/{parent=properties/*}/recurringAudienceLists"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+}
+
+// A request to create a new recurring audience list.
+message CreateRecurringAudienceListRequest {
+ // Required. The parent resource where this recurring audience list will be
+ // created. Format: `properties/{property}`
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "analyticsdata.googleapis.com/RecurringAudienceList"
+ }
+ ];
+
+ // Required. The recurring audience list to create.
+ RecurringAudienceList recurring_audience_list = 2
+ [(google.api.field_behavior) = REQUIRED];
+}
+
+// A recurring audience list produces new audience lists each day. Audience
+// lists are users in an audience at the time of the list's creation. A
+// recurring audience list ensures that you have audience list based on the most
+// recent data available for use each day.
+message RecurringAudienceList {
+ option (google.api.resource) = {
+ type: "analyticsdata.googleapis.com/RecurringAudienceList"
+ pattern: "properties/{property}/recurringAudienceLists/{recurring_audience_list}"
+ plural: "recurringAudienceLists"
+ singular: "recurringAudienceList"
+ };
+
+ // Output only. Identifier. The recurring audience list resource name assigned
+ // during creation. This resource name identifies this
+ // `RecurringAudienceList`.
+ //
+ // Format:
+ // `properties/{property}/recurringAudienceLists/{recurring_audience_list}`
+ string name = 1 [
+ (google.api.field_behavior) = IDENTIFIER,
+ (google.api.field_behavior) = OUTPUT_ONLY
+ ];
+
+ // Required. The audience resource name. This resource name identifies the
+ // audience being listed and is shared between the Analytics Data & Admin
+ // APIs.
+ //
+ // Format: `properties/{property}/audiences/{audience}`
+ string audience = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Output only. The descriptive display name for this audience. For example,
+ // "Purchasers".
+ string audience_display_name = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Required. The dimensions requested and displayed in the audience list
+ // response.
+ repeated AudienceDimension dimensions = 4
+ [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. The number of remaining days that a recurring audience export
+ // will produce an audience list instance. This counter decreases by one each
+ // day, and when it reaches zero, no new audience lists will be created.
+ //
+ // Recurring audience list request for Analytics 360 properties default to 180
+ // days and have a maximum of 365 days. Requests for standard Analytics
+ // properties default to 14 days and have a maximum of 30 days.
+ //
+ // The minimum value allowed during creation is 1. Requests above their
+ // respective maximum will be coerced to their maximum.
+ optional int32 active_days_remaining = 5
+ [(google.api.field_behavior) = OPTIONAL];
+
+ // Output only. Audience list resource names for audience list instances
+ // created for this recurring audience list. One audience list is created for
+ // each day, and the audience list will be listed here.
+ //
+ // This list is ordered with the most recently created audience list first.
+ repeated string audience_lists = 6
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// A request to retrieve configuration metadata about a specific recurring
+// audience list.
+message GetRecurringAudienceListRequest {
+ // Required. The recurring audience list resource name.
+ // Format:
+ // `properties/{property}/recurringAudienceLists/{recurring_audience_list}`
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "analyticsdata.googleapis.com/RecurringAudienceList"
+ }
+ ];
+}
+
+// A request to list all recurring audience lists for a property.
+message ListRecurringAudienceListsRequest {
+ // Required. All recurring audience lists for this property will be listed in
+ // the response. Format: `properties/{property}`
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "analyticsdata.googleapis.com/RecurringAudienceList"
+ }
+ ];
+
+ // Optional. The maximum number of recurring audience lists to return. The
+ // service may return fewer than this value. If unspecified, at most 200
+ // recurring audience lists will be returned. The maximum value is 1000
+ // (higher values will be coerced to the maximum).
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. A page token, received from a previous
+ // `ListRecurringAudienceLists` call. Provide this to retrieve the subsequent
+ // page.
+ //
+ // When paginating, all other parameters provided to
+ // `ListRecurringAudienceLists` must match the call that provided the page
+ // token.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// A list of all recurring audience lists for a property.
+message ListRecurringAudienceListsResponse {
+ // Each recurring audience list for a property.
+ repeated RecurringAudienceList recurring_audience_lists = 1;
+
+ // A token, which can be sent as `page_token` to retrieve the next page.
+ // If this field is omitted, there are no subsequent pages.
+ optional string next_page_token = 2;
}
// A request to retrieve configuration metadata about a specific audience list.
@@ -315,7 +509,7 @@ message AudienceList {
// "Purchasers".
string audience_display_name = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
- // Required. The dimensions requested and displayed in the report response.
+ // Required. The dimensions requested and displayed in the query response.
repeated AudienceDimension dimensions = 4
[(google.api.field_behavior) = REQUIRED];
@@ -340,6 +534,19 @@ message AudienceList {
// Output only. Error message is populated when an audience list fails during
// creation. A common reason for such a failure is quota exhaustion.
optional string error_message = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The percentage completed for this audience export ranging
+ // between 0 to 100.
+ optional double percentage_completed = 11
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The recurring audience list that created this audience list.
+ // Recurring audience lists create audience lists daily.
+ //
+ // If audience lists are created directly, they will have no associated
+ // recurring audience list, and this field will be blank.
+ optional string recurring_audience_list = 12
+ [(google.api.field_behavior) = OUTPUT_ONLY];
}
// This metadata is currently blank.
diff --git a/java-analytics-data/samples/snippets/generated/com/google/analytics/data/v1alpha/alphaanalyticsdata/createrecurringaudiencelist/AsyncCreateRecurringAudienceList.java b/java-analytics-data/samples/snippets/generated/com/google/analytics/data/v1alpha/alphaanalyticsdata/createrecurringaudiencelist/AsyncCreateRecurringAudienceList.java
new file mode 100644
index 000000000000..d72ba82148fa
--- /dev/null
+++ b/java-analytics-data/samples/snippets/generated/com/google/analytics/data/v1alpha/alphaanalyticsdata/createrecurringaudiencelist/AsyncCreateRecurringAudienceList.java
@@ -0,0 +1,51 @@
+/*
+ * Copyright 2023 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.analytics.data.v1alpha.samples;
+
+// [START analyticsdata_v1alpha_generated_AlphaAnalyticsData_CreateRecurringAudienceList_async]
+import com.google.analytics.data.v1alpha.AlphaAnalyticsDataClient;
+import com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest;
+import com.google.analytics.data.v1alpha.PropertyName;
+import com.google.analytics.data.v1alpha.RecurringAudienceList;
+import com.google.api.core.ApiFuture;
+
+public class AsyncCreateRecurringAudienceList {
+
+ public static void main(String[] args) throws Exception {
+ asyncCreateRecurringAudienceList();
+ }
+
+ public static void asyncCreateRecurringAudienceList() 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 (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) {
+ CreateRecurringAudienceListRequest request =
+ CreateRecurringAudienceListRequest.newBuilder()
+ .setParent(PropertyName.of("[PROPERTY]").toString())
+ .setRecurringAudienceList(RecurringAudienceList.newBuilder().build())
+ .build();
+ ApiFuture future =
+ alphaAnalyticsDataClient.createRecurringAudienceListCallable().futureCall(request);
+ // Do something.
+ RecurringAudienceList response = future.get();
+ }
+ }
+}
+// [END analyticsdata_v1alpha_generated_AlphaAnalyticsData_CreateRecurringAudienceList_async]
diff --git a/java-analytics-data/samples/snippets/generated/com/google/analytics/data/v1alpha/alphaanalyticsdata/createrecurringaudiencelist/SyncCreateRecurringAudienceList.java b/java-analytics-data/samples/snippets/generated/com/google/analytics/data/v1alpha/alphaanalyticsdata/createrecurringaudiencelist/SyncCreateRecurringAudienceList.java
new file mode 100644
index 000000000000..182b81ccf1be
--- /dev/null
+++ b/java-analytics-data/samples/snippets/generated/com/google/analytics/data/v1alpha/alphaanalyticsdata/createrecurringaudiencelist/SyncCreateRecurringAudienceList.java
@@ -0,0 +1,48 @@
+/*
+ * Copyright 2023 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.analytics.data.v1alpha.samples;
+
+// [START analyticsdata_v1alpha_generated_AlphaAnalyticsData_CreateRecurringAudienceList_sync]
+import com.google.analytics.data.v1alpha.AlphaAnalyticsDataClient;
+import com.google.analytics.data.v1alpha.CreateRecurringAudienceListRequest;
+import com.google.analytics.data.v1alpha.PropertyName;
+import com.google.analytics.data.v1alpha.RecurringAudienceList;
+
+public class SyncCreateRecurringAudienceList {
+
+ public static void main(String[] args) throws Exception {
+ syncCreateRecurringAudienceList();
+ }
+
+ public static void syncCreateRecurringAudienceList() 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 (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) {
+ CreateRecurringAudienceListRequest request =
+ CreateRecurringAudienceListRequest.newBuilder()
+ .setParent(PropertyName.of("[PROPERTY]").toString())
+ .setRecurringAudienceList(RecurringAudienceList.newBuilder().build())
+ .build();
+ RecurringAudienceList response =
+ alphaAnalyticsDataClient.createRecurringAudienceList(request);
+ }
+ }
+}
+// [END analyticsdata_v1alpha_generated_AlphaAnalyticsData_CreateRecurringAudienceList_sync]
diff --git a/java-analytics-data/samples/snippets/generated/com/google/analytics/data/v1alpha/alphaanalyticsdata/createrecurringaudiencelist/SyncCreateRecurringAudienceListPropertynameRecurringaudiencelist.java b/java-analytics-data/samples/snippets/generated/com/google/analytics/data/v1alpha/alphaanalyticsdata/createrecurringaudiencelist/SyncCreateRecurringAudienceListPropertynameRecurringaudiencelist.java
new file mode 100644
index 000000000000..b16e9f4074b3
--- /dev/null
+++ b/java-analytics-data/samples/snippets/generated/com/google/analytics/data/v1alpha/alphaanalyticsdata/createrecurringaudiencelist/SyncCreateRecurringAudienceListPropertynameRecurringaudiencelist.java
@@ -0,0 +1,45 @@
+/*
+ * Copyright 2023 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.analytics.data.v1alpha.samples;
+
+// [START analyticsdata_v1alpha_generated_AlphaAnalyticsData_CreateRecurringAudienceList_PropertynameRecurringaudiencelist_sync]
+import com.google.analytics.data.v1alpha.AlphaAnalyticsDataClient;
+import com.google.analytics.data.v1alpha.PropertyName;
+import com.google.analytics.data.v1alpha.RecurringAudienceList;
+
+public class SyncCreateRecurringAudienceListPropertynameRecurringaudiencelist {
+
+ public static void main(String[] args) throws Exception {
+ syncCreateRecurringAudienceListPropertynameRecurringaudiencelist();
+ }
+
+ public static void syncCreateRecurringAudienceListPropertynameRecurringaudiencelist()
+ 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 (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) {
+ PropertyName parent = PropertyName.of("[PROPERTY]");
+ RecurringAudienceList recurringAudienceList = RecurringAudienceList.newBuilder().build();
+ RecurringAudienceList response =
+ alphaAnalyticsDataClient.createRecurringAudienceList(parent, recurringAudienceList);
+ }
+ }
+}
+// [END analyticsdata_v1alpha_generated_AlphaAnalyticsData_CreateRecurringAudienceList_PropertynameRecurringaudiencelist_sync]
diff --git a/java-analytics-data/samples/snippets/generated/com/google/analytics/data/v1alpha/alphaanalyticsdata/createrecurringaudiencelist/SyncCreateRecurringAudienceListStringRecurringaudiencelist.java b/java-analytics-data/samples/snippets/generated/com/google/analytics/data/v1alpha/alphaanalyticsdata/createrecurringaudiencelist/SyncCreateRecurringAudienceListStringRecurringaudiencelist.java
new file mode 100644
index 000000000000..70abdbc2b182
--- /dev/null
+++ b/java-analytics-data/samples/snippets/generated/com/google/analytics/data/v1alpha/alphaanalyticsdata/createrecurringaudiencelist/SyncCreateRecurringAudienceListStringRecurringaudiencelist.java
@@ -0,0 +1,44 @@
+/*
+ * Copyright 2023 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.analytics.data.v1alpha.samples;
+
+// [START analyticsdata_v1alpha_generated_AlphaAnalyticsData_CreateRecurringAudienceList_StringRecurringaudiencelist_sync]
+import com.google.analytics.data.v1alpha.AlphaAnalyticsDataClient;
+import com.google.analytics.data.v1alpha.PropertyName;
+import com.google.analytics.data.v1alpha.RecurringAudienceList;
+
+public class SyncCreateRecurringAudienceListStringRecurringaudiencelist {
+
+ public static void main(String[] args) throws Exception {
+ syncCreateRecurringAudienceListStringRecurringaudiencelist();
+ }
+
+ public static void syncCreateRecurringAudienceListStringRecurringaudiencelist() 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 (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) {
+ String parent = PropertyName.of("[PROPERTY]").toString();
+ RecurringAudienceList recurringAudienceList = RecurringAudienceList.newBuilder().build();
+ RecurringAudienceList response =
+ alphaAnalyticsDataClient.createRecurringAudienceList(parent, recurringAudienceList);
+ }
+ }
+}
+// [END analyticsdata_v1alpha_generated_AlphaAnalyticsData_CreateRecurringAudienceList_StringRecurringaudiencelist_sync]
diff --git a/java-analytics-data/samples/snippets/generated/com/google/analytics/data/v1alpha/alphaanalyticsdata/getrecurringaudiencelist/AsyncGetRecurringAudienceList.java b/java-analytics-data/samples/snippets/generated/com/google/analytics/data/v1alpha/alphaanalyticsdata/getrecurringaudiencelist/AsyncGetRecurringAudienceList.java
new file mode 100644
index 000000000000..b8796945f5f9
--- /dev/null
+++ b/java-analytics-data/samples/snippets/generated/com/google/analytics/data/v1alpha/alphaanalyticsdata/getrecurringaudiencelist/AsyncGetRecurringAudienceList.java
@@ -0,0 +1,52 @@
+/*
+ * Copyright 2023 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.analytics.data.v1alpha.samples;
+
+// [START analyticsdata_v1alpha_generated_AlphaAnalyticsData_GetRecurringAudienceList_async]
+import com.google.analytics.data.v1alpha.AlphaAnalyticsDataClient;
+import com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest;
+import com.google.analytics.data.v1alpha.RecurringAudienceList;
+import com.google.analytics.data.v1alpha.RecurringAudienceListName;
+import com.google.api.core.ApiFuture;
+
+public class AsyncGetRecurringAudienceList {
+
+ public static void main(String[] args) throws Exception {
+ asyncGetRecurringAudienceList();
+ }
+
+ public static void asyncGetRecurringAudienceList() 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 (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) {
+ GetRecurringAudienceListRequest request =
+ GetRecurringAudienceListRequest.newBuilder()
+ .setName(
+ RecurringAudienceListName.of("[PROPERTY]", "[RECURRING_AUDIENCE_LIST]")
+ .toString())
+ .build();
+ ApiFuture future =
+ alphaAnalyticsDataClient.getRecurringAudienceListCallable().futureCall(request);
+ // Do something.
+ RecurringAudienceList response = future.get();
+ }
+ }
+}
+// [END analyticsdata_v1alpha_generated_AlphaAnalyticsData_GetRecurringAudienceList_async]
diff --git a/java-analytics-data/samples/snippets/generated/com/google/analytics/data/v1alpha/alphaanalyticsdata/getrecurringaudiencelist/SyncGetRecurringAudienceList.java b/java-analytics-data/samples/snippets/generated/com/google/analytics/data/v1alpha/alphaanalyticsdata/getrecurringaudiencelist/SyncGetRecurringAudienceList.java
new file mode 100644
index 000000000000..dc20ce3146f4
--- /dev/null
+++ b/java-analytics-data/samples/snippets/generated/com/google/analytics/data/v1alpha/alphaanalyticsdata/getrecurringaudiencelist/SyncGetRecurringAudienceList.java
@@ -0,0 +1,48 @@
+/*
+ * Copyright 2023 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.analytics.data.v1alpha.samples;
+
+// [START analyticsdata_v1alpha_generated_AlphaAnalyticsData_GetRecurringAudienceList_sync]
+import com.google.analytics.data.v1alpha.AlphaAnalyticsDataClient;
+import com.google.analytics.data.v1alpha.GetRecurringAudienceListRequest;
+import com.google.analytics.data.v1alpha.RecurringAudienceList;
+import com.google.analytics.data.v1alpha.RecurringAudienceListName;
+
+public class SyncGetRecurringAudienceList {
+
+ public static void main(String[] args) throws Exception {
+ syncGetRecurringAudienceList();
+ }
+
+ public static void syncGetRecurringAudienceList() 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 (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) {
+ GetRecurringAudienceListRequest request =
+ GetRecurringAudienceListRequest.newBuilder()
+ .setName(
+ RecurringAudienceListName.of("[PROPERTY]", "[RECURRING_AUDIENCE_LIST]")
+ .toString())
+ .build();
+ RecurringAudienceList response = alphaAnalyticsDataClient.getRecurringAudienceList(request);
+ }
+ }
+}
+// [END analyticsdata_v1alpha_generated_AlphaAnalyticsData_GetRecurringAudienceList_sync]
diff --git a/java-analytics-data/samples/snippets/generated/com/google/analytics/data/v1alpha/alphaanalyticsdata/getrecurringaudiencelist/SyncGetRecurringAudienceListRecurringaudiencelistname.java b/java-analytics-data/samples/snippets/generated/com/google/analytics/data/v1alpha/alphaanalyticsdata/getrecurringaudiencelist/SyncGetRecurringAudienceListRecurringaudiencelistname.java
new file mode 100644
index 000000000000..c46259da7e80
--- /dev/null
+++ b/java-analytics-data/samples/snippets/generated/com/google/analytics/data/v1alpha/alphaanalyticsdata/getrecurringaudiencelist/SyncGetRecurringAudienceListRecurringaudiencelistname.java
@@ -0,0 +1,43 @@
+/*
+ * Copyright 2023 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.analytics.data.v1alpha.samples;
+
+// [START analyticsdata_v1alpha_generated_AlphaAnalyticsData_GetRecurringAudienceList_Recurringaudiencelistname_sync]
+import com.google.analytics.data.v1alpha.AlphaAnalyticsDataClient;
+import com.google.analytics.data.v1alpha.RecurringAudienceList;
+import com.google.analytics.data.v1alpha.RecurringAudienceListName;
+
+public class SyncGetRecurringAudienceListRecurringaudiencelistname {
+
+ public static void main(String[] args) throws Exception {
+ syncGetRecurringAudienceListRecurringaudiencelistname();
+ }
+
+ public static void syncGetRecurringAudienceListRecurringaudiencelistname() 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 (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) {
+ RecurringAudienceListName name =
+ RecurringAudienceListName.of("[PROPERTY]", "[RECURRING_AUDIENCE_LIST]");
+ RecurringAudienceList response = alphaAnalyticsDataClient.getRecurringAudienceList(name);
+ }
+ }
+}
+// [END analyticsdata_v1alpha_generated_AlphaAnalyticsData_GetRecurringAudienceList_Recurringaudiencelistname_sync]
diff --git a/java-analytics-data/samples/snippets/generated/com/google/analytics/data/v1alpha/alphaanalyticsdata/getrecurringaudiencelist/SyncGetRecurringAudienceListString.java b/java-analytics-data/samples/snippets/generated/com/google/analytics/data/v1alpha/alphaanalyticsdata/getrecurringaudiencelist/SyncGetRecurringAudienceListString.java
new file mode 100644
index 000000000000..525f5bcc5547
--- /dev/null
+++ b/java-analytics-data/samples/snippets/generated/com/google/analytics/data/v1alpha/alphaanalyticsdata/getrecurringaudiencelist/SyncGetRecurringAudienceListString.java
@@ -0,0 +1,43 @@
+/*
+ * Copyright 2023 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.analytics.data.v1alpha.samples;
+
+// [START analyticsdata_v1alpha_generated_AlphaAnalyticsData_GetRecurringAudienceList_String_sync]
+import com.google.analytics.data.v1alpha.AlphaAnalyticsDataClient;
+import com.google.analytics.data.v1alpha.RecurringAudienceList;
+import com.google.analytics.data.v1alpha.RecurringAudienceListName;
+
+public class SyncGetRecurringAudienceListString {
+
+ public static void main(String[] args) throws Exception {
+ syncGetRecurringAudienceListString();
+ }
+
+ public static void syncGetRecurringAudienceListString() 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 (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) {
+ String name =
+ RecurringAudienceListName.of("[PROPERTY]", "[RECURRING_AUDIENCE_LIST]").toString();
+ RecurringAudienceList response = alphaAnalyticsDataClient.getRecurringAudienceList(name);
+ }
+ }
+}
+// [END analyticsdata_v1alpha_generated_AlphaAnalyticsData_GetRecurringAudienceList_String_sync]
diff --git a/java-analytics-data/samples/snippets/generated/com/google/analytics/data/v1alpha/alphaanalyticsdata/listrecurringaudiencelists/AsyncListRecurringAudienceLists.java b/java-analytics-data/samples/snippets/generated/com/google/analytics/data/v1alpha/alphaanalyticsdata/listrecurringaudiencelists/AsyncListRecurringAudienceLists.java
new file mode 100644
index 000000000000..894d54d21b95
--- /dev/null
+++ b/java-analytics-data/samples/snippets/generated/com/google/analytics/data/v1alpha/alphaanalyticsdata/listrecurringaudiencelists/AsyncListRecurringAudienceLists.java
@@ -0,0 +1,54 @@
+/*
+ * Copyright 2023 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.analytics.data.v1alpha.samples;
+
+// [START analyticsdata_v1alpha_generated_AlphaAnalyticsData_ListRecurringAudienceLists_async]
+import com.google.analytics.data.v1alpha.AlphaAnalyticsDataClient;
+import com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest;
+import com.google.analytics.data.v1alpha.PropertyName;
+import com.google.analytics.data.v1alpha.RecurringAudienceList;
+import com.google.api.core.ApiFuture;
+
+public class AsyncListRecurringAudienceLists {
+
+ public static void main(String[] args) throws Exception {
+ asyncListRecurringAudienceLists();
+ }
+
+ public static void asyncListRecurringAudienceLists() 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 (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) {
+ ListRecurringAudienceListsRequest request =
+ ListRecurringAudienceListsRequest.newBuilder()
+ .setParent(PropertyName.of("[PROPERTY]").toString())
+ .setPageSize(883849137)
+ .setPageToken("pageToken873572522")
+ .build();
+ ApiFuture future =
+ alphaAnalyticsDataClient.listRecurringAudienceListsPagedCallable().futureCall(request);
+ // Do something.
+ for (RecurringAudienceList element : future.get().iterateAll()) {
+ // doThingsWith(element);
+ }
+ }
+ }
+}
+// [END analyticsdata_v1alpha_generated_AlphaAnalyticsData_ListRecurringAudienceLists_async]
diff --git a/java-analytics-data/samples/snippets/generated/com/google/analytics/data/v1alpha/alphaanalyticsdata/listrecurringaudiencelists/AsyncListRecurringAudienceListsPaged.java b/java-analytics-data/samples/snippets/generated/com/google/analytics/data/v1alpha/alphaanalyticsdata/listrecurringaudiencelists/AsyncListRecurringAudienceListsPaged.java
new file mode 100644
index 000000000000..f99a4fa7a702
--- /dev/null
+++ b/java-analytics-data/samples/snippets/generated/com/google/analytics/data/v1alpha/alphaanalyticsdata/listrecurringaudiencelists/AsyncListRecurringAudienceListsPaged.java
@@ -0,0 +1,62 @@
+/*
+ * Copyright 2023 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.analytics.data.v1alpha.samples;
+
+// [START analyticsdata_v1alpha_generated_AlphaAnalyticsData_ListRecurringAudienceLists_Paged_async]
+import com.google.analytics.data.v1alpha.AlphaAnalyticsDataClient;
+import com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest;
+import com.google.analytics.data.v1alpha.ListRecurringAudienceListsResponse;
+import com.google.analytics.data.v1alpha.PropertyName;
+import com.google.analytics.data.v1alpha.RecurringAudienceList;
+import com.google.common.base.Strings;
+
+public class AsyncListRecurringAudienceListsPaged {
+
+ public static void main(String[] args) throws Exception {
+ asyncListRecurringAudienceListsPaged();
+ }
+
+ public static void asyncListRecurringAudienceListsPaged() 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 (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) {
+ ListRecurringAudienceListsRequest request =
+ ListRecurringAudienceListsRequest.newBuilder()
+ .setParent(PropertyName.of("[PROPERTY]").toString())
+ .setPageSize(883849137)
+ .setPageToken("pageToken873572522")
+ .build();
+ while (true) {
+ ListRecurringAudienceListsResponse response =
+ alphaAnalyticsDataClient.listRecurringAudienceListsCallable().call(request);
+ for (RecurringAudienceList element : response.getRecurringAudienceListsList()) {
+ // doThingsWith(element);
+ }
+ String nextPageToken = response.getNextPageToken();
+ if (!Strings.isNullOrEmpty(nextPageToken)) {
+ request = request.toBuilder().setPageToken(nextPageToken).build();
+ } else {
+ break;
+ }
+ }
+ }
+ }
+}
+// [END analyticsdata_v1alpha_generated_AlphaAnalyticsData_ListRecurringAudienceLists_Paged_async]
diff --git a/java-analytics-data/samples/snippets/generated/com/google/analytics/data/v1alpha/alphaanalyticsdata/listrecurringaudiencelists/SyncListRecurringAudienceLists.java b/java-analytics-data/samples/snippets/generated/com/google/analytics/data/v1alpha/alphaanalyticsdata/listrecurringaudiencelists/SyncListRecurringAudienceLists.java
new file mode 100644
index 000000000000..90a0835a75f6
--- /dev/null
+++ b/java-analytics-data/samples/snippets/generated/com/google/analytics/data/v1alpha/alphaanalyticsdata/listrecurringaudiencelists/SyncListRecurringAudienceLists.java
@@ -0,0 +1,51 @@
+/*
+ * Copyright 2023 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.analytics.data.v1alpha.samples;
+
+// [START analyticsdata_v1alpha_generated_AlphaAnalyticsData_ListRecurringAudienceLists_sync]
+import com.google.analytics.data.v1alpha.AlphaAnalyticsDataClient;
+import com.google.analytics.data.v1alpha.ListRecurringAudienceListsRequest;
+import com.google.analytics.data.v1alpha.PropertyName;
+import com.google.analytics.data.v1alpha.RecurringAudienceList;
+
+public class SyncListRecurringAudienceLists {
+
+ public static void main(String[] args) throws Exception {
+ syncListRecurringAudienceLists();
+ }
+
+ public static void syncListRecurringAudienceLists() 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 (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) {
+ ListRecurringAudienceListsRequest request =
+ ListRecurringAudienceListsRequest.newBuilder()
+ .setParent(PropertyName.of("[PROPERTY]").toString())
+ .setPageSize(883849137)
+ .setPageToken("pageToken873572522")
+ .build();
+ for (RecurringAudienceList element :
+ alphaAnalyticsDataClient.listRecurringAudienceLists(request).iterateAll()) {
+ // doThingsWith(element);
+ }
+ }
+ }
+}
+// [END analyticsdata_v1alpha_generated_AlphaAnalyticsData_ListRecurringAudienceLists_sync]
diff --git a/java-analytics-data/samples/snippets/generated/com/google/analytics/data/v1alpha/alphaanalyticsdata/listrecurringaudiencelists/SyncListRecurringAudienceListsPropertyname.java b/java-analytics-data/samples/snippets/generated/com/google/analytics/data/v1alpha/alphaanalyticsdata/listrecurringaudiencelists/SyncListRecurringAudienceListsPropertyname.java
new file mode 100644
index 000000000000..3dbda158613b
--- /dev/null
+++ b/java-analytics-data/samples/snippets/generated/com/google/analytics/data/v1alpha/alphaanalyticsdata/listrecurringaudiencelists/SyncListRecurringAudienceListsPropertyname.java
@@ -0,0 +1,45 @@
+/*
+ * Copyright 2023 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.analytics.data.v1alpha.samples;
+
+// [START analyticsdata_v1alpha_generated_AlphaAnalyticsData_ListRecurringAudienceLists_Propertyname_sync]
+import com.google.analytics.data.v1alpha.AlphaAnalyticsDataClient;
+import com.google.analytics.data.v1alpha.PropertyName;
+import com.google.analytics.data.v1alpha.RecurringAudienceList;
+
+public class SyncListRecurringAudienceListsPropertyname {
+
+ public static void main(String[] args) throws Exception {
+ syncListRecurringAudienceListsPropertyname();
+ }
+
+ public static void syncListRecurringAudienceListsPropertyname() 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 (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) {
+ PropertyName parent = PropertyName.of("[PROPERTY]");
+ for (RecurringAudienceList element :
+ alphaAnalyticsDataClient.listRecurringAudienceLists(parent).iterateAll()) {
+ // doThingsWith(element);
+ }
+ }
+ }
+}
+// [END analyticsdata_v1alpha_generated_AlphaAnalyticsData_ListRecurringAudienceLists_Propertyname_sync]
diff --git a/java-analytics-data/samples/snippets/generated/com/google/analytics/data/v1alpha/alphaanalyticsdata/listrecurringaudiencelists/SyncListRecurringAudienceListsString.java b/java-analytics-data/samples/snippets/generated/com/google/analytics/data/v1alpha/alphaanalyticsdata/listrecurringaudiencelists/SyncListRecurringAudienceListsString.java
new file mode 100644
index 000000000000..c1a829e7bd86
--- /dev/null
+++ b/java-analytics-data/samples/snippets/generated/com/google/analytics/data/v1alpha/alphaanalyticsdata/listrecurringaudiencelists/SyncListRecurringAudienceListsString.java
@@ -0,0 +1,45 @@
+/*
+ * Copyright 2023 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.analytics.data.v1alpha.samples;
+
+// [START analyticsdata_v1alpha_generated_AlphaAnalyticsData_ListRecurringAudienceLists_String_sync]
+import com.google.analytics.data.v1alpha.AlphaAnalyticsDataClient;
+import com.google.analytics.data.v1alpha.PropertyName;
+import com.google.analytics.data.v1alpha.RecurringAudienceList;
+
+public class SyncListRecurringAudienceListsString {
+
+ public static void main(String[] args) throws Exception {
+ syncListRecurringAudienceListsString();
+ }
+
+ public static void syncListRecurringAudienceListsString() 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 (AlphaAnalyticsDataClient alphaAnalyticsDataClient = AlphaAnalyticsDataClient.create()) {
+ String parent = PropertyName.of("[PROPERTY]").toString();
+ for (RecurringAudienceList element :
+ alphaAnalyticsDataClient.listRecurringAudienceLists(parent).iterateAll()) {
+ // doThingsWith(element);
+ }
+ }
+ }
+}
+// [END analyticsdata_v1alpha_generated_AlphaAnalyticsData_ListRecurringAudienceLists_String_sync]