Class FirebaseLink (0.62.0)

public final class FirebaseLink extends GeneratedMessageV3 implements FirebaseLinkOrBuilder

A link between a GA4 property and a Firebase project.

Protobuf type google.analytics.admin.v1beta.FirebaseLink

Static Fields

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int
public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int
public static final int PROJECT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

public static FirebaseLink getDefaultInstance()
Returns
Type Description
FirebaseLink
public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor
public static FirebaseLink.Builder newBuilder()
Returns
Type Description
FirebaseLink.Builder
public static FirebaseLink.Builder newBuilder(FirebaseLink prototype)
Parameter
Name Description
prototype FirebaseLink
Returns
Type Description
FirebaseLink.Builder
public static FirebaseLink parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FirebaseLink
Exceptions
Type Description
IOException
public static FirebaseLink parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FirebaseLink
Exceptions
Type Description
IOException
public static FirebaseLink parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FirebaseLink
Exceptions
Type Description
InvalidProtocolBufferException
public static FirebaseLink parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FirebaseLink
Exceptions
Type Description
InvalidProtocolBufferException
public static FirebaseLink parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FirebaseLink
Exceptions
Type Description
InvalidProtocolBufferException
public static FirebaseLink parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FirebaseLink
Exceptions
Type Description
InvalidProtocolBufferException
public static FirebaseLink parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FirebaseLink
Exceptions
Type Description
IOException
public static FirebaseLink parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FirebaseLink
Exceptions
Type Description
IOException
public static FirebaseLink parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FirebaseLink
Exceptions
Type Description
IOException
public static FirebaseLink parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FirebaseLink
Exceptions
Type Description
IOException
public static FirebaseLink parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FirebaseLink
Exceptions
Type Description
InvalidProtocolBufferException
public static FirebaseLink parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FirebaseLink
Exceptions
Type Description
InvalidProtocolBufferException
public static Parser<FirebaseLink> parser()
Returns
Type Description
Parser<FirebaseLink>

Methods

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

Output only. Time when this FirebaseLink was originally created.

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

Returns
Type Description
Timestamp

The createTime.

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Time when this FirebaseLink was originally created.

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

Returns
Type Description
TimestampOrBuilder
public FirebaseLink getDefaultInstanceForType()
Returns
Type Description
FirebaseLink
public String getName()

Output only. Example format: properties/1234/firebaseLinks/5678

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

public ByteString getNameBytes()

Output only. Example format: properties/1234/firebaseLinks/5678

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

public Parser<FirebaseLink> getParserForType()
Returns
Type Description
Parser<FirebaseLink>
Overrides
public String getProject()

Immutable. Firebase project resource name. When creating a FirebaseLink, you may provide this resource name using either a project number or project ID. Once this resource has been created, returned FirebaseLinks will always have a project_name 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.

public ByteString getProjectBytes()

Immutable. Firebase project resource name. When creating a FirebaseLink, you may provide this resource name using either a project number or project ID. Once this resource has been created, returned FirebaseLinks will always have a project_name 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.

public int getSerializedSize()
Returns
Type Description
int
Overrides
public boolean hasCreateTime()

Output only. Time when this FirebaseLink was originally created.

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

Returns
Type Description
boolean

Whether the createTime field is set.

public int hashCode()
Returns
Type Description
int
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides
public final boolean isInitialized()
Returns
Type Description
boolean
Overrides
public FirebaseLink.Builder newBuilderForType()
Returns
Type Description
FirebaseLink.Builder
protected FirebaseLink.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FirebaseLink.Builder
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides
public FirebaseLink.Builder toBuilder()
Returns
Type Description
FirebaseLink.Builder
public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException