Package com.google.monitoring.v3
Class ListNotificationChannelsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListNotificationChannelsResponse.Builder>
com.google.monitoring.v3.ListNotificationChannelsResponse.Builder
- All Implemented Interfaces:
ListNotificationChannelsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListNotificationChannelsResponse
public static final class ListNotificationChannelsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListNotificationChannelsResponse.Builder>
implements ListNotificationChannelsResponseOrBuilder
The `ListNotificationChannels` response.Protobuf type
google.monitoring.v3.ListNotificationChannelsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllNotificationChannels(Iterable<? extends NotificationChannel> values) The notification channels defined for the specified project.addNotificationChannels(int index, NotificationChannel value) The notification channels defined for the specified project.addNotificationChannels(int index, NotificationChannel.Builder builderForValue) The notification channels defined for the specified project.The notification channels defined for the specified project.addNotificationChannels(NotificationChannel.Builder builderForValue) The notification channels defined for the specified project.The notification channels defined for the specified project.addNotificationChannelsBuilder(int index) The notification channels defined for the specified project.build()clear()If not empty, indicates that there may be more results that match the request.The notification channels defined for the specified project.The total number of notification channels in all pages.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorIf not empty, indicates that there may be more results that match the request.com.google.protobuf.ByteStringIf not empty, indicates that there may be more results that match the request.getNotificationChannels(int index) The notification channels defined for the specified project.getNotificationChannelsBuilder(int index) The notification channels defined for the specified project.The notification channels defined for the specified project.intThe notification channels defined for the specified project.The notification channels defined for the specified project.getNotificationChannelsOrBuilder(int index) The notification channels defined for the specified project.List<? extends NotificationChannelOrBuilder>The notification channels defined for the specified project.intThe total number of notification channels in all pages.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeNotificationChannels(int index) The notification channels defined for the specified project.setNextPageToken(String value) If not empty, indicates that there may be more results that match the request.setNextPageTokenBytes(com.google.protobuf.ByteString value) If not empty, indicates that there may be more results that match the request.setNotificationChannels(int index, NotificationChannel value) The notification channels defined for the specified project.setNotificationChannels(int index, NotificationChannel.Builder builderForValue) The notification channels defined for the specified project.setTotalSize(int value) The total number of notification channels in all pages.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ListNotificationChannelsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ListNotificationChannelsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ListNotificationChannelsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListNotificationChannelsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListNotificationChannelsResponse.Builder>
-
mergeFrom
public ListNotificationChannelsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListNotificationChannelsResponse.Builder>- Throws:
IOException
-
getNotificationChannelsList
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;- Specified by:
getNotificationChannelsListin interfaceListNotificationChannelsResponseOrBuilder
-
getNotificationChannelsCount
public int getNotificationChannelsCount()The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;- Specified by:
getNotificationChannelsCountin interfaceListNotificationChannelsResponseOrBuilder
-
getNotificationChannels
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;- Specified by:
getNotificationChannelsin interfaceListNotificationChannelsResponseOrBuilder
-
setNotificationChannels
public ListNotificationChannelsResponse.Builder setNotificationChannels(int index, NotificationChannel value) The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3; -
setNotificationChannels
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; -
addNotificationChannels
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3; -
addNotificationChannels
public ListNotificationChannelsResponse.Builder addNotificationChannels(int index, NotificationChannel value) The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3; -
addNotificationChannels
public ListNotificationChannelsResponse.Builder addNotificationChannels(NotificationChannel.Builder builderForValue) The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3; -
addNotificationChannels
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; -
addAllNotificationChannels
public ListNotificationChannelsResponse.Builder addAllNotificationChannels(Iterable<? extends NotificationChannel> values) The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3; -
clearNotificationChannels
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3; -
removeNotificationChannels
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3; -
getNotificationChannelsBuilder
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3; -
getNotificationChannelsOrBuilder
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;- Specified by:
getNotificationChannelsOrBuilderin interfaceListNotificationChannelsResponseOrBuilder
-
getNotificationChannelsOrBuilderList
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;- Specified by:
getNotificationChannelsOrBuilderListin interfaceListNotificationChannelsResponseOrBuilder
-
addNotificationChannelsBuilder
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3; -
addNotificationChannelsBuilder
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3; -
getNotificationChannelsBuilderList
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3; -
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;- Specified by:
getNextPageTokenin interfaceListNotificationChannelsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public 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;- Specified by:
getNextPageTokenBytesin interfaceListNotificationChannelsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
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;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
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;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
getTotalSize
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;- Specified by:
getTotalSizein interfaceListNotificationChannelsResponseOrBuilder- Returns:
- The totalSize.
-
setTotalSize
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;- Parameters:
value- The totalSize to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-