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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ExportConfig.PubSubConfig.BuilderImplements
ExportConfig.PubSubConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExportConfig.PubSubConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ExportConfig.PubSubConfig.Builder |
build()
public ExportConfig.PubSubConfig build()
Returns | |
---|---|
Type | Description |
ExportConfig.PubSubConfig |
buildPartial()
public ExportConfig.PubSubConfig buildPartial()
Returns | |
---|---|
Type | Description |
ExportConfig.PubSubConfig |
clear()
public ExportConfig.PubSubConfig.Builder clear()
Returns | |
---|---|
Type | Description |
ExportConfig.PubSubConfig.Builder |
clearField(Descriptors.FieldDescriptor field)
public ExportConfig.PubSubConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ExportConfig.PubSubConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ExportConfig.PubSubConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ExportConfig.PubSubConfig.Builder |
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;
Returns | |
---|---|
Type | Description |
ExportConfig.PubSubConfig.Builder | This builder for chaining. |
clone()
public ExportConfig.PubSubConfig.Builder clone()
Returns | |
---|---|
Type | Description |
ExportConfig.PubSubConfig.Builder |
getDefaultInstanceForType()
public ExportConfig.PubSubConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ExportConfig.PubSubConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getTopic()
public String 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()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ExportConfig.PubSubConfig other)
public ExportConfig.PubSubConfig.Builder mergeFrom(ExportConfig.PubSubConfig other)
Parameter | |
---|---|
Name | Description |
other | ExportConfig.PubSubConfig |
Returns | |
---|---|
Type | Description |
ExportConfig.PubSubConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExportConfig.PubSubConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ExportConfig.PubSubConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ExportConfig.PubSubConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ExportConfig.PubSubConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExportConfig.PubSubConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ExportConfig.PubSubConfig.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ExportConfig.PubSubConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ExportConfig.PubSubConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExportConfig.PubSubConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ExportConfig.PubSubConfig.Builder |
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. |
Returns | |
---|---|
Type | Description |
ExportConfig.PubSubConfig.Builder | This builder for chaining. |
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. |
Returns | |
---|---|
Type | Description |
ExportConfig.PubSubConfig.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ExportConfig.PubSubConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ExportConfig.PubSubConfig.Builder |