Class UpdateCompanyRequest.Builder (2.13.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.v4beta1.UpdateCompanyRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateCompanyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateCompanyRequest.Builder
Overrides

build()

public UpdateCompanyRequest build()
Returns
TypeDescription
UpdateCompanyRequest

buildPartial()

public UpdateCompanyRequest buildPartial()
Returns
TypeDescription
UpdateCompanyRequest

clear()

public UpdateCompanyRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
UpdateCompanyRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateCompanyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateCompanyRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateCompanyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
UpdateCompanyRequest.Builder

clone()

public UpdateCompanyRequest.Builder clone()
Returns
TypeDescription
UpdateCompanyRequest.Builder
Overrides

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
TypeDescription
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
TypeDescription
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
TypeDescription
CompanyOrBuilder

getDefaultInstanceForType()

public UpdateCompanyRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateCompanyRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueCompany
Returns
TypeDescription
UpdateCompanyRequest.Builder

mergeFrom(UpdateCompanyRequest other)

public UpdateCompanyRequest.Builder mergeFrom(UpdateCompanyRequest other)
Parameter
NameDescription
otherUpdateCompanyRequest
Returns
TypeDescription
UpdateCompanyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateCompanyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateCompanyRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateCompanyRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateCompanyRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateCompanyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
valueCompany
Returns
TypeDescription
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
NameDescription
builderForValueCompany.Builder
Returns
TypeDescription
UpdateCompanyRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateCompanyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateCompanyRequest.Builder
Overrides

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

public UpdateCompanyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateCompanyRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateCompanyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateCompanyRequest.Builder