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
DAILY_EXPORT_ENABLED_FIELD_NUMBER
public static final int DAILY_EXPORT_ENABLED_FIELD_NUMBER
Field Value
EXCLUDED_EVENTS_FIELD_NUMBER
public static final int EXCLUDED_EVENTS_FIELD_NUMBER
Field Value
EXPORT_STREAMS_FIELD_NUMBER
public static final int EXPORT_STREAMS_FIELD_NUMBER
Field Value
INCLUDE_ADVERTISING_ID_FIELD_NUMBER
public static final int INCLUDE_ADVERTISING_ID_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
PROJECT_FIELD_NUMBER
public static final int PROJECT_FIELD_NUMBER
Field Value
STREAMING_EXPORT_ENABLED_FIELD_NUMBER
public static final int STREAMING_EXPORT_ENABLED_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static BigQueryLink getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static BigQueryLink.Builder newBuilder()
Returns
newBuilder(BigQueryLink prototype)
public static BigQueryLink.Builder newBuilder(BigQueryLink prototype)
Parameter
Returns
public static BigQueryLink parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static BigQueryLink parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static BigQueryLink parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BigQueryLink parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static BigQueryLink parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BigQueryLink parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BigQueryLink parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static BigQueryLink parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static BigQueryLink parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static BigQueryLink parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static BigQueryLink parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BigQueryLink parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<BigQueryLink> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time when the link was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
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()
Returns
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;
Returns
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;
Returns
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
getParserForType()
public Parser<BigQueryLink> getParserForType()
Returns
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
getSerializedSize()
public int getSerializedSize()
Returns
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()
Returns
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
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public BigQueryLink.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BigQueryLink.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public BigQueryLink.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions