public static final class CreateTenantRequest.Builder extends GeneratedMessageV3.Builder<CreateTenantRequest.Builder> implements CreateTenantRequestOrBuilder
The Request of the CreateTenant method.
Protobuf type google.cloud.talent.v4beta1.CreateTenantRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateTenantRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateTenantRequest build()
Returns
buildPartial()
public CreateTenantRequest buildPartial()
Returns
clear()
public CreateTenantRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateTenantRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateTenantRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
clearTenant()
public CreateTenantRequest.Builder clearTenant()
Required. The tenant to be created.
.google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public CreateTenantRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CreateTenantRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
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
getTenantOrBuilder()
public TenantOrBuilder getTenantOrBuilder()
Required. The tenant to be created.
.google.cloud.talent.v4beta1.Tenant tenant = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CreateTenantRequest other)
public CreateTenantRequest.Builder mergeFrom(CreateTenantRequest other)
Parameter
Returns
public CreateTenantRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateTenantRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateTenantRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateTenantRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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 | String
The parent to set.
|
Returns
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 | ByteString
The bytes for parent to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateTenantRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateTenantRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides