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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateCompanyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateCompanyRequest build()
Returns
buildPartial()
public UpdateCompanyRequest buildPartial()
Returns
clear()
public UpdateCompanyRequest.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public UpdateCompanyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateCompanyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
clone()
public UpdateCompanyRequest.Builder clone()
Returns
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
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
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
getDefaultInstanceForType()
public UpdateCompanyRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(UpdateCompanyRequest other)
public UpdateCompanyRequest.Builder mergeFrom(UpdateCompanyRequest other)
Parameter
Returns
public UpdateCompanyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateCompanyRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCompanyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateCompanyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateCompanyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateCompanyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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