public static final class ListCompaniesRequest.Builder extends GeneratedMessage.Builder<ListCompaniesRequest.Builder> implements ListCompaniesRequestOrBuilderList companies for which the client has ACL visibility.
Protobuf type google.cloud.talent.v4.ListCompaniesRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListCompaniesRequest.BuilderImplements
ListCompaniesRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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/tenants/bar".
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. |
getDefaultInstanceForType()
public ListCompaniesRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListCompaniesRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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/tenants/bar".
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/tenants/bar".
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListCompaniesRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListCompaniesRequest.Builder |
|
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 |
intThe 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 |
StringThe 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 |
ByteStringThe 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/tenants/bar".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe 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/tenants/bar".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
ListCompaniesRequest.Builder |
This builder for chaining. |
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 |
booleanThe requireOpenJobs to set. |
| Returns | |
|---|---|
| Type | Description |
ListCompaniesRequest.Builder |
This builder for chaining. |