Class SearchBackgroundJobsRequest.Builder (2.33.0)

public static final class SearchBackgroundJobsRequest.Builder extends GeneratedMessageV3.Builder<SearchBackgroundJobsRequest.Builder> implements SearchBackgroundJobsRequestOrBuilder

Request message for 'SearchBackgroundJobs' request.

Protobuf type google.cloud.clouddms.v1.SearchBackgroundJobsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SearchBackgroundJobsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SearchBackgroundJobsRequest.Builder
Overrides

build()

public SearchBackgroundJobsRequest build()
Returns
TypeDescription
SearchBackgroundJobsRequest

buildPartial()

public SearchBackgroundJobsRequest buildPartial()
Returns
TypeDescription
SearchBackgroundJobsRequest

clear()

public SearchBackgroundJobsRequest.Builder clear()
Returns
TypeDescription
SearchBackgroundJobsRequest.Builder
Overrides

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];

Returns
TypeDescription
SearchBackgroundJobsRequest.Builder

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
TypeDescription
SearchBackgroundJobsRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SearchBackgroundJobsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SearchBackgroundJobsRequest.Builder
Overrides

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
TypeDescription
SearchBackgroundJobsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SearchBackgroundJobsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SearchBackgroundJobsRequest.Builder
Overrides

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
TypeDescription
SearchBackgroundJobsRequest.Builder

This builder for chaining.

clone()

public SearchBackgroundJobsRequest.Builder clone()
Returns
TypeDescription
SearchBackgroundJobsRequest.Builder
Overrides

getCompletedUntilTime()

public 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];

Returns
TypeDescription
Timestamp

The completedUntilTime.

getCompletedUntilTimeBuilder()

public 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];

Returns
TypeDescription
Builder

getCompletedUntilTimeOrBuilder()

public 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];

Returns
TypeDescription
TimestampOrBuilder

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) = { ... }

Returns
TypeDescription
String

The conversionWorkspace.

getConversionWorkspaceBytes()

public 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) = { ... }

Returns
TypeDescription
ByteString

The bytes for conversionWorkspace.

getDefaultInstanceForType()

public SearchBackgroundJobsRequest getDefaultInstanceForType()
Returns
TypeDescription
SearchBackgroundJobsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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];

Returns
TypeDescription
int

The maxSize.

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];

Returns
TypeDescription
boolean

The returnMostRecentPerJobType.

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];

Returns
TypeDescription
boolean

Whether the completedUntilTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCompletedUntilTime(Timestamp value)

public SearchBackgroundJobsRequest.Builder mergeCompletedUntilTime(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];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
SearchBackgroundJobsRequest.Builder

mergeFrom(SearchBackgroundJobsRequest other)

public SearchBackgroundJobsRequest.Builder mergeFrom(SearchBackgroundJobsRequest other)
Parameter
NameDescription
otherSearchBackgroundJobsRequest
Returns
TypeDescription
SearchBackgroundJobsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SearchBackgroundJobsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchBackgroundJobsRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SearchBackgroundJobsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SearchBackgroundJobsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SearchBackgroundJobsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SearchBackgroundJobsRequest.Builder
Overrides

setCompletedUntilTime(Timestamp value)

public SearchBackgroundJobsRequest.Builder setCompletedUntilTime(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];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
SearchBackgroundJobsRequest.Builder

setCompletedUntilTime(Timestamp.Builder builderForValue)

public SearchBackgroundJobsRequest.Builder setCompletedUntilTime(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];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
SearchBackgroundJobsRequest.Builder

setConversionWorkspace(String value)

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) = { ... }

Parameter
NameDescription
valueString

The conversionWorkspace to set.

Returns
TypeDescription
SearchBackgroundJobsRequest.Builder

This builder for chaining.

setConversionWorkspaceBytes(ByteString value)

public SearchBackgroundJobsRequest.Builder setConversionWorkspaceBytes(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) = { ... }

Parameter
NameDescription
valueByteString

The bytes for conversionWorkspace to set.

Returns
TypeDescription
SearchBackgroundJobsRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public SearchBackgroundJobsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SearchBackgroundJobsRequest.Builder
Overrides

setMaxSize(int value)

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];

Parameter
NameDescription
valueint

The maxSize to set.

Returns
TypeDescription
SearchBackgroundJobsRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SearchBackgroundJobsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SearchBackgroundJobsRequest.Builder
Overrides

setReturnMostRecentPerJobType(boolean value)

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];

Parameter
NameDescription
valueboolean

The returnMostRecentPerJobType to set.

Returns
TypeDescription
SearchBackgroundJobsRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SearchBackgroundJobsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SearchBackgroundJobsRequest.Builder
Overrides