public static final class ListNotificationChannelsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder> implements ListNotificationChannelsResponseOrBuilder
The `ListNotificationChannels` response.Protobuf type
google.monitoring.v3.ListNotificationChannelsResponse| Modifier and Type | Method and Description |
|---|---|
ListNotificationChannelsResponse.Builder |
addAllNotificationChannels(Iterable<? extends NotificationChannel> values)
The notification channels defined for the specified project.
|
ListNotificationChannelsResponse.Builder |
addNotificationChannels(int index,
NotificationChannel.Builder builderForValue)
The notification channels defined for the specified project.
|
ListNotificationChannelsResponse.Builder |
addNotificationChannels(int index,
NotificationChannel value)
The notification channels defined for the specified project.
|
ListNotificationChannelsResponse.Builder |
addNotificationChannels(NotificationChannel.Builder builderForValue)
The notification channels defined for the specified project.
|
ListNotificationChannelsResponse.Builder |
addNotificationChannels(NotificationChannel value)
The notification channels defined for the specified project.
|
NotificationChannel.Builder |
addNotificationChannelsBuilder()
The notification channels defined for the specified project.
|
NotificationChannel.Builder |
addNotificationChannelsBuilder(int index)
The notification channels defined for the specified project.
|
ListNotificationChannelsResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListNotificationChannelsResponse |
build() |
ListNotificationChannelsResponse |
buildPartial() |
ListNotificationChannelsResponse.Builder |
clear() |
ListNotificationChannelsResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListNotificationChannelsResponse.Builder |
clearNextPageToken()
If not empty, indicates that there may be more results that match
the request.
|
ListNotificationChannelsResponse.Builder |
clearNotificationChannels()
The notification channels defined for the specified project.
|
ListNotificationChannelsResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListNotificationChannelsResponse.Builder |
clearTotalSize()
The total number of notification channels in all pages.
|
ListNotificationChannelsResponse.Builder |
clone() |
ListNotificationChannelsResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getNextPageToken()
If not empty, indicates that there may be more results that match
the request.
|
com.google.protobuf.ByteString |
getNextPageTokenBytes()
If not empty, indicates that there may be more results that match
the request.
|
NotificationChannel |
getNotificationChannels(int index)
The notification channels defined for the specified project.
|
NotificationChannel.Builder |
getNotificationChannelsBuilder(int index)
The notification channels defined for the specified project.
|
List<NotificationChannel.Builder> |
getNotificationChannelsBuilderList()
The notification channels defined for the specified project.
|
int |
getNotificationChannelsCount()
The notification channels defined for the specified project.
|
List<NotificationChannel> |
getNotificationChannelsList()
The notification channels defined for the specified project.
|
NotificationChannelOrBuilder |
getNotificationChannelsOrBuilder(int index)
The notification channels defined for the specified project.
|
List<? extends NotificationChannelOrBuilder> |
getNotificationChannelsOrBuilderList()
The notification channels defined for the specified project.
|
int |
getTotalSize()
The total number of notification channels in all pages.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListNotificationChannelsResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListNotificationChannelsResponse.Builder |
mergeFrom(ListNotificationChannelsResponse other) |
ListNotificationChannelsResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListNotificationChannelsResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListNotificationChannelsResponse.Builder |
removeNotificationChannels(int index)
The notification channels defined for the specified project.
|
ListNotificationChannelsResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListNotificationChannelsResponse.Builder |
setNextPageToken(String value)
If not empty, indicates that there may be more results that match
the request.
|
ListNotificationChannelsResponse.Builder |
setNextPageTokenBytes(com.google.protobuf.ByteString value)
If not empty, indicates that there may be more results that match
the request.
|
ListNotificationChannelsResponse.Builder |
setNotificationChannels(int index,
NotificationChannel.Builder builderForValue)
The notification channels defined for the specified project.
|
ListNotificationChannelsResponse.Builder |
setNotificationChannels(int index,
NotificationChannel value)
The notification channels defined for the specified project.
|
ListNotificationChannelsResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListNotificationChannelsResponse.Builder |
setTotalSize(int value)
The total number of notification channels in all pages.
|
ListNotificationChannelsResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, 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<ListNotificationChannelsResponse.Builder>public ListNotificationChannelsResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsResponse.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<ListNotificationChannelsResponse.Builder>public ListNotificationChannelsResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListNotificationChannelsResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListNotificationChannelsResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListNotificationChannelsResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>public ListNotificationChannelsResponse.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<ListNotificationChannelsResponse.Builder>public ListNotificationChannelsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>public ListNotificationChannelsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>public ListNotificationChannelsResponse.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<ListNotificationChannelsResponse.Builder>public ListNotificationChannelsResponse.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<ListNotificationChannelsResponse.Builder>public ListNotificationChannelsResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListNotificationChannelsResponse.Builder>public ListNotificationChannelsResponse.Builder mergeFrom(ListNotificationChannelsResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>public ListNotificationChannelsResponse.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<ListNotificationChannelsResponse.Builder>IOExceptionpublic List<NotificationChannel> getNotificationChannelsList()
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;getNotificationChannelsList in interface ListNotificationChannelsResponseOrBuilderpublic int getNotificationChannelsCount()
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;getNotificationChannelsCount in interface ListNotificationChannelsResponseOrBuilderpublic NotificationChannel getNotificationChannels(int index)
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;getNotificationChannels in interface ListNotificationChannelsResponseOrBuilderpublic ListNotificationChannelsResponse.Builder setNotificationChannels(int index, NotificationChannel value)
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;public ListNotificationChannelsResponse.Builder setNotificationChannels(int index, NotificationChannel.Builder builderForValue)
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;public ListNotificationChannelsResponse.Builder addNotificationChannels(NotificationChannel value)
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;public ListNotificationChannelsResponse.Builder addNotificationChannels(int index, NotificationChannel value)
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;public ListNotificationChannelsResponse.Builder addNotificationChannels(NotificationChannel.Builder builderForValue)
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;public ListNotificationChannelsResponse.Builder addNotificationChannels(int index, NotificationChannel.Builder builderForValue)
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;public ListNotificationChannelsResponse.Builder addAllNotificationChannels(Iterable<? extends NotificationChannel> values)
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;public ListNotificationChannelsResponse.Builder clearNotificationChannels()
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;public ListNotificationChannelsResponse.Builder removeNotificationChannels(int index)
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;public NotificationChannel.Builder getNotificationChannelsBuilder(int index)
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;public NotificationChannelOrBuilder getNotificationChannelsOrBuilder(int index)
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;getNotificationChannelsOrBuilder in interface ListNotificationChannelsResponseOrBuilderpublic List<? extends NotificationChannelOrBuilder> getNotificationChannelsOrBuilderList()
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;getNotificationChannelsOrBuilderList in interface ListNotificationChannelsResponseOrBuilderpublic NotificationChannel.Builder addNotificationChannelsBuilder()
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;public NotificationChannel.Builder addNotificationChannelsBuilder(int index)
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;public List<NotificationChannel.Builder> getNotificationChannelsBuilderList()
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;public String getNextPageToken()
If not empty, indicates that there may be more results that match the request. Use the value in the `page_token` field in a subsequent request to fetch the next set of results. If empty, all results have been returned.
string next_page_token = 2;getNextPageToken in interface ListNotificationChannelsResponseOrBuilderpublic com.google.protobuf.ByteString getNextPageTokenBytes()
If not empty, indicates that there may be more results that match the request. Use the value in the `page_token` field in a subsequent request to fetch the next set of results. If empty, all results have been returned.
string next_page_token = 2;getNextPageTokenBytes in interface ListNotificationChannelsResponseOrBuilderpublic ListNotificationChannelsResponse.Builder setNextPageToken(String value)
If not empty, indicates that there may be more results that match the request. Use the value in the `page_token` field in a subsequent request to fetch the next set of results. If empty, all results have been returned.
string next_page_token = 2;value - The nextPageToken to set.public ListNotificationChannelsResponse.Builder clearNextPageToken()
If not empty, indicates that there may be more results that match the request. Use the value in the `page_token` field in a subsequent request to fetch the next set of results. If empty, all results have been returned.
string next_page_token = 2;public ListNotificationChannelsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
If not empty, indicates that there may be more results that match the request. Use the value in the `page_token` field in a subsequent request to fetch the next set of results. If empty, all results have been returned.
string next_page_token = 2;value - The bytes for nextPageToken to set.public int getTotalSize()
The total number of notification channels in all pages. This number is only an estimate, and may change in subsequent pages. https://aip.dev/158
int32 total_size = 4;getTotalSize in interface ListNotificationChannelsResponseOrBuilderpublic ListNotificationChannelsResponse.Builder setTotalSize(int value)
The total number of notification channels in all pages. This number is only an estimate, and may change in subsequent pages. https://aip.dev/158
int32 total_size = 4;value - The totalSize to set.public ListNotificationChannelsResponse.Builder clearTotalSize()
The total number of notification channels in all pages. This number is only an estimate, and may change in subsequent pages. https://aip.dev/158
int32 total_size = 4;public final ListNotificationChannelsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>public final ListNotificationChannelsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>Copyright © 2024 Google LLC. All rights reserved.