Class CreateProfileRequest.Builder (2.2.9)

public static final class CreateProfileRequest.Builder extends GeneratedMessageV3.Builder<CreateProfileRequest.Builder> implements CreateProfileRequestOrBuilder

Create profile request.

Protobuf type google.cloud.talent.v4beta1.CreateProfileRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateProfileRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateProfileRequest.Builder
Overrides

build()

public CreateProfileRequest build()
Returns
Type Description
CreateProfileRequest

buildPartial()

public CreateProfileRequest buildPartial()
Returns
Type Description
CreateProfileRequest

clear()

public CreateProfileRequest.Builder clear()
Returns
Type Description
CreateProfileRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateProfileRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateProfileRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateProfileRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateProfileRequest.Builder
Overrides

clearParent()

public CreateProfileRequest.Builder clearParent()

Required. The name of the tenant this profile belongs to. The format is "projects/{project_id}/tenants/{tenant_id}". For example, "projects/foo/tenants/bar".

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateProfileRequest.Builder

This builder for chaining.

clearProfile()

public CreateProfileRequest.Builder clearProfile()

Required. The profile to be created.

.google.cloud.talent.v4beta1.Profile profile = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateProfileRequest.Builder

clone()

public CreateProfileRequest.Builder clone()
Returns
Type Description
CreateProfileRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateProfileRequest getDefaultInstanceForType()
Returns
Type Description
CreateProfileRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getParent()

public String getParent()

Required. The name of the tenant this profile belongs to. The format is "projects/{project_id}/tenants/{tenant_id}". For example, "projects/foo/tenants/bar".

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The name of the tenant this profile belongs to. The format is "projects/{project_id}/tenants/{tenant_id}". For example, "projects/foo/tenants/bar".

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getProfile()

public Profile getProfile()

Required. The profile to be created.

.google.cloud.talent.v4beta1.Profile profile = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Profile

The profile.

getProfileBuilder()

public Profile.Builder getProfileBuilder()

Required. The profile to be created.

.google.cloud.talent.v4beta1.Profile profile = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Profile.Builder

getProfileOrBuilder()

public ProfileOrBuilder getProfileOrBuilder()

Required. The profile to be created.

.google.cloud.talent.v4beta1.Profile profile = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProfileOrBuilder

hasProfile()

public boolean hasProfile()

Required. The profile to be created.

.google.cloud.talent.v4beta1.Profile profile = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the profile field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateProfileRequest other)

public CreateProfileRequest.Builder mergeFrom(CreateProfileRequest other)
Parameter
Name Description
other CreateProfileRequest
Returns
Type Description
CreateProfileRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateProfileRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateProfileRequest.Builder
Overrides Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateProfileRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateProfileRequest.Builder
Overrides

mergeProfile(Profile value)

public CreateProfileRequest.Builder mergeProfile(Profile value)

Required. The profile to be created.

.google.cloud.talent.v4beta1.Profile profile = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Profile
Returns
Type Description
CreateProfileRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateProfileRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateProfileRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreateProfileRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateProfileRequest.Builder
Overrides

setParent(String value)

public CreateProfileRequest.Builder setParent(String value)

Required. The name of the tenant this profile belongs to. The format is "projects/{project_id}/tenants/{tenant_id}". For example, "projects/foo/tenants/bar".

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateProfileRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateProfileRequest.Builder setParentBytes(ByteString value)

Required. The name of the tenant this profile belongs to. The format is "projects/{project_id}/tenants/{tenant_id}". For example, "projects/foo/tenants/bar".

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateProfileRequest.Builder

This builder for chaining.

setProfile(Profile value)

public CreateProfileRequest.Builder setProfile(Profile value)

Required. The profile to be created.

.google.cloud.talent.v4beta1.Profile profile = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Profile
Returns
Type Description
CreateProfileRequest.Builder

setProfile(Profile.Builder builderForValue)

public CreateProfileRequest.Builder setProfile(Profile.Builder builderForValue)

Required. The profile to be created.

.google.cloud.talent.v4beta1.Profile profile = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Profile.Builder
Returns
Type Description
CreateProfileRequest.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateProfileRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateProfileRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateProfileRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateProfileRequest.Builder
Overrides