Class Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder (0.46.0)

public static final class Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder extends GeneratedMessageV3.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

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder
Overrides

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder
Overrides

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder
Overrides