Class CreateProfileRequest.Builder

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateProfileRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateProfileRequest.Builder
Overrides

build()

public CreateProfileRequest build()
Returns
TypeDescription
CreateProfileRequest

buildPartial()

public CreateProfileRequest buildPartial()
Returns
TypeDescription
CreateProfileRequest

clear()

public CreateProfileRequest.Builder clear()
Returns
TypeDescription
CreateProfileRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateProfileRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateProfileRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateProfileRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CreateProfileRequest.Builder

clone()

public CreateProfileRequest.Builder clone()
Returns
TypeDescription
CreateProfileRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateProfileRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateProfileRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ProfileOrBuilder

hasProfile()

public boolean hasProfile()

Required. The profile to be created.

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

Returns
TypeDescription
boolean

Whether the profile field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateProfileRequest other)

public CreateProfileRequest.Builder mergeFrom(CreateProfileRequest other)
Parameter
NameDescription
otherCreateProfileRequest
Returns
TypeDescription
CreateProfileRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateProfileRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateProfileRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateProfileRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueProfile
Returns
TypeDescription
CreateProfileRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateProfileRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateProfileRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreateProfileRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
valueProfile
Returns
TypeDescription
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
NameDescription
builderForValueProfile.Builder
Returns
TypeDescription
CreateProfileRequest.Builder

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

public CreateProfileRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateProfileRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateProfileRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateProfileRequest.Builder
Overrides