Class ListSharedResourceSubscriptionsRequest.Builder (0.41.0)

public static final class ListSharedResourceSubscriptionsRequest.Builder extends GeneratedMessageV3.Builder<ListSharedResourceSubscriptionsRequest.Builder> implements ListSharedResourceSubscriptionsRequestOrBuilder

Message for listing subscriptions of a shared resource.

Protobuf type google.cloud.bigquery.analyticshub.v1.ListSharedResourceSubscriptionsRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListSharedResourceSubscriptionsRequest build()
Returns
Type Description
ListSharedResourceSubscriptionsRequest

buildPartial()

public ListSharedResourceSubscriptionsRequest buildPartial()
Returns
Type Description
ListSharedResourceSubscriptionsRequest

clear()

public ListSharedResourceSubscriptionsRequest.Builder clear()
Returns
Type Description
ListSharedResourceSubscriptionsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearIncludeDeletedSubscriptions()

public ListSharedResourceSubscriptionsRequest.Builder clearIncludeDeletedSubscriptions()

If selected, includes deleted subscriptions in the response (up to 63 days after deletion).

bool include_deleted_subscriptions = 2;

Returns
Type Description
ListSharedResourceSubscriptionsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListSharedResourceSubscriptionsRequest.Builder clearPageSize()

The maximum number of results to return in a single response page.

int32 page_size = 3;

Returns
Type Description
ListSharedResourceSubscriptionsRequest.Builder

This builder for chaining.

clearPageToken()

public ListSharedResourceSubscriptionsRequest.Builder clearPageToken()

Page token, returned by a previous call.

string page_token = 4;

Returns
Type Description
ListSharedResourceSubscriptionsRequest.Builder

This builder for chaining.

clearResource()

public ListSharedResourceSubscriptionsRequest.Builder clearResource()

Required. Resource name of the requested target. This resource may be either a Listing or a DataExchange. e.g. projects/123/locations/US/dataExchanges/456 OR e.g. projects/123/locations/US/dataExchanges/456/listings/789

string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ListSharedResourceSubscriptionsRequest.Builder

This builder for chaining.

clone()

public ListSharedResourceSubscriptionsRequest.Builder clone()
Returns
Type Description
ListSharedResourceSubscriptionsRequest.Builder
Overrides

getDefaultInstanceForType()

public ListSharedResourceSubscriptionsRequest getDefaultInstanceForType()
Returns
Type Description
ListSharedResourceSubscriptionsRequest

getDescriptorForType()

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

getIncludeDeletedSubscriptions()

public boolean getIncludeDeletedSubscriptions()

If selected, includes deleted subscriptions in the response (up to 63 days after deletion).

bool include_deleted_subscriptions = 2;

Returns
Type Description
boolean

The includeDeletedSubscriptions.

getPageSize()

public int getPageSize()

The maximum number of results to return in a single response page.

int32 page_size = 3;

Returns
Type Description
int

The pageSize.

getPageToken()

public String getPageToken()

Page token, returned by a previous call.

string page_token = 4;

Returns
Type Description
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Page token, returned by a previous call.

string page_token = 4;

Returns
Type Description
ByteString

The bytes for pageToken.

getResource()

public String getResource()

Required. Resource name of the requested target. This resource may be either a Listing or a DataExchange. e.g. projects/123/locations/US/dataExchanges/456 OR e.g. projects/123/locations/US/dataExchanges/456/listings/789

string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The resource.

getResourceBytes()

public ByteString getResourceBytes()

Required. Resource name of the requested target. This resource may be either a Listing or a DataExchange. e.g. projects/123/locations/US/dataExchanges/456 OR e.g. projects/123/locations/US/dataExchanges/456/listings/789

string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for resource.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListSharedResourceSubscriptionsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setIncludeDeletedSubscriptions(boolean value)

public ListSharedResourceSubscriptionsRequest.Builder setIncludeDeletedSubscriptions(boolean value)

If selected, includes deleted subscriptions in the response (up to 63 days after deletion).

bool include_deleted_subscriptions = 2;

Parameter
Name Description
value boolean

The includeDeletedSubscriptions to set.

Returns
Type Description
ListSharedResourceSubscriptionsRequest.Builder

This builder for chaining.

setPageSize(int value)

public ListSharedResourceSubscriptionsRequest.Builder setPageSize(int value)

The maximum number of results to return in a single response page.

int32 page_size = 3;

Parameter
Name Description
value int

The pageSize to set.

Returns
Type Description
ListSharedResourceSubscriptionsRequest.Builder

This builder for chaining.

setPageToken(String value)

public ListSharedResourceSubscriptionsRequest.Builder setPageToken(String value)

Page token, returned by a previous call.

string page_token = 4;

Parameter
Name Description
value String

The pageToken to set.

Returns
Type Description
ListSharedResourceSubscriptionsRequest.Builder

This builder for chaining.

setPageTokenBytes(ByteString value)

public ListSharedResourceSubscriptionsRequest.Builder setPageTokenBytes(ByteString value)

Page token, returned by a previous call.

string page_token = 4;

Parameter
Name Description
value ByteString

The bytes for pageToken to set.

Returns
Type Description
ListSharedResourceSubscriptionsRequest.Builder

This builder for chaining.

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

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

setResource(String value)

public ListSharedResourceSubscriptionsRequest.Builder setResource(String value)

Required. Resource name of the requested target. This resource may be either a Listing or a DataExchange. e.g. projects/123/locations/US/dataExchanges/456 OR e.g. projects/123/locations/US/dataExchanges/456/listings/789

string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The resource to set.

Returns
Type Description
ListSharedResourceSubscriptionsRequest.Builder

This builder for chaining.

setResourceBytes(ByteString value)

public ListSharedResourceSubscriptionsRequest.Builder setResourceBytes(ByteString value)

Required. Resource name of the requested target. This resource may be either a Listing or a DataExchange. e.g. projects/123/locations/US/dataExchanges/456 OR e.g. projects/123/locations/US/dataExchanges/456/listings/789

string resource = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for resource to set.

Returns
Type Description
ListSharedResourceSubscriptionsRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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