public static final class ListNotificationChannelsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsRequest.Builder> implements ListNotificationChannelsRequestOrBuilder
The `ListNotificationChannels` request.Protobuf type
google.monitoring.v3.ListNotificationChannelsRequestgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsRequest.Builder>public ListNotificationChannelsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsRequest.Builder>public ListNotificationChannelsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListNotificationChannelsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListNotificationChannelsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListNotificationChannelsRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsRequest.Builder>public ListNotificationChannelsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsRequest.Builder>public ListNotificationChannelsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsRequest.Builder>public ListNotificationChannelsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsRequest.Builder>public ListNotificationChannelsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsRequest.Builder>public ListNotificationChannelsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsRequest.Builder>public ListNotificationChannelsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListNotificationChannelsRequest.Builder>public ListNotificationChannelsRequest.Builder mergeFrom(ListNotificationChannelsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsRequest.Builder>public ListNotificationChannelsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListNotificationChannelsRequest.Builder>IOExceptionpublic String getName()
Required. The
[project](https://cloud.google.com/monitoring/api/v3#project_name) on which
to execute the request. The format is:
projects/[PROJECT_ID_OR_NUMBER]
This names the container
in which to look for the notification channels; it does not name a
specific channel. To query a specific channel by REST resource name, use
the
[`GetNotificationChannel`][google.monitoring.v3.NotificationChannelService.GetNotificationChannel]
operation.
string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getName in interface ListNotificationChannelsRequestOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required. The
[project](https://cloud.google.com/monitoring/api/v3#project_name) on which
to execute the request. The format is:
projects/[PROJECT_ID_OR_NUMBER]
This names the container
in which to look for the notification channels; it does not name a
specific channel. To query a specific channel by REST resource name, use
the
[`GetNotificationChannel`][google.monitoring.v3.NotificationChannelService.GetNotificationChannel]
operation.
string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getNameBytes in interface ListNotificationChannelsRequestOrBuilderpublic ListNotificationChannelsRequest.Builder setName(String value)
Required. The
[project](https://cloud.google.com/monitoring/api/v3#project_name) on which
to execute the request. The format is:
projects/[PROJECT_ID_OR_NUMBER]
This names the container
in which to look for the notification channels; it does not name a
specific channel. To query a specific channel by REST resource name, use
the
[`GetNotificationChannel`][google.monitoring.v3.NotificationChannelService.GetNotificationChannel]
operation.
string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The name to set.public ListNotificationChannelsRequest.Builder clearName()
Required. The
[project](https://cloud.google.com/monitoring/api/v3#project_name) on which
to execute the request. The format is:
projects/[PROJECT_ID_OR_NUMBER]
This names the container
in which to look for the notification channels; it does not name a
specific channel. To query a specific channel by REST resource name, use
the
[`GetNotificationChannel`][google.monitoring.v3.NotificationChannelService.GetNotificationChannel]
operation.
string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ListNotificationChannelsRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. The
[project](https://cloud.google.com/monitoring/api/v3#project_name) on which
to execute the request. The format is:
projects/[PROJECT_ID_OR_NUMBER]
This names the container
in which to look for the notification channels; it does not name a
specific channel. To query a specific channel by REST resource name, use
the
[`GetNotificationChannel`][google.monitoring.v3.NotificationChannelService.GetNotificationChannel]
operation.
string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for name to set.public String getFilter()
Optional. If provided, this field specifies the criteria that must be met by notification channels to be included in the response. For more details, see [sorting and filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
string filter = 6 [(.google.api.field_behavior) = OPTIONAL];getFilter in interface ListNotificationChannelsRequestOrBuilderpublic com.google.protobuf.ByteString getFilterBytes()
Optional. If provided, this field specifies the criteria that must be met by notification channels to be included in the response. For more details, see [sorting and filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
string filter = 6 [(.google.api.field_behavior) = OPTIONAL];getFilterBytes in interface ListNotificationChannelsRequestOrBuilderpublic ListNotificationChannelsRequest.Builder setFilter(String value)
Optional. If provided, this field specifies the criteria that must be met by notification channels to be included in the response. For more details, see [sorting and filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
string filter = 6 [(.google.api.field_behavior) = OPTIONAL];value - The filter to set.public ListNotificationChannelsRequest.Builder clearFilter()
Optional. If provided, this field specifies the criteria that must be met by notification channels to be included in the response. For more details, see [sorting and filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
string filter = 6 [(.google.api.field_behavior) = OPTIONAL];public ListNotificationChannelsRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
Optional. If provided, this field specifies the criteria that must be met by notification channels to be included in the response. For more details, see [sorting and filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
string filter = 6 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for filter to set.public String getOrderBy()
Optional. A comma-separated list of fields by which to sort the result. Supports the same set of fields as in `filter`. Entries can be prefixed with a minus sign to sort in descending rather than ascending order. For more details, see [sorting and filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
string order_by = 7 [(.google.api.field_behavior) = OPTIONAL];getOrderBy in interface ListNotificationChannelsRequestOrBuilderpublic com.google.protobuf.ByteString getOrderByBytes()
Optional. A comma-separated list of fields by which to sort the result. Supports the same set of fields as in `filter`. Entries can be prefixed with a minus sign to sort in descending rather than ascending order. For more details, see [sorting and filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
string order_by = 7 [(.google.api.field_behavior) = OPTIONAL];getOrderByBytes in interface ListNotificationChannelsRequestOrBuilderpublic ListNotificationChannelsRequest.Builder setOrderBy(String value)
Optional. A comma-separated list of fields by which to sort the result. Supports the same set of fields as in `filter`. Entries can be prefixed with a minus sign to sort in descending rather than ascending order. For more details, see [sorting and filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
string order_by = 7 [(.google.api.field_behavior) = OPTIONAL];value - The orderBy to set.public ListNotificationChannelsRequest.Builder clearOrderBy()
Optional. A comma-separated list of fields by which to sort the result. Supports the same set of fields as in `filter`. Entries can be prefixed with a minus sign to sort in descending rather than ascending order. For more details, see [sorting and filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
string order_by = 7 [(.google.api.field_behavior) = OPTIONAL];public ListNotificationChannelsRequest.Builder setOrderByBytes(com.google.protobuf.ByteString value)
Optional. A comma-separated list of fields by which to sort the result. Supports the same set of fields as in `filter`. Entries can be prefixed with a minus sign to sort in descending rather than ascending order. For more details, see [sorting and filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
string order_by = 7 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for orderBy to set.public int getPageSize()
Optional. The maximum number of results to return in a single response. If not set to a positive number, a reasonable value will be chosen by the service.
int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];getPageSize in interface ListNotificationChannelsRequestOrBuilderpublic ListNotificationChannelsRequest.Builder setPageSize(int value)
Optional. The maximum number of results to return in a single response. If not set to a positive number, a reasonable value will be chosen by the service.
int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];value - The pageSize to set.public ListNotificationChannelsRequest.Builder clearPageSize()
Optional. The maximum number of results to return in a single response. If not set to a positive number, a reasonable value will be chosen by the service.
int32 page_size = 3 [(.google.api.field_behavior) = OPTIONAL];public String getPageToken()
Optional. If non-empty, `page_token` must contain a value returned as the `next_page_token` in a previous response to request the next set of results.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];getPageToken in interface ListNotificationChannelsRequestOrBuilderpublic com.google.protobuf.ByteString getPageTokenBytes()
Optional. If non-empty, `page_token` must contain a value returned as the `next_page_token` in a previous response to request the next set of results.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];getPageTokenBytes in interface ListNotificationChannelsRequestOrBuilderpublic ListNotificationChannelsRequest.Builder setPageToken(String value)
Optional. If non-empty, `page_token` must contain a value returned as the `next_page_token` in a previous response to request the next set of results.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];value - The pageToken to set.public ListNotificationChannelsRequest.Builder clearPageToken()
Optional. If non-empty, `page_token` must contain a value returned as the `next_page_token` in a previous response to request the next set of results.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];public ListNotificationChannelsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
Optional. If non-empty, `page_token` must contain a value returned as the `next_page_token` in a previous response to request the next set of results.
string page_token = 4 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for pageToken to set.public final ListNotificationChannelsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsRequest.Builder>public final ListNotificationChannelsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsRequest.Builder>Copyright © 2025 Google LLC. All rights reserved.