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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder> implements ListNotificationChannelsResponseOrBuilder
The `ListNotificationChannels` response.
Protobuf typegoogle.monitoring.v3.ListNotificationChannelsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListNotificationChannelsResponse.BuilderaddAllNotificationChannels(Iterable<? extends NotificationChannel> values)The notification channels defined for the specified project.ListNotificationChannelsResponse.BuilderaddNotificationChannels(int index, NotificationChannel value)The notification channels defined for the specified project.ListNotificationChannelsResponse.BuilderaddNotificationChannels(int index, NotificationChannel.Builder builderForValue)The notification channels defined for the specified project.ListNotificationChannelsResponse.BuilderaddNotificationChannels(NotificationChannel value)The notification channels defined for the specified project.ListNotificationChannelsResponse.BuilderaddNotificationChannels(NotificationChannel.Builder builderForValue)The notification channels defined for the specified project.NotificationChannel.BuilderaddNotificationChannelsBuilder()The notification channels defined for the specified project.NotificationChannel.BuilderaddNotificationChannelsBuilder(int index)The notification channels defined for the specified project.ListNotificationChannelsResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListNotificationChannelsResponsebuild()ListNotificationChannelsResponsebuildPartial()ListNotificationChannelsResponse.Builderclear()ListNotificationChannelsResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ListNotificationChannelsResponse.BuilderclearNextPageToken()If not empty, indicates that there may be more results that match the request.ListNotificationChannelsResponse.BuilderclearNotificationChannels()The notification channels defined for the specified project.ListNotificationChannelsResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ListNotificationChannelsResponse.BuilderclearTotalSize()The total number of notification channels in all pages.ListNotificationChannelsResponse.Builderclone()ListNotificationChannelsResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetNextPageToken()If not empty, indicates that there may be more results that match the request.com.google.protobuf.ByteStringgetNextPageTokenBytes()If not empty, indicates that there may be more results that match the request.NotificationChannelgetNotificationChannels(int index)The notification channels defined for the specified project.NotificationChannel.BuildergetNotificationChannelsBuilder(int index)The notification channels defined for the specified project.List<NotificationChannel.Builder>getNotificationChannelsBuilderList()The notification channels defined for the specified project.intgetNotificationChannelsCount()The notification channels defined for the specified project.List<NotificationChannel>getNotificationChannelsList()The notification channels defined for the specified project.NotificationChannelOrBuildergetNotificationChannelsOrBuilder(int index)The notification channels defined for the specified project.List<? extends NotificationChannelOrBuilder>getNotificationChannelsOrBuilderList()The notification channels defined for the specified project.intgetTotalSize()The total number of notification channels in all pages.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ListNotificationChannelsResponse.BuildermergeFrom(ListNotificationChannelsResponse other)ListNotificationChannelsResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ListNotificationChannelsResponse.BuildermergeFrom(com.google.protobuf.Message other)ListNotificationChannelsResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListNotificationChannelsResponse.BuilderremoveNotificationChannels(int index)The notification channels defined for the specified project.ListNotificationChannelsResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListNotificationChannelsResponse.BuildersetNextPageToken(String value)If not empty, indicates that there may be more results that match the request.ListNotificationChannelsResponse.BuildersetNextPageTokenBytes(com.google.protobuf.ByteString value)If not empty, indicates that there may be more results that match the request.ListNotificationChannelsResponse.BuildersetNotificationChannels(int index, NotificationChannel value)The notification channels defined for the specified project.ListNotificationChannelsResponse.BuildersetNotificationChannels(int index, NotificationChannel.Builder builderForValue)The notification channels defined for the specified project.ListNotificationChannelsResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ListNotificationChannelsResponse.BuildersetTotalSize(int value)The total number of notification channels in all pages.ListNotificationChannelsResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>
-
clear
public ListNotificationChannelsResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>
-
getDefaultInstanceForType
public ListNotificationChannelsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListNotificationChannelsResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListNotificationChannelsResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListNotificationChannelsResponse.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>
-
setField
public ListNotificationChannelsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>
-
clearField
public ListNotificationChannelsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>
-
clearOneof
public ListNotificationChannelsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>
-
setRepeatedField
public ListNotificationChannelsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>
-
addRepeatedField
public ListNotificationChannelsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>
-
mergeFrom
public ListNotificationChannelsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListNotificationChannelsResponse.Builder>
-
mergeFrom
public ListNotificationChannelsResponse.Builder mergeFrom(ListNotificationChannelsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public List<NotificationChannel> 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
public NotificationChannel getNotificationChannels(int index)
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
public ListNotificationChannelsResponse.Builder addNotificationChannels(NotificationChannel value)
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
public ListNotificationChannelsResponse.Builder clearNotificationChannels()
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;
-
removeNotificationChannels
public ListNotificationChannelsResponse.Builder removeNotificationChannels(int index)
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;
-
getNotificationChannelsBuilder
public NotificationChannel.Builder getNotificationChannelsBuilder(int index)
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;
-
getNotificationChannelsOrBuilder
public NotificationChannelOrBuilder getNotificationChannelsOrBuilder(int index)
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;- Specified by:
getNotificationChannelsOrBuilderin interfaceListNotificationChannelsResponseOrBuilder
-
getNotificationChannelsOrBuilderList
public List<? extends NotificationChannelOrBuilder> getNotificationChannelsOrBuilderList()
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;- Specified by:
getNotificationChannelsOrBuilderListin interfaceListNotificationChannelsResponseOrBuilder
-
addNotificationChannelsBuilder
public NotificationChannel.Builder addNotificationChannelsBuilder()
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;
-
addNotificationChannelsBuilder
public NotificationChannel.Builder addNotificationChannelsBuilder(int index)
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;
-
getNotificationChannelsBuilderList
public List<NotificationChannel.Builder> getNotificationChannelsBuilderList()
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;
-
getNextPageToken
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;- 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
public 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;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
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;- 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
public 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;- Parameters:
value- The totalSize to set.- Returns:
- This builder for chaining.
-
clearTotalSize
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;- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListNotificationChannelsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>
-
mergeUnknownFields
public final ListNotificationChannelsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>
-
-