Class CreateClientEventRequest.Builder (2.35.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateClientEventRequest build()
Returns
TypeDescription
CreateClientEventRequest

buildPartial()

public CreateClientEventRequest buildPartial()
Returns
TypeDescription
CreateClientEventRequest

clear()

public CreateClientEventRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
CreateClientEventRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

public CreateClientEventRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ClientEventOrBuilder

getDefaultInstanceForType()

public CreateClientEventRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateClientEventRequest

getDescriptorForType()

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

Whether the clientEvent field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueClientEvent
Returns
TypeDescription
CreateClientEventRequest.Builder

mergeFrom(CreateClientEventRequest other)

public CreateClientEventRequest.Builder mergeFrom(CreateClientEventRequest other)
Parameter
NameDescription
otherCreateClientEventRequest
Returns
TypeDescription
CreateClientEventRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CreateClientEventRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateClientEventRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateClientEventRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueClientEvent
Returns
TypeDescription
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
NameDescription
builderForValueClientEvent.Builder
Returns
TypeDescription
CreateClientEventRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The parent to set.

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

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateClientEventRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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