public static final class CreateTenantRequest.Builder extends GeneratedMessageV3.Builder<CreateTenantRequest.Builder> implements CreateTenantRequestOrBuilderThe Request of the CreateTenant method.
Protobuf type google.cloud.talent.v4beta1.CreateTenantRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateTenantRequest.BuilderImplements
CreateTenantRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateTenantRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| CreateTenantRequest.Builder |
build()
public CreateTenantRequest build()| Type | Description |
| CreateTenantRequest |
buildPartial()
public CreateTenantRequest buildPartial()| Type | Description |
| CreateTenantRequest |
clear()
public CreateTenantRequest.Builder clear()| Type | Description |
| CreateTenantRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public CreateTenantRequest.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| CreateTenantRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateTenantRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| 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) = { ... }
| 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];
| Type | Description |
| CreateTenantRequest.Builder |
clone()
public CreateTenantRequest.Builder clone()| Type | Description |
| CreateTenantRequest.Builder |
getDefaultInstanceForType()
public CreateTenantRequest getDefaultInstanceForType()| Type | Description |
| CreateTenantRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| 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) = { ... }
| 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) = { ... }
| 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];
| 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];
| 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];
| 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];
| Type | Description |
| boolean | Whether the tenant field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeFrom(CreateTenantRequest other)
public CreateTenantRequest.Builder mergeFrom(CreateTenantRequest other)| Name | Description |
| other | CreateTenantRequest |
| Type | Description |
| CreateTenantRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateTenantRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| CreateTenantRequest.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public CreateTenantRequest.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| 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];
| Name | Description |
| value | Tenant |
| Type | Description |
| CreateTenantRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateTenantRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| CreateTenantRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateTenantRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| 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) = { ... }
| Name | Description |
| value | StringThe parent to set. |
| 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) = { ... }
| Name | Description |
| value | ByteStringThe bytes for parent to set. |
| Type | Description |
| CreateTenantRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateTenantRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| CreateTenantRequest.Builder |
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];
| Name | Description |
| value | Tenant |
| 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];
| Name | Description |
| builderForValue | Tenant.Builder |
| Type | Description |
| CreateTenantRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateTenantRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| CreateTenantRequest.Builder |