Class ListNotificationChannelDescriptorsResponse.Builder (3.36.0)

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

The ListNotificationChannelDescriptors response.

Protobuf type google.monitoring.v3.ListNotificationChannelDescriptorsResponse

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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>

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

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

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

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

addChannelDescriptorsBuilder()

public NotificationChannelDescriptor.Builder addChannelDescriptorsBuilder()

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

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

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListNotificationChannelDescriptorsResponse build()

buildPartial()

public ListNotificationChannelDescriptorsResponse buildPartial()

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clone()

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

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

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()

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

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