- 2.48.0 (latest)
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.6
- 2.2.0
- 2.1.11
public static final class ComputeContactsRequest.Builder extends GeneratedMessageV3.Builder<ComputeContactsRequest.Builder> implements ComputeContactsRequestOrBuilder
Request message for the ComputeContacts method.
Protobuf type google.cloud.essentialcontacts.v1.ComputeContactsRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ComputeContactsRequest.BuilderImplements
ComputeContactsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllNotificationCategories(Iterable<? extends NotificationCategory> values)
public ComputeContactsRequest.Builder addAllNotificationCategories(Iterable<? extends NotificationCategory> values)
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;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.essentialcontacts.v1.NotificationCategory> The notificationCategories to add. |
Returns | |
---|---|
Type | Description |
ComputeContactsRequest.Builder | This builder for chaining. |
addAllNotificationCategoriesValue(Iterable<Integer> values)
public ComputeContactsRequest.Builder addAllNotificationCategoriesValue(Iterable<Integer> values)
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;
Parameter | |
---|---|
Name | Description |
values | Iterable<Integer> The enum numeric values on the wire for notificationCategories to add. |
Returns | |
---|---|
Type | Description |
ComputeContactsRequest.Builder | This builder for chaining. |
addNotificationCategories(NotificationCategory value)
public ComputeContactsRequest.Builder addNotificationCategories(NotificationCategory value)
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;
Parameter | |
---|---|
Name | Description |
value | NotificationCategory The notificationCategories to add. |
Returns | |
---|---|
Type | Description |
ComputeContactsRequest.Builder | This builder for chaining. |
addNotificationCategoriesValue(int value)
public ComputeContactsRequest.Builder addNotificationCategoriesValue(int value)
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;
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for notificationCategories to add. |
Returns | |
---|---|
Type | Description |
ComputeContactsRequest.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ComputeContactsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ComputeContactsRequest.Builder |
build()
public ComputeContactsRequest build()
Returns | |
---|---|
Type | Description |
ComputeContactsRequest |
buildPartial()
public ComputeContactsRequest buildPartial()
Returns | |
---|---|
Type | Description |
ComputeContactsRequest |
clear()
public ComputeContactsRequest.Builder clear()
Returns | |
---|---|
Type | Description |
ComputeContactsRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public ComputeContactsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ComputeContactsRequest.Builder |
clearNotificationCategories()
public ComputeContactsRequest.Builder clearNotificationCategories()
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 | |
---|---|
Type | Description |
ComputeContactsRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ComputeContactsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ComputeContactsRequest.Builder |
clearPageSize()
public ComputeContactsRequest.Builder clearPageSize()
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 | |
---|---|
Type | Description |
ComputeContactsRequest.Builder | This builder for chaining. |
clearPageToken()
public ComputeContactsRequest.Builder clearPageToken()
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 | |
---|---|
Type | Description |
ComputeContactsRequest.Builder | This builder for chaining. |
clearParent()
public ComputeContactsRequest.Builder clearParent()
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 | |
---|---|
Type | Description |
ComputeContactsRequest.Builder | This builder for chaining. |
clone()
public ComputeContactsRequest.Builder clone()
Returns | |
---|---|
Type | Description |
ComputeContactsRequest.Builder |
getDefaultInstanceForType()
public ComputeContactsRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ComputeContactsRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getNotificationCategories(int index)
public 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;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
NotificationCategory | The notificationCategories at the given index. |
getNotificationCategoriesCount()
public 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 | |
---|---|
Type | Description |
int | The count of notificationCategories. |
getNotificationCategoriesList()
public 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 | |
---|---|
Type | Description |
List<NotificationCategory> | A list containing the notificationCategories. |
getNotificationCategoriesValue(int index)
public 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;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire of notificationCategories at the given index. |
getNotificationCategoriesValueList()
public 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 | |
---|---|
Type | Description |
List<Integer> | A list containing the enum numeric values on the wire for notificationCategories. |
getPageSize()
public 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 | |
---|---|
Type | Description |
int | The pageSize. |
getPageToken()
public 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 | |
---|---|
Type | Description |
String | The pageToken. |
getPageTokenBytes()
public 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 | |
---|---|
Type | Description |
ByteString | The bytes for pageToken. |
getParent()
public 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 | |
---|---|
Type | Description |
String | The parent. |
getParentBytes()
public 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 | |
---|---|
Type | Description |
ByteString | The bytes for parent. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ComputeContactsRequest other)
public ComputeContactsRequest.Builder mergeFrom(ComputeContactsRequest other)
Parameter | |
---|---|
Name | Description |
other | ComputeContactsRequest |
Returns | |
---|---|
Type | Description |
ComputeContactsRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ComputeContactsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ComputeContactsRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ComputeContactsRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ComputeContactsRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ComputeContactsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ComputeContactsRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ComputeContactsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ComputeContactsRequest.Builder |
setNotificationCategories(int index, NotificationCategory value)
public ComputeContactsRequest.Builder setNotificationCategories(int index, NotificationCategory value)
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 | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | NotificationCategory The notificationCategories to set. |
Returns | |
---|---|
Type | Description |
ComputeContactsRequest.Builder | This builder for chaining. |
setNotificationCategoriesValue(int index, int value)
public ComputeContactsRequest.Builder setNotificationCategoriesValue(int index, int value)
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 | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | int The enum numeric value on the wire for notificationCategories to set. |
Returns | |
---|---|
Type | Description |
ComputeContactsRequest.Builder | This builder for chaining. |
setPageSize(int value)
public ComputeContactsRequest.Builder setPageSize(int value)
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];
Parameter | |
---|---|
Name | Description |
value | int The pageSize to set. |
Returns | |
---|---|
Type | Description |
ComputeContactsRequest.Builder | This builder for chaining. |
setPageToken(String value)
public ComputeContactsRequest.Builder setPageToken(String value)
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];
Parameter | |
---|---|
Name | Description |
value | String The pageToken to set. |
Returns | |
---|---|
Type | Description |
ComputeContactsRequest.Builder | This builder for chaining. |
setPageTokenBytes(ByteString value)
public ComputeContactsRequest.Builder setPageTokenBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for pageToken to set. |
Returns | |
---|---|
Type | Description |
ComputeContactsRequest.Builder | This builder for chaining. |
setParent(String value)
public ComputeContactsRequest.Builder setParent(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The parent to set. |
Returns | |
---|---|
Type | Description |
ComputeContactsRequest.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public ComputeContactsRequest.Builder setParentBytes(ByteString value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for parent to set. |
Returns | |
---|---|
Type | Description |
ComputeContactsRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ComputeContactsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ComputeContactsRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ComputeContactsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ComputeContactsRequest.Builder |