Class EventPublishConfig.Builder (0.14.1)

public static final class EventPublishConfig.Builder extends GeneratedMessageV3.Builder<EventPublishConfig.Builder> implements EventPublishConfigOrBuilder

Confirguration of PubSubEventWriter.

Protobuf type google.events.cloud.datafusion.v1.EventPublishConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EventPublishConfig build()
Returns
TypeDescription
EventPublishConfig

buildPartial()

public EventPublishConfig buildPartial()
Returns
TypeDescription
EventPublishConfig

clear()

public EventPublishConfig.Builder clear()
Returns
TypeDescription
EventPublishConfig.Builder
Overrides

clearEnabled()

public EventPublishConfig.Builder clearEnabled()

Required. Option to enable Event Publishing.

bool enabled = 1;

Returns
TypeDescription
EventPublishConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public EventPublishConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
EventPublishConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTopic()

public EventPublishConfig.Builder clearTopic()

Required. The resource name of the Pub/Sub topic. Format: projects/{project_id}/topics/{topic_id}

string topic = 2;

Returns
TypeDescription
EventPublishConfig.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public EventPublishConfig getDefaultInstanceForType()
Returns
TypeDescription
EventPublishConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnabled()

public boolean getEnabled()

Required. Option to enable Event Publishing.

bool enabled = 1;

Returns
TypeDescription
boolean

The enabled.

getTopic()

public String getTopic()

Required. The resource name of the Pub/Sub topic. Format: projects/{project_id}/topics/{topic_id}

string topic = 2;

Returns
TypeDescription
String

The topic.

getTopicBytes()

public ByteString getTopicBytes()

Required. The resource name of the Pub/Sub topic. Format: projects/{project_id}/topics/{topic_id}

string topic = 2;

Returns
TypeDescription
ByteString

The bytes for topic.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(EventPublishConfig other)

public EventPublishConfig.Builder mergeFrom(EventPublishConfig other)
Parameter
NameDescription
otherEventPublishConfig
Returns
TypeDescription
EventPublishConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public EventPublishConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
EventPublishConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EventPublishConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EventPublishConfig.Builder
Overrides

setEnabled(boolean value)

public EventPublishConfig.Builder setEnabled(boolean value)

Required. Option to enable Event Publishing.

bool enabled = 1;

Parameter
NameDescription
valueboolean

The enabled to set.

Returns
TypeDescription
EventPublishConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public EventPublishConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
EventPublishConfig.Builder
Overrides

setTopic(String value)

public EventPublishConfig.Builder setTopic(String value)

Required. The resource name of the Pub/Sub topic. Format: projects/{project_id}/topics/{topic_id}

string topic = 2;

Parameter
NameDescription
valueString

The topic to set.

Returns
TypeDescription
EventPublishConfig.Builder

This builder for chaining.

setTopicBytes(ByteString value)

public EventPublishConfig.Builder setTopicBytes(ByteString value)

Required. The resource name of the Pub/Sub topic. Format: projects/{project_id}/topics/{topic_id}

string topic = 2;

Parameter
NameDescription
valueByteString

The bytes for topic to set.

Returns
TypeDescription
EventPublishConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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