Class SearchJobsResponse.CommuteInfo.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SearchJobsResponse.CommuteInfo.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SearchJobsResponse.CommuteInfo.Builder>
      • getDefaultInstanceForType

        public SearchJobsResponse.CommuteInfo getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public SearchJobsResponse.CommuteInfo build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public SearchJobsResponse.CommuteInfo buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SearchJobsResponse.CommuteInfo.Builder>
      • hasJobLocation

        public boolean hasJobLocation()
         Location used as the destination in the commute calculation.
         
        .google.cloud.talent.v4.Location job_location = 1;
        Specified by:
        hasJobLocation in interface SearchJobsResponse.CommuteInfoOrBuilder
        Returns:
        Whether the jobLocation field is set.
      • clearJobLocation

        public SearchJobsResponse.CommuteInfo.Builder clearJobLocation()
         Location used as the destination in the commute calculation.
         
        .google.cloud.talent.v4.Location job_location = 1;
      • getJobLocationBuilder

        public Location.Builder getJobLocationBuilder()
         Location used as the destination in the commute calculation.
         
        .google.cloud.talent.v4.Location job_location = 1;
      • 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;
        Specified by:
        hasTravelDuration in interface SearchJobsResponse.CommuteInfoOrBuilder
        Returns:
        Whether the travelDuration field is set.
      • getTravelDuration

        public com.google.protobuf.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;
        Specified by:
        getTravelDuration in interface SearchJobsResponse.CommuteInfoOrBuilder
        Returns:
        The travelDuration.
      • setTravelDuration

        public SearchJobsResponse.CommuteInfo.Builder setTravelDuration​(com.google.protobuf.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

        public SearchJobsResponse.CommuteInfo.Builder setTravelDuration​(com.google.protobuf.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;
      • mergeTravelDuration

        public SearchJobsResponse.CommuteInfo.Builder mergeTravelDuration​(com.google.protobuf.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;
      • 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;
      • getTravelDurationBuilder

        public com.google.protobuf.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 com.google.protobuf.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;
        Specified by:
        getTravelDurationOrBuilder in interface SearchJobsResponse.CommuteInfoOrBuilder