- 0.82.0 (latest)
- 0.80.0
- 0.79.0
- 0.78.0
- 0.77.0
- 0.76.0
- 0.74.0
- 0.72.0
- 0.71.0
- 0.68.0
- 0.67.0
- 0.66.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.61.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.5.0
public static final class PubsubLocation.Builder extends GeneratedMessageV3.Builder<PubsubLocation.Builder> implements PubsubLocationOrBuilderIdentifies a pubsub location to use for transferring data into or out of a streaming Dataflow job.
 Protobuf type google.dataflow.v1beta3.PubsubLocation
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PubsubLocation.BuilderImplements
PubsubLocationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PubsubLocation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| PubsubLocation.Builder | |
build()
public PubsubLocation build()| Returns | |
|---|---|
| Type | Description | 
| PubsubLocation | |
buildPartial()
public PubsubLocation buildPartial()| Returns | |
|---|---|
| Type | Description | 
| PubsubLocation | |
clear()
public PubsubLocation.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| PubsubLocation.Builder | |
clearDropLateData()
public PubsubLocation.Builder clearDropLateData()Indicates whether the pipeline allows late-arriving data.
 bool drop_late_data = 5;
| Returns | |
|---|---|
| Type | Description | 
| PubsubLocation.Builder | This builder for chaining. | 
clearDynamicDestinations()
public PubsubLocation.Builder clearDynamicDestinations()If true, then this location represents dynamic topics.
 bool dynamic_destinations = 8;
| Returns | |
|---|---|
| Type | Description | 
| PubsubLocation.Builder | This builder for chaining. | 
clearField(Descriptors.FieldDescriptor field)
public PubsubLocation.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| PubsubLocation.Builder | |
clearIdLabel()
public PubsubLocation.Builder clearIdLabel()If set, contains a pubsub label from which to extract record ids. If left empty, record deduplication will be strictly best effort.
 string id_label = 4;
| Returns | |
|---|---|
| Type | Description | 
| PubsubLocation.Builder | This builder for chaining. | 
clearOneof(Descriptors.OneofDescriptor oneof)
public PubsubLocation.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| PubsubLocation.Builder | |
clearSubscription()
public PubsubLocation.Builder clearSubscription()A pubsub subscription, in the form of "pubsub.googleapis.com/subscriptions/<project-id>/<subscription-name>"
 string subscription = 2;
| Returns | |
|---|---|
| Type | Description | 
| PubsubLocation.Builder | This builder for chaining. | 
clearTimestampLabel()
public PubsubLocation.Builder clearTimestampLabel()If set, contains a pubsub label from which to extract record timestamps. If left empty, record timestamps will be generated upon arrival.
 string timestamp_label = 3;
| Returns | |
|---|---|
| Type | Description | 
| PubsubLocation.Builder | This builder for chaining. | 
clearTopic()
public PubsubLocation.Builder clearTopic()A pubsub topic, in the form of "pubsub.googleapis.com/topics/<project-id>/<topic-name>"
 string topic = 1;
| Returns | |
|---|---|
| Type | Description | 
| PubsubLocation.Builder | This builder for chaining. | 
clearTrackingSubscription()
public PubsubLocation.Builder clearTrackingSubscription()If set, specifies the pubsub subscription that will be used for tracking custom time timestamps for watermark estimation.
 string tracking_subscription = 6;
| Returns | |
|---|---|
| Type | Description | 
| PubsubLocation.Builder | This builder for chaining. | 
clearWithAttributes()
public PubsubLocation.Builder clearWithAttributes()If true, then the client has requested to get pubsub attributes.
 bool with_attributes = 7;
| Returns | |
|---|---|
| Type | Description | 
| PubsubLocation.Builder | This builder for chaining. | 
clone()
public PubsubLocation.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| PubsubLocation.Builder | |
getDefaultInstanceForType()
public PubsubLocation getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| PubsubLocation | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getDropLateData()
public boolean getDropLateData()Indicates whether the pipeline allows late-arriving data.
 bool drop_late_data = 5;
| Returns | |
|---|---|
| Type | Description | 
| boolean | The dropLateData. | 
getDynamicDestinations()
public boolean getDynamicDestinations()If true, then this location represents dynamic topics.
 bool dynamic_destinations = 8;
| Returns | |
|---|---|
| Type | Description | 
| boolean | The dynamicDestinations. | 
getIdLabel()
public String getIdLabel()If set, contains a pubsub label from which to extract record ids. If left empty, record deduplication will be strictly best effort.
 string id_label = 4;
| Returns | |
|---|---|
| Type | Description | 
| String | The idLabel. | 
getIdLabelBytes()
public ByteString getIdLabelBytes()If set, contains a pubsub label from which to extract record ids. If left empty, record deduplication will be strictly best effort.
 string id_label = 4;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for idLabel. | 
getSubscription()
public String getSubscription()A pubsub subscription, in the form of "pubsub.googleapis.com/subscriptions/<project-id>/<subscription-name>"
 string subscription = 2;
| Returns | |
|---|---|
| Type | Description | 
| String | The subscription. | 
getSubscriptionBytes()
public ByteString getSubscriptionBytes()A pubsub subscription, in the form of "pubsub.googleapis.com/subscriptions/<project-id>/<subscription-name>"
 string subscription = 2;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for subscription. | 
getTimestampLabel()
public String getTimestampLabel()If set, contains a pubsub label from which to extract record timestamps. If left empty, record timestamps will be generated upon arrival.
 string timestamp_label = 3;
| Returns | |
|---|---|
| Type | Description | 
| String | The timestampLabel. | 
getTimestampLabelBytes()
public ByteString getTimestampLabelBytes()If set, contains a pubsub label from which to extract record timestamps. If left empty, record timestamps will be generated upon arrival.
 string timestamp_label = 3;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for timestampLabel. | 
getTopic()
public String getTopic()A pubsub topic, in the form of "pubsub.googleapis.com/topics/<project-id>/<topic-name>"
 string topic = 1;
| Returns | |
|---|---|
| Type | Description | 
| String | The topic. | 
getTopicBytes()
public ByteString getTopicBytes()A pubsub topic, in the form of "pubsub.googleapis.com/topics/<project-id>/<topic-name>"
 string topic = 1;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for topic. | 
getTrackingSubscription()
public String getTrackingSubscription()If set, specifies the pubsub subscription that will be used for tracking custom time timestamps for watermark estimation.
 string tracking_subscription = 6;
| Returns | |
|---|---|
| Type | Description | 
| String | The trackingSubscription. | 
getTrackingSubscriptionBytes()
public ByteString getTrackingSubscriptionBytes()If set, specifies the pubsub subscription that will be used for tracking custom time timestamps for watermark estimation.
 string tracking_subscription = 6;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for trackingSubscription. | 
getWithAttributes()
public boolean getWithAttributes()If true, then the client has requested to get pubsub attributes.
 bool with_attributes = 7;
| Returns | |
|---|---|
| Type | Description | 
| boolean | The withAttributes. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeFrom(PubsubLocation other)
public PubsubLocation.Builder mergeFrom(PubsubLocation other)| Parameter | |
|---|---|
| Name | Description | 
| other | PubsubLocation | 
| Returns | |
|---|---|
| Type | Description | 
| PubsubLocation.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PubsubLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| PubsubLocation.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public PubsubLocation.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| PubsubLocation.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PubsubLocation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| PubsubLocation.Builder | |
setDropLateData(boolean value)
public PubsubLocation.Builder setDropLateData(boolean value)Indicates whether the pipeline allows late-arriving data.
 bool drop_late_data = 5;
| Parameter | |
|---|---|
| Name | Description | 
| value | booleanThe dropLateData to set. | 
| Returns | |
|---|---|
| Type | Description | 
| PubsubLocation.Builder | This builder for chaining. | 
setDynamicDestinations(boolean value)
public PubsubLocation.Builder setDynamicDestinations(boolean value)If true, then this location represents dynamic topics.
 bool dynamic_destinations = 8;
| Parameter | |
|---|---|
| Name | Description | 
| value | booleanThe dynamicDestinations to set. | 
| Returns | |
|---|---|
| Type | Description | 
| PubsubLocation.Builder | This builder for chaining. | 
setField(Descriptors.FieldDescriptor field, Object value)
public PubsubLocation.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| PubsubLocation.Builder | |
setIdLabel(String value)
public PubsubLocation.Builder setIdLabel(String value)If set, contains a pubsub label from which to extract record ids. If left empty, record deduplication will be strictly best effort.
 string id_label = 4;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe idLabel to set. | 
| Returns | |
|---|---|
| Type | Description | 
| PubsubLocation.Builder | This builder for chaining. | 
setIdLabelBytes(ByteString value)
public PubsubLocation.Builder setIdLabelBytes(ByteString value)If set, contains a pubsub label from which to extract record ids. If left empty, record deduplication will be strictly best effort.
 string id_label = 4;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for idLabel to set. | 
| Returns | |
|---|---|
| Type | Description | 
| PubsubLocation.Builder | This builder for chaining. | 
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PubsubLocation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| PubsubLocation.Builder | |
setSubscription(String value)
public PubsubLocation.Builder setSubscription(String value)A pubsub subscription, in the form of "pubsub.googleapis.com/subscriptions/<project-id>/<subscription-name>"
 string subscription = 2;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe subscription to set. | 
| Returns | |
|---|---|
| Type | Description | 
| PubsubLocation.Builder | This builder for chaining. | 
setSubscriptionBytes(ByteString value)
public PubsubLocation.Builder setSubscriptionBytes(ByteString value)A pubsub subscription, in the form of "pubsub.googleapis.com/subscriptions/<project-id>/<subscription-name>"
 string subscription = 2;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for subscription to set. | 
| Returns | |
|---|---|
| Type | Description | 
| PubsubLocation.Builder | This builder for chaining. | 
setTimestampLabel(String value)
public PubsubLocation.Builder setTimestampLabel(String value)If set, contains a pubsub label from which to extract record timestamps. If left empty, record timestamps will be generated upon arrival.
 string timestamp_label = 3;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe timestampLabel to set. | 
| Returns | |
|---|---|
| Type | Description | 
| PubsubLocation.Builder | This builder for chaining. | 
setTimestampLabelBytes(ByteString value)
public PubsubLocation.Builder setTimestampLabelBytes(ByteString value)If set, contains a pubsub label from which to extract record timestamps. If left empty, record timestamps will be generated upon arrival.
 string timestamp_label = 3;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for timestampLabel to set. | 
| Returns | |
|---|---|
| Type | Description | 
| PubsubLocation.Builder | This builder for chaining. | 
setTopic(String value)
public PubsubLocation.Builder setTopic(String value)A pubsub topic, in the form of "pubsub.googleapis.com/topics/<project-id>/<topic-name>"
 string topic = 1;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe topic to set. | 
| Returns | |
|---|---|
| Type | Description | 
| PubsubLocation.Builder | This builder for chaining. | 
setTopicBytes(ByteString value)
public PubsubLocation.Builder setTopicBytes(ByteString value)A pubsub topic, in the form of "pubsub.googleapis.com/topics/<project-id>/<topic-name>"
 string topic = 1;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for topic to set. | 
| Returns | |
|---|---|
| Type | Description | 
| PubsubLocation.Builder | This builder for chaining. | 
setTrackingSubscription(String value)
public PubsubLocation.Builder setTrackingSubscription(String value)If set, specifies the pubsub subscription that will be used for tracking custom time timestamps for watermark estimation.
 string tracking_subscription = 6;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe trackingSubscription to set. | 
| Returns | |
|---|---|
| Type | Description | 
| PubsubLocation.Builder | This builder for chaining. | 
setTrackingSubscriptionBytes(ByteString value)
public PubsubLocation.Builder setTrackingSubscriptionBytes(ByteString value)If set, specifies the pubsub subscription that will be used for tracking custom time timestamps for watermark estimation.
 string tracking_subscription = 6;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for trackingSubscription to set. | 
| Returns | |
|---|---|
| Type | Description | 
| PubsubLocation.Builder | This builder for chaining. | 
setUnknownFields(UnknownFieldSet unknownFields)
public final PubsubLocation.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| PubsubLocation.Builder | |
setWithAttributes(boolean value)
public PubsubLocation.Builder setWithAttributes(boolean value)If true, then the client has requested to get pubsub attributes.
 bool with_attributes = 7;
| Parameter | |
|---|---|
| Name | Description | 
| value | booleanThe withAttributes to set. | 
| Returns | |
|---|---|
| Type | Description | 
| PubsubLocation.Builder | This builder for chaining. |