Class PubSubIODetails.Builder (0.25.0)

public static final class PubSubIODetails.Builder extends GeneratedMessageV3.Builder<PubSubIODetails.Builder> implements PubSubIODetailsOrBuilder

Metadata for a Pub/Sub connector used by the job.

Protobuf type google.dataflow.v1beta3.PubSubIODetails

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PubSubIODetails build()
Returns
TypeDescription
PubSubIODetails

buildPartial()

public PubSubIODetails buildPartial()
Returns
TypeDescription
PubSubIODetails

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSubscription()

public PubSubIODetails.Builder clearSubscription()

Subscription used in the connection.

string subscription = 2;

Returns
TypeDescription
PubSubIODetails.Builder

This builder for chaining.

clearTopic()

public PubSubIODetails.Builder clearTopic()

Topic accessed in the connection.

string topic = 1;

Returns
TypeDescription
PubSubIODetails.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public PubSubIODetails getDefaultInstanceForType()
Returns
TypeDescription
PubSubIODetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSubscription()

public String getSubscription()

Subscription used in the connection.

string subscription = 2;

Returns
TypeDescription
String

The subscription.

getSubscriptionBytes()

public ByteString getSubscriptionBytes()

Subscription used in the connection.

string subscription = 2;

Returns
TypeDescription
ByteString

The bytes for subscription.

getTopic()

public String getTopic()

Topic accessed in the connection.

string topic = 1;

Returns
TypeDescription
String

The topic.

getTopicBytes()

public ByteString getTopicBytes()

Topic accessed in the connection.

string topic = 1;

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(PubSubIODetails other)

public PubSubIODetails.Builder mergeFrom(PubSubIODetails other)
Parameter
NameDescription
otherPubSubIODetails
Returns
TypeDescription
PubSubIODetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSubscription(String value)

public PubSubIODetails.Builder setSubscription(String value)

Subscription used in the connection.

string subscription = 2;

Parameter
NameDescription
valueString

The subscription to set.

Returns
TypeDescription
PubSubIODetails.Builder

This builder for chaining.

setSubscriptionBytes(ByteString value)

public PubSubIODetails.Builder setSubscriptionBytes(ByteString value)

Subscription used in the connection.

string subscription = 2;

Parameter
NameDescription
valueByteString

The bytes for subscription to set.

Returns
TypeDescription
PubSubIODetails.Builder

This builder for chaining.

setTopic(String value)

public PubSubIODetails.Builder setTopic(String value)

Topic accessed in the connection.

string topic = 1;

Parameter
NameDescription
valueString

The topic to set.

Returns
TypeDescription
PubSubIODetails.Builder

This builder for chaining.

setTopicBytes(ByteString value)

public PubSubIODetails.Builder setTopicBytes(ByteString value)

Topic accessed in the connection.

string topic = 1;

Parameter
NameDescription
valueByteString

The bytes for topic to set.

Returns
TypeDescription
PubSubIODetails.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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