Class BigQueryLink (0.42.0)

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

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int DAILY_EXPORT_ENABLED_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int EXCLUDED_EVENTS_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int EXPORT_STREAMS_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int FRESH_DAILY_EXPORT_ENABLED_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int INCLUDE_ADVERTISING_ID_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int PROJECT_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int STREAMING_EXPORT_ENABLED_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

public static BigQueryLink getDefaultInstance()
Returns
TypeDescription
BigQueryLink
public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor
public static BigQueryLink.Builder newBuilder()
Returns
TypeDescription
BigQueryLink.Builder
public static BigQueryLink.Builder newBuilder(BigQueryLink prototype)
Parameter
NameDescription
prototypeBigQueryLink
Returns
TypeDescription
BigQueryLink.Builder
public static BigQueryLink parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BigQueryLink
Exceptions
TypeDescription
IOException
public static BigQueryLink parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BigQueryLink
Exceptions
TypeDescription
IOException
public static BigQueryLink parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BigQueryLink
Exceptions
TypeDescription
InvalidProtocolBufferException
public static BigQueryLink parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BigQueryLink
Exceptions
TypeDescription
InvalidProtocolBufferException
public static BigQueryLink parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BigQueryLink
Exceptions
TypeDescription
InvalidProtocolBufferException
public static BigQueryLink parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BigQueryLink
Exceptions
TypeDescription
InvalidProtocolBufferException
public static BigQueryLink parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BigQueryLink
Exceptions
TypeDescription
IOException
public static BigQueryLink parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BigQueryLink
Exceptions
TypeDescription
IOException
public static BigQueryLink parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BigQueryLink
Exceptions
TypeDescription
IOException
public static BigQueryLink parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BigQueryLink
Exceptions
TypeDescription
IOException
public static BigQueryLink parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BigQueryLink
Exceptions
TypeDescription
InvalidProtocolBufferException
public static BigQueryLink parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BigQueryLink
Exceptions
TypeDescription
InvalidProtocolBufferException
public static Parser<BigQueryLink> parser()
Returns
TypeDescription
Parser<BigQueryLink>

Methods

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides
public Timestamp getCreateTime()

Output only. Time when the link was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Time when the link was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder
public boolean getDailyExportEnabled()

If set true, enables daily data export to the linked Google Cloud project.

bool daily_export_enabled = 4;

Returns
TypeDescription
boolean

The dailyExportEnabled.

public BigQueryLink getDefaultInstanceForType()
Returns
TypeDescription
BigQueryLink
public String getExcludedEvents(int index)

The list of event names that will be excluded from exports.

repeated string excluded_events = 8;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The excludedEvents at the given index.

public ByteString getExcludedEventsBytes(int index)

The list of event names that will be excluded from exports.

repeated string excluded_events = 8;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the excludedEvents at the given index.

public int getExcludedEventsCount()

The list of event names that will be excluded from exports.

repeated string excluded_events = 8;

Returns
TypeDescription
int

The count of excludedEvents.

public ProtocolStringList getExcludedEventsList()

The list of event names that will be excluded from exports.

repeated string excluded_events = 8;

Returns
TypeDescription
ProtocolStringList

A list containing the excludedEvents.

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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The exportStreams at the given 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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the exportStreams at the given index.

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
TypeDescription
int

The count of exportStreams.

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
TypeDescription
ProtocolStringList

A list containing the exportStreams.

public boolean getFreshDailyExportEnabled()

If set true, enables fresh daily export to the linked Google Cloud project.

bool fresh_daily_export_enabled = 9;

Returns
TypeDescription
boolean

The freshDailyExportEnabled.

public boolean getIncludeAdvertisingId()

If set true, exported data will include advertising identifiers for mobile app streams.

bool include_advertising_id = 6;

Returns
TypeDescription
boolean

The includeAdvertisingId.

public String 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
TypeDescription
String

The name.

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
TypeDescription
ByteString

The bytes for name.

public Parser<BigQueryLink> getParserForType()
Returns
TypeDescription
Parser<BigQueryLink>
Overrides
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
TypeDescription
String

The project.

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
TypeDescription
ByteString

The bytes for project.

public int getSerializedSize()
Returns
TypeDescription
int
Overrides
public boolean getStreamingExportEnabled()

If set true, enables streaming export to the linked Google Cloud project.

bool streaming_export_enabled = 5;

Returns
TypeDescription
boolean

The streamingExportEnabled.

public boolean hasCreateTime()

Output only. Time when the link was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the createTime field is set.

public int hashCode()
Returns
TypeDescription
int
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides
public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides
public BigQueryLink.Builder newBuilderForType()
Returns
TypeDescription
BigQueryLink.Builder
protected BigQueryLink.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BigQueryLink.Builder
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides
public BigQueryLink.Builder toBuilder()
Returns
TypeDescription
BigQueryLink.Builder
public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException