Class Listing.RestrictedExportConfig.Builder (0.33.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Listing.RestrictedExportConfig build()
Returns
TypeDescription
Listing.RestrictedExportConfig

buildPartial()

public Listing.RestrictedExportConfig buildPartial()
Returns
TypeDescription
Listing.RestrictedExportConfig

clear()

public Listing.RestrictedExportConfig.Builder clear()
Returns
TypeDescription
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
TypeDescription
Listing.RestrictedExportConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Listing.RestrictedExportConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Listing.RestrictedExportConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

public Listing.RestrictedExportConfig.Builder clone()
Returns
TypeDescription
Listing.RestrictedExportConfig.Builder
Overrides

getDefaultInstanceForType()

public Listing.RestrictedExportConfig getDefaultInstanceForType()
Returns
TypeDescription
Listing.RestrictedExportConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnabled()

public boolean getEnabled()

Optional. If true, enable restricted export.

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

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

The restrictQueryResult.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Listing.RestrictedExportConfig other)

public Listing.RestrictedExportConfig.Builder mergeFrom(Listing.RestrictedExportConfig other)
Parameter
NameDescription
otherListing.RestrictedExportConfig
Returns
TypeDescription
Listing.RestrictedExportConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Listing.RestrictedExportConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The enabled to set.

Returns
TypeDescription
Listing.RestrictedExportConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The restrictDirectTableAccess to set.

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

The restrictQueryResult to set.

Returns
TypeDescription
Listing.RestrictedExportConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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