Package com.google.monitoring.v3
Class ListNotificationChannelsRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsRequest.Builder>
-
- com.google.monitoring.v3.ListNotificationChannelsRequest.Builder
-
- All Implemented Interfaces:
ListNotificationChannelsRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ListNotificationChannelsRequest
public static final class ListNotificationChannelsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsRequest.Builder> implements ListNotificationChannelsRequestOrBuilder
The `ListNotificationChannels` request.
Protobuf typegoogle.monitoring.v3.ListNotificationChannelsRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListNotificationChannelsRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListNotificationChannelsRequest
build()
ListNotificationChannelsRequest
buildPartial()
ListNotificationChannelsRequest.Builder
clear()
ListNotificationChannelsRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ListNotificationChannelsRequest.Builder
clearFilter()
If provided, this field specifies the criteria that must be met by notification channels to be included in the response.ListNotificationChannelsRequest.Builder
clearName()
Required.ListNotificationChannelsRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ListNotificationChannelsRequest.Builder
clearOrderBy()
A comma-separated list of fields by which to sort the result.ListNotificationChannelsRequest.Builder
clearPageSize()
The maximum number of results to return in a single response.ListNotificationChannelsRequest.Builder
clearPageToken()
If non-empty, `page_token` must contain a value returned as the `next_page_token` in a previous response to request the next set of results.ListNotificationChannelsRequest.Builder
clone()
ListNotificationChannelsRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getFilter()
If provided, this field specifies the criteria that must be met by notification channels to be included in the response.com.google.protobuf.ByteString
getFilterBytes()
If provided, this field specifies the criteria that must be met by notification channels to be included in the response.String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.String
getOrderBy()
A comma-separated list of fields by which to sort the result.com.google.protobuf.ByteString
getOrderByBytes()
A comma-separated list of fields by which to sort the result.int
getPageSize()
The maximum number of results to return in a single response.String
getPageToken()
If non-empty, `page_token` must contain a value returned as the `next_page_token` in a previous response to request the next set of results.com.google.protobuf.ByteString
getPageTokenBytes()
If non-empty, `page_token` must contain a value returned as the `next_page_token` in a previous response to request the next set of results.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListNotificationChannelsRequest.Builder
mergeFrom(ListNotificationChannelsRequest other)
ListNotificationChannelsRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListNotificationChannelsRequest.Builder
mergeFrom(com.google.protobuf.Message other)
ListNotificationChannelsRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListNotificationChannelsRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListNotificationChannelsRequest.Builder
setFilter(String value)
If provided, this field specifies the criteria that must be met by notification channels to be included in the response.ListNotificationChannelsRequest.Builder
setFilterBytes(com.google.protobuf.ByteString value)
If provided, this field specifies the criteria that must be met by notification channels to be included in the response.ListNotificationChannelsRequest.Builder
setName(String value)
Required.ListNotificationChannelsRequest.Builder
setNameBytes(com.google.protobuf.ByteString value)
Required.ListNotificationChannelsRequest.Builder
setOrderBy(String value)
A comma-separated list of fields by which to sort the result.ListNotificationChannelsRequest.Builder
setOrderByBytes(com.google.protobuf.ByteString value)
A comma-separated list of fields by which to sort the result.ListNotificationChannelsRequest.Builder
setPageSize(int value)
The maximum number of results to return in a single response.ListNotificationChannelsRequest.Builder
setPageToken(String value)
If non-empty, `page_token` must contain a value returned as the `next_page_token` in a previous response to request the next set of results.ListNotificationChannelsRequest.Builder
setPageTokenBytes(com.google.protobuf.ByteString value)
If non-empty, `page_token` must contain a value returned as the `next_page_token` in a previous response to request the next set of results.ListNotificationChannelsRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ListNotificationChannelsRequest.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<ListNotificationChannelsRequest.Builder>
-
clear
public ListNotificationChannelsRequest.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<ListNotificationChannelsRequest.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<ListNotificationChannelsRequest.Builder>
-
getDefaultInstanceForType
public ListNotificationChannelsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListNotificationChannelsRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListNotificationChannelsRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListNotificationChannelsRequest.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<ListNotificationChannelsRequest.Builder>
-
setField
public ListNotificationChannelsRequest.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<ListNotificationChannelsRequest.Builder>
-
clearField
public ListNotificationChannelsRequest.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<ListNotificationChannelsRequest.Builder>
-
clearOneof
public ListNotificationChannelsRequest.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<ListNotificationChannelsRequest.Builder>
-
setRepeatedField
public ListNotificationChannelsRequest.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<ListNotificationChannelsRequest.Builder>
-
addRepeatedField
public ListNotificationChannelsRequest.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<ListNotificationChannelsRequest.Builder>
-
mergeFrom
public ListNotificationChannelsRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListNotificationChannelsRequest.Builder>
-
mergeFrom
public ListNotificationChannelsRequest.Builder mergeFrom(ListNotificationChannelsRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsRequest.Builder>
-
mergeFrom
public ListNotificationChannelsRequest.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<ListNotificationChannelsRequest.Builder>
- Throws:
IOException
-
getName
public String getName()
Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] This names the container in which to look for the notification channels; it does not name a specific channel. To query a specific channel by REST resource name, use the [`GetNotificationChannel`][google.monitoring.v3.NotificationChannelService.GetNotificationChannel] operation.
string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Specified by:
getName
in interfaceListNotificationChannelsRequestOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] This names the container in which to look for the notification channels; it does not name a specific channel. To query a specific channel by REST resource name, use the [`GetNotificationChannel`][google.monitoring.v3.NotificationChannelService.GetNotificationChannel] operation.
string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Specified by:
getNameBytes
in interfaceListNotificationChannelsRequestOrBuilder
- Returns:
- The bytes for name.
-
setName
public ListNotificationChannelsRequest.Builder setName(String value)
Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] This names the container in which to look for the notification channels; it does not name a specific channel. To query a specific channel by REST resource name, use the [`GetNotificationChannel`][google.monitoring.v3.NotificationChannelService.GetNotificationChannel] operation.
string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public ListNotificationChannelsRequest.Builder clearName()
Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] This names the container in which to look for the notification channels; it does not name a specific channel. To query a specific channel by REST resource name, use the [`GetNotificationChannel`][google.monitoring.v3.NotificationChannelService.GetNotificationChannel] operation.
string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- This builder for chaining.
-
setNameBytes
public ListNotificationChannelsRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. The [project](https://cloud.google.com/monitoring/api/v3#project_name) on which to execute the request. The format is: projects/[PROJECT_ID_OR_NUMBER] This names the container in which to look for the notification channels; it does not name a specific channel. To query a specific channel by REST resource name, use the [`GetNotificationChannel`][google.monitoring.v3.NotificationChannelService.GetNotificationChannel] operation.
string name = 5 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getFilter
public String getFilter()
If provided, this field specifies the criteria that must be met by notification channels to be included in the response. For more details, see [sorting and filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
string filter = 6;
- Specified by:
getFilter
in interfaceListNotificationChannelsRequestOrBuilder
- Returns:
- The filter.
-
getFilterBytes
public com.google.protobuf.ByteString getFilterBytes()
If provided, this field specifies the criteria that must be met by notification channels to be included in the response. For more details, see [sorting and filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
string filter = 6;
- Specified by:
getFilterBytes
in interfaceListNotificationChannelsRequestOrBuilder
- Returns:
- The bytes for filter.
-
setFilter
public ListNotificationChannelsRequest.Builder setFilter(String value)
If provided, this field specifies the criteria that must be met by notification channels to be included in the response. For more details, see [sorting and filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
string filter = 6;
- Parameters:
value
- The filter to set.- Returns:
- This builder for chaining.
-
clearFilter
public ListNotificationChannelsRequest.Builder clearFilter()
If provided, this field specifies the criteria that must be met by notification channels to be included in the response. For more details, see [sorting and filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
string filter = 6;
- Returns:
- This builder for chaining.
-
setFilterBytes
public ListNotificationChannelsRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
If provided, this field specifies the criteria that must be met by notification channels to be included in the response. For more details, see [sorting and filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
string filter = 6;
- Parameters:
value
- The bytes for filter to set.- Returns:
- This builder for chaining.
-
getOrderBy
public String getOrderBy()
A comma-separated list of fields by which to sort the result. Supports the same set of fields as in `filter`. Entries can be prefixed with a minus sign to sort in descending rather than ascending order. For more details, see [sorting and filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
string order_by = 7;
- Specified by:
getOrderBy
in interfaceListNotificationChannelsRequestOrBuilder
- Returns:
- The orderBy.
-
getOrderByBytes
public com.google.protobuf.ByteString getOrderByBytes()
A comma-separated list of fields by which to sort the result. Supports the same set of fields as in `filter`. Entries can be prefixed with a minus sign to sort in descending rather than ascending order. For more details, see [sorting and filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
string order_by = 7;
- Specified by:
getOrderByBytes
in interfaceListNotificationChannelsRequestOrBuilder
- Returns:
- The bytes for orderBy.
-
setOrderBy
public ListNotificationChannelsRequest.Builder setOrderBy(String value)
A comma-separated list of fields by which to sort the result. Supports the same set of fields as in `filter`. Entries can be prefixed with a minus sign to sort in descending rather than ascending order. For more details, see [sorting and filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
string order_by = 7;
- Parameters:
value
- The orderBy to set.- Returns:
- This builder for chaining.
-
clearOrderBy
public ListNotificationChannelsRequest.Builder clearOrderBy()
A comma-separated list of fields by which to sort the result. Supports the same set of fields as in `filter`. Entries can be prefixed with a minus sign to sort in descending rather than ascending order. For more details, see [sorting and filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
string order_by = 7;
- Returns:
- This builder for chaining.
-
setOrderByBytes
public ListNotificationChannelsRequest.Builder setOrderByBytes(com.google.protobuf.ByteString value)
A comma-separated list of fields by which to sort the result. Supports the same set of fields as in `filter`. Entries can be prefixed with a minus sign to sort in descending rather than ascending order. For more details, see [sorting and filtering](https://cloud.google.com/monitoring/api/v3/sorting-and-filtering).
string order_by = 7;
- Parameters:
value
- The bytes for orderBy to set.- Returns:
- This builder for chaining.
-
getPageSize
public int getPageSize()
The maximum number of results to return in a single response. If not set to a positive number, a reasonable value will be chosen by the service.
int32 page_size = 3;
- Specified by:
getPageSize
in interfaceListNotificationChannelsRequestOrBuilder
- Returns:
- The pageSize.
-
setPageSize
public ListNotificationChannelsRequest.Builder setPageSize(int value)
The maximum number of results to return in a single response. If not set to a positive number, a reasonable value will be chosen by the service.
int32 page_size = 3;
- Parameters:
value
- The pageSize to set.- Returns:
- This builder for chaining.
-
clearPageSize
public ListNotificationChannelsRequest.Builder clearPageSize()
The maximum number of results to return in a single response. If not set to a positive number, a reasonable value will be chosen by the service.
int32 page_size = 3;
- Returns:
- This builder for chaining.
-
getPageToken
public String getPageToken()
If non-empty, `page_token` must contain a value returned as the `next_page_token` in a previous response to request the next set of results.
string page_token = 4;
- Specified by:
getPageToken
in interfaceListNotificationChannelsRequestOrBuilder
- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.ByteString getPageTokenBytes()
If non-empty, `page_token` must contain a value returned as the `next_page_token` in a previous response to request the next set of results.
string page_token = 4;
- Specified by:
getPageTokenBytes
in interfaceListNotificationChannelsRequestOrBuilder
- Returns:
- The bytes for pageToken.
-
setPageToken
public ListNotificationChannelsRequest.Builder setPageToken(String value)
If non-empty, `page_token` must contain a value returned as the `next_page_token` in a previous response to request the next set of results.
string page_token = 4;
- Parameters:
value
- The pageToken to set.- Returns:
- This builder for chaining.
-
clearPageToken
public ListNotificationChannelsRequest.Builder clearPageToken()
If non-empty, `page_token` must contain a value returned as the `next_page_token` in a previous response to request the next set of results.
string page_token = 4;
- Returns:
- This builder for chaining.
-
setPageTokenBytes
public ListNotificationChannelsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
If non-empty, `page_token` must contain a value returned as the `next_page_token` in a previous response to request the next set of results.
string page_token = 4;
- Parameters:
value
- The bytes for pageToken to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListNotificationChannelsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsRequest.Builder>
-
mergeUnknownFields
public final ListNotificationChannelsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelsRequest.Builder>
-
-