Class Listing.BigQueryDatasetSource.RestrictedExportPolicy (0.48.0)

public static final class Listing.BigQueryDatasetSource.RestrictedExportPolicy extends GeneratedMessageV3 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<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > Listing.BigQueryDatasetSource.RestrictedExportPolicy

Static Fields

ENABLED_FIELD_NUMBER

public static final int ENABLED_FIELD_NUMBER
Field Value
Type Description
int

RESTRICT_DIRECT_TABLE_ACCESS_FIELD_NUMBER

public static final int RESTRICT_DIRECT_TABLE_ACCESS_FIELD_NUMBER
Field Value
Type Description
int

RESTRICT_QUERY_RESULT_FIELD_NUMBER

public static final int RESTRICT_QUERY_RESULT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Listing.BigQueryDatasetSource.RestrictedExportPolicy getDefaultInstance()
Returns
Type Description
Listing.BigQueryDatasetSource.RestrictedExportPolicy

getDescriptor()

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

newBuilder()

public static Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder newBuilder()
Returns
Type Description
Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder

newBuilder(Listing.BigQueryDatasetSource.RestrictedExportPolicy prototype)

public static Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder newBuilder(Listing.BigQueryDatasetSource.RestrictedExportPolicy prototype)
Parameter
Name Description
prototype Listing.BigQueryDatasetSource.RestrictedExportPolicy
Returns
Type Description
Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder

parseDelimitedFrom(InputStream input)

public static Listing.BigQueryDatasetSource.RestrictedExportPolicy parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Listing.BigQueryDatasetSource.RestrictedExportPolicy
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Listing.BigQueryDatasetSource.RestrictedExportPolicy parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Listing.BigQueryDatasetSource.RestrictedExportPolicy
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Listing.BigQueryDatasetSource.RestrictedExportPolicy parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Listing.BigQueryDatasetSource.RestrictedExportPolicy
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Listing.BigQueryDatasetSource.RestrictedExportPolicy parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Listing.BigQueryDatasetSource.RestrictedExportPolicy
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Listing.BigQueryDatasetSource.RestrictedExportPolicy parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Listing.BigQueryDatasetSource.RestrictedExportPolicy
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Listing.BigQueryDatasetSource.RestrictedExportPolicy parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Listing.BigQueryDatasetSource.RestrictedExportPolicy
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Listing.BigQueryDatasetSource.RestrictedExportPolicy parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Listing.BigQueryDatasetSource.RestrictedExportPolicy
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Listing.BigQueryDatasetSource.RestrictedExportPolicy parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Listing.BigQueryDatasetSource.RestrictedExportPolicy
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Listing.BigQueryDatasetSource.RestrictedExportPolicy parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Listing.BigQueryDatasetSource.RestrictedExportPolicy
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Listing.BigQueryDatasetSource.RestrictedExportPolicy parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Listing.BigQueryDatasetSource.RestrictedExportPolicy
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Listing.BigQueryDatasetSource.RestrictedExportPolicy parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Listing.BigQueryDatasetSource.RestrictedExportPolicy
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Listing.BigQueryDatasetSource.RestrictedExportPolicy parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Listing.BigQueryDatasetSource.RestrictedExportPolicy
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Listing.BigQueryDatasetSource.RestrictedExportPolicy> parser()
Returns
Type Description
Parser<RestrictedExportPolicy>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

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.

getEnabledOrBuilder()

public BoolValueOrBuilder getEnabledOrBuilder()

Optional. If true, enable restricted export.

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

Returns
Type Description
BoolValueOrBuilder

getParserForType()

public Parser<Listing.BigQueryDatasetSource.RestrictedExportPolicy> getParserForType()
Returns
Type Description
Parser<RestrictedExportPolicy>
Overrides

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.

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.

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder newBuilderForType()
Returns
Type Description
Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder toBuilder()
Returns
Type Description
Listing.BigQueryDatasetSource.RestrictedExportPolicy.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException