public static final class CreateCompanyRequest.Builder extends GeneratedMessage.Builder<CreateCompanyRequest.Builder> implements CreateCompanyRequestOrBuilderThe Request of the CreateCompany method.
Protobuf type google.cloud.talent.v4.CreateCompanyRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateCompanyRequest.BuilderImplements
CreateCompanyRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateCompanyRequest build()| Returns | |
|---|---|
| Type | Description |
CreateCompanyRequest |
|
buildPartial()
public CreateCompanyRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateCompanyRequest |
|
clear()
public CreateCompanyRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateCompanyRequest.Builder |
|
clearCompany()
public CreateCompanyRequest.Builder clearCompany()Required. The company to be created.
.google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateCompanyRequest.Builder |
|
clearParent()
public CreateCompanyRequest.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 |
CreateCompanyRequest.Builder |
This builder for chaining. |
getCompany()
public Company getCompany()Required. The company to be created.
.google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Company |
The company. |
getCompanyBuilder()
public Company.Builder getCompanyBuilder()Required. The company to be created.
.google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Company.Builder |
|
getCompanyOrBuilder()
public CompanyOrBuilder getCompanyOrBuilder()Required. The company to be created.
.google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CompanyOrBuilder |
|
getDefaultInstanceForType()
public CreateCompanyRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateCompanyRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
hasCompany()
public boolean hasCompany()Required. The company to be created.
.google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the company field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCompany(Company value)
public CreateCompanyRequest.Builder mergeCompany(Company value)Required. The company to be created.
.google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Company |
| Returns | |
|---|---|
| Type | Description |
CreateCompanyRequest.Builder |
|
mergeFrom(CreateCompanyRequest other)
public CreateCompanyRequest.Builder mergeFrom(CreateCompanyRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateCompanyRequest |
| Returns | |
|---|---|
| Type | Description |
CreateCompanyRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateCompanyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateCompanyRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateCompanyRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateCompanyRequest.Builder |
|
setCompany(Company value)
public CreateCompanyRequest.Builder setCompany(Company value)Required. The company to be created.
.google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Company |
| Returns | |
|---|---|
| Type | Description |
CreateCompanyRequest.Builder |
|
setCompany(Company.Builder builderForValue)
public CreateCompanyRequest.Builder setCompany(Company.Builder builderForValue)Required. The company to be created.
.google.cloud.talent.v4.Company company = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Company.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateCompanyRequest.Builder |
|
setParent(String value)
public CreateCompanyRequest.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 |
CreateCompanyRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateCompanyRequest.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 |
CreateCompanyRequest.Builder |
This builder for chaining. |