Class UpdateCompanyRequest.Builder (2.84.0)

public static final class UpdateCompanyRequest.Builder extends GeneratedMessage.Builder<UpdateCompanyRequest.Builder> implements UpdateCompanyRequestOrBuilder

Request for updating a specified company.

Protobuf type google.cloud.talent.v4beta1.UpdateCompanyRequest

Static Methods

getDescriptor()

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

Methods

build()

public UpdateCompanyRequest build()
Returns
Type Description
UpdateCompanyRequest

buildPartial()

public UpdateCompanyRequest buildPartial()
Returns
Type Description
UpdateCompanyRequest

clear()

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

clearCompany()

public UpdateCompanyRequest.Builder clearCompany()

Required. The company resource to replace the current resource in the system.

.google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateCompanyRequest.Builder

clearUpdateMask()

public UpdateCompanyRequest.Builder clearUpdateMask()

Strongly recommended for the best service experience.

If update_mask is provided, only the specified fields in company are updated. Otherwise all the fields are updated.

A field mask to specify the company fields to be updated. Only top level fields of Company are supported.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
UpdateCompanyRequest.Builder

getCompany()

public Company getCompany()

Required. The company resource to replace the current resource in the system.

.google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Company

The company.

getCompanyBuilder()

public Company.Builder getCompanyBuilder()

Required. The company resource to replace the current resource in the system.

.google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Company.Builder

getCompanyOrBuilder()

public CompanyOrBuilder getCompanyOrBuilder()

Required. The company resource to replace the current resource in the system.

.google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CompanyOrBuilder

getDefaultInstanceForType()

public UpdateCompanyRequest getDefaultInstanceForType()
Returns
Type Description
UpdateCompanyRequest

getDescriptorForType()

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

getUpdateMask()

public FieldMask getUpdateMask()

Strongly recommended for the best service experience.

If update_mask is provided, only the specified fields in company are updated. Otherwise all the fields are updated.

A field mask to specify the company fields to be updated. Only top level fields of Company are supported.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Strongly recommended for the best service experience.

If update_mask is provided, only the specified fields in company are updated. Otherwise all the fields are updated.

A field mask to specify the company fields to be updated. Only top level fields of Company are supported.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Strongly recommended for the best service experience.

If update_mask is provided, only the specified fields in company are updated. Otherwise all the fields are updated.

A field mask to specify the company fields to be updated. Only top level fields of Company are supported.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
FieldMaskOrBuilder

hasCompany()

public boolean hasCompany()

Required. The company resource to replace the current resource in the system.

.google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the company field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Strongly recommended for the best service experience.

If update_mask is provided, only the specified fields in company are updated. Otherwise all the fields are updated.

A field mask to specify the company fields to be updated. Only top level fields of Company are supported.

.google.protobuf.FieldMask update_mask = 2;

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCompany(Company value)

public UpdateCompanyRequest.Builder mergeCompany(Company value)

Required. The company resource to replace the current resource in the system.

.google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Company
Returns
Type Description
UpdateCompanyRequest.Builder

mergeFrom(UpdateCompanyRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUpdateMask(FieldMask value)

public UpdateCompanyRequest.Builder mergeUpdateMask(FieldMask value)

Strongly recommended for the best service experience.

If update_mask is provided, only the specified fields in company are updated. Otherwise all the fields are updated.

A field mask to specify the company fields to be updated. Only top level fields of Company are supported.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateCompanyRequest.Builder

setCompany(Company value)

public UpdateCompanyRequest.Builder setCompany(Company value)

Required. The company resource to replace the current resource in the system.

.google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Company
Returns
Type Description
UpdateCompanyRequest.Builder

setCompany(Company.Builder builderForValue)

public UpdateCompanyRequest.Builder setCompany(Company.Builder builderForValue)

Required. The company resource to replace the current resource in the system.

.google.cloud.talent.v4beta1.Company company = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Company.Builder
Returns
Type Description
UpdateCompanyRequest.Builder

setUpdateMask(FieldMask value)

public UpdateCompanyRequest.Builder setUpdateMask(FieldMask value)

Strongly recommended for the best service experience.

If update_mask is provided, only the specified fields in company are updated. Otherwise all the fields are updated.

A field mask to specify the company fields to be updated. Only top level fields of Company are supported.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateCompanyRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateCompanyRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Strongly recommended for the best service experience.

If update_mask is provided, only the specified fields in company are updated. Otherwise all the fields are updated.

A field mask to specify the company fields to be updated. Only top level fields of Company are supported.

.google.protobuf.FieldMask update_mask = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateCompanyRequest.Builder