Package com.google.cloud.talent.v4
Class ClientEvent.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ClientEvent.Builder>
-
- com.google.cloud.talent.v4.ClientEvent.Builder
-
- All Implemented Interfaces:
ClientEventOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ClientEvent
public static final class ClientEvent.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ClientEvent.Builder> implements ClientEventOrBuilder
An event issued when an end user interacts with the application that implements Cloud Talent Solution. Providing this information improves the quality of results for the API clients, enabling the service to perform optimally. The number of events sent must be consistent with other calls, such as job searches, issued to the service by the client.
Protobuf typegoogle.cloud.talent.v4.ClientEvent
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ClientEvent.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ClientEvent
build()
ClientEvent
buildPartial()
ClientEvent.Builder
clear()
ClientEvent.Builder
clearCreateTime()
Required.ClientEvent.Builder
clearEvent()
ClientEvent.Builder
clearEventId()
Required.ClientEvent.Builder
clearEventNotes()
Notes about the event provided by recruiters or other users, for example, feedback on why a job was bookmarked.ClientEvent.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ClientEvent.Builder
clearJobEvent()
An event issued when a job seeker interacts with the application that implements Cloud Talent Solution.ClientEvent.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ClientEvent.Builder
clearRequestId()
Strongly recommended for the best service experience.ClientEvent.Builder
clone()
com.google.protobuf.Timestamp
getCreateTime()
Required.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Required.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Required.ClientEvent
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
ClientEvent.EventCase
getEventCase()
String
getEventId()
Required.com.google.protobuf.ByteString
getEventIdBytes()
Required.String
getEventNotes()
Notes about the event provided by recruiters or other users, for example, feedback on why a job was bookmarked.com.google.protobuf.ByteString
getEventNotesBytes()
Notes about the event provided by recruiters or other users, for example, feedback on why a job was bookmarked.JobEvent
getJobEvent()
An event issued when a job seeker interacts with the application that implements Cloud Talent Solution.JobEvent.Builder
getJobEventBuilder()
An event issued when a job seeker interacts with the application that implements Cloud Talent Solution.JobEventOrBuilder
getJobEventOrBuilder()
An event issued when a job seeker interacts with the application that implements Cloud Talent Solution.String
getRequestId()
Strongly recommended for the best service experience.com.google.protobuf.ByteString
getRequestIdBytes()
Strongly recommended for the best service experience.boolean
hasCreateTime()
Required.boolean
hasJobEvent()
An event issued when a job seeker interacts with the application that implements Cloud Talent Solution.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ClientEvent.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Required.ClientEvent.Builder
mergeFrom(ClientEvent other)
ClientEvent.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ClientEvent.Builder
mergeFrom(com.google.protobuf.Message other)
ClientEvent.Builder
mergeJobEvent(JobEvent value)
An event issued when a job seeker interacts with the application that implements Cloud Talent Solution.ClientEvent.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ClientEvent.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Required.ClientEvent.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Required.ClientEvent.Builder
setEventId(String value)
Required.ClientEvent.Builder
setEventIdBytes(com.google.protobuf.ByteString value)
Required.ClientEvent.Builder
setEventNotes(String value)
Notes about the event provided by recruiters or other users, for example, feedback on why a job was bookmarked.ClientEvent.Builder
setEventNotesBytes(com.google.protobuf.ByteString value)
Notes about the event provided by recruiters or other users, for example, feedback on why a job was bookmarked.ClientEvent.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ClientEvent.Builder
setJobEvent(JobEvent value)
An event issued when a job seeker interacts with the application that implements Cloud Talent Solution.ClientEvent.Builder
setJobEvent(JobEvent.Builder builderForValue)
An event issued when a job seeker interacts with the application that implements Cloud Talent Solution.ClientEvent.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ClientEvent.Builder
setRequestId(String value)
Strongly recommended for the best service experience.ClientEvent.Builder
setRequestIdBytes(com.google.protobuf.ByteString value)
Strongly recommended for the best service experience.ClientEvent.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClientEvent.Builder>
-
clear
public ClientEvent.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClientEvent.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClientEvent.Builder>
-
getDefaultInstanceForType
public ClientEvent getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ClientEvent build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ClientEvent buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ClientEvent.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClientEvent.Builder>
-
setField
public ClientEvent.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClientEvent.Builder>
-
clearField
public ClientEvent.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClientEvent.Builder>
-
clearOneof
public ClientEvent.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClientEvent.Builder>
-
setRepeatedField
public ClientEvent.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClientEvent.Builder>
-
addRepeatedField
public ClientEvent.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClientEvent.Builder>
-
mergeFrom
public ClientEvent.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ClientEvent.Builder>
-
mergeFrom
public ClientEvent.Builder mergeFrom(ClientEvent other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClientEvent.Builder>
-
mergeFrom
public ClientEvent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ClientEvent.Builder>
- Throws:
IOException
-
getEventCase
public ClientEvent.EventCase getEventCase()
- Specified by:
getEventCase
in interfaceClientEventOrBuilder
-
clearEvent
public ClientEvent.Builder clearEvent()
-
getRequestId
public String getRequestId()
Strongly recommended for the best service experience. A unique ID generated in the API responses. It can be found in [ResponseMetadata.request_id][google.cloud.talent.v4.ResponseMetadata.request_id].
string request_id = 1;
- Specified by:
getRequestId
in interfaceClientEventOrBuilder
- Returns:
- The requestId.
-
getRequestIdBytes
public com.google.protobuf.ByteString getRequestIdBytes()
Strongly recommended for the best service experience. A unique ID generated in the API responses. It can be found in [ResponseMetadata.request_id][google.cloud.talent.v4.ResponseMetadata.request_id].
string request_id = 1;
- Specified by:
getRequestIdBytes
in interfaceClientEventOrBuilder
- Returns:
- The bytes for requestId.
-
setRequestId
public ClientEvent.Builder setRequestId(String value)
Strongly recommended for the best service experience. A unique ID generated in the API responses. It can be found in [ResponseMetadata.request_id][google.cloud.talent.v4.ResponseMetadata.request_id].
string request_id = 1;
- Parameters:
value
- The requestId to set.- Returns:
- This builder for chaining.
-
clearRequestId
public ClientEvent.Builder clearRequestId()
Strongly recommended for the best service experience. A unique ID generated in the API responses. It can be found in [ResponseMetadata.request_id][google.cloud.talent.v4.ResponseMetadata.request_id].
string request_id = 1;
- Returns:
- This builder for chaining.
-
setRequestIdBytes
public ClientEvent.Builder setRequestIdBytes(com.google.protobuf.ByteString value)
Strongly recommended for the best service experience. A unique ID generated in the API responses. It can be found in [ResponseMetadata.request_id][google.cloud.talent.v4.ResponseMetadata.request_id].
string request_id = 1;
- Parameters:
value
- The bytes for requestId to set.- Returns:
- This builder for chaining.
-
getEventId
public String getEventId()
Required. A unique identifier, generated by the client application.
string event_id = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getEventId
in interfaceClientEventOrBuilder
- Returns:
- The eventId.
-
getEventIdBytes
public com.google.protobuf.ByteString getEventIdBytes()
Required. A unique identifier, generated by the client application.
string event_id = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getEventIdBytes
in interfaceClientEventOrBuilder
- Returns:
- The bytes for eventId.
-
setEventId
public ClientEvent.Builder setEventId(String value)
Required. A unique identifier, generated by the client application.
string event_id = 2 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The eventId to set.- Returns:
- This builder for chaining.
-
clearEventId
public ClientEvent.Builder clearEventId()
Required. A unique identifier, generated by the client application.
string event_id = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- This builder for chaining.
-
setEventIdBytes
public ClientEvent.Builder setEventIdBytes(com.google.protobuf.ByteString value)
Required. A unique identifier, generated by the client application.
string event_id = 2 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The bytes for eventId to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()
Required. The timestamp of the event.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
hasCreateTime
in interfaceClientEventOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Required. The timestamp of the event.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getCreateTime
in interfaceClientEventOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public ClientEvent.Builder setCreateTime(com.google.protobuf.Timestamp value)
Required. The timestamp of the event.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED];
-
setCreateTime
public ClientEvent.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Required. The timestamp of the event.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED];
-
mergeCreateTime
public ClientEvent.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Required. The timestamp of the event.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED];
-
clearCreateTime
public ClientEvent.Builder clearCreateTime()
Required. The timestamp of the event.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Required. The timestamp of the event.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED];
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Required. The timestamp of the event.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getCreateTimeOrBuilder
in interfaceClientEventOrBuilder
-
hasJobEvent
public boolean hasJobEvent()
An event issued when a job seeker interacts with the application that implements Cloud Talent Solution.
.google.cloud.talent.v4.JobEvent job_event = 5;
- Specified by:
hasJobEvent
in interfaceClientEventOrBuilder
- Returns:
- Whether the jobEvent field is set.
-
getJobEvent
public JobEvent getJobEvent()
An event issued when a job seeker interacts with the application that implements Cloud Talent Solution.
.google.cloud.talent.v4.JobEvent job_event = 5;
- Specified by:
getJobEvent
in interfaceClientEventOrBuilder
- Returns:
- The jobEvent.
-
setJobEvent
public ClientEvent.Builder setJobEvent(JobEvent value)
An event issued when a job seeker interacts with the application that implements Cloud Talent Solution.
.google.cloud.talent.v4.JobEvent job_event = 5;
-
setJobEvent
public ClientEvent.Builder setJobEvent(JobEvent.Builder builderForValue)
An event issued when a job seeker interacts with the application that implements Cloud Talent Solution.
.google.cloud.talent.v4.JobEvent job_event = 5;
-
mergeJobEvent
public ClientEvent.Builder mergeJobEvent(JobEvent value)
An event issued when a job seeker interacts with the application that implements Cloud Talent Solution.
.google.cloud.talent.v4.JobEvent job_event = 5;
-
clearJobEvent
public ClientEvent.Builder clearJobEvent()
An event issued when a job seeker interacts with the application that implements Cloud Talent Solution.
.google.cloud.talent.v4.JobEvent job_event = 5;
-
getJobEventBuilder
public JobEvent.Builder getJobEventBuilder()
An event issued when a job seeker interacts with the application that implements Cloud Talent Solution.
.google.cloud.talent.v4.JobEvent job_event = 5;
-
getJobEventOrBuilder
public JobEventOrBuilder getJobEventOrBuilder()
An event issued when a job seeker interacts with the application that implements Cloud Talent Solution.
.google.cloud.talent.v4.JobEvent job_event = 5;
- Specified by:
getJobEventOrBuilder
in interfaceClientEventOrBuilder
-
getEventNotes
public String getEventNotes()
Notes about the event provided by recruiters or other users, for example, feedback on why a job was bookmarked.
string event_notes = 9;
- Specified by:
getEventNotes
in interfaceClientEventOrBuilder
- Returns:
- The eventNotes.
-
getEventNotesBytes
public com.google.protobuf.ByteString getEventNotesBytes()
Notes about the event provided by recruiters or other users, for example, feedback on why a job was bookmarked.
string event_notes = 9;
- Specified by:
getEventNotesBytes
in interfaceClientEventOrBuilder
- Returns:
- The bytes for eventNotes.
-
setEventNotes
public ClientEvent.Builder setEventNotes(String value)
Notes about the event provided by recruiters or other users, for example, feedback on why a job was bookmarked.
string event_notes = 9;
- Parameters:
value
- The eventNotes to set.- Returns:
- This builder for chaining.
-
clearEventNotes
public ClientEvent.Builder clearEventNotes()
Notes about the event provided by recruiters or other users, for example, feedback on why a job was bookmarked.
string event_notes = 9;
- Returns:
- This builder for chaining.
-
setEventNotesBytes
public ClientEvent.Builder setEventNotesBytes(com.google.protobuf.ByteString value)
Notes about the event provided by recruiters or other users, for example, feedback on why a job was bookmarked.
string event_notes = 9;
- Parameters:
value
- The bytes for eventNotes to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ClientEvent.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClientEvent.Builder>
-
mergeUnknownFields
public final ClientEvent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ClientEvent.Builder>
-
-