Class EventDrivenSchedule.Builder (2.83.0)

public static final class EventDrivenSchedule.Builder extends GeneratedMessage.Builder<EventDrivenSchedule.Builder> implements EventDrivenScheduleOrBuilder

Options customizing EventDriven transfers schedule.

Protobuf type google.cloud.bigquery.datatransfer.v1.EventDrivenSchedule

Static Methods

getDescriptor()

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

Methods

build()

public EventDrivenSchedule build()
Returns
Type Description
EventDrivenSchedule

buildPartial()

public EventDrivenSchedule buildPartial()
Returns
Type Description
EventDrivenSchedule

clear()

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

clearPubsubSubscription()

public EventDrivenSchedule.Builder clearPubsubSubscription()

Pub/Sub subscription name used to receive events. Only Google Cloud Storage data source support this option. Format: projects/{project}/subscriptions/{subscription}

string pubsub_subscription = 1;

Returns
Type Description
EventDrivenSchedule.Builder

This builder for chaining.

getDefaultInstanceForType()

public EventDrivenSchedule getDefaultInstanceForType()
Returns
Type Description
EventDrivenSchedule

getDescriptorForType()

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

getPubsubSubscription()

public String getPubsubSubscription()

Pub/Sub subscription name used to receive events. Only Google Cloud Storage data source support this option. Format: projects/{project}/subscriptions/{subscription}

string pubsub_subscription = 1;

Returns
Type Description
String

The pubsubSubscription.

getPubsubSubscriptionBytes()

public ByteString getPubsubSubscriptionBytes()

Pub/Sub subscription name used to receive events. Only Google Cloud Storage data source support this option. Format: projects/{project}/subscriptions/{subscription}

string pubsub_subscription = 1;

Returns
Type Description
ByteString

The bytes for pubsubSubscription.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EventDrivenSchedule other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setPubsubSubscription(String value)

public EventDrivenSchedule.Builder setPubsubSubscription(String value)

Pub/Sub subscription name used to receive events. Only Google Cloud Storage data source support this option. Format: projects/{project}/subscriptions/{subscription}

string pubsub_subscription = 1;

Parameter
Name Description
value String

The pubsubSubscription to set.

Returns
Type Description
EventDrivenSchedule.Builder

This builder for chaining.

setPubsubSubscriptionBytes(ByteString value)

public EventDrivenSchedule.Builder setPubsubSubscriptionBytes(ByteString value)

Pub/Sub subscription name used to receive events. Only Google Cloud Storage data source support this option. Format: projects/{project}/subscriptions/{subscription}

string pubsub_subscription = 1;

Parameter
Name Description
value ByteString

The bytes for pubsubSubscription to set.

Returns
Type Description
EventDrivenSchedule.Builder

This builder for chaining.