Class ListNotificationChannelDescriptorsResponse.Builder (3.35.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.monitoring.v3.NotificationChannelDescriptor>
Returns
TypeDescription
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
NameDescription
valueNotificationChannelDescriptor
Returns
TypeDescription
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
NameDescription
builderForValueNotificationChannelDescriptor.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueNotificationChannelDescriptor
Returns
TypeDescription
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
NameDescription
indexint
builderForValueNotificationChannelDescriptor.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
NotificationChannelDescriptor.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListNotificationChannelDescriptorsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListNotificationChannelDescriptorsResponse.Builder
Overrides

build()

public ListNotificationChannelDescriptorsResponse build()
Returns
TypeDescription
ListNotificationChannelDescriptorsResponse

buildPartial()

public ListNotificationChannelDescriptorsResponse buildPartial()
Returns
TypeDescription
ListNotificationChannelDescriptorsResponse

clear()

public ListNotificationChannelDescriptorsResponse.Builder clear()
Returns
TypeDescription
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
TypeDescription
ListNotificationChannelDescriptorsResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public ListNotificationChannelDescriptorsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListNotificationChannelDescriptorsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListNotificationChannelDescriptorsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListNotificationChannelDescriptorsResponse.Builder
Overrides

clone()

public ListNotificationChannelDescriptorsResponse.Builder clone()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.monitoring.v3.NotificationChannelDescriptorOrBuilder>

getDefaultInstanceForType()

public ListNotificationChannelDescriptorsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListNotificationChannelDescriptorsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListNotificationChannelDescriptorsResponse other)

public ListNotificationChannelDescriptorsResponse.Builder mergeFrom(ListNotificationChannelDescriptorsResponse other)
Parameter
NameDescription
otherListNotificationChannelDescriptorsResponse
Returns
TypeDescription
ListNotificationChannelDescriptorsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListNotificationChannelDescriptorsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListNotificationChannelDescriptorsResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListNotificationChannelDescriptorsResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListNotificationChannelDescriptorsResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListNotificationChannelDescriptorsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueNotificationChannelDescriptor
Returns
TypeDescription
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
NameDescription
indexint
builderForValueNotificationChannelDescriptor.Builder
Returns
TypeDescription
ListNotificationChannelDescriptorsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListNotificationChannelDescriptorsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListNotificationChannelDescriptorsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListNotificationChannelDescriptorsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListNotificationChannelDescriptorsResponse.Builder
Overrides