public static final class EventPublishConfig.Builder extends GeneratedMessageV3.Builder<EventPublishConfig.Builder> implements EventPublishConfigOrBuilder
Confirguration of PubSubEventWriter.
Protobuf type google.events.cloud.datafusion.v1.EventPublishConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EventPublishConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public EventPublishConfig build()
buildPartial()
public EventPublishConfig buildPartial()
clear()
public EventPublishConfig.Builder clear()
Overrides
clearEnabled()
public EventPublishConfig.Builder clearEnabled()
Required. Option to enable Event Publishing.
bool enabled = 1;
clearField(Descriptors.FieldDescriptor field)
public EventPublishConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public EventPublishConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public EventPublishConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public EventPublishConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEnabled()
public boolean getEnabled()
Required. Option to enable Event Publishing.
bool enabled = 1;
Returns |
---|
Type | Description |
boolean | The enabled.
|
getTopic()
Required. The resource name of the Pub/Sub topic.
Format: projects/{project_id}/topics/{topic_id}
string topic = 2;
Returns |
---|
Type | Description |
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 |
---|
Type | Description |
ByteString | The bytes for topic.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(EventPublishConfig other)
public EventPublishConfig.Builder mergeFrom(EventPublishConfig other)
public EventPublishConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public EventPublishConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EventPublishConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setEnabled(boolean value)
public EventPublishConfig.Builder setEnabled(boolean value)
Required. Option to enable Event Publishing.
bool enabled = 1;
Parameter |
---|
Name | Description |
value | boolean
The enabled to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public EventPublishConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EventPublishConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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 |
---|
Name | Description |
value | String
The topic to set.
|
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 |
---|
Name | Description |
value | ByteString
The bytes for topic to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final EventPublishConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides