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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SearchJobsResponse.CommuteInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SearchJobsResponse.CommuteInfo build()
buildPartial()
public SearchJobsResponse.CommuteInfo buildPartial()
clear()
public SearchJobsResponse.CommuteInfo.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public SearchJobsResponse.CommuteInfo.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearJobLocation()
public SearchJobsResponse.CommuteInfo.Builder clearJobLocation()
Location used as the destination in the commute calculation.
.google.cloud.talent.v4.Location job_location = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public SearchJobsResponse.CommuteInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public SearchJobsResponse.CommuteInfo.Builder clone()
Overrides
getDefaultInstanceForType()
public SearchJobsResponse.CommuteInfo getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
getJobLocationOrBuilder()
public LocationOrBuilder getJobLocationOrBuilder()
Location used as the destination in the commute calculation.
.google.cloud.talent.v4.Location job_location = 1;
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;
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SearchJobsResponse.CommuteInfo other)
public SearchJobsResponse.CommuteInfo.Builder mergeFrom(SearchJobsResponse.CommuteInfo other)
public SearchJobsResponse.CommuteInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SearchJobsResponse.CommuteInfo.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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;
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SearchJobsResponse.CommuteInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public SearchJobsResponse.CommuteInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SearchJobsResponse.CommuteInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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
|
setUnknownFields(UnknownFieldSet unknownFields)
public final SearchJobsResponse.CommuteInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides