Class CreateClientEventRequest.Builder (2.43.0)

public static final class CreateClientEventRequest.Builder extends GeneratedMessageV3.Builder<CreateClientEventRequest.Builder> implements CreateClientEventRequestOrBuilder

The report event request.

Protobuf type google.cloud.talent.v4beta1.CreateClientEventRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateClientEventRequest build()
Returns
Type Description
CreateClientEventRequest

buildPartial()

public CreateClientEventRequest buildPartial()
Returns
Type Description
CreateClientEventRequest

clear()

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

clearClientEvent()

public CreateClientEventRequest.Builder clearClientEvent()

Required. Events issued when end user interacts with customer's application that uses Cloud Talent Solution.

.google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateClientEventRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateClientEventRequest.Builder clearParent()

Required. Resource name of the tenant under which the event is created.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant is created, for example, "projects/foo".

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

Returns
Type Description
CreateClientEventRequest.Builder

This builder for chaining.

clone()

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

getClientEvent()

public ClientEvent getClientEvent()

Required. Events issued when end user interacts with customer's application that uses Cloud Talent Solution.

.google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ClientEvent

The clientEvent.

getClientEventBuilder()

public ClientEvent.Builder getClientEventBuilder()

Required. Events issued when end user interacts with customer's application that uses Cloud Talent Solution.

.google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ClientEvent.Builder

getClientEventOrBuilder()

public ClientEventOrBuilder getClientEventOrBuilder()

Required. Events issued when end user interacts with customer's application that uses Cloud Talent Solution.

.google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ClientEventOrBuilder

getDefaultInstanceForType()

public CreateClientEventRequest getDefaultInstanceForType()
Returns
Type Description
CreateClientEventRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. Resource name of the tenant under which the event is created.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant is created, 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 tenant under which the event is created.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant is created, for example, "projects/foo".

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

Returns
Type Description
ByteString

The bytes for parent.

hasClientEvent()

public boolean hasClientEvent()

Required. Events issued when end user interacts with customer's application that uses Cloud Talent Solution.

.google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the clientEvent field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeClientEvent(ClientEvent value)

public CreateClientEventRequest.Builder mergeClientEvent(ClientEvent value)

Required. Events issued when end user interacts with customer's application that uses Cloud Talent Solution.

.google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ClientEvent
Returns
Type Description
CreateClientEventRequest.Builder

mergeFrom(CreateClientEventRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setClientEvent(ClientEvent value)

public CreateClientEventRequest.Builder setClientEvent(ClientEvent value)

Required. Events issued when end user interacts with customer's application that uses Cloud Talent Solution.

.google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ClientEvent
Returns
Type Description
CreateClientEventRequest.Builder

setClientEvent(ClientEvent.Builder builderForValue)

public CreateClientEventRequest.Builder setClientEvent(ClientEvent.Builder builderForValue)

Required. Events issued when end user interacts with customer's application that uses Cloud Talent Solution.

.google.cloud.talent.v4beta1.ClientEvent client_event = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ClientEvent.Builder
Returns
Type Description
CreateClientEventRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateClientEventRequest.Builder setParent(String value)

Required. Resource name of the tenant under which the event is created.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant is created, 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
Type Description
CreateClientEventRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateClientEventRequest.Builder setParentBytes(ByteString value)

Required. Resource name of the tenant under which the event is created.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenant/bar". If tenant id is unspecified, a default tenant is created, 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
Type Description
CreateClientEventRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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