Class ListNotificationChannelDescriptorsResponse.Builder (3.53.0)

public static final class ListNotificationChannelDescriptorsResponse.Builder extends GeneratedMessageV3.Builder<ListNotificationChannelDescriptorsResponse.Builder> implements ListNotificationChannelDescriptorsResponseOrBuilder

The ListNotificationChannelDescriptors response.

Protobuf type google.monitoring.v3.ListNotificationChannelDescriptorsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllChannelDescriptors(Iterable<? extends NotificationChannelDescriptor> values)

public ListNotificationChannelDescriptorsResponse.Builder addAllChannelDescriptors(Iterable<? extends NotificationChannelDescriptor> values)

The monitored resource descriptors supported for the specified project, optionally filtered.

repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1;

Parameter
Name Description
values Iterable<? extends com.google.monitoring.v3.NotificationChannelDescriptor>
Returns
Type Description
ListNotificationChannelDescriptorsResponse.Builder

addChannelDescriptors(NotificationChannelDescriptor value)

public ListNotificationChannelDescriptorsResponse.Builder addChannelDescriptors(NotificationChannelDescriptor value)

The monitored resource descriptors supported for the specified project, optionally filtered.

repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1;

Parameter
Name Description
value NotificationChannelDescriptor
Returns
Type Description
ListNotificationChannelDescriptorsResponse.Builder

addChannelDescriptors(NotificationChannelDescriptor.Builder builderForValue)

public ListNotificationChannelDescriptorsResponse.Builder addChannelDescriptors(NotificationChannelDescriptor.Builder builderForValue)

The monitored resource descriptors supported for the specified project, optionally filtered.

repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1;

Parameter
Name Description
builderForValue NotificationChannelDescriptor.Builder
Returns
Type Description
ListNotificationChannelDescriptorsResponse.Builder

addChannelDescriptors(int index, NotificationChannelDescriptor value)

public ListNotificationChannelDescriptorsResponse.Builder addChannelDescriptors(int index, NotificationChannelDescriptor value)

The monitored resource descriptors supported for the specified project, optionally filtered.

repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1;

Parameters
Name Description
index int
value NotificationChannelDescriptor
Returns
Type Description
ListNotificationChannelDescriptorsResponse.Builder

addChannelDescriptors(int index, NotificationChannelDescriptor.Builder builderForValue)

public ListNotificationChannelDescriptorsResponse.Builder addChannelDescriptors(int index, NotificationChannelDescriptor.Builder builderForValue)

The monitored resource descriptors supported for the specified project, optionally filtered.

repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1;

Parameters
Name Description
index int
builderForValue NotificationChannelDescriptor.Builder
Returns
Type Description
ListNotificationChannelDescriptorsResponse.Builder

addChannelDescriptorsBuilder()

public NotificationChannelDescriptor.Builder addChannelDescriptorsBuilder()

The monitored resource descriptors supported for the specified project, optionally filtered.

repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1;

Returns
Type Description
NotificationChannelDescriptor.Builder

addChannelDescriptorsBuilder(int index)

public NotificationChannelDescriptor.Builder addChannelDescriptorsBuilder(int index)

The monitored resource descriptors supported for the specified project, optionally filtered.

repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1;

Parameter
Name Description
index int
Returns
Type Description
NotificationChannelDescriptor.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListNotificationChannelDescriptorsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListNotificationChannelDescriptorsResponse.Builder
Overrides

build()

public ListNotificationChannelDescriptorsResponse build()
Returns
Type Description
ListNotificationChannelDescriptorsResponse

buildPartial()

public ListNotificationChannelDescriptorsResponse buildPartial()
Returns
Type Description
ListNotificationChannelDescriptorsResponse

clear()

public ListNotificationChannelDescriptorsResponse.Builder clear()
Returns
Type Description
ListNotificationChannelDescriptorsResponse.Builder
Overrides

clearChannelDescriptors()

public ListNotificationChannelDescriptorsResponse.Builder clearChannelDescriptors()

The monitored resource descriptors supported for the specified project, optionally filtered.

repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1;

Returns
Type Description
ListNotificationChannelDescriptorsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListNotificationChannelDescriptorsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListNotificationChannelDescriptorsResponse.Builder
Overrides

clearNextPageToken()

public ListNotificationChannelDescriptorsResponse.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
ListNotificationChannelDescriptorsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListNotificationChannelDescriptorsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListNotificationChannelDescriptorsResponse.Builder
Overrides

clone()

public ListNotificationChannelDescriptorsResponse.Builder clone()
Returns
Type Description
ListNotificationChannelDescriptorsResponse.Builder
Overrides

getChannelDescriptors(int index)

public NotificationChannelDescriptor getChannelDescriptors(int index)

The monitored resource descriptors supported for the specified project, optionally filtered.

repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1;

Parameter
Name Description
index int
Returns
Type Description
NotificationChannelDescriptor

getChannelDescriptorsBuilder(int index)

public NotificationChannelDescriptor.Builder getChannelDescriptorsBuilder(int index)

The monitored resource descriptors supported for the specified project, optionally filtered.

repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1;

Parameter
Name Description
index int
Returns
Type Description
NotificationChannelDescriptor.Builder

getChannelDescriptorsBuilderList()

public List<NotificationChannelDescriptor.Builder> getChannelDescriptorsBuilderList()

The monitored resource descriptors supported for the specified project, optionally filtered.

repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1;

Returns
Type Description
List<Builder>

getChannelDescriptorsCount()

public int getChannelDescriptorsCount()

The monitored resource descriptors supported for the specified project, optionally filtered.

repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1;

Returns
Type Description
int

getChannelDescriptorsList()

public List<NotificationChannelDescriptor> getChannelDescriptorsList()

The monitored resource descriptors supported for the specified project, optionally filtered.

repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1;

Returns
Type Description
List<NotificationChannelDescriptor>

getChannelDescriptorsOrBuilder(int index)

public NotificationChannelDescriptorOrBuilder getChannelDescriptorsOrBuilder(int index)

The monitored resource descriptors supported for the specified project, optionally filtered.

repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1;

Parameter
Name Description
index int
Returns
Type Description
NotificationChannelDescriptorOrBuilder

getChannelDescriptorsOrBuilderList()

public List<? extends NotificationChannelDescriptorOrBuilder> getChannelDescriptorsOrBuilderList()

The monitored resource descriptors supported for the specified project, optionally filtered.

repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1;

Returns
Type Description
List<? extends com.google.monitoring.v3.NotificationChannelDescriptorOrBuilder>

getDefaultInstanceForType()

public ListNotificationChannelDescriptorsResponse getDefaultInstanceForType()
Returns
Type Description
ListNotificationChannelDescriptorsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListNotificationChannelDescriptorsResponse other)

public ListNotificationChannelDescriptorsResponse.Builder mergeFrom(ListNotificationChannelDescriptorsResponse other)
Parameter
Name Description
other ListNotificationChannelDescriptorsResponse
Returns
Type Description
ListNotificationChannelDescriptorsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListNotificationChannelDescriptorsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListNotificationChannelDescriptorsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListNotificationChannelDescriptorsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListNotificationChannelDescriptorsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListNotificationChannelDescriptorsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListNotificationChannelDescriptorsResponse.Builder
Overrides

removeChannelDescriptors(int index)

public ListNotificationChannelDescriptorsResponse.Builder removeChannelDescriptors(int index)

The monitored resource descriptors supported for the specified project, optionally filtered.

repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1;

Parameter
Name Description
index int
Returns
Type Description
ListNotificationChannelDescriptorsResponse.Builder

setChannelDescriptors(int index, NotificationChannelDescriptor value)

public ListNotificationChannelDescriptorsResponse.Builder setChannelDescriptors(int index, NotificationChannelDescriptor value)

The monitored resource descriptors supported for the specified project, optionally filtered.

repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1;

Parameters
Name Description
index int
value NotificationChannelDescriptor
Returns
Type Description
ListNotificationChannelDescriptorsResponse.Builder

setChannelDescriptors(int index, NotificationChannelDescriptor.Builder builderForValue)

public ListNotificationChannelDescriptorsResponse.Builder setChannelDescriptors(int index, NotificationChannelDescriptor.Builder builderForValue)

The monitored resource descriptors supported for the specified project, optionally filtered.

repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1;

Parameters
Name Description
index int
builderForValue NotificationChannelDescriptor.Builder
Returns
Type Description
ListNotificationChannelDescriptorsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListNotificationChannelDescriptorsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListNotificationChannelDescriptorsResponse.Builder
Overrides

setNextPageToken(String value)

public ListNotificationChannelDescriptorsResponse.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 String

The nextPageToken to set.

Returns
Type Description
ListNotificationChannelDescriptorsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListNotificationChannelDescriptorsResponse.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 ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListNotificationChannelDescriptorsResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListNotificationChannelDescriptorsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListNotificationChannelDescriptorsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListNotificationChannelDescriptorsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListNotificationChannelDescriptorsResponse.Builder
Overrides