Class BackfillJob.Builder (1.14.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.datastream.v1.Error>
Returns
TypeDescription
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
NameDescription
valueError
Returns
TypeDescription
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
NameDescription
builderForValueError.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueError
Returns
TypeDescription
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
NameDescription
indexint
builderForValueError.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Error.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BackfillJob build()
Returns
TypeDescription
BackfillJob

buildPartial()

public BackfillJob buildPartial()
Returns
TypeDescription
BackfillJob

clear()

public BackfillJob.Builder clear()
Returns
TypeDescription
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
TypeDescription
BackfillJob.Builder

clearField(Descriptors.FieldDescriptor field)

public BackfillJob.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
BackfillJob.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearState()

public BackfillJob.Builder clearState()

Backfill job state.

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

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public BackfillJob getDefaultInstanceForType()
Returns
TypeDescription
BackfillJob

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
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.

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

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
TypeDescription
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
TypeDescription
TimestampOrBuilder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BackfillJob other)

public BackfillJob.Builder mergeFrom(BackfillJob other)
Parameter
NameDescription
otherBackfillJob
Returns
TypeDescription
BackfillJob.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public BackfillJob.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
BackfillJob.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BackfillJob.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
valueError
Returns
TypeDescription
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
NameDescription
indexint
builderForValueError.Builder
Returns
TypeDescription
BackfillJob.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BackfillJob.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
BackfillJob.Builder

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

public BackfillJob.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueBackfillJob.State

The state to set.

Returns
TypeDescription
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
NameDescription
valueint

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

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

The trigger to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
BackfillJob.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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