Class BackfillJob (1.41.0)

public final class BackfillJob extends GeneratedMessageV3 implements BackfillJobOrBuilder

Represents a backfill job on a specific stream object.

Protobuf type google.cloud.datastream.v1.BackfillJob

Static Fields

ERRORS_FIELD_NUMBER

public static final int ERRORS_FIELD_NUMBER
Field Value
Type Description
int

LAST_END_TIME_FIELD_NUMBER

public static final int LAST_END_TIME_FIELD_NUMBER
Field Value
Type Description
int

LAST_START_TIME_FIELD_NUMBER

public static final int LAST_START_TIME_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

TRIGGER_FIELD_NUMBER

public static final int TRIGGER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BackfillJob getDefaultInstance()
Returns
Type Description
BackfillJob

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static BackfillJob.Builder newBuilder()
Returns
Type Description
BackfillJob.Builder

newBuilder(BackfillJob prototype)

public static BackfillJob.Builder newBuilder(BackfillJob prototype)
Parameter
Name Description
prototype BackfillJob
Returns
Type Description
BackfillJob.Builder

parseDelimitedFrom(InputStream input)

public static BackfillJob parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BackfillJob
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BackfillJob parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackfillJob
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BackfillJob parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BackfillJob
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BackfillJob parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackfillJob
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BackfillJob parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BackfillJob
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BackfillJob parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackfillJob
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BackfillJob parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BackfillJob
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BackfillJob parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackfillJob
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BackfillJob parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BackfillJob
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BackfillJob parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackfillJob
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BackfillJob parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BackfillJob
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BackfillJob parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackfillJob
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BackfillJob> parser()
Returns
Type Description
Parser<BackfillJob>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public BackfillJob getDefaultInstanceForType()
Returns
Type Description
BackfillJob

getErrors(int index)

public Error getErrors(int index)

Output only. Errors which caused the backfill job to fail.

repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Error

getErrorsCount()

public int getErrorsCount()

Output only. Errors which caused the backfill job to fail.

repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getErrorsList()

public List<Error> getErrorsList()

Output only. Errors which caused the backfill job to fail.

repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Error>

getErrorsOrBuilder(int index)

public ErrorOrBuilder getErrorsOrBuilder(int index)

Output only. Errors which caused the backfill job to fail.

repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ErrorOrBuilder

getErrorsOrBuilderList()

public List<? extends ErrorOrBuilder> getErrorsOrBuilderList()

Output only. Errors which caused the backfill job to fail.

repeated .google.cloud.datastream.v1.Error errors = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.datastream.v1.ErrorOrBuilder>

getLastEndTime()

public Timestamp getLastEndTime()

Output only. Backfill job's end time.

.google.protobuf.Timestamp last_end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The lastEndTime.

getLastEndTimeOrBuilder()

public TimestampOrBuilder getLastEndTimeOrBuilder()

Output only. Backfill job's end time.

.google.protobuf.Timestamp last_end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getLastStartTime()

public Timestamp getLastStartTime()

Output only. Backfill job's start time.

.google.protobuf.Timestamp last_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The lastStartTime.

getLastStartTimeOrBuilder()

public TimestampOrBuilder getLastStartTimeOrBuilder()

Output only. Backfill job's start time.

.google.protobuf.Timestamp last_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getParserForType()

public Parser<BackfillJob> getParserForType()
Returns
Type Description
Parser<BackfillJob>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public BackfillJob.State getState()

Backfill job state.

.google.cloud.datastream.v1.BackfillJob.State state = 1;

Returns
Type Description
BackfillJob.State

The state.

getStateValue()

public int getStateValue()

Backfill job state.

.google.cloud.datastream.v1.BackfillJob.State state = 1;

Returns
Type Description
int

The enum numeric value on the wire for state.

getTrigger()

public BackfillJob.Trigger getTrigger()

Backfill job's triggering reason.

.google.cloud.datastream.v1.BackfillJob.Trigger trigger = 2;

Returns
Type Description
BackfillJob.Trigger

The trigger.

getTriggerValue()

public int getTriggerValue()

Backfill job's triggering reason.

.google.cloud.datastream.v1.BackfillJob.Trigger trigger = 2;

Returns
Type Description
int

The enum numeric value on the wire for trigger.

hasLastEndTime()

public boolean hasLastEndTime()

Output only. Backfill job's end time.

.google.protobuf.Timestamp last_end_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the lastEndTime field is set.

hasLastStartTime()

public boolean hasLastStartTime()

Output only. Backfill job's start time.

.google.protobuf.Timestamp last_start_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the lastStartTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BackfillJob.Builder newBuilderForType()
Returns
Type Description
BackfillJob.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BackfillJob.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BackfillJob.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BackfillJob.Builder toBuilder()
Returns
Type Description
BackfillJob.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException