public static final class ExportConfig.PubSubConfig.Builder extends GeneratedMessageV3.Builder<ExportConfig.PubSubConfig.Builder> implements ExportConfig.PubSubConfigOrBuilder
Configuration for exporting to a Pub/Sub topic.
Protobuf type google.cloud.pubsublite.v1.ExportConfig.PubSubConfig
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 ExportConfig.PubSubConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ExportConfig.PubSubConfig build()
buildPartial()
public ExportConfig.PubSubConfig buildPartial()
clear()
public ExportConfig.PubSubConfig.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ExportConfig.PubSubConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ExportConfig.PubSubConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTopic()
public ExportConfig.PubSubConfig.Builder clearTopic()
The name of the Pub/Sub topic.
Structured like: projects/{project_number}/topics/{topic_id}.
The topic may be changed.
string topic = 1;
clone()
public ExportConfig.PubSubConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public ExportConfig.PubSubConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getTopic()
The name of the Pub/Sub topic.
Structured like: projects/{project_number}/topics/{topic_id}.
The topic may be changed.
string topic = 1;
Returns |
---|
Type | Description |
String | The topic.
|
getTopicBytes()
public ByteString getTopicBytes()
The name of the Pub/Sub topic.
Structured like: projects/{project_number}/topics/{topic_id}.
The topic may be changed.
string topic = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for topic.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ExportConfig.PubSubConfig other)
public ExportConfig.PubSubConfig.Builder mergeFrom(ExportConfig.PubSubConfig other)
public ExportConfig.PubSubConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ExportConfig.PubSubConfig.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExportConfig.PubSubConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ExportConfig.PubSubConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExportConfig.PubSubConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTopic(String value)
public ExportConfig.PubSubConfig.Builder setTopic(String value)
The name of the Pub/Sub topic.
Structured like: projects/{project_number}/topics/{topic_id}.
The topic may be changed.
string topic = 1;
Parameter |
---|
Name | Description |
value | String
The topic to set.
|
setTopicBytes(ByteString value)
public ExportConfig.PubSubConfig.Builder setTopicBytes(ByteString value)
The name of the Pub/Sub topic.
Structured like: projects/{project_number}/topics/{topic_id}.
The topic may be changed.
string topic = 1;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for topic to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ExportConfig.PubSubConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides