public static final class SearchJobsResponse.CommuteInfo.Builder extends GeneratedMessageV3.Builder<SearchJobsResponse.CommuteInfo.Builder> implements SearchJobsResponse.CommuteInfoOrBuilder
Commute details related to this job.
Protobuf type google.cloud.talent.v4.SearchJobsResponse.CommuteInfo
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchJobsResponse.CommuteInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SearchJobsResponse.CommuteInfo build()
Returns
buildPartial()
public SearchJobsResponse.CommuteInfo buildPartial()
Returns
clear()
public SearchJobsResponse.CommuteInfo.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public SearchJobsResponse.CommuteInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearJobLocation()
public SearchJobsResponse.CommuteInfo.Builder clearJobLocation()
Location used as the destination in the commute calculation.
.google.cloud.talent.v4.Location job_location = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchJobsResponse.CommuteInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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
clone()
public SearchJobsResponse.CommuteInfo.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SearchJobsResponse.CommuteInfo getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getJobLocation()
public Location getJobLocation()
Location used as the destination in the commute calculation.
.google.cloud.talent.v4.Location job_location = 1;
Returns
getJobLocationBuilder()
public Location.Builder getJobLocationBuilder()
Location used as the destination in the commute calculation.
.google.cloud.talent.v4.Location job_location = 1;
Returns
getJobLocationOrBuilder()
public LocationOrBuilder getJobLocationOrBuilder()
Location used as the destination in the commute calculation.
.google.cloud.talent.v4.Location job_location = 1;
Returns
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
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
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SearchJobsResponse.CommuteInfo other)
public SearchJobsResponse.CommuteInfo.Builder mergeFrom(SearchJobsResponse.CommuteInfo other)
Parameter
Returns
public SearchJobsResponse.CommuteInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SearchJobsResponse.CommuteInfo.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
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
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchJobsResponse.CommuteInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SearchJobsResponse.CommuteInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchJobsResponse.CommuteInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
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
Returns
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
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchJobsResponse.CommuteInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides