Class ListCompaniesRequest.Builder (2.56.0)

public static final class ListCompaniesRequest.Builder extends GeneratedMessageV3.Builder<ListCompaniesRequest.Builder> implements ListCompaniesRequestOrBuilder

List companies for which the client has ACL visibility.

Protobuf type google.cloud.talent.v4beta1.ListCompaniesRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListCompaniesRequest build()
Returns
Type Description
ListCompaniesRequest

buildPartial()

public ListCompaniesRequest buildPartial()
Returns
Type Description
ListCompaniesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListCompaniesRequest.Builder clearPageSize()

The maximum number of companies to be returned, at most 100. Default is 100 if a non-positive number is provided.

int32 page_size = 3;

Returns
Type Description
ListCompaniesRequest.Builder

This builder for chaining.

clearPageToken()

public ListCompaniesRequest.Builder clearPageToken()

The starting indicator from which to return results.

string page_token = 2;

Returns
Type Description
ListCompaniesRequest.Builder

This builder for chaining.

clearParent()

public ListCompaniesRequest.Builder clearParent()

Required. Resource name of the tenant under which the company is created.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenant/bar".

If tenant id is unspecified, the default tenant will be used, for example, "projects/foo".

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

Returns
Type Description
ListCompaniesRequest.Builder

This builder for chaining.

clearRequireOpenJobs()

public ListCompaniesRequest.Builder clearRequireOpenJobs()

Set to true if the companies requested must have open jobs.

Defaults to false.

If true, at most page_size of companies are fetched, among which only those with open jobs are returned.

bool require_open_jobs = 4;

Returns
Type Description
ListCompaniesRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListCompaniesRequest getDefaultInstanceForType()
Returns
Type Description
ListCompaniesRequest

getDescriptorForType()

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

getPageSize()

public int getPageSize()

The maximum number of companies to be returned, at most 100. Default is 100 if a non-positive number is provided.

int32 page_size = 3;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

The starting indicator from which to return results.

string page_token = 2;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

The starting indicator from which to return results.

string page_token = 2;

Returns
Type Description
ByteString

The bytes for pageToken.

getParent()

public String getParent()

Required. Resource name of the tenant under which the company is created.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenant/bar".

If tenant id is unspecified, the default tenant will be used, for example, "projects/foo".

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. Resource name of the tenant under which the company is created.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenant/bar".

If tenant id is unspecified, the default tenant will be used, for example, "projects/foo".

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

Returns
Type Description
ByteString

The bytes for parent.

getRequireOpenJobs()

public boolean getRequireOpenJobs()

Set to true if the companies requested must have open jobs.

Defaults to false.

If true, at most page_size of companies are fetched, among which only those with open jobs are returned.

bool require_open_jobs = 4;

Returns
Type Description
boolean

The requireOpenJobs.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListCompaniesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPageSize(int value)

public ListCompaniesRequest.Builder setPageSize(int value)

The maximum number of companies to be returned, at most 100. Default is 100 if a non-positive number is provided.

int32 page_size = 3;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListCompaniesRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListCompaniesRequest.Builder setPageToken(String value)

The starting indicator from which to return results.

string page_token = 2;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListCompaniesRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListCompaniesRequest.Builder setPageTokenBytes(ByteString value)

The starting indicator from which to return results.

string page_token = 2;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListCompaniesRequest.Builder

This builder for chaining.

setParent(String value)

public ListCompaniesRequest.Builder setParent(String value)

Required. Resource name of the tenant under which the company is created.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenant/bar".

If tenant id is unspecified, the default tenant will be used, for example, "projects/foo".

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
ListCompaniesRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListCompaniesRequest.Builder setParentBytes(ByteString value)

Required. Resource name of the tenant under which the company is created.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenant/bar".

If tenant id is unspecified, the default tenant will be used, for example, "projects/foo".

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

This builder for chaining.

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

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

setRequireOpenJobs(boolean value)

public ListCompaniesRequest.Builder setRequireOpenJobs(boolean value)

Set to true if the companies requested must have open jobs.

Defaults to false.

If true, at most page_size of companies are fetched, among which only those with open jobs are returned.

bool require_open_jobs = 4;

Parameter
Name Description
value boolean

The requireOpenJobs to set.

Returns
Type Description
ListCompaniesRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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