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.events.cloud.dataflow.v1beta3.PubSubIODetails
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PubSubIODetails.BuilderImplements
PubSubIODetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PubSubIODetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
PubSubIODetails.Builder |
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 |
clearField(Descriptors.FieldDescriptor field)
public PubSubIODetails.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
PubSubIODetails.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public PubSubIODetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
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. |
clone()
public PubSubIODetails.Builder clone()
Returns | |
---|---|
Type | Description |
PubSubIODetails.Builder |
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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PubSubIODetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PubSubIODetails.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public PubSubIODetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
PubSubIODetails.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PubSubIODetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
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 | String The 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 | ByteString The 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 | String The 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 | ByteString The bytes for topic to set. |
Returns | |
---|---|
Type | Description |
PubSubIODetails.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final PubSubIODetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PubSubIODetails.Builder |