Class ListSharedResourceSubscriptionsRequest.Builder (0.31.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListSharedResourceSubscriptionsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListSharedResourceSubscriptionsRequest.Builder
Overrides

build()

public ListSharedResourceSubscriptionsRequest build()
Returns
TypeDescription
ListSharedResourceSubscriptionsRequest

buildPartial()

public ListSharedResourceSubscriptionsRequest buildPartial()
Returns
TypeDescription
ListSharedResourceSubscriptionsRequest

clear()

public ListSharedResourceSubscriptionsRequest.Builder clear()
Returns
TypeDescription
ListSharedResourceSubscriptionsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListSharedResourceSubscriptionsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListSharedResourceSubscriptionsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListSharedResourceSubscriptionsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
ListSharedResourceSubscriptionsRequest.Builder

This builder for chaining.

clearPageToken()

public ListSharedResourceSubscriptionsRequest.Builder clearPageToken()

Page token, returned by a previous call.

string page_token = 4;

Returns
TypeDescription
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
TypeDescription
ListSharedResourceSubscriptionsRequest.Builder

This builder for chaining.

clone()

public ListSharedResourceSubscriptionsRequest.Builder clone()
Returns
TypeDescription
ListSharedResourceSubscriptionsRequest.Builder
Overrides

getDefaultInstanceForType()

public ListSharedResourceSubscriptionsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListSharedResourceSubscriptionsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
boolean

The includeDeletedSubscriptions.

getPageSize()

public int getPageSize()

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

int32 page_size = 3;

Returns
TypeDescription
int

The pageSize.

getPageToken()

public String getPageToken()

Page token, returned by a previous call.

string page_token = 4;

Returns
TypeDescription
String

The pageToken.

getPageTokenBytes()

public ByteString getPageTokenBytes()

Page token, returned by a previous call.

string page_token = 4;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for resource.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListSharedResourceSubscriptionsRequest other)

public ListSharedResourceSubscriptionsRequest.Builder mergeFrom(ListSharedResourceSubscriptionsRequest other)
Parameter
NameDescription
otherListSharedResourceSubscriptionsRequest
Returns
TypeDescription
ListSharedResourceSubscriptionsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListSharedResourceSubscriptionsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListSharedResourceSubscriptionsRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListSharedResourceSubscriptionsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListSharedResourceSubscriptionsRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListSharedResourceSubscriptionsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListSharedResourceSubscriptionsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ListSharedResourceSubscriptionsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueboolean

The includeDeletedSubscriptions to set.

Returns
TypeDescription
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
NameDescription
valueint

The pageSize to set.

Returns
TypeDescription
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
NameDescription
valueString

The pageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for pageToken to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The resource to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for resource to set.

Returns
TypeDescription
ListSharedResourceSubscriptionsRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ListSharedResourceSubscriptionsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListSharedResourceSubscriptionsRequest.Builder
Overrides