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.Builder
addAllNotificationChannels(Iterable<? extends NotificationChannel> values)
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(int index, NotificationChannel.Builder builderForValue)
The notification channels defined for the specified project.ListNotificationChannelsResponse.Builder
addNotificationChannels(NotificationChannel value)
The notification channels defined for the specified project.ListNotificationChannelsResponse.Builder
addNotificationChannels(NotificationChannel.Builder builderForValue)
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(ListNotificationChannelsResponse other)
ListNotificationChannelsResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
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 value)
The notification channels defined for the specified project.ListNotificationChannelsResponse.Builder
setNotificationChannels(int index, NotificationChannel.Builder builderForValue)
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)
-
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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>
-
clear
public ListNotificationChannelsResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>
-
getDefaultInstanceForType
public ListNotificationChannelsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListNotificationChannelsResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListNotificationChannelsResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListNotificationChannelsResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>
-
setField
public ListNotificationChannelsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>
-
clearField
public ListNotificationChannelsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>
-
clearOneof
public ListNotificationChannelsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>
-
setRepeatedField
public ListNotificationChannelsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>
-
addRepeatedField
public ListNotificationChannelsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>
-
mergeFrom
public ListNotificationChannelsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListNotificationChannelsResponse.Builder>
-
mergeFrom
public ListNotificationChannelsResponse.Builder mergeFrom(ListNotificationChannelsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getNotificationChannelsList
in interfaceListNotificationChannelsResponseOrBuilder
-
getNotificationChannelsCount
public int getNotificationChannelsCount()
The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;
- Specified by:
getNotificationChannelsCount
in 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:
getNotificationChannels
in 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:
getNotificationChannelsOrBuilder
in 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:
getNotificationChannelsOrBuilderList
in 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:
getNextPageToken
in 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:
getNextPageTokenBytes
in 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:
getTotalSize
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>
-
mergeUnknownFields
public final ListNotificationChannelsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsResponse.Builder>
-
-