Class StartBackfillJobRequest.Builder (1.102.0)

public static final class StartBackfillJobRequest.Builder extends GeneratedMessage.Builder<StartBackfillJobRequest.Builder> implements StartBackfillJobRequestOrBuilder

Request for manually initiating a backfill job for a specific stream object.

Protobuf type google.cloud.datastream.v1.StartBackfillJobRequest

Static Methods

getDescriptor()

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

Methods

build()

public StartBackfillJobRequest build()
Returns
Type Description
StartBackfillJobRequest

buildPartial()

public StartBackfillJobRequest buildPartial()
Returns
Type Description
StartBackfillJobRequest

clear()

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

clearEventFilter()

public StartBackfillJobRequest.Builder clearEventFilter()

Optional. Optional event filter. If not set, or empty, the backfill will be performed on the entire object. This is currently used for partial backfill and only supported for SQL sources.

.google.cloud.datastream.v1.EventFilter event_filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StartBackfillJobRequest.Builder

clearObject()

public StartBackfillJobRequest.Builder clearObject()

Required. The name of the stream object resource to start a backfill job for.

string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
StartBackfillJobRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public StartBackfillJobRequest getDefaultInstanceForType()
Returns
Type Description
StartBackfillJobRequest

getDescriptorForType()

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

getEventFilter()

public EventFilter getEventFilter()

Optional. Optional event filter. If not set, or empty, the backfill will be performed on the entire object. This is currently used for partial backfill and only supported for SQL sources.

.google.cloud.datastream.v1.EventFilter event_filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EventFilter

The eventFilter.

getEventFilterBuilder()

public EventFilter.Builder getEventFilterBuilder()

Optional. Optional event filter. If not set, or empty, the backfill will be performed on the entire object. This is currently used for partial backfill and only supported for SQL sources.

.google.cloud.datastream.v1.EventFilter event_filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EventFilter.Builder

getEventFilterOrBuilder()

public EventFilterOrBuilder getEventFilterOrBuilder()

Optional. Optional event filter. If not set, or empty, the backfill will be performed on the entire object. This is currently used for partial backfill and only supported for SQL sources.

.google.cloud.datastream.v1.EventFilter event_filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EventFilterOrBuilder

getObject()

public String getObject()

Required. The name of the stream object resource to start a backfill job for.

string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The object.

getObjectBytes()

public ByteString getObjectBytes()

Required. The name of the stream object resource to start a backfill job for.

string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for object.

hasEventFilter()

public boolean hasEventFilter()

Optional. Optional event filter. If not set, or empty, the backfill will be performed on the entire object. This is currently used for partial backfill and only supported for SQL sources.

.google.cloud.datastream.v1.EventFilter event_filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the eventFilter field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEventFilter(EventFilter value)

public StartBackfillJobRequest.Builder mergeEventFilter(EventFilter value)

Optional. Optional event filter. If not set, or empty, the backfill will be performed on the entire object. This is currently used for partial backfill and only supported for SQL sources.

.google.cloud.datastream.v1.EventFilter event_filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value EventFilter
Returns
Type Description
StartBackfillJobRequest.Builder

mergeFrom(StartBackfillJobRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setEventFilter(EventFilter value)

public StartBackfillJobRequest.Builder setEventFilter(EventFilter value)

Optional. Optional event filter. If not set, or empty, the backfill will be performed on the entire object. This is currently used for partial backfill and only supported for SQL sources.

.google.cloud.datastream.v1.EventFilter event_filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value EventFilter
Returns
Type Description
StartBackfillJobRequest.Builder

setEventFilter(EventFilter.Builder builderForValue)

public StartBackfillJobRequest.Builder setEventFilter(EventFilter.Builder builderForValue)

Optional. Optional event filter. If not set, or empty, the backfill will be performed on the entire object. This is currently used for partial backfill and only supported for SQL sources.

.google.cloud.datastream.v1.EventFilter event_filter = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue EventFilter.Builder
Returns
Type Description
StartBackfillJobRequest.Builder

setObject(String value)

public StartBackfillJobRequest.Builder setObject(String value)

Required. The name of the stream object resource to start a backfill job for.

string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The object to set.

Returns
Type Description
StartBackfillJobRequest.Builder

This builder for chaining.

setObjectBytes(ByteString value)

public StartBackfillJobRequest.Builder setObjectBytes(ByteString value)

Required. The name of the stream object resource to start a backfill job for.

string object = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for object to set.

Returns
Type Description
StartBackfillJobRequest.Builder

This builder for chaining.