Class ListNotificationConfigsRequest.Builder (2.43.1)

public static final class ListNotificationConfigsRequest.Builder extends GeneratedMessageV3.Builder<ListNotificationConfigsRequest.Builder> implements ListNotificationConfigsRequestOrBuilder

Request message for ListNotifications.

Protobuf type google.storage.v2.ListNotificationConfigsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListNotificationConfigsRequest build()
Returns
Type Description
ListNotificationConfigsRequest

buildPartial()

public ListNotificationConfigsRequest buildPartial()
Returns
Type Description
ListNotificationConfigsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListNotificationConfigsRequest.Builder clearPageSize()

Optional. The maximum number of NotificationConfigs to return. The service may return fewer than this value. The default value is 100. Specifying a value above 100 will result in a page_size of 100.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListNotificationConfigsRequest.Builder

This builder for chaining.

clearPageToken()

public ListNotificationConfigsRequest.Builder clearPageToken()

Optional. A page token, received from a previous ListNotificationConfigs call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListNotificationConfigs must match the call that provided the page token.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ListNotificationConfigsRequest.Builder

This builder for chaining.

clearParent()

public ListNotificationConfigsRequest.Builder clearParent()

Required. Name of a Google Cloud Storage bucket.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ListNotificationConfigsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListNotificationConfigsRequest getDefaultInstanceForType()
Returns
Type Description
ListNotificationConfigsRequest

getDescriptorForType()

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

getPageSize()

public int getPageSize()

Optional. The maximum number of NotificationConfigs to return. The service may return fewer than this value. The default value is 100. Specifying a value above 100 will result in a page_size of 100.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. A page token, received from a previous ListNotificationConfigs call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListNotificationConfigs must match the call that provided the page token.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. A page token, received from a previous ListNotificationConfigs call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListNotificationConfigs must match the call that provided the page token.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. Name of a Google Cloud Storage bucket.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Name of a Google Cloud Storage bucket.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(ListNotificationConfigsRequest other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

public ListNotificationConfigsRequest.Builder setPageSize(int value)

Optional. The maximum number of NotificationConfigs to return. The service may return fewer than this value. The default value is 100. Specifying a value above 100 will result in a page_size of 100.

int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListNotificationConfigsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListNotificationConfigsRequest.Builder setPageToken(String value)

Optional. A page token, received from a previous ListNotificationConfigs call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListNotificationConfigs must match the call that provided the page token.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListNotificationConfigsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListNotificationConfigsRequest.Builder setPageTokenBytes(ByteString value)

Optional. A page token, received from a previous ListNotificationConfigs call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListNotificationConfigs must match the call that provided the page token.

string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListNotificationConfigsRequest.Builder

This builder for chaining.

setParent(String value)

public ListNotificationConfigsRequest.Builder setParent(String value)

Required. Name of a Google Cloud Storage bucket.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListNotificationConfigsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListNotificationConfigsRequest.Builder setParentBytes(ByteString value)

Required. Name of a Google Cloud Storage bucket.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
ListNotificationConfigsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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