Class Listing.RestrictedExportConfig.Builder (0.40.0)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

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.

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Listing.RestrictedExportConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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.

setUnknownFields(UnknownFieldSet unknownFields)

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