public static final class BackfillJob.Builder extends GeneratedMessage.Builder<BackfillJob.Builder> implements BackfillJobOrBuilderRepresents a backfill job on a specific stream object.
Protobuf type google.cloud.datastream.v1.BackfillJob
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BackfillJob.BuilderImplements
BackfillJobOrBuilderStatic 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 |
|
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 |
|
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 |
|
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 |
|
clearState()
public BackfillJob.Builder clearState()Output only. Backfill job state.
.google.cloud.datastream.v1.BackfillJob.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| 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. |
getDefaultInstanceForType()
public BackfillJob getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BackfillJob |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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()Output only. Backfill job state.
.google.cloud.datastream.v1.BackfillJob.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BackfillJob.State |
The state. |
getStateValue()
public int getStateValue()Output only. Backfill job state.
.google.cloud.datastream.v1.BackfillJob.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BackfillJob.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BackfillJob.Builder |
|
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 |
|
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 |
|
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 |
|
setState(BackfillJob.State value)
public BackfillJob.Builder setState(BackfillJob.State value)Output only. Backfill job state.
.google.cloud.datastream.v1.BackfillJob.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
BackfillJob.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
BackfillJob.Builder |
This builder for chaining. |
setStateValue(int value)
public BackfillJob.Builder setStateValue(int value)Output only. Backfill job state.
.google.cloud.datastream.v1.BackfillJob.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe 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.TriggerThe 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 |
intThe enum numeric value on the wire for trigger to set. |
| Returns | |
|---|---|
| Type | Description |
BackfillJob.Builder |
This builder for chaining. |