public static final class ListNotificationChannelsResponse.Builder extends GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder> implements ListNotificationChannelsResponseOrBuilder
The `ListNotificationChannels` response.Protobuf type
google.monitoring.v3.ListNotificationChannelsResponse
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>
public ListNotificationChannelsResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>
public ListNotificationChannelsResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ListNotificationChannelsResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ListNotificationChannelsResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ListNotificationChannelsResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>
public ListNotificationChannelsResponse.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>
public ListNotificationChannelsResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>
public ListNotificationChannelsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>
public ListNotificationChannelsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>
public ListNotificationChannelsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>
public ListNotificationChannelsResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ListNotificationChannelsResponse.Builder>
public ListNotificationChannelsResponse.Builder mergeFrom(ListNotificationChannelsResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>
public ListNotificationChannelsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ListNotificationChannelsResponse.Builder>
java.io.IOException
public java.util.List<NotificationChannel> getNotificationChannelsList()
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;
getNotificationChannelsList
in interface ListNotificationChannelsResponseOrBuilder
public int getNotificationChannelsCount()
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;
getNotificationChannelsCount
in interface ListNotificationChannelsResponseOrBuilder
public NotificationChannel getNotificationChannels(int index)
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;
getNotificationChannels
in interface ListNotificationChannelsResponseOrBuilder
public 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(java.lang.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 ListNotificationChannelsResponseOrBuilder
public java.util.List<? extends NotificationChannelOrBuilder> getNotificationChannelsOrBuilderList()
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;
getNotificationChannelsOrBuilderList
in interface ListNotificationChannelsResponseOrBuilder
public 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 java.util.List<NotificationChannel.Builder> getNotificationChannelsBuilderList()
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;
public java.lang.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 ListNotificationChannelsResponseOrBuilder
public 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 ListNotificationChannelsResponseOrBuilder
public ListNotificationChannelsResponse.Builder setNextPageToken(java.lang.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;
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(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;
public final ListNotificationChannelsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>
public final ListNotificationChannelsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>