Class SearchBackgroundJobsRequest (2.21.0)

public final class SearchBackgroundJobsRequest extends GeneratedMessageV3 implements SearchBackgroundJobsRequestOrBuilder

Request message for 'SearchBackgroundJobs' request.

Protobuf type google.cloud.clouddms.v1.SearchBackgroundJobsRequest

Static Fields

COMPLETED_UNTIL_TIME_FIELD_NUMBER

public static final int COMPLETED_UNTIL_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

CONVERSION_WORKSPACE_FIELD_NUMBER

public static final int CONVERSION_WORKSPACE_FIELD_NUMBER
Field Value
TypeDescription
int

MAX_SIZE_FIELD_NUMBER

public static final int MAX_SIZE_FIELD_NUMBER
Field Value
TypeDescription
int

RETURN_MOST_RECENT_PER_JOB_TYPE_FIELD_NUMBER

public static final int RETURN_MOST_RECENT_PER_JOB_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SearchBackgroundJobsRequest getDefaultInstance()
Returns
TypeDescription
SearchBackgroundJobsRequest

getDescriptor()

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

newBuilder()

public static SearchBackgroundJobsRequest.Builder newBuilder()
Returns
TypeDescription
SearchBackgroundJobsRequest.Builder

newBuilder(SearchBackgroundJobsRequest prototype)

public static SearchBackgroundJobsRequest.Builder newBuilder(SearchBackgroundJobsRequest prototype)
Parameter
NameDescription
prototypeSearchBackgroundJobsRequest
Returns
TypeDescription
SearchBackgroundJobsRequest.Builder

parseDelimitedFrom(InputStream input)

public static SearchBackgroundJobsRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SearchBackgroundJobsRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchBackgroundJobsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchBackgroundJobsRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SearchBackgroundJobsRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SearchBackgroundJobsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SearchBackgroundJobsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchBackgroundJobsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SearchBackgroundJobsRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SearchBackgroundJobsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SearchBackgroundJobsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchBackgroundJobsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SearchBackgroundJobsRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SearchBackgroundJobsRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchBackgroundJobsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchBackgroundJobsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SearchBackgroundJobsRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SearchBackgroundJobsRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SearchBackgroundJobsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchBackgroundJobsRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SearchBackgroundJobsRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SearchBackgroundJobsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SearchBackgroundJobsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SearchBackgroundJobsRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SearchBackgroundJobsRequest> parser()
Returns
TypeDescription
Parser<SearchBackgroundJobsRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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.

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

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.

getParserForType()

public Parser<SearchBackgroundJobsRequest> getParserForType()
Returns
TypeDescription
Parser<SearchBackgroundJobsRequest>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SearchBackgroundJobsRequest.Builder newBuilderForType()
Returns
TypeDescription
SearchBackgroundJobsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SearchBackgroundJobsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SearchBackgroundJobsRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SearchBackgroundJobsRequest.Builder toBuilder()
Returns
TypeDescription
SearchBackgroundJobsRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException