Interface ComputeContactsRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ComputeContactsRequest
,ComputeContactsRequest.Builder
public interface ComputeContactsRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NotificationCategory
getNotificationCategories(int index)
The categories of notifications to compute contacts for.int
getNotificationCategoriesCount()
The categories of notifications to compute contacts for.List<NotificationCategory>
getNotificationCategoriesList()
The categories of notifications to compute contacts for.int
getNotificationCategoriesValue(int index)
The categories of notifications to compute contacts for.List<Integer>
getNotificationCategoriesValueList()
The categories of notifications to compute contacts for.int
getPageSize()
Optional.String
getPageToken()
Optional.com.google.protobuf.ByteString
getPageTokenBytes()
Optional.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
String getParent()
Required. The name of the resource to compute contacts for. Format: organizations/{organization_id}, folders/{folder_id} or projects/{project_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()
Required. The name of the resource to compute contacts for. Format: organizations/{organization_id}, folders/{folder_id} or projects/{project_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for parent.
-
getNotificationCategoriesList
List<NotificationCategory> getNotificationCategoriesList()
The categories of notifications to compute contacts for. If ALL is included in this list, contacts subscribed to any notification category will be returned.
repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_categories = 6;
- Returns:
- A list containing the notificationCategories.
-
getNotificationCategoriesCount
int getNotificationCategoriesCount()
The categories of notifications to compute contacts for. If ALL is included in this list, contacts subscribed to any notification category will be returned.
repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_categories = 6;
- Returns:
- The count of notificationCategories.
-
getNotificationCategories
NotificationCategory getNotificationCategories(int index)
The categories of notifications to compute contacts for. If ALL is included in this list, contacts subscribed to any notification category will be returned.
repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_categories = 6;
- Parameters:
index
- The index of the element to return.- Returns:
- The notificationCategories at the given index.
-
getNotificationCategoriesValueList
List<Integer> getNotificationCategoriesValueList()
The categories of notifications to compute contacts for. If ALL is included in this list, contacts subscribed to any notification category will be returned.
repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_categories = 6;
- Returns:
- A list containing the enum numeric values on the wire for notificationCategories.
-
getNotificationCategoriesValue
int getNotificationCategoriesValue(int index)
The categories of notifications to compute contacts for. If ALL is included in this list, contacts subscribed to any notification category will be returned.
repeated .google.cloud.essentialcontacts.v1.NotificationCategory notification_categories = 6;
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of notificationCategories at the given index.
-
getPageSize
int getPageSize()
Optional. The maximum number of results to return from this request. Non-positive values are ignored. The presence of `next_page_token` in the response indicates that more results might be available. If not specified, the default page_size is 100.
int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The pageSize.
-
getPageToken
String getPageToken()
Optional. If present, retrieves the next batch of results from the preceding call to this method. `page_token` must be the value of `next_page_token` from the previous response. The values of other method parameters should be identical to those in the previous call.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The pageToken.
-
getPageTokenBytes
com.google.protobuf.ByteString getPageTokenBytes()
Optional. If present, retrieves the next batch of results from the preceding call to this method. `page_token` must be the value of `next_page_token` from the previous response. The values of other method parameters should be identical to those in the previous call.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for pageToken.
-
-