public static final class PubSubIODetails.Builder extends GeneratedMessage.Builder<PubSubIODetails.Builder> implements PubSubIODetailsOrBuilderMetadata for a Pub/Sub connector used by the job.
Protobuf type google.dataflow.v1beta3.PubSubIODetails
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PubSubIODetails.BuilderImplements
PubSubIODetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public PubSubIODetails build()| Returns | |
|---|---|
| Type | Description |
PubSubIODetails |
|
buildPartial()
public PubSubIODetails buildPartial()| Returns | |
|---|---|
| Type | Description |
PubSubIODetails |
|
clear()
public PubSubIODetails.Builder clear()| Returns | |
|---|---|
| Type | Description |
PubSubIODetails.Builder |
|
clearSubscription()
public PubSubIODetails.Builder clearSubscription()Subscription used in the connection.
string subscription = 2;
| Returns | |
|---|---|
| Type | Description |
PubSubIODetails.Builder |
This builder for chaining. |
clearTopic()
public PubSubIODetails.Builder clearTopic()Topic accessed in the connection.
string topic = 1;
| Returns | |
|---|---|
| Type | Description |
PubSubIODetails.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public PubSubIODetails getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PubSubIODetails |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSubscription()
public String getSubscription()Subscription used in the connection.
string subscription = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The subscription. |
getSubscriptionBytes()
public ByteString getSubscriptionBytes()Subscription used in the connection.
string subscription = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for subscription. |
getTopic()
public String getTopic()Topic accessed in the connection.
string topic = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The topic. |
getTopicBytes()
public ByteString getTopicBytes()Topic accessed in the connection.
string topic = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for topic. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(PubSubIODetails other)
public PubSubIODetails.Builder mergeFrom(PubSubIODetails other)| Parameter | |
|---|---|
| Name | Description |
other |
PubSubIODetails |
| Returns | |
|---|---|
| Type | Description |
PubSubIODetails.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PubSubIODetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
PubSubIODetails.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PubSubIODetails.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PubSubIODetails.Builder |
|
setSubscription(String value)
public PubSubIODetails.Builder setSubscription(String value)Subscription used in the connection.
string subscription = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe subscription to set. |
| Returns | |
|---|---|
| Type | Description |
PubSubIODetails.Builder |
This builder for chaining. |
setSubscriptionBytes(ByteString value)
public PubSubIODetails.Builder setSubscriptionBytes(ByteString value)Subscription used in the connection.
string subscription = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for subscription to set. |
| Returns | |
|---|---|
| Type | Description |
PubSubIODetails.Builder |
This builder for chaining. |
setTopic(String value)
public PubSubIODetails.Builder setTopic(String value)Topic accessed in the connection.
string topic = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe topic to set. |
| Returns | |
|---|---|
| Type | Description |
PubSubIODetails.Builder |
This builder for chaining. |
setTopicBytes(ByteString value)
public PubSubIODetails.Builder setTopicBytes(ByteString value)Topic accessed in the connection.
string topic = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for topic to set. |
| Returns | |
|---|---|
| Type | Description |
PubSubIODetails.Builder |
This builder for chaining. |