Class ListNotificationChannelDescriptorsRequest.Builder (3.29.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListNotificationChannelDescriptorsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListNotificationChannelDescriptorsRequest.Builder
Overrides

build()

public ListNotificationChannelDescriptorsRequest build()
Returns
TypeDescription
ListNotificationChannelDescriptorsRequest

buildPartial()

public ListNotificationChannelDescriptorsRequest buildPartial()
Returns
TypeDescription
ListNotificationChannelDescriptorsRequest

clear()

public ListNotificationChannelDescriptorsRequest.Builder clear()
Returns
TypeDescription
ListNotificationChannelDescriptorsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListNotificationChannelDescriptorsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListNotificationChannelDescriptorsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListNotificationChannelDescriptorsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ListNotificationChannelDescriptorsRequest.Builder

This builder for chaining.

clone()

public ListNotificationChannelDescriptorsRequest.Builder clone()
Returns
TypeDescription
ListNotificationChannelDescriptorsRequest.Builder
Overrides

getDefaultInstanceForType()

public ListNotificationChannelDescriptorsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListNotificationChannelDescriptorsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for pageToken.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListNotificationChannelDescriptorsRequest other)

public ListNotificationChannelDescriptorsRequest.Builder mergeFrom(ListNotificationChannelDescriptorsRequest other)
Parameter
NameDescription
otherListNotificationChannelDescriptorsRequest
Returns
TypeDescription
ListNotificationChannelDescriptorsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListNotificationChannelDescriptorsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListNotificationChannelDescriptorsRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListNotificationChannelDescriptorsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListNotificationChannelDescriptorsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListNotificationChannelDescriptorsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListNotificationChannelDescriptorsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListNotificationChannelDescriptorsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
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
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListNotificationChannelDescriptorsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListNotificationChannelDescriptorsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListNotificationChannelDescriptorsRequest.Builder
Overrides