public final class UpdateCompanyRequest extends GeneratedMessageV3 implements UpdateCompanyRequestOrBuilder
Request for updating a specified company.
Protobuf type google.cloud.talent.v4beta1.UpdateCompanyRequest
Static Fields
COMPANY_FIELD_NUMBER
public static final int COMPANY_FIELD_NUMBER
Field Value
UPDATE_MASK_FIELD_NUMBER
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static UpdateCompanyRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static UpdateCompanyRequest.Builder newBuilder()
Returns
newBuilder(UpdateCompanyRequest prototype)
public static UpdateCompanyRequest.Builder newBuilder(UpdateCompanyRequest prototype)
Parameter
Returns
public static UpdateCompanyRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdateCompanyRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static UpdateCompanyRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateCompanyRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static UpdateCompanyRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateCompanyRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateCompanyRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static UpdateCompanyRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateCompanyRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdateCompanyRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static UpdateCompanyRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UpdateCompanyRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<UpdateCompanyRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
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
getDefaultInstanceForType()
public UpdateCompanyRequest getDefaultInstanceForType()
Returns
getParserForType()
public Parser<UpdateCompanyRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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
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.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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public UpdateCompanyRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UpdateCompanyRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public UpdateCompanyRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions