Package com.google.monitoring.v3
Class ListNotificationChannelDescriptorsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelDescriptorsResponse.Builder>
-
- com.google.monitoring.v3.ListNotificationChannelDescriptorsResponse.Builder
-
- All Implemented Interfaces:
ListNotificationChannelDescriptorsResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ListNotificationChannelDescriptorsResponse
public static final class ListNotificationChannelDescriptorsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelDescriptorsResponse.Builder> implements ListNotificationChannelDescriptorsResponseOrBuilder
The `ListNotificationChannelDescriptors` response.
Protobuf typegoogle.monitoring.v3.ListNotificationChannelDescriptorsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListNotificationChannelDescriptorsResponse.Builder
addAllChannelDescriptors(Iterable<? extends NotificationChannelDescriptor> values)
The monitored resource descriptors supported for the specified project, optionally filtered.ListNotificationChannelDescriptorsResponse.Builder
addChannelDescriptors(int index, NotificationChannelDescriptor value)
The monitored resource descriptors supported for the specified project, optionally filtered.ListNotificationChannelDescriptorsResponse.Builder
addChannelDescriptors(int index, NotificationChannelDescriptor.Builder builderForValue)
The monitored resource descriptors supported for the specified project, optionally filtered.ListNotificationChannelDescriptorsResponse.Builder
addChannelDescriptors(NotificationChannelDescriptor value)
The monitored resource descriptors supported for the specified project, optionally filtered.ListNotificationChannelDescriptorsResponse.Builder
addChannelDescriptors(NotificationChannelDescriptor.Builder builderForValue)
The monitored resource descriptors supported for the specified project, optionally filtered.NotificationChannelDescriptor.Builder
addChannelDescriptorsBuilder()
The monitored resource descriptors supported for the specified project, optionally filtered.NotificationChannelDescriptor.Builder
addChannelDescriptorsBuilder(int index)
The monitored resource descriptors supported for the specified project, optionally filtered.ListNotificationChannelDescriptorsResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListNotificationChannelDescriptorsResponse
build()
ListNotificationChannelDescriptorsResponse
buildPartial()
ListNotificationChannelDescriptorsResponse.Builder
clear()
ListNotificationChannelDescriptorsResponse.Builder
clearChannelDescriptors()
The monitored resource descriptors supported for the specified project, optionally filtered.ListNotificationChannelDescriptorsResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ListNotificationChannelDescriptorsResponse.Builder
clearNextPageToken()
If not empty, indicates that there may be more results that match the request.ListNotificationChannelDescriptorsResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ListNotificationChannelDescriptorsResponse.Builder
clone()
NotificationChannelDescriptor
getChannelDescriptors(int index)
The monitored resource descriptors supported for the specified project, optionally filtered.NotificationChannelDescriptor.Builder
getChannelDescriptorsBuilder(int index)
The monitored resource descriptors supported for the specified project, optionally filtered.List<NotificationChannelDescriptor.Builder>
getChannelDescriptorsBuilderList()
The monitored resource descriptors supported for the specified project, optionally filtered.int
getChannelDescriptorsCount()
The monitored resource descriptors supported for the specified project, optionally filtered.List<NotificationChannelDescriptor>
getChannelDescriptorsList()
The monitored resource descriptors supported for the specified project, optionally filtered.NotificationChannelDescriptorOrBuilder
getChannelDescriptorsOrBuilder(int index)
The monitored resource descriptors supported for the specified project, optionally filtered.List<? extends NotificationChannelDescriptorOrBuilder>
getChannelDescriptorsOrBuilderList()
The monitored resource descriptors supported for the specified project, optionally filtered.ListNotificationChannelDescriptorsResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getNextPageToken()
If not empty, indicates that there may be more results that match the request.com.google.protobuf.ByteString
getNextPageTokenBytes()
If not empty, indicates that there may be more results that match the request.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListNotificationChannelDescriptorsResponse.Builder
mergeFrom(ListNotificationChannelDescriptorsResponse other)
ListNotificationChannelDescriptorsResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListNotificationChannelDescriptorsResponse.Builder
mergeFrom(com.google.protobuf.Message other)
ListNotificationChannelDescriptorsResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListNotificationChannelDescriptorsResponse.Builder
removeChannelDescriptors(int index)
The monitored resource descriptors supported for the specified project, optionally filtered.ListNotificationChannelDescriptorsResponse.Builder
setChannelDescriptors(int index, NotificationChannelDescriptor value)
The monitored resource descriptors supported for the specified project, optionally filtered.ListNotificationChannelDescriptorsResponse.Builder
setChannelDescriptors(int index, NotificationChannelDescriptor.Builder builderForValue)
The monitored resource descriptors supported for the specified project, optionally filtered.ListNotificationChannelDescriptorsResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListNotificationChannelDescriptorsResponse.Builder
setNextPageToken(String value)
If not empty, indicates that there may be more results that match the request.ListNotificationChannelDescriptorsResponse.Builder
setNextPageTokenBytes(com.google.protobuf.ByteString value)
If not empty, indicates that there may be more results that match the request.ListNotificationChannelDescriptorsResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ListNotificationChannelDescriptorsResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelDescriptorsResponse.Builder>
-
clear
public ListNotificationChannelDescriptorsResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelDescriptorsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelDescriptorsResponse.Builder>
-
getDefaultInstanceForType
public ListNotificationChannelDescriptorsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListNotificationChannelDescriptorsResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListNotificationChannelDescriptorsResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListNotificationChannelDescriptorsResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelDescriptorsResponse.Builder>
-
setField
public ListNotificationChannelDescriptorsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelDescriptorsResponse.Builder>
-
clearField
public ListNotificationChannelDescriptorsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelDescriptorsResponse.Builder>
-
clearOneof
public ListNotificationChannelDescriptorsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelDescriptorsResponse.Builder>
-
setRepeatedField
public ListNotificationChannelDescriptorsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelDescriptorsResponse.Builder>
-
addRepeatedField
public ListNotificationChannelDescriptorsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelDescriptorsResponse.Builder>
-
mergeFrom
public ListNotificationChannelDescriptorsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListNotificationChannelDescriptorsResponse.Builder>
-
mergeFrom
public ListNotificationChannelDescriptorsResponse.Builder mergeFrom(ListNotificationChannelDescriptorsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelDescriptorsResponse.Builder>
-
mergeFrom
public ListNotificationChannelDescriptorsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListNotificationChannelDescriptorsResponse.Builder>
- Throws:
IOException
-
getChannelDescriptorsList
public List<NotificationChannelDescriptor> getChannelDescriptorsList()
The monitored resource descriptors supported for the specified project, optionally filtered.
repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1;
- Specified by:
getChannelDescriptorsList
in interfaceListNotificationChannelDescriptorsResponseOrBuilder
-
getChannelDescriptorsCount
public int getChannelDescriptorsCount()
The monitored resource descriptors supported for the specified project, optionally filtered.
repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1;
- Specified by:
getChannelDescriptorsCount
in interfaceListNotificationChannelDescriptorsResponseOrBuilder
-
getChannelDescriptors
public NotificationChannelDescriptor getChannelDescriptors(int index)
The monitored resource descriptors supported for the specified project, optionally filtered.
repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1;
- Specified by:
getChannelDescriptors
in interfaceListNotificationChannelDescriptorsResponseOrBuilder
-
setChannelDescriptors
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;
-
setChannelDescriptors
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;
-
addChannelDescriptors
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;
-
addChannelDescriptors
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;
-
addChannelDescriptors
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;
-
addChannelDescriptors
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;
-
addAllChannelDescriptors
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;
-
clearChannelDescriptors
public ListNotificationChannelDescriptorsResponse.Builder clearChannelDescriptors()
The monitored resource descriptors supported for the specified project, optionally filtered.
repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1;
-
removeChannelDescriptors
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;
-
getChannelDescriptorsBuilder
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;
-
getChannelDescriptorsOrBuilder
public NotificationChannelDescriptorOrBuilder getChannelDescriptorsOrBuilder(int index)
The monitored resource descriptors supported for the specified project, optionally filtered.
repeated .google.monitoring.v3.NotificationChannelDescriptor channel_descriptors = 1;
- Specified by:
getChannelDescriptorsOrBuilder
in interfaceListNotificationChannelDescriptorsResponseOrBuilder
-
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;
- Specified by:
getChannelDescriptorsOrBuilderList
in interfaceListNotificationChannelDescriptorsResponseOrBuilder
-
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
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;
-
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;
-
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;
- Specified by:
getNextPageToken
in interfaceListNotificationChannelDescriptorsResponseOrBuilder
- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.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;
- Specified by:
getNextPageTokenBytes
in interfaceListNotificationChannelDescriptorsResponseOrBuilder
- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
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;
- Parameters:
value
- The nextPageToken to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setNextPageTokenBytes
public ListNotificationChannelDescriptorsResponse.Builder setNextPageTokenBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListNotificationChannelDescriptorsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelDescriptorsResponse.Builder>
-
mergeUnknownFields
public final ListNotificationChannelDescriptorsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelDescriptorsResponse.Builder>
-
-