public static final class ListNotificationChannelsResponse.Builder extends GeneratedMessage.Builder<ListNotificationChannelsResponse.Builder> implements ListNotificationChannelsResponseOrBuilder The ListNotificationChannels response.
Protobuf type google.monitoring.v3.ListNotificationChannelsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListNotificationChannelsResponse.BuilderImplements
ListNotificationChannelsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllNotificationChannels(Iterable<? extends NotificationChannel> values)
public ListNotificationChannelsResponse.Builder addAllNotificationChannels(Iterable<? extends NotificationChannel> values)The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.monitoring.v3.NotificationChannel> |
| Returns | |
|---|---|
| Type | Description |
ListNotificationChannelsResponse.Builder |
|
addNotificationChannels(NotificationChannel value)
public ListNotificationChannelsResponse.Builder addNotificationChannels(NotificationChannel value)The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
NotificationChannel |
| Returns | |
|---|---|
| Type | Description |
ListNotificationChannelsResponse.Builder |
|
addNotificationChannels(NotificationChannel.Builder builderForValue)
public ListNotificationChannelsResponse.Builder addNotificationChannels(NotificationChannel.Builder builderForValue)The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
NotificationChannel.Builder |
| Returns | |
|---|---|
| Type | Description |
ListNotificationChannelsResponse.Builder |
|
addNotificationChannels(int index, NotificationChannel value)
public ListNotificationChannelsResponse.Builder addNotificationChannels(int index, NotificationChannel value)The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
NotificationChannel |
| Returns | |
|---|---|
| Type | Description |
ListNotificationChannelsResponse.Builder |
|
addNotificationChannels(int index, NotificationChannel.Builder builderForValue)
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
NotificationChannel.Builder |
| Returns | |
|---|---|
| Type | Description |
ListNotificationChannelsResponse.Builder |
|
addNotificationChannelsBuilder()
public NotificationChannel.Builder addNotificationChannelsBuilder()The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;
| Returns | |
|---|---|
| Type | Description |
NotificationChannel.Builder |
|
addNotificationChannelsBuilder(int index)
public NotificationChannel.Builder addNotificationChannelsBuilder(int index)The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
NotificationChannel.Builder |
|
build()
public ListNotificationChannelsResponse build()| Returns | |
|---|---|
| Type | Description |
ListNotificationChannelsResponse |
|
buildPartial()
public ListNotificationChannelsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
ListNotificationChannelsResponse |
|
clear()
public ListNotificationChannelsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListNotificationChannelsResponse.Builder |
|
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 | |
|---|---|
| Type | Description |
ListNotificationChannelsResponse.Builder |
This builder for chaining. |
clearNotificationChannels()
public ListNotificationChannelsResponse.Builder clearNotificationChannels()The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;
| Returns | |
|---|---|
| Type | Description |
ListNotificationChannelsResponse.Builder |
|
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 | |
|---|---|
| Type | Description |
ListNotificationChannelsResponse.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ListNotificationChannelsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListNotificationChannelsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
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;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
getNotificationChannels(int index)
public NotificationChannel getNotificationChannels(int index)The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
NotificationChannel |
|
getNotificationChannelsBuilder(int index)
public NotificationChannel.Builder getNotificationChannelsBuilder(int index)The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
NotificationChannel.Builder |
|
getNotificationChannelsBuilderList()
public List<NotificationChannel.Builder> getNotificationChannelsBuilderList()The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getNotificationChannelsCount()
public int getNotificationChannelsCount()The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;
| Returns | |
|---|---|
| Type | Description |
int |
|
getNotificationChannelsList()
public List<NotificationChannel> getNotificationChannelsList()The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;
| Returns | |
|---|---|
| Type | Description |
List<NotificationChannel> |
|
getNotificationChannelsOrBuilder(int index)
public NotificationChannelOrBuilder getNotificationChannelsOrBuilder(int index)The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
NotificationChannelOrBuilder |
|
getNotificationChannelsOrBuilderList()
public List<? extends NotificationChannelOrBuilder> getNotificationChannelsOrBuilderList()The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.monitoring.v3.NotificationChannelOrBuilder> |
|
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;
| Returns | |
|---|---|
| Type | Description |
int |
The totalSize. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListNotificationChannelsResponse other)
public ListNotificationChannelsResponse.Builder mergeFrom(ListNotificationChannelsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
ListNotificationChannelsResponse |
| Returns | |
|---|---|
| Type | Description |
ListNotificationChannelsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListNotificationChannelsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListNotificationChannelsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListNotificationChannelsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListNotificationChannelsResponse.Builder |
|
removeNotificationChannels(int index)
public ListNotificationChannelsResponse.Builder removeNotificationChannels(int index)The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ListNotificationChannelsResponse.Builder |
|
setNextPageToken(String value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListNotificationChannelsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListNotificationChannelsResponse.Builder |
This builder for chaining. |
setNotificationChannels(int index, NotificationChannel value)
public ListNotificationChannelsResponse.Builder setNotificationChannels(int index, NotificationChannel value)The notification channels defined for the specified project.
repeated .google.monitoring.v3.NotificationChannel notification_channels = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
NotificationChannel |
| Returns | |
|---|---|
| Type | Description |
ListNotificationChannelsResponse.Builder |
|
setNotificationChannels(int index, NotificationChannel.Builder builderForValue)
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
NotificationChannel.Builder |
| Returns | |
|---|---|
| Type | Description |
ListNotificationChannelsResponse.Builder |
|
setTotalSize(int value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe totalSize to set. |
| Returns | |
|---|---|
| Type | Description |
ListNotificationChannelsResponse.Builder |
This builder for chaining. |