Class Listing.RestrictedExportConfig.Builder (0.80.0)

public static final class Listing.RestrictedExportConfig.Builder extends GeneratedMessage.Builder<Listing.RestrictedExportConfig.Builder> implements Listing.RestrictedExportConfigOrBuilder

Restricted export config, used to configure restricted export on linked dataset.

Protobuf type google.cloud.bigquery.analyticshub.v1.Listing.RestrictedExportConfig

Static Methods

getDescriptor()

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

Methods

build()

public Listing.RestrictedExportConfig build()
Returns
Type Description
Listing.RestrictedExportConfig

buildPartial()

public Listing.RestrictedExportConfig buildPartial()
Returns
Type Description
Listing.RestrictedExportConfig

clear()

public Listing.RestrictedExportConfig.Builder clear()
Returns
Type Description
Listing.RestrictedExportConfig.Builder
Overrides

clearEnabled()

public Listing.RestrictedExportConfig.Builder clearEnabled()

Optional. If true, enable restricted export.

bool enabled = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Listing.RestrictedExportConfig.Builder

This builder for chaining.

clearRestrictDirectTableAccess()

public Listing.RestrictedExportConfig.Builder clearRestrictDirectTableAccess()

Output only. If true, restrict direct table access(read api/tabledata.list) on linked table.

bool restrict_direct_table_access = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Listing.RestrictedExportConfig.Builder

This builder for chaining.

clearRestrictQueryResult()

public Listing.RestrictedExportConfig.Builder clearRestrictQueryResult()

Optional. If true, restrict export of query result derived from restricted linked dataset table.

bool restrict_query_result = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Listing.RestrictedExportConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public Listing.RestrictedExportConfig getDefaultInstanceForType()
Returns
Type Description
Listing.RestrictedExportConfig

getDescriptorForType()

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

getEnabled()

public boolean getEnabled()

Optional. If true, enable restricted export.

bool enabled = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The enabled.

getRestrictDirectTableAccess()

public boolean getRestrictDirectTableAccess()

Output only. If true, restrict direct table access(read api/tabledata.list) on linked table.

bool restrict_direct_table_access = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The restrictDirectTableAccess.

getRestrictQueryResult()

public boolean getRestrictQueryResult()

Optional. If true, restrict export of query result derived from restricted linked dataset table.

bool restrict_query_result = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The restrictQueryResult.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Listing.RestrictedExportConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setEnabled(boolean value)

public Listing.RestrictedExportConfig.Builder setEnabled(boolean value)

Optional. If true, enable restricted export.

bool enabled = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The enabled to set.

Returns
Type Description
Listing.RestrictedExportConfig.Builder

This builder for chaining.

setRestrictDirectTableAccess(boolean value)

public Listing.RestrictedExportConfig.Builder setRestrictDirectTableAccess(boolean value)

Output only. If true, restrict direct table access(read api/tabledata.list) on linked table.

bool restrict_direct_table_access = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value boolean

The restrictDirectTableAccess to set.

Returns
Type Description
Listing.RestrictedExportConfig.Builder

This builder for chaining.

setRestrictQueryResult(boolean value)

public Listing.RestrictedExportConfig.Builder setRestrictQueryResult(boolean value)

Optional. If true, restrict export of query result derived from restricted linked dataset table.

bool restrict_query_result = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The restrictQueryResult to set.

Returns
Type Description
Listing.RestrictedExportConfig.Builder

This builder for chaining.