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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PubSubIODetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public PubSubIODetails build()
Returns
buildPartial()
public PubSubIODetails buildPartial()
Returns
clear()
public PubSubIODetails.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public PubSubIODetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PubSubIODetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSubscription()
public PubSubIODetails.Builder clearSubscription()
Subscription used in the connection.
string subscription = 2;
Returns
clearTopic()
public PubSubIODetails.Builder clearTopic()
Topic accessed in the connection.
string topic = 1;
Returns
clone()
public PubSubIODetails.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public PubSubIODetails getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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()
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(PubSubIODetails other)
public PubSubIODetails.Builder mergeFrom(PubSubIODetails other)
Parameter
Returns
public PubSubIODetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public PubSubIODetails.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PubSubIODetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public PubSubIODetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PubSubIODetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSubscription(String value)
public PubSubIODetails.Builder setSubscription(String value)
Subscription used in the connection.
string subscription = 2;
Parameter
Name | Description |
value | String
The subscription to set.
|
Returns
setSubscriptionBytes(ByteString value)
public PubSubIODetails.Builder setSubscriptionBytes(ByteString value)
Subscription used in the connection.
string subscription = 2;
Parameter
Name | Description |
value | ByteString
The bytes for subscription to set.
|
Returns
setTopic(String value)
public PubSubIODetails.Builder setTopic(String value)
Topic accessed in the connection.
string topic = 1;
Parameter
Name | Description |
value | String
The topic to set.
|
Returns
setTopicBytes(ByteString value)
public PubSubIODetails.Builder setTopicBytes(ByteString value)
Topic accessed in the connection.
string topic = 1;
Parameter
Name | Description |
value | ByteString
The bytes for topic to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final PubSubIODetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides