public static final class ListNotificationChannelDescriptorsRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<ListNotificationChannelDescriptorsRequest.Builder> implements ListNotificationChannelDescriptorsRequestOrBuilder
The `ListNotificationChannelDescriptors` request.Protobuf type
google.monitoring.v3.ListNotificationChannelDescriptorsRequest| Modifier and Type | Method and Description |
|---|---|
ListNotificationChannelDescriptorsRequest |
build() |
ListNotificationChannelDescriptorsRequest |
buildPartial() |
ListNotificationChannelDescriptorsRequest.Builder |
clear() |
ListNotificationChannelDescriptorsRequest.Builder |
clearName()
Required.
|
ListNotificationChannelDescriptorsRequest.Builder |
clearPageSize()
The maximum number of results to return in a single response.
|
ListNotificationChannelDescriptorsRequest.Builder |
clearPageToken()
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.
|
ListNotificationChannelDescriptorsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
int |
getPageSize()
The maximum number of results to return in a single response.
|
String |
getPageToken()
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.
|
com.google.protobuf.ByteString |
getPageTokenBytes()
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.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListNotificationChannelDescriptorsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListNotificationChannelDescriptorsRequest.Builder |
mergeFrom(ListNotificationChannelDescriptorsRequest other) |
ListNotificationChannelDescriptorsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListNotificationChannelDescriptorsRequest.Builder |
setName(String value)
Required.
|
ListNotificationChannelDescriptorsRequest.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Required.
|
ListNotificationChannelDescriptorsRequest.Builder |
setPageSize(int value)
The maximum number of results to return in a single response.
|
ListNotificationChannelDescriptorsRequest.Builder |
setPageToken(String value)
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.
|
ListNotificationChannelDescriptorsRequest.Builder |
setPageTokenBytes(com.google.protobuf.ByteString value)
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.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<ListNotificationChannelDescriptorsRequest.Builder>public ListNotificationChannelDescriptorsRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<ListNotificationChannelDescriptorsRequest.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.GeneratedMessage.Builder<ListNotificationChannelDescriptorsRequest.Builder>public ListNotificationChannelDescriptorsRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListNotificationChannelDescriptorsRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListNotificationChannelDescriptorsRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListNotificationChannelDescriptorsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListNotificationChannelDescriptorsRequest.Builder>public ListNotificationChannelDescriptorsRequest.Builder mergeFrom(ListNotificationChannelDescriptorsRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<ListNotificationChannelDescriptorsRequest.Builder>public ListNotificationChannelDescriptorsRequest.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<ListNotificationChannelDescriptorsRequest.Builder>IOExceptionpublic String getName()
Required. The REST resource name of the parent from which to retrieve the notification channel descriptors. The expected syntax is: projects/[PROJECT_ID_OR_NUMBER] Note that this [names](https://cloud.google.com/monitoring/api/v3#project_name) the parent container in which to look for the descriptors; to retrieve a single descriptor by name, use the [GetNotificationChannelDescriptor][google.monitoring.v3.NotificationChannelService.GetNotificationChannelDescriptor] operation, instead.
string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getName in interface ListNotificationChannelDescriptorsRequestOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required. The REST resource name of the parent from which to retrieve the notification channel descriptors. The expected syntax is: projects/[PROJECT_ID_OR_NUMBER] Note that this [names](https://cloud.google.com/monitoring/api/v3#project_name) the parent container in which to look for the descriptors; to retrieve a single descriptor by name, use the [GetNotificationChannelDescriptor][google.monitoring.v3.NotificationChannelService.GetNotificationChannelDescriptor] operation, instead.
string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getNameBytes in interface ListNotificationChannelDescriptorsRequestOrBuilderpublic ListNotificationChannelDescriptorsRequest.Builder setName(String value)
Required. The REST resource name of the parent from which to retrieve the notification channel descriptors. The expected syntax is: projects/[PROJECT_ID_OR_NUMBER] Note that this [names](https://cloud.google.com/monitoring/api/v3#project_name) the parent container in which to look for the descriptors; to retrieve a single descriptor by name, use the [GetNotificationChannelDescriptor][google.monitoring.v3.NotificationChannelService.GetNotificationChannelDescriptor] operation, instead.
string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The name to set.public ListNotificationChannelDescriptorsRequest.Builder clearName()
Required. The REST resource name of the parent from which to retrieve the notification channel descriptors. The expected syntax is: projects/[PROJECT_ID_OR_NUMBER] Note that this [names](https://cloud.google.com/monitoring/api/v3#project_name) the parent container in which to look for the descriptors; to retrieve a single descriptor by name, use the [GetNotificationChannelDescriptor][google.monitoring.v3.NotificationChannelService.GetNotificationChannelDescriptor] operation, instead.
string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ListNotificationChannelDescriptorsRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. The REST resource name of the parent from which to retrieve the notification channel descriptors. The expected syntax is: projects/[PROJECT_ID_OR_NUMBER] Note that this [names](https://cloud.google.com/monitoring/api/v3#project_name) the parent container in which to look for the descriptors; to retrieve a single descriptor by name, use the [GetNotificationChannelDescriptor][google.monitoring.v3.NotificationChannelService.GetNotificationChannelDescriptor] operation, instead.
string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for name to set.public int getPageSize()
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 = 2;getPageSize in interface ListNotificationChannelDescriptorsRequestOrBuilderpublic ListNotificationChannelDescriptorsRequest.Builder setPageSize(int value)
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 = 2;value - The pageSize to set.public ListNotificationChannelDescriptorsRequest.Builder clearPageSize()
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 = 2;public String getPageToken()
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 = 3;getPageToken in interface ListNotificationChannelDescriptorsRequestOrBuilderpublic com.google.protobuf.ByteString getPageTokenBytes()
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 = 3;getPageTokenBytes in interface ListNotificationChannelDescriptorsRequestOrBuilderpublic ListNotificationChannelDescriptorsRequest.Builder setPageToken(String value)
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 = 3;value - The pageToken to set.public ListNotificationChannelDescriptorsRequest.Builder clearPageToken()
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 = 3;public ListNotificationChannelDescriptorsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
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 = 3;value - The bytes for pageToken to set.Copyright © 2026 Google LLC. All rights reserved.