Class BackfillJob (1.31.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
TypeDescription
int

LAST_END_TIME_FIELD_NUMBER

public static final int LAST_END_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

LAST_START_TIME_FIELD_NUMBER

public static final int LAST_START_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

TRIGGER_FIELD_NUMBER

public static final int TRIGGER_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BackfillJob getDefaultInstance()
Returns
TypeDescription
BackfillJob

getDescriptor()

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

newBuilder()

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

newBuilder(BackfillJob prototype)

public static BackfillJob.Builder newBuilder(BackfillJob prototype)
Parameter
NameDescription
prototypeBackfillJob
Returns
TypeDescription
BackfillJob.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public BackfillJob getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getState()

public BackfillJob.State getState()

Backfill job state.

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

Returns
TypeDescription
BackfillJob.State

The state.

getStateValue()

public int getStateValue()

Backfill job state.

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

Returns
TypeDescription
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
TypeDescription
BackfillJob.Trigger

The trigger.

getTriggerValue()

public int getTriggerValue()

Backfill job's triggering reason.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the lastStartTime 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 BackfillJob.Builder newBuilderForType()
Returns
TypeDescription
BackfillJob.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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