public static final class SearchJobsResponse.CommuteInfo.Builder extends GeneratedMessage.Builder<SearchJobsResponse.CommuteInfo.Builder> implements SearchJobsResponse.CommuteInfoOrBuilderCommute details related to this job.
Protobuf type google.cloud.talent.v4.SearchJobsResponse.CommuteInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SearchJobsResponse.CommuteInfo.BuilderImplements
SearchJobsResponse.CommuteInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public SearchJobsResponse.CommuteInfo build()| Returns | |
|---|---|
| Type | Description |
SearchJobsResponse.CommuteInfo |
|
buildPartial()
public SearchJobsResponse.CommuteInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
SearchJobsResponse.CommuteInfo |
|
clear()
public SearchJobsResponse.CommuteInfo.Builder clear()| Returns | |
|---|---|
| Type | Description |
SearchJobsResponse.CommuteInfo.Builder |
|
clearJobLocation()
public SearchJobsResponse.CommuteInfo.Builder clearJobLocation()Location used as the destination in the commute calculation.
.google.cloud.talent.v4.Location job_location = 1;
| Returns | |
|---|---|
| Type | Description |
SearchJobsResponse.CommuteInfo.Builder |
|
clearTravelDuration()
public SearchJobsResponse.CommuteInfo.Builder clearTravelDuration()The number of seconds required to travel to the job location from the query location. A duration of 0 seconds indicates that the job isn't reachable within the requested duration, but was returned as part of an expanded query.
.google.protobuf.Duration travel_duration = 2;
| Returns | |
|---|---|
| Type | Description |
SearchJobsResponse.CommuteInfo.Builder |
|
getDefaultInstanceForType()
public SearchJobsResponse.CommuteInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SearchJobsResponse.CommuteInfo |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getJobLocation()
public Location getJobLocation()Location used as the destination in the commute calculation.
.google.cloud.talent.v4.Location job_location = 1;
| Returns | |
|---|---|
| Type | Description |
Location |
The jobLocation. |
getJobLocationBuilder()
public Location.Builder getJobLocationBuilder()Location used as the destination in the commute calculation.
.google.cloud.talent.v4.Location job_location = 1;
| Returns | |
|---|---|
| Type | Description |
Location.Builder |
|
getJobLocationOrBuilder()
public LocationOrBuilder getJobLocationOrBuilder()Location used as the destination in the commute calculation.
.google.cloud.talent.v4.Location job_location = 1;
| Returns | |
|---|---|
| Type | Description |
LocationOrBuilder |
|
getTravelDuration()
public Duration getTravelDuration()The number of seconds required to travel to the job location from the query location. A duration of 0 seconds indicates that the job isn't reachable within the requested duration, but was returned as part of an expanded query.
.google.protobuf.Duration travel_duration = 2;
| Returns | |
|---|---|
| Type | Description |
Duration |
The travelDuration. |
getTravelDurationBuilder()
public Duration.Builder getTravelDurationBuilder()The number of seconds required to travel to the job location from the query location. A duration of 0 seconds indicates that the job isn't reachable within the requested duration, but was returned as part of an expanded query.
.google.protobuf.Duration travel_duration = 2;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getTravelDurationOrBuilder()
public DurationOrBuilder getTravelDurationOrBuilder()The number of seconds required to travel to the job location from the query location. A duration of 0 seconds indicates that the job isn't reachable within the requested duration, but was returned as part of an expanded query.
.google.protobuf.Duration travel_duration = 2;
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
hasJobLocation()
public boolean hasJobLocation()Location used as the destination in the commute calculation.
.google.cloud.talent.v4.Location job_location = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the jobLocation field is set. |
hasTravelDuration()
public boolean hasTravelDuration()The number of seconds required to travel to the job location from the query location. A duration of 0 seconds indicates that the job isn't reachable within the requested duration, but was returned as part of an expanded query.
.google.protobuf.Duration travel_duration = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the travelDuration field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SearchJobsResponse.CommuteInfo other)
public SearchJobsResponse.CommuteInfo.Builder mergeFrom(SearchJobsResponse.CommuteInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
SearchJobsResponse.CommuteInfo |
| Returns | |
|---|---|
| Type | Description |
SearchJobsResponse.CommuteInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SearchJobsResponse.CommuteInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SearchJobsResponse.CommuteInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SearchJobsResponse.CommuteInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SearchJobsResponse.CommuteInfo.Builder |
|
mergeJobLocation(Location value)
public SearchJobsResponse.CommuteInfo.Builder mergeJobLocation(Location value)Location used as the destination in the commute calculation.
.google.cloud.talent.v4.Location job_location = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Location |
| Returns | |
|---|---|
| Type | Description |
SearchJobsResponse.CommuteInfo.Builder |
|
mergeTravelDuration(Duration value)
public SearchJobsResponse.CommuteInfo.Builder mergeTravelDuration(Duration value)The number of seconds required to travel to the job location from the query location. A duration of 0 seconds indicates that the job isn't reachable within the requested duration, but was returned as part of an expanded query.
.google.protobuf.Duration travel_duration = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
SearchJobsResponse.CommuteInfo.Builder |
|
setJobLocation(Location value)
public SearchJobsResponse.CommuteInfo.Builder setJobLocation(Location value)Location used as the destination in the commute calculation.
.google.cloud.talent.v4.Location job_location = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Location |
| Returns | |
|---|---|
| Type | Description |
SearchJobsResponse.CommuteInfo.Builder |
|
setJobLocation(Location.Builder builderForValue)
public SearchJobsResponse.CommuteInfo.Builder setJobLocation(Location.Builder builderForValue)Location used as the destination in the commute calculation.
.google.cloud.talent.v4.Location job_location = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Location.Builder |
| Returns | |
|---|---|
| Type | Description |
SearchJobsResponse.CommuteInfo.Builder |
|
setTravelDuration(Duration value)
public SearchJobsResponse.CommuteInfo.Builder setTravelDuration(Duration value)The number of seconds required to travel to the job location from the query location. A duration of 0 seconds indicates that the job isn't reachable within the requested duration, but was returned as part of an expanded query.
.google.protobuf.Duration travel_duration = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
SearchJobsResponse.CommuteInfo.Builder |
|
setTravelDuration(Duration.Builder builderForValue)
public SearchJobsResponse.CommuteInfo.Builder setTravelDuration(Duration.Builder builderForValue)The number of seconds required to travel to the job location from the query location. A duration of 0 seconds indicates that the job isn't reachable within the requested duration, but was returned as part of an expanded query.
.google.protobuf.Duration travel_duration = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
SearchJobsResponse.CommuteInfo.Builder |
|