Class FirebaseLink.Builder (0.65.0)

public static final class FirebaseLink.Builder extends GeneratedMessageV3.Builder<FirebaseLink.Builder> implements FirebaseLinkOrBuilder

A link between a GA4 property and a Firebase project.

Protobuf type google.analytics.admin.v1alpha.FirebaseLink

Static Methods

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

public FirebaseLink.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FirebaseLink.Builder
Overrides
public FirebaseLink build()
Returns
Type Description
FirebaseLink
public FirebaseLink buildPartial()
Returns
Type Description
FirebaseLink
public FirebaseLink.Builder clear()
Returns
Type Description
FirebaseLink.Builder
Overrides
public FirebaseLink.Builder clearCreateTime()

Output only. Time when this FirebaseLink was originally created.

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

Returns
Type Description
FirebaseLink.Builder
public FirebaseLink.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FirebaseLink.Builder
Overrides
public FirebaseLink.Builder clearName()

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

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

Returns
Type Description
FirebaseLink.Builder

This builder for chaining.

public FirebaseLink.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FirebaseLink.Builder
Overrides
public FirebaseLink.Builder clearProject()

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
FirebaseLink.Builder

This builder for chaining.

public FirebaseLink.Builder clone()
Returns
Type Description
FirebaseLink.Builder
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 Timestamp.Builder getCreateTimeBuilder()

Output only. Time when this FirebaseLink was originally created.

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

Returns
Type Description
Builder
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 Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides
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 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 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.

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides
public final boolean isInitialized()
Returns
Type Description
boolean
Overrides
public FirebaseLink.Builder mergeCreateTime(Timestamp value)

Output only. Time when this FirebaseLink was originally created.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
FirebaseLink.Builder
public FirebaseLink.Builder mergeFrom(FirebaseLink other)
Parameter
Name Description
other FirebaseLink
Returns
Type Description
FirebaseLink.Builder
public FirebaseLink.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FirebaseLink.Builder
Overrides
Exceptions
Type Description
IOException
public FirebaseLink.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FirebaseLink.Builder
Overrides
public final FirebaseLink.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FirebaseLink.Builder
Overrides
public FirebaseLink.Builder setCreateTime(Timestamp value)

Output only. Time when this FirebaseLink was originally created.

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

Parameter
Name Description
value Timestamp
Returns
Type Description
FirebaseLink.Builder
public FirebaseLink.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. Time when this FirebaseLink was originally created.

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

Parameter
Name Description
builderForValue Builder
Returns
Type Description
FirebaseLink.Builder
public FirebaseLink.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FirebaseLink.Builder
Overrides
public FirebaseLink.Builder setName(String value)

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

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
FirebaseLink.Builder

This builder for chaining.

public FirebaseLink.Builder setNameBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
FirebaseLink.Builder

This builder for chaining.

public FirebaseLink.Builder setProject(String value)

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];

Parameter
Name Description
value String

The project to set.

Returns
Type Description
FirebaseLink.Builder

This builder for chaining.

public FirebaseLink.Builder setProjectBytes(ByteString value)

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];

Parameter
Name Description
value ByteString

The bytes for project to set.

Returns
Type Description
FirebaseLink.Builder

This builder for chaining.

public FirebaseLink.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FirebaseLink.Builder
Overrides
public final FirebaseLink.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FirebaseLink.Builder
Overrides