Class ListEntryGroupsRequest.Builder (1.15.0)

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

Request message for ListEntryGroups.

Protobuf type google.cloud.datacatalog.v1beta1.ListEntryGroupsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListEntryGroupsRequest build()
Returns
TypeDescription
ListEntryGroupsRequest

buildPartial()

public ListEntryGroupsRequest buildPartial()
Returns
TypeDescription
ListEntryGroupsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListEntryGroupsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListEntryGroupsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ListEntryGroupsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListEntryGroupsRequest.Builder
Overrides

clearPageSize()

public ListEntryGroupsRequest.Builder clearPageSize()

Optional. The maximum number of items to return. Default is 10. Max limit is 1000. Throws an invalid argument for page_size > 1000.

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

Returns
TypeDescription
ListEntryGroupsRequest.Builder

This builder for chaining.

clearPageToken()

public ListEntryGroupsRequest.Builder clearPageToken()

Optional. Token that specifies which page is requested. If empty, the first page is returned.

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

Returns
TypeDescription
ListEntryGroupsRequest.Builder

This builder for chaining.

clearParent()

public ListEntryGroupsRequest.Builder clearParent()

Required. The name of the location that contains the entry groups, which can be provided in URL format. Example:

  • projects/{project_id}/locations/{location}

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

Returns
TypeDescription
ListEntryGroupsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListEntryGroupsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListEntryGroupsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPageSize()

public int getPageSize()

Optional. The maximum number of items to return. Default is 10. Max limit is 1000. Throws an invalid argument for page_size > 1000.

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

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

Optional. Token that specifies which page is requested. If empty, the first page is returned.

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

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Optional. Token that specifies which page is requested. If empty, the first page is returned.

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

Returns
TypeDescription
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. The name of the location that contains the entry groups, which can be provided in URL format. Example:

  • projects/{project_id}/locations/{location}

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The name of the location that contains the entry groups, which can be provided in URL format. Example:

  • projects/{project_id}/locations/{location}

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

Returns
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListEntryGroupsRequest other)

public ListEntryGroupsRequest.Builder mergeFrom(ListEntryGroupsRequest other)
Parameter
NameDescription
otherListEntryGroupsRequest
Returns
TypeDescription
ListEntryGroupsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

public ListEntryGroupsRequest.Builder setPageSize(int value)

Optional. The maximum number of items to return. Default is 10. Max limit is 1000. Throws an invalid argument for page_size > 1000.

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

Parameter
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
ListEntryGroupsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListEntryGroupsRequest.Builder setPageToken(String value)

Optional. Token that specifies which page is requested. If empty, the first page is returned.

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

Parameter
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
ListEntryGroupsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListEntryGroupsRequest.Builder setPageTokenBytes(ByteString value)

Optional. Token that specifies which page is requested. If empty, the first page is returned.

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

Parameter
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
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, which can be provided in URL format. Example:

  • projects/{project_id}/locations/{location}

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

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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, which can be provided in URL format. Example:

  • projects/{project_id}/locations/{location}

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

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
ListEntryGroupsRequest.Builder

This builder for chaining.

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

public ListEntryGroupsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListEntryGroupsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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