Class UpdateCompanyRequest.Builder (2.54.0)

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

Request for updating a specified company.

Protobuf type google.cloud.talent.v4.UpdateCompanyRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateCompanyRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

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

clone()

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

getCompany()

public Company getCompany()

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

.google.cloud.talent.v4.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.v4.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.v4.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.v4.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 GeneratedMessageV3.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.v4.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateCompanyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.v4.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.v4.Company company = 1 [(.google.api.field_behavior) = REQUIRED];

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

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