Class EventDrivenSchedule.Builder (2.55.0)

public static final class EventDrivenSchedule.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public EventDrivenSchedule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public EventDrivenSchedule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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