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