Package com.google.monitoring.v3
Class ListNotificationChannelDescriptorsRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelDescriptorsRequest.Builder>
-
- com.google.monitoring.v3.ListNotificationChannelDescriptorsRequest.Builder
-
- All Implemented Interfaces:
ListNotificationChannelDescriptorsRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ListNotificationChannelDescriptorsRequest
public static final class ListNotificationChannelDescriptorsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelDescriptorsRequest.Builder> implements ListNotificationChannelDescriptorsRequestOrBuilder
The `ListNotificationChannelDescriptors` request.
Protobuf typegoogle.monitoring.v3.ListNotificationChannelDescriptorsRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListNotificationChannelDescriptorsRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListNotificationChannelDescriptorsRequest
build()
ListNotificationChannelDescriptorsRequest
buildPartial()
ListNotificationChannelDescriptorsRequest.Builder
clear()
ListNotificationChannelDescriptorsRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ListNotificationChannelDescriptorsRequest.Builder
clearName()
Required.ListNotificationChannelDescriptorsRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ListNotificationChannelDescriptorsRequest.Builder
clearPageSize()
The maximum number of results to return in a single response.ListNotificationChannelDescriptorsRequest.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.ListNotificationChannelDescriptorsRequest.Builder
clone()
ListNotificationChannelDescriptorsRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getName()
Required.com.google.protobuf.ByteString
getNameBytes()
Required.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()
ListNotificationChannelDescriptorsRequest.Builder
mergeFrom(ListNotificationChannelDescriptorsRequest other)
ListNotificationChannelDescriptorsRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListNotificationChannelDescriptorsRequest.Builder
mergeFrom(com.google.protobuf.Message other)
ListNotificationChannelDescriptorsRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListNotificationChannelDescriptorsRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListNotificationChannelDescriptorsRequest.Builder
setName(String value)
Required.ListNotificationChannelDescriptorsRequest.Builder
setNameBytes(com.google.protobuf.ByteString value)
Required.ListNotificationChannelDescriptorsRequest.Builder
setPageSize(int value)
The maximum number of results to return in a single response.ListNotificationChannelDescriptorsRequest.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.ListNotificationChannelDescriptorsRequest.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.ListNotificationChannelDescriptorsRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ListNotificationChannelDescriptorsRequest.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<ListNotificationChannelDescriptorsRequest.Builder>
-
clear
public ListNotificationChannelDescriptorsRequest.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<ListNotificationChannelDescriptorsRequest.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<ListNotificationChannelDescriptorsRequest.Builder>
-
getDefaultInstanceForType
public ListNotificationChannelDescriptorsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListNotificationChannelDescriptorsRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListNotificationChannelDescriptorsRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListNotificationChannelDescriptorsRequest.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<ListNotificationChannelDescriptorsRequest.Builder>
-
setField
public ListNotificationChannelDescriptorsRequest.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<ListNotificationChannelDescriptorsRequest.Builder>
-
clearField
public ListNotificationChannelDescriptorsRequest.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<ListNotificationChannelDescriptorsRequest.Builder>
-
clearOneof
public ListNotificationChannelDescriptorsRequest.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<ListNotificationChannelDescriptorsRequest.Builder>
-
setRepeatedField
public ListNotificationChannelDescriptorsRequest.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<ListNotificationChannelDescriptorsRequest.Builder>
-
addRepeatedField
public ListNotificationChannelDescriptorsRequest.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<ListNotificationChannelDescriptorsRequest.Builder>
-
mergeFrom
public ListNotificationChannelDescriptorsRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListNotificationChannelDescriptorsRequest.Builder>
-
mergeFrom
public ListNotificationChannelDescriptorsRequest.Builder mergeFrom(ListNotificationChannelDescriptorsRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelDescriptorsRequest.Builder>
-
mergeFrom
public ListNotificationChannelDescriptorsRequest.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<ListNotificationChannelDescriptorsRequest.Builder>
- Throws:
IOException
-
getName
public String getName()
Required. The REST resource name of the parent from which to retrieve the notification channel descriptors. The expected syntax is: projects/[PROJECT_ID_OR_NUMBER] Note that this [names](https://cloud.google.com/monitoring/api/v3#project_name) the parent container in which to look for the descriptors; to retrieve a single descriptor by name, use the [GetNotificationChannelDescriptor][google.monitoring.v3.NotificationChannelService.GetNotificationChannelDescriptor] operation, instead.
string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Specified by:
getName
in interfaceListNotificationChannelDescriptorsRequestOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Required. The REST resource name of the parent from which to retrieve the notification channel descriptors. The expected syntax is: projects/[PROJECT_ID_OR_NUMBER] Note that this [names](https://cloud.google.com/monitoring/api/v3#project_name) the parent container in which to look for the descriptors; to retrieve a single descriptor by name, use the [GetNotificationChannelDescriptor][google.monitoring.v3.NotificationChannelService.GetNotificationChannelDescriptor] operation, instead.
string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Specified by:
getNameBytes
in interfaceListNotificationChannelDescriptorsRequestOrBuilder
- Returns:
- The bytes for name.
-
setName
public ListNotificationChannelDescriptorsRequest.Builder setName(String value)
Required. The REST resource name of the parent from which to retrieve the notification channel descriptors. The expected syntax is: projects/[PROJECT_ID_OR_NUMBER] Note that this [names](https://cloud.google.com/monitoring/api/v3#project_name) the parent container in which to look for the descriptors; to retrieve a single descriptor by name, use the [GetNotificationChannelDescriptor][google.monitoring.v3.NotificationChannelService.GetNotificationChannelDescriptor] operation, instead.
string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public ListNotificationChannelDescriptorsRequest.Builder clearName()
Required. The REST resource name of the parent from which to retrieve the notification channel descriptors. The expected syntax is: projects/[PROJECT_ID_OR_NUMBER] Note that this [names](https://cloud.google.com/monitoring/api/v3#project_name) the parent container in which to look for the descriptors; to retrieve a single descriptor by name, use the [GetNotificationChannelDescriptor][google.monitoring.v3.NotificationChannelService.GetNotificationChannelDescriptor] operation, instead.
string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- This builder for chaining.
-
setNameBytes
public ListNotificationChannelDescriptorsRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. The REST resource name of the parent from which to retrieve the notification channel descriptors. The expected syntax is: projects/[PROJECT_ID_OR_NUMBER] Note that this [names](https://cloud.google.com/monitoring/api/v3#project_name) the parent container in which to look for the descriptors; to retrieve a single descriptor by name, use the [GetNotificationChannelDescriptor][google.monitoring.v3.NotificationChannelService.GetNotificationChannelDescriptor] operation, instead.
string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The bytes for name 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 = 2;
- Specified by:
getPageSize
in interfaceListNotificationChannelDescriptorsRequestOrBuilder
- Returns:
- The pageSize.
-
setPageSize
public ListNotificationChannelDescriptorsRequest.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 = 2;
- Parameters:
value
- The pageSize to set.- Returns:
- This builder for chaining.
-
clearPageSize
public ListNotificationChannelDescriptorsRequest.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 = 2;
- 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 = 3;
- Specified by:
getPageToken
in interfaceListNotificationChannelDescriptorsRequestOrBuilder
- 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 = 3;
- Specified by:
getPageTokenBytes
in interfaceListNotificationChannelDescriptorsRequestOrBuilder
- Returns:
- The bytes for pageToken.
-
setPageToken
public ListNotificationChannelDescriptorsRequest.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 = 3;
- Parameters:
value
- The pageToken to set.- Returns:
- This builder for chaining.
-
clearPageToken
public ListNotificationChannelDescriptorsRequest.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 = 3;
- Returns:
- This builder for chaining.
-
setPageTokenBytes
public ListNotificationChannelDescriptorsRequest.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 = 3;
- Parameters:
value
- The bytes for pageToken to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListNotificationChannelDescriptorsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelDescriptorsRequest.Builder>
-
mergeUnknownFields
public final ListNotificationChannelDescriptorsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListNotificationChannelDescriptorsRequest.Builder>
-
-