public static final class ListNotificationChannelDescriptorsResponse.Builder extends GeneratedMessageV3.Builder<ListNotificationChannelDescriptorsResponse.Builder> implements ListNotificationChannelDescriptorsResponseOrBuilder
The ListNotificationChannelDescriptors
response.
Protobuf type google.monitoring.v3.ListNotificationChannelDescriptorsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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
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
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListNotificationChannelDescriptorsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListNotificationChannelDescriptorsResponse build()
Returns
buildPartial()
public ListNotificationChannelDescriptorsResponse buildPartial()
Returns
clear()
public ListNotificationChannelDescriptorsResponse.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public ListNotificationChannelDescriptorsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ListNotificationChannelDescriptorsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ListNotificationChannelDescriptorsResponse.Builder clone()
Returns
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
Returns
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
Returns
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
getChannelDescriptorsCount()
public int getChannelDescriptorsCount()
The monitored resource descriptors supported for the specified
project, optionally filtered.
repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1;
Returns
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
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
Returns
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListNotificationChannelDescriptorsResponse other)
public ListNotificationChannelDescriptorsResponse.Builder mergeFrom(ListNotificationChannelDescriptorsResponse other)
Parameter
Returns
public ListNotificationChannelDescriptorsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListNotificationChannelDescriptorsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListNotificationChannelDescriptorsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListNotificationChannelDescriptorsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListNotificationChannelDescriptorsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListNotificationChannelDescriptorsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides