Class Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder (0.80.0)

public static final class Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder extends GeneratedMessage.Builder<Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder> implements Listing.BigQueryDatasetSource.RestrictedExportPolicyOrBuilder

Restricted export policy used to configure restricted export on linked dataset.

Protobuf type google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource.RestrictedExportPolicy

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder

Static Methods

getDescriptor()

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

Methods

build()

public Listing.BigQueryDatasetSource.RestrictedExportPolicy build()
Returns
Type Description
Listing.BigQueryDatasetSource.RestrictedExportPolicy

buildPartial()

public Listing.BigQueryDatasetSource.RestrictedExportPolicy buildPartial()
Returns
Type Description
Listing.BigQueryDatasetSource.RestrictedExportPolicy

clear()

public Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder clear()
Returns
Type Description
Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder
Overrides

clearEnabled()

public Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder clearEnabled()

Optional. If true, enable restricted export.

.google.protobuf.BoolValue enabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder

clearRestrictDirectTableAccess()

public Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder clearRestrictDirectTableAccess()

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

.google.protobuf.BoolValue restrict_direct_table_access = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder

clearRestrictQueryResult()

public Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder clearRestrictQueryResult()

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

.google.protobuf.BoolValue restrict_query_result = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder

getDefaultInstanceForType()

public Listing.BigQueryDatasetSource.RestrictedExportPolicy getDefaultInstanceForType()
Returns
Type Description
Listing.BigQueryDatasetSource.RestrictedExportPolicy

getDescriptorForType()

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

getEnabled()

public BoolValue getEnabled()

Optional. If true, enable restricted export.

.google.protobuf.BoolValue enabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BoolValue

The enabled.

getEnabledBuilder()

public BoolValue.Builder getEnabledBuilder()

Optional. If true, enable restricted export.

.google.protobuf.BoolValue enabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getEnabledOrBuilder()

public BoolValueOrBuilder getEnabledOrBuilder()

Optional. If true, enable restricted export.

.google.protobuf.BoolValue enabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BoolValueOrBuilder

getRestrictDirectTableAccess()

public BoolValue getRestrictDirectTableAccess()

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

.google.protobuf.BoolValue restrict_direct_table_access = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BoolValue

The restrictDirectTableAccess.

getRestrictDirectTableAccessBuilder()

public BoolValue.Builder getRestrictDirectTableAccessBuilder()

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

.google.protobuf.BoolValue restrict_direct_table_access = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getRestrictDirectTableAccessOrBuilder()

public BoolValueOrBuilder getRestrictDirectTableAccessOrBuilder()

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

.google.protobuf.BoolValue restrict_direct_table_access = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BoolValueOrBuilder

getRestrictQueryResult()

public BoolValue getRestrictQueryResult()

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

.google.protobuf.BoolValue restrict_query_result = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BoolValue

The restrictQueryResult.

getRestrictQueryResultBuilder()

public BoolValue.Builder getRestrictQueryResultBuilder()

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

.google.protobuf.BoolValue restrict_query_result = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getRestrictQueryResultOrBuilder()

public BoolValueOrBuilder getRestrictQueryResultOrBuilder()

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

.google.protobuf.BoolValue restrict_query_result = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
BoolValueOrBuilder

hasEnabled()

public boolean hasEnabled()

Optional. If true, enable restricted export.

.google.protobuf.BoolValue enabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the enabled field is set.

hasRestrictDirectTableAccess()

public boolean hasRestrictDirectTableAccess()

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

.google.protobuf.BoolValue restrict_direct_table_access = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the restrictDirectTableAccess field is set.

hasRestrictQueryResult()

public boolean hasRestrictQueryResult()

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

.google.protobuf.BoolValue restrict_query_result = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the restrictQueryResult field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEnabled(BoolValue value)

public Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder mergeEnabled(BoolValue value)

Optional. If true, enable restricted export.

.google.protobuf.BoolValue enabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value BoolValue
Returns
Type Description
Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder

mergeFrom(Listing.BigQueryDatasetSource.RestrictedExportPolicy other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeRestrictDirectTableAccess(BoolValue value)

public Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder mergeRestrictDirectTableAccess(BoolValue value)

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

.google.protobuf.BoolValue restrict_direct_table_access = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value BoolValue
Returns
Type Description
Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder

mergeRestrictQueryResult(BoolValue value)

public Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder mergeRestrictQueryResult(BoolValue value)

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

.google.protobuf.BoolValue restrict_query_result = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value BoolValue
Returns
Type Description
Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder

setEnabled(BoolValue value)

public Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder setEnabled(BoolValue value)

Optional. If true, enable restricted export.

.google.protobuf.BoolValue enabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value BoolValue
Returns
Type Description
Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder

setEnabled(BoolValue.Builder builderForValue)

public Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder setEnabled(BoolValue.Builder builderForValue)

Optional. If true, enable restricted export.

.google.protobuf.BoolValue enabled = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder

setRestrictDirectTableAccess(BoolValue value)

public Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder setRestrictDirectTableAccess(BoolValue value)

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

.google.protobuf.BoolValue restrict_direct_table_access = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value BoolValue
Returns
Type Description
Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder

setRestrictDirectTableAccess(BoolValue.Builder builderForValue)

public Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder setRestrictDirectTableAccess(BoolValue.Builder builderForValue)

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

.google.protobuf.BoolValue restrict_direct_table_access = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder

setRestrictQueryResult(BoolValue value)

public Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder setRestrictQueryResult(BoolValue value)

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

.google.protobuf.BoolValue restrict_query_result = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value BoolValue
Returns
Type Description
Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder

setRestrictQueryResult(BoolValue.Builder builderForValue)

public Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder setRestrictQueryResult(BoolValue.Builder builderForValue)

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

.google.protobuf.BoolValue restrict_query_result = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder