public static final class CreateTenantRequest.Builder extends GeneratedMessage.Builder<CreateTenantRequest.Builder> implements CreateTenantRequestOrBuilderThe Request of the CreateTenant method.
Protobuf type google.cloud.talent.v4beta1.CreateTenantRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateTenantRequest.BuilderImplements
CreateTenantRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateTenantRequest build()| Returns | |
|---|---|
| Type | Description |
CreateTenantRequest |
|
buildPartial()
public CreateTenantRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateTenantRequest |
|
clear()
public CreateTenantRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateTenantRequest.Builder |
|
clearParent()
public CreateTenantRequest.Builder clearParent()Required. Resource name of the project under which the tenant is created.
The format is "projects/{project_id}", for example, "projects/foo".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateTenantRequest.Builder |
This builder for chaining. |
clearTenant()
public CreateTenantRequest.Builder clearTenant()Required. The tenant to be created.
.google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateTenantRequest.Builder |
|
getDefaultInstanceForType()
public CreateTenantRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateTenantRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent()Required. Resource name of the project under which the tenant is created.
The format is "projects/{project_id}", 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 project under which the tenant is created.
The format is "projects/{project_id}", for example, "projects/foo".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getTenant()
public Tenant getTenant()Required. The tenant to be created.
.google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Tenant |
The tenant. |
getTenantBuilder()
public Tenant.Builder getTenantBuilder()Required. The tenant to be created.
.google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Tenant.Builder |
|
getTenantOrBuilder()
public TenantOrBuilder getTenantOrBuilder()Required. The tenant to be created.
.google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
TenantOrBuilder |
|
hasTenant()
public boolean hasTenant()Required. The tenant to be created.
.google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the tenant field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateTenantRequest other)
public CreateTenantRequest.Builder mergeFrom(CreateTenantRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateTenantRequest |
| Returns | |
|---|---|
| Type | Description |
CreateTenantRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateTenantRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateTenantRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateTenantRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateTenantRequest.Builder |
|
mergeTenant(Tenant value)
public CreateTenantRequest.Builder mergeTenant(Tenant value)Required. The tenant to be created.
.google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Tenant |
| Returns | |
|---|---|
| Type | Description |
CreateTenantRequest.Builder |
|
setParent(String value)
public CreateTenantRequest.Builder setParent(String value)Required. Resource name of the project under which the tenant is created.
The format is "projects/{project_id}", for example, "projects/foo".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateTenantRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateTenantRequest.Builder setParentBytes(ByteString value)Required. Resource name of the project under which the tenant is created.
The format is "projects/{project_id}", for example, "projects/foo".
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateTenantRequest.Builder |
This builder for chaining. |
setTenant(Tenant value)
public CreateTenantRequest.Builder setTenant(Tenant value)Required. The tenant to be created.
.google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Tenant |
| Returns | |
|---|---|
| Type | Description |
CreateTenantRequest.Builder |
|
setTenant(Tenant.Builder builderForValue)
public CreateTenantRequest.Builder setTenant(Tenant.Builder builderForValue)Required. The tenant to be created.
.google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Tenant.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateTenantRequest.Builder |
|