Interface SearchJobsResponse.CommuteInfoOrBuilder (2.48.0)

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
Type Description
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
Type Description
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
Type Description
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
Type Description
DurationOrBuilder

hasJobLocation()

public abstract 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 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
Type Description
boolean

Whether the travelDuration field is set.