Class ListNotificationChannelDescriptorsRequest.Builder (3.55.0)

public static final class ListNotificationChannelDescriptorsRequest.Builder extends GeneratedMessageV3.Builder<ListNotificationChannelDescriptorsRequest.Builder> implements ListNotificationChannelDescriptorsRequestOrBuilder

The ListNotificationChannelDescriptors request.

Protobuf type google.monitoring.v3.ListNotificationChannelDescriptorsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListNotificationChannelDescriptorsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListNotificationChannelDescriptorsRequest.Builder
Overrides

build()

public ListNotificationChannelDescriptorsRequest build()
Returns
Type Description
ListNotificationChannelDescriptorsRequest

buildPartial()

public ListNotificationChannelDescriptorsRequest buildPartial()
Returns
Type Description
ListNotificationChannelDescriptorsRequest

clear()

public ListNotificationChannelDescriptorsRequest.Builder clear()
Returns
Type Description
ListNotificationChannelDescriptorsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListNotificationChannelDescriptorsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListNotificationChannelDescriptorsRequest.Builder
Overrides

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 the parent container in which to look for the descriptors; to retrieve a single descriptor by name, use the GetNotificationChannelDescriptor operation, instead.

string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ListNotificationChannelDescriptorsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListNotificationChannelDescriptorsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListNotificationChannelDescriptorsRequest.Builder
Overrides

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
Type Description
ListNotificationChannelDescriptorsRequest.Builder

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
Type Description
ListNotificationChannelDescriptorsRequest.Builder

This builder for chaining.

clone()

public ListNotificationChannelDescriptorsRequest.Builder clone()
Returns
Type Description
ListNotificationChannelDescriptorsRequest.Builder
Overrides

getDefaultInstanceForType()

public ListNotificationChannelDescriptorsRequest getDefaultInstanceForType()
Returns
Type Description
ListNotificationChannelDescriptorsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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 the parent container in which to look for the descriptors; to retrieve a single descriptor by name, use the GetNotificationChannelDescriptor operation, instead.

string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public 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 the parent container in which to look for the descriptors; to retrieve a single descriptor by name, use the GetNotificationChannelDescriptor operation, instead.

string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

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;

Returns
Type Description
int

The pageSize.

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;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public 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;

Returns
Type Description
ByteString

The bytes for pageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListNotificationChannelDescriptorsRequest other)

public ListNotificationChannelDescriptorsRequest.Builder mergeFrom(ListNotificationChannelDescriptorsRequest other)
Parameter
Name Description
other ListNotificationChannelDescriptorsRequest
Returns
Type Description
ListNotificationChannelDescriptorsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListNotificationChannelDescriptorsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListNotificationChannelDescriptorsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListNotificationChannelDescriptorsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListNotificationChannelDescriptorsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListNotificationChannelDescriptorsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListNotificationChannelDescriptorsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListNotificationChannelDescriptorsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListNotificationChannelDescriptorsRequest.Builder
Overrides

setName(String value)

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 the parent container in which to look for the descriptors; to retrieve a single descriptor by name, use the GetNotificationChannelDescriptor operation, instead.

string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ListNotificationChannelDescriptorsRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ListNotificationChannelDescriptorsRequest.Builder setNameBytes(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 the parent container in which to look for the descriptors; to retrieve a single descriptor by name, use the GetNotificationChannelDescriptor operation, instead.

string name = 4 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ListNotificationChannelDescriptorsRequest.Builder

This builder for chaining.

setPageSize(int value)

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;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListNotificationChannelDescriptorsRequest.Builder

This builder for chaining.

setPageToken(String value)

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;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListNotificationChannelDescriptorsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListNotificationChannelDescriptorsRequest.Builder setPageTokenBytes(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;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListNotificationChannelDescriptorsRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListNotificationChannelDescriptorsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListNotificationChannelDescriptorsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListNotificationChannelDescriptorsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListNotificationChannelDescriptorsRequest.Builder
Overrides