Class ListEntryGroupsRequest.Builder (1.94.0)

public static final class ListEntryGroupsRequest.Builder extends GeneratedMessage.Builder<ListEntryGroupsRequest.Builder> implements ListEntryGroupsRequestOrBuilder

Request message for ListEntryGroups.

Protobuf type google.cloud.datacatalog.v1.ListEntryGroupsRequest

Static Methods

getDescriptor()

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

Methods

build()

public ListEntryGroupsRequest build()
Returns
Type Description
ListEntryGroupsRequest

buildPartial()

public ListEntryGroupsRequest buildPartial()
Returns
Type Description
ListEntryGroupsRequest

clear()

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

clearPageSize()

public ListEntryGroupsRequest.Builder clearPageSize()

Optional. The maximum number of items to return.

Default is 10. Maximum limit is 1000. Throws an invalid argument if page_size is greater than 1000.

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

Returns
Type Description
ListEntryGroupsRequest.Builder

This builder for chaining.

clearPageToken()

public ListEntryGroupsRequest.Builder clearPageToken()

Optional. Pagination token that specifies the next page to return. If empty, returns the first page.

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

Returns
Type Description
ListEntryGroupsRequest.Builder

This builder for chaining.

clearParent()

public ListEntryGroupsRequest.Builder clearParent()

Required. The name of the location that contains the entry groups to list.

Can be provided as a URL.

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

Returns
Type Description
ListEntryGroupsRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public ListEntryGroupsRequest getDefaultInstanceForType()
Returns
Type Description
ListEntryGroupsRequest

getDescriptorForType()

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

getPageSize()

public int getPageSize()

Optional. The maximum number of items to return.

Default is 10. Maximum limit is 1000. Throws an invalid argument if page_size is greater than 1000.

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

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. Pagination token that specifies the next page to return. If empty, returns the first page.

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

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. Pagination token that specifies the next page to return. If empty, returns the first page.

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

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The name of the location that contains the entry groups to list.

Can be provided as a URL.

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The name of the location that contains the entry groups to list.

Can be provided as a URL.

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

Returns
Type Description
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListEntryGroupsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setPageSize(int value)

public ListEntryGroupsRequest.Builder setPageSize(int value)

Optional. The maximum number of items to return.

Default is 10. Maximum limit is 1000. Throws an invalid argument if page_size is greater than 1000.

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

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListEntryGroupsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListEntryGroupsRequest.Builder setPageToken(String value)

Optional. Pagination token that specifies the next page to return. If empty, returns the first page.

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

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListEntryGroupsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListEntryGroupsRequest.Builder setPageTokenBytes(ByteString value)

Optional. Pagination token that specifies the next page to return. If empty, returns the first page.

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

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListEntryGroupsRequest.Builder

This builder for chaining.

setParent(String value)

public ListEntryGroupsRequest.Builder setParent(String value)

Required. The name of the location that contains the entry groups to list.

Can be provided as a URL.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListEntryGroupsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListEntryGroupsRequest.Builder setParentBytes(ByteString value)

Required. The name of the location that contains the entry groups to list.

Can be provided as a URL.

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
ListEntryGroupsRequest.Builder

This builder for chaining.