Class FirebaseLink (0.50.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
TypeDescription
int
public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int
public static final int PROJECT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

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

Methods

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder
public FirebaseLink getDefaultInstanceForType()
Returns
TypeDescription
FirebaseLink
public String getName()

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

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

Returns
TypeDescription
String

The name.

public ByteString getNameBytes()

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

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

Returns
TypeDescription
ByteString

The bytes for name.

public Parser<FirebaseLink> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for project.

public int getSerializedSize()
Returns
TypeDescription
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
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 FirebaseLink.Builder newBuilderForType()
Returns
TypeDescription
FirebaseLink.Builder
protected FirebaseLink.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
FirebaseLink.Builder
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides
public FirebaseLink.Builder toBuilder()
Returns
TypeDescription
FirebaseLink.Builder
public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException