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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateCompanyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateCompanyRequest build()
Returns
buildPartial()
public CreateCompanyRequest buildPartial()
Returns
clear()
public CreateCompanyRequest.Builder clear()
Returns
Overrides
clearCompany()
public CreateCompanyRequest.Builder clearCompany()
Required. The company to be created.
.google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public CreateCompanyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateCompanyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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) = { ... }
Returns
clone()
public CreateCompanyRequest.Builder clone()
Returns
Overrides
getCompany()
public Company getCompany()
Required. The company to be created.
.google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getCompanyBuilder()
public Company.Builder getCompanyBuilder()
Required. The company to be created.
.google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getCompanyOrBuilder()
public CompanyOrBuilder getCompanyOrBuilder()
Required. The company to be created.
.google.cloud.talent.v4beta1.Company company = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public CreateCompanyRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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
Returns
mergeFrom(CreateCompanyRequest other)
public CreateCompanyRequest.Builder mergeFrom(CreateCompanyRequest other)
Parameter
Returns
public CreateCompanyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateCompanyRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateCompanyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CreateCompanyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateCompanyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateCompanyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides