public static final class CreateCompanyRequest.Builder extends GeneratedMessageV3.Builder<CreateCompanyRequest.Builder> implements CreateCompanyRequestOrBuilder
The Request of the CreateCompany method.
Protobuf type google.cloud.talent.v4beta1.CreateCompanyRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateCompanyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateCompanyRequest build()
buildPartial()
public CreateCompanyRequest buildPartial()
clear()
public CreateCompanyRequest.Builder clear()
Overrides
clearCompany()
public CreateCompanyRequest.Builder clearCompany()
Required. The company to be created.
.google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public CreateCompanyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateCompanyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateCompanyRequest.Builder clearParent()
Required. Resource name of the tenant under which the company is created.
The format is "projects/{project_id}/tenants/{tenant_id}", for example,
"projects/foo/tenant/bar". If tenant id is unspecified, a default tenant
is created, for example, "projects/foo".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public CreateCompanyRequest.Builder clone()
Overrides
getCompany()
public Company getCompany()
Required. The company to be created.
.google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
Company | The company.
|
getCompanyBuilder()
public Company.Builder getCompanyBuilder()
Required. The company to be created.
.google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED];
getCompanyOrBuilder()
public CompanyOrBuilder getCompanyOrBuilder()
Required. The company to be created.
.google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED];
getDefaultInstanceForType()
public CreateCompanyRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParent()
public String getParent()
Required. Resource name of the tenant under which the company is created.
The format is "projects/{project_id}/tenants/{tenant_id}", for example,
"projects/foo/tenant/bar". If tenant id is unspecified, a default tenant
is created, for example, "projects/foo".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. Resource name of the tenant under which the company is created.
The format is "projects/{project_id}/tenants/{tenant_id}", for example,
"projects/foo/tenant/bar". If tenant id is unspecified, a default tenant
is created, for example, "projects/foo".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for parent.
|
hasCompany()
public boolean hasCompany()
Required. The company to be created.
.google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the company field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCompany(Company value)
public CreateCompanyRequest.Builder mergeCompany(Company value)
Required. The company to be created.
.google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | Company
|
mergeFrom(CreateCompanyRequest other)
public CreateCompanyRequest.Builder mergeFrom(CreateCompanyRequest other)
public CreateCompanyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateCompanyRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateCompanyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCompany(Company value)
public CreateCompanyRequest.Builder setCompany(Company value)
Required. The company to be created.
.google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | Company
|
setCompany(Company.Builder builderForValue)
public CreateCompanyRequest.Builder setCompany(Company.Builder builderForValue)
Required. The company to be created.
.google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public CreateCompanyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreateCompanyRequest.Builder setParent(String value)
Required. Resource name of the tenant under which the company is created.
The format is "projects/{project_id}/tenants/{tenant_id}", for example,
"projects/foo/tenant/bar". If tenant id is unspecified, a default tenant
is created, for example, "projects/foo".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | String
The parent to set.
|
setParentBytes(ByteString value)
public CreateCompanyRequest.Builder setParentBytes(ByteString value)
Required. Resource name of the tenant under which the company is created.
The format is "projects/{project_id}/tenants/{tenant_id}", for example,
"projects/foo/tenant/bar". If tenant id is unspecified, a default tenant
is created, for example, "projects/foo".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateCompanyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateCompanyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides