Class BigQueryLink (0.23.0)
Version 0.23.0keyboard_arrow_down
public final class BigQueryLink extends GeneratedMessageV3 implements BigQueryLinkOrBuilder
A link between a GA4 Property and BigQuery project.
Protobuf type google.analytics.admin.v1alpha.BigQueryLink
Static Fields
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type
Description
int
DAILY_EXPORT_ENABLED_FIELD_NUMBER
public static final int DAILY_EXPORT_ENABLED_FIELD_NUMBER
Field Value
Type
Description
int
EXCLUDED_EVENTS_FIELD_NUMBER
public static final int EXCLUDED_EVENTS_FIELD_NUMBER
Field Value
Type
Description
int
EXPORT_STREAMS_FIELD_NUMBER
public static final int EXPORT_STREAMS_FIELD_NUMBER
Field Value
Type
Description
int
INCLUDE_ADVERTISING_ID_FIELD_NUMBER
public static final int INCLUDE_ADVERTISING_ID_FIELD_NUMBER
Field Value
Type
Description
int
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
Type
Description
int
PROJECT_FIELD_NUMBER
public static final int PROJECT_FIELD_NUMBER
Field Value
Type
Description
int
STREAMING_EXPORT_ENABLED_FIELD_NUMBER
public static final int STREAMING_EXPORT_ENABLED_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static BigQueryLink getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static BigQueryLink . Builder newBuilder ()
newBuilder(BigQueryLink prototype)
public static BigQueryLink . Builder newBuilder ( BigQueryLink prototype )
public static BigQueryLink parseDelimitedFrom ( InputStream input )
public static BigQueryLink parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static BigQueryLink parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BigQueryLink parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static BigQueryLink parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BigQueryLink parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static BigQueryLink parseFrom ( CodedInputStream input )
public static BigQueryLink parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static BigQueryLink parseFrom ( InputStream input )
public static BigQueryLink parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static BigQueryLink parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BigQueryLink parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<BigQueryLink> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getCreateTime()
public Timestamp getCreateTime ()
Output only. Time when the link was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
Timestamp
The createTime.
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder ()
Output only. Time when the link was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDailyExportEnabled()
public boolean getDailyExportEnabled ()
If set true, enables daily data export to the linked Google Cloud project.
bool daily_export_enabled = 4;
Returns
Type
Description
boolean
The dailyExportEnabled.
getDefaultInstanceForType()
public BigQueryLink getDefaultInstanceForType ()
getExcludedEvents(int index)
public String getExcludedEvents ( int index )
The list of event names that will be excluded from exports.
repeated string excluded_events = 8;
Parameter
Name
Description
index
int
The index of the element to return.
Returns
Type
Description
String
The excludedEvents at the given index.
getExcludedEventsBytes(int index)
public ByteString getExcludedEventsBytes ( int index )
The list of event names that will be excluded from exports.
repeated string excluded_events = 8;
Parameter
Name
Description
index
int
The index of the value to return.
Returns
Type
Description
ByteString
The bytes of the excludedEvents at the given index.
getExcludedEventsCount()
public int getExcludedEventsCount ()
The list of event names that will be excluded from exports.
repeated string excluded_events = 8;
Returns
Type
Description
int
The count of excludedEvents.
getExcludedEventsList()
public ProtocolStringList getExcludedEventsList ()
The list of event names that will be excluded from exports.
repeated string excluded_events = 8;
getExportStreams(int index)
public String getExportStreams ( int index )
The list of streams under the parent property for which data will be
exported.
Format: properties/{property_id}/dataStreams/{stream_id}
Example: ['properties/1000/dataStreams/2000']
repeated string export_streams = 7;
Parameter
Name
Description
index
int
The index of the element to return.
Returns
Type
Description
String
The exportStreams at the given index.
getExportStreamsBytes(int index)
public ByteString getExportStreamsBytes ( int index )
The list of streams under the parent property for which data will be
exported.
Format: properties/{property_id}/dataStreams/{stream_id}
Example: ['properties/1000/dataStreams/2000']
repeated string export_streams = 7;
Parameter
Name
Description
index
int
The index of the value to return.
Returns
Type
Description
ByteString
The bytes of the exportStreams at the given index.
getExportStreamsCount()
public int getExportStreamsCount ()
The list of streams under the parent property for which data will be
exported.
Format: properties/{property_id}/dataStreams/{stream_id}
Example: ['properties/1000/dataStreams/2000']
repeated string export_streams = 7;
Returns
Type
Description
int
The count of exportStreams.
getExportStreamsList()
public ProtocolStringList getExportStreamsList ()
The list of streams under the parent property for which data will be
exported.
Format: properties/{property_id}/dataStreams/{stream_id}
Example: ['properties/1000/dataStreams/2000']
repeated string export_streams = 7;
getIncludeAdvertisingId()
public boolean getIncludeAdvertisingId ()
If set true, exported data will include advertising identifiers for mobile
app streams.
bool include_advertising_id = 6;
Returns
Type
Description
boolean
The includeAdvertisingId.
getName()
Output only. Resource name of this BigQuery link.
Format: 'properties/{property_id}/bigQueryLinks/{bigquery_link_id}'
Format: 'properties/1234/bigQueryLinks/abc567'
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
String
The name.
getNameBytes()
public ByteString getNameBytes ()
Output only. Resource name of this BigQuery link.
Format: 'properties/{property_id}/bigQueryLinks/{bigquery_link_id}'
Format: 'properties/1234/bigQueryLinks/abc567'
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
ByteString
The bytes for name.
getParserForType()
public Parser<BigQueryLink> getParserForType ()
Overrides
getProject()
public String getProject ()
Immutable. The linked Google Cloud project. When creating a BigQueryLink,
you may provide this resource name using either a project number or project
ID. Once this resource has been created, the returned project will always
have a project that contains a project number.
Format: 'projects/{project number}'
Example: 'projects/1234'
string project = 2 [(.google.api.field_behavior) = IMMUTABLE];
Returns
Type
Description
String
The project.
getProjectBytes()
public ByteString getProjectBytes ()
Immutable. The linked Google Cloud project. When creating a BigQueryLink,
you may provide this resource name using either a project number or project
ID. Once this resource has been created, the returned project will always
have a project that contains a project number.
Format: 'projects/{project number}'
Example: 'projects/1234'
string project = 2 [(.google.api.field_behavior) = IMMUTABLE];
Returns
Type
Description
ByteString
The bytes for project.
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getStreamingExportEnabled()
public boolean getStreamingExportEnabled ()
If set true, enables streaming export to the linked Google Cloud project.
bool streaming_export_enabled = 5;
Returns
Type
Description
boolean
The streamingExportEnabled.
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Overrides
hasCreateTime()
public boolean hasCreateTime ()
Output only. Time when the link was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
boolean
Whether the createTime field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public BigQueryLink . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BigQueryLink . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public BigQueryLink . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-10 UTC."],[],[]]