Interface SearchJobsResponse.CommuteInfoOrBuilder (2.4.2)

public static interface SearchJobsResponse.CommuteInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getJobLocation()

public abstract Location getJobLocation()

Location used as the destination in the commute calculation.

.google.cloud.talent.v4.Location job_location = 1;

Returns
TypeDescription
Location

The jobLocation.

getJobLocationOrBuilder()

public abstract LocationOrBuilder getJobLocationOrBuilder()

Location used as the destination in the commute calculation.

.google.cloud.talent.v4.Location job_location = 1;

Returns
TypeDescription
LocationOrBuilder

getTravelDuration()

public abstract 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
TypeDescription
Duration

The travelDuration.

getTravelDurationOrBuilder()

public abstract 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
TypeDescription
DurationOrBuilder

hasJobLocation()

public abstract boolean hasJobLocation()

Location used as the destination in the commute calculation.

.google.cloud.talent.v4.Location job_location = 1;

Returns
TypeDescription
boolean

Whether the jobLocation field is set.

hasTravelDuration()

public abstract 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
TypeDescription
boolean

Whether the travelDuration field is set.