Class BackfillJob.Builder (1.46.0)

public static final class BackfillJob.Builder extends GeneratedMessageV3.Builder<BackfillJob.Builder> implements BackfillJobOrBuilder

Represents a backfill job on a specific stream object.

Protobuf type google.cloud.datastream.v1.BackfillJob

Static Methods

getDescriptor()

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

Methods

addAllErrors(Iterable<? extends Error> values)

public BackfillJob.Builder addAllErrors(Iterable<? extends Error> values)

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
values Iterable<? extends com.google.cloud.datastream.v1.Error>
Returns
Type Description
BackfillJob.Builder

addErrors(Error value)

public BackfillJob.Builder addErrors(Error value)

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
value Error
Returns
Type Description
BackfillJob.Builder

addErrors(Error.Builder builderForValue)

public BackfillJob.Builder addErrors(Error.Builder builderForValue)

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
builderForValue Error.Builder
Returns
Type Description
BackfillJob.Builder

addErrors(int index, Error value)

public BackfillJob.Builder addErrors(int index, Error value)

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

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

Parameters
Name Description
index int
value Error
Returns
Type Description
BackfillJob.Builder

addErrors(int index, Error.Builder builderForValue)

public BackfillJob.Builder addErrors(int index, Error.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue Error.Builder
Returns
Type Description
BackfillJob.Builder

addErrorsBuilder()

public Error.Builder addErrorsBuilder()

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
Error.Builder

addErrorsBuilder(int index)

public Error.Builder addErrorsBuilder(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.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BackfillJob.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BackfillJob.Builder
Overrides

build()

public BackfillJob build()
Returns
Type Description
BackfillJob

buildPartial()

public BackfillJob buildPartial()
Returns
Type Description
BackfillJob

clear()

public BackfillJob.Builder clear()
Returns
Type Description
BackfillJob.Builder
Overrides

clearErrors()

public BackfillJob.Builder clearErrors()

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
BackfillJob.Builder

clearField(Descriptors.FieldDescriptor field)

public BackfillJob.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BackfillJob.Builder
Overrides

clearLastEndTime()

public BackfillJob.Builder clearLastEndTime()

Output only. Backfill job's end time.

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

Returns
Type Description
BackfillJob.Builder

clearLastStartTime()

public BackfillJob.Builder clearLastStartTime()

Output only. Backfill job's start time.

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

Returns
Type Description
BackfillJob.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public BackfillJob.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BackfillJob.Builder
Overrides

clearState()

public BackfillJob.Builder clearState()

Backfill job state.

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

Returns
Type Description
BackfillJob.Builder

This builder for chaining.

clearTrigger()

public BackfillJob.Builder clearTrigger()

Backfill job's triggering reason.

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

Returns
Type Description
BackfillJob.Builder

This builder for chaining.

clone()

public BackfillJob.Builder clone()
Returns
Type Description
BackfillJob.Builder
Overrides

getDefaultInstanceForType()

public BackfillJob getDefaultInstanceForType()
Returns
Type Description
BackfillJob

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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

getErrorsBuilder(int index)

public Error.Builder getErrorsBuilder(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.Builder

getErrorsBuilderList()

public List<Error.Builder> getErrorsBuilderList()

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<Builder>

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.

getLastEndTimeBuilder()

public Timestamp.Builder getLastEndTimeBuilder()

Output only. Backfill job's end time.

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

Returns
Type Description
Builder

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.

getLastStartTimeBuilder()

public Timestamp.Builder getLastStartTimeBuilder()

Output only. Backfill job's start time.

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

Returns
Type Description
Builder

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BackfillJob other)

public BackfillJob.Builder mergeFrom(BackfillJob other)
Parameter
Name Description
other BackfillJob
Returns
Type Description
BackfillJob.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BackfillJob.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BackfillJob.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BackfillJob.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BackfillJob.Builder
Overrides

mergeLastEndTime(Timestamp value)

public BackfillJob.Builder mergeLastEndTime(Timestamp value)

Output only. Backfill job's end time.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
BackfillJob.Builder

mergeLastStartTime(Timestamp value)

public BackfillJob.Builder mergeLastStartTime(Timestamp value)

Output only. Backfill job's start time.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
BackfillJob.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BackfillJob.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BackfillJob.Builder
Overrides

removeErrors(int index)

public BackfillJob.Builder removeErrors(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
BackfillJob.Builder

setErrors(int index, Error value)

public BackfillJob.Builder setErrors(int index, Error value)

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

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

Parameters
Name Description
index int
value Error
Returns
Type Description
BackfillJob.Builder

setErrors(int index, Error.Builder builderForValue)

public BackfillJob.Builder setErrors(int index, Error.Builder builderForValue)

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

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

Parameters
Name Description
index int
builderForValue Error.Builder
Returns
Type Description
BackfillJob.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BackfillJob.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BackfillJob.Builder
Overrides

setLastEndTime(Timestamp value)

public BackfillJob.Builder setLastEndTime(Timestamp value)

Output only. Backfill job's end time.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
BackfillJob.Builder

setLastEndTime(Timestamp.Builder builderForValue)

public BackfillJob.Builder setLastEndTime(Timestamp.Builder builderForValue)

Output only. Backfill job's end time.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
BackfillJob.Builder

setLastStartTime(Timestamp value)

public BackfillJob.Builder setLastStartTime(Timestamp value)

Output only. Backfill job's start time.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
BackfillJob.Builder

setLastStartTime(Timestamp.Builder builderForValue)

public BackfillJob.Builder setLastStartTime(Timestamp.Builder builderForValue)

Output only. Backfill job's start time.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
BackfillJob.Builder

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

public BackfillJob.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BackfillJob.Builder
Overrides

setState(BackfillJob.State value)

public BackfillJob.Builder setState(BackfillJob.State value)

Backfill job state.

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

Parameter
Name Description
value BackfillJob.State

The state to set.

Returns
Type Description
BackfillJob.Builder

This builder for chaining.

setStateValue(int value)

public BackfillJob.Builder setStateValue(int value)

Backfill job state.

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

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
BackfillJob.Builder

This builder for chaining.

setTrigger(BackfillJob.Trigger value)

public BackfillJob.Builder setTrigger(BackfillJob.Trigger value)

Backfill job's triggering reason.

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

Parameter
Name Description
value BackfillJob.Trigger

The trigger to set.

Returns
Type Description
BackfillJob.Builder

This builder for chaining.

setTriggerValue(int value)

public BackfillJob.Builder setTriggerValue(int value)

Backfill job's triggering reason.

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

Parameter
Name Description
value int

The enum numeric value on the wire for trigger to set.

Returns
Type Description
BackfillJob.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final BackfillJob.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BackfillJob.Builder
Overrides