Class SearchBackgroundJobsRequest.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<SearchBackgroundJobsRequest.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<SearchBackgroundJobsRequest.Builder>
      • getDefaultInstanceForType

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

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

        public SearchBackgroundJobsRequest 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<SearchBackgroundJobsRequest.Builder>
      • mergeFrom

        public SearchBackgroundJobsRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                             com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                      throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SearchBackgroundJobsRequest.Builder>
        Throws:
        IOException
      • getConversionWorkspace

        public String getConversionWorkspace()
         Required. Name of the conversion workspace resource whose jobs are listed,
         in the form of:
         projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
         
        string conversion_workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getConversionWorkspace in interface SearchBackgroundJobsRequestOrBuilder
        Returns:
        The conversionWorkspace.
      • getConversionWorkspaceBytes

        public com.google.protobuf.ByteString getConversionWorkspaceBytes()
         Required. Name of the conversion workspace resource whose jobs are listed,
         in the form of:
         projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
         
        string conversion_workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getConversionWorkspaceBytes in interface SearchBackgroundJobsRequestOrBuilder
        Returns:
        The bytes for conversionWorkspace.
      • setConversionWorkspace

        public SearchBackgroundJobsRequest.Builder setConversionWorkspace​(String value)
         Required. Name of the conversion workspace resource whose jobs are listed,
         in the form of:
         projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
         
        string conversion_workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The conversionWorkspace to set.
        Returns:
        This builder for chaining.
      • clearConversionWorkspace

        public SearchBackgroundJobsRequest.Builder clearConversionWorkspace()
         Required. Name of the conversion workspace resource whose jobs are listed,
         in the form of:
         projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
         
        string conversion_workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setConversionWorkspaceBytes

        public SearchBackgroundJobsRequest.Builder setConversionWorkspaceBytes​(com.google.protobuf.ByteString value)
         Required. Name of the conversion workspace resource whose jobs are listed,
         in the form of:
         projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
         
        string conversion_workspace = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for conversionWorkspace to set.
        Returns:
        This builder for chaining.
      • getReturnMostRecentPerJobType

        public boolean getReturnMostRecentPerJobType()
         Optional. Whether or not to return just the most recent job per job type,
         
        bool return_most_recent_per_job_type = 2 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getReturnMostRecentPerJobType in interface SearchBackgroundJobsRequestOrBuilder
        Returns:
        The returnMostRecentPerJobType.
      • setReturnMostRecentPerJobType

        public SearchBackgroundJobsRequest.Builder setReturnMostRecentPerJobType​(boolean value)
         Optional. Whether or not to return just the most recent job per job type,
         
        bool return_most_recent_per_job_type = 2 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The returnMostRecentPerJobType to set.
        Returns:
        This builder for chaining.
      • clearReturnMostRecentPerJobType

        public SearchBackgroundJobsRequest.Builder clearReturnMostRecentPerJobType()
         Optional. Whether or not to return just the most recent job per job type,
         
        bool return_most_recent_per_job_type = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • getMaxSize

        public int getMaxSize()
         Optional. The maximum number of jobs to return. The service may return
         fewer than this value. If unspecified, at most 100 jobs are
         returned. The maximum value is 100; values above 100 are coerced to
         100.
         
        int32 max_size = 3 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getMaxSize in interface SearchBackgroundJobsRequestOrBuilder
        Returns:
        The maxSize.
      • setMaxSize

        public SearchBackgroundJobsRequest.Builder setMaxSize​(int value)
         Optional. The maximum number of jobs to return. The service may return
         fewer than this value. If unspecified, at most 100 jobs are
         returned. The maximum value is 100; values above 100 are coerced to
         100.
         
        int32 max_size = 3 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The maxSize to set.
        Returns:
        This builder for chaining.
      • clearMaxSize

        public SearchBackgroundJobsRequest.Builder clearMaxSize()
         Optional. The maximum number of jobs to return. The service may return
         fewer than this value. If unspecified, at most 100 jobs are
         returned. The maximum value is 100; values above 100 are coerced to
         100.
         
        int32 max_size = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • hasCompletedUntilTime

        public boolean hasCompletedUntilTime()
         Optional. If provided, only returns jobs that completed until (not
         including) the given timestamp.
         
        .google.protobuf.Timestamp completed_until_time = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasCompletedUntilTime in interface SearchBackgroundJobsRequestOrBuilder
        Returns:
        Whether the completedUntilTime field is set.
      • getCompletedUntilTime

        public com.google.protobuf.Timestamp getCompletedUntilTime()
         Optional. If provided, only returns jobs that completed until (not
         including) the given timestamp.
         
        .google.protobuf.Timestamp completed_until_time = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getCompletedUntilTime in interface SearchBackgroundJobsRequestOrBuilder
        Returns:
        The completedUntilTime.
      • setCompletedUntilTime

        public SearchBackgroundJobsRequest.Builder setCompletedUntilTime​(com.google.protobuf.Timestamp value)
         Optional. If provided, only returns jobs that completed until (not
         including) the given timestamp.
         
        .google.protobuf.Timestamp completed_until_time = 4 [(.google.api.field_behavior) = OPTIONAL];
      • setCompletedUntilTime

        public SearchBackgroundJobsRequest.Builder setCompletedUntilTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Optional. If provided, only returns jobs that completed until (not
         including) the given timestamp.
         
        .google.protobuf.Timestamp completed_until_time = 4 [(.google.api.field_behavior) = OPTIONAL];
      • mergeCompletedUntilTime

        public SearchBackgroundJobsRequest.Builder mergeCompletedUntilTime​(com.google.protobuf.Timestamp value)
         Optional. If provided, only returns jobs that completed until (not
         including) the given timestamp.
         
        .google.protobuf.Timestamp completed_until_time = 4 [(.google.api.field_behavior) = OPTIONAL];
      • clearCompletedUntilTime

        public SearchBackgroundJobsRequest.Builder clearCompletedUntilTime()
         Optional. If provided, only returns jobs that completed until (not
         including) the given timestamp.
         
        .google.protobuf.Timestamp completed_until_time = 4 [(.google.api.field_behavior) = OPTIONAL];
      • getCompletedUntilTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCompletedUntilTimeBuilder()
         Optional. If provided, only returns jobs that completed until (not
         including) the given timestamp.
         
        .google.protobuf.Timestamp completed_until_time = 4 [(.google.api.field_behavior) = OPTIONAL];
      • getCompletedUntilTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getCompletedUntilTimeOrBuilder()
         Optional. If provided, only returns jobs that completed until (not
         including) the given timestamp.
         
        .google.protobuf.Timestamp completed_until_time = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getCompletedUntilTimeOrBuilder in interface SearchBackgroundJobsRequestOrBuilder
      • mergeUnknownFields

        public final SearchBackgroundJobsRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SearchBackgroundJobsRequest.Builder>