Class Subscription.AnalyticsHubSubscriptionInfo.Builder (1.133.0)

public static final class Subscription.AnalyticsHubSubscriptionInfo.Builder extends GeneratedMessageV3.Builder<Subscription.AnalyticsHubSubscriptionInfo.Builder> implements Subscription.AnalyticsHubSubscriptionInfoOrBuilder

Information about an associated Analytics Hub subscription (https://cloud.google.com/bigquery/docs/analytics-hub-manage-subscriptions).

Protobuf type google.pubsub.v1.Subscription.AnalyticsHubSubscriptionInfo

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Subscription.AnalyticsHubSubscriptionInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Subscription.AnalyticsHubSubscriptionInfo.Builder
Overrides

build()

public Subscription.AnalyticsHubSubscriptionInfo build()
Returns
Type Description
Subscription.AnalyticsHubSubscriptionInfo

buildPartial()

public Subscription.AnalyticsHubSubscriptionInfo buildPartial()
Returns
Type Description
Subscription.AnalyticsHubSubscriptionInfo

clear()

public Subscription.AnalyticsHubSubscriptionInfo.Builder clear()
Returns
Type Description
Subscription.AnalyticsHubSubscriptionInfo.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Subscription.AnalyticsHubSubscriptionInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Subscription.AnalyticsHubSubscriptionInfo.Builder
Overrides

clearListing()

public Subscription.AnalyticsHubSubscriptionInfo.Builder clearListing()

Optional. The name of the associated Analytics Hub listing resource. Pattern: "projects/{project}/locations/{location}/dataExchanges/{data_exchange}/listings/{listing}"

string listing = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Subscription.AnalyticsHubSubscriptionInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Subscription.AnalyticsHubSubscriptionInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Subscription.AnalyticsHubSubscriptionInfo.Builder
Overrides

clearSubscription()

public Subscription.AnalyticsHubSubscriptionInfo.Builder clearSubscription()

Optional. The name of the associated Analytics Hub subscription resource. Pattern: "projects/{project}/locations/{location}/subscriptions/{subscription}"

string subscription = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Subscription.AnalyticsHubSubscriptionInfo.Builder

This builder for chaining.

clone()

public Subscription.AnalyticsHubSubscriptionInfo.Builder clone()
Returns
Type Description
Subscription.AnalyticsHubSubscriptionInfo.Builder
Overrides

getDefaultInstanceForType()

public Subscription.AnalyticsHubSubscriptionInfo getDefaultInstanceForType()
Returns
Type Description
Subscription.AnalyticsHubSubscriptionInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getListing()

public String getListing()

Optional. The name of the associated Analytics Hub listing resource. Pattern: "projects/{project}/locations/{location}/dataExchanges/{data_exchange}/listings/{listing}"

string listing = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The listing.

getListingBytes()

public ByteString getListingBytes()

Optional. The name of the associated Analytics Hub listing resource. Pattern: "projects/{project}/locations/{location}/dataExchanges/{data_exchange}/listings/{listing}"

string listing = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for listing.

getSubscription()

public String getSubscription()

Optional. The name of the associated Analytics Hub subscription resource. Pattern: "projects/{project}/locations/{location}/subscriptions/{subscription}"

string subscription = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The subscription.

getSubscriptionBytes()

public ByteString getSubscriptionBytes()

Optional. The name of the associated Analytics Hub subscription resource. Pattern: "projects/{project}/locations/{location}/subscriptions/{subscription}"

string subscription = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for subscription.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Subscription.AnalyticsHubSubscriptionInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Subscription.AnalyticsHubSubscriptionInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Subscription.AnalyticsHubSubscriptionInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Subscription.AnalyticsHubSubscriptionInfo.Builder
Overrides

mergeFrom(Subscription.AnalyticsHubSubscriptionInfo other)

public Subscription.AnalyticsHubSubscriptionInfo.Builder mergeFrom(Subscription.AnalyticsHubSubscriptionInfo other)
Parameter
Name Description
other Subscription.AnalyticsHubSubscriptionInfo
Returns
Type Description
Subscription.AnalyticsHubSubscriptionInfo.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Subscription.AnalyticsHubSubscriptionInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Subscription.AnalyticsHubSubscriptionInfo.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Subscription.AnalyticsHubSubscriptionInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Subscription.AnalyticsHubSubscriptionInfo.Builder
Overrides

setListing(String value)

public Subscription.AnalyticsHubSubscriptionInfo.Builder setListing(String value)

Optional. The name of the associated Analytics Hub listing resource. Pattern: "projects/{project}/locations/{location}/dataExchanges/{data_exchange}/listings/{listing}"

string listing = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The listing to set.

Returns
Type Description
Subscription.AnalyticsHubSubscriptionInfo.Builder

This builder for chaining.

setListingBytes(ByteString value)

public Subscription.AnalyticsHubSubscriptionInfo.Builder setListingBytes(ByteString value)

Optional. The name of the associated Analytics Hub listing resource. Pattern: "projects/{project}/locations/{location}/dataExchanges/{data_exchange}/listings/{listing}"

string listing = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for listing to set.

Returns
Type Description
Subscription.AnalyticsHubSubscriptionInfo.Builder

This builder for chaining.

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

public Subscription.AnalyticsHubSubscriptionInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Subscription.AnalyticsHubSubscriptionInfo.Builder
Overrides

setSubscription(String value)

public Subscription.AnalyticsHubSubscriptionInfo.Builder setSubscription(String value)

Optional. The name of the associated Analytics Hub subscription resource. Pattern: "projects/{project}/locations/{location}/subscriptions/{subscription}"

string subscription = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The subscription to set.

Returns
Type Description
Subscription.AnalyticsHubSubscriptionInfo.Builder

This builder for chaining.

setSubscriptionBytes(ByteString value)

public Subscription.AnalyticsHubSubscriptionInfo.Builder setSubscriptionBytes(ByteString value)

Optional. The name of the associated Analytics Hub subscription resource. Pattern: "projects/{project}/locations/{location}/subscriptions/{subscription}"

string subscription = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for subscription to set.

Returns
Type Description
Subscription.AnalyticsHubSubscriptionInfo.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Subscription.AnalyticsHubSubscriptionInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Subscription.AnalyticsHubSubscriptionInfo.Builder
Overrides