Class FirebaseLink.Builder (0.49.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
TypeDescription
Descriptor

Methods

public FirebaseLink.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
FirebaseLink.Builder
Overrides
public FirebaseLink build()
Returns
TypeDescription
FirebaseLink
public FirebaseLink buildPartial()
Returns
TypeDescription
FirebaseLink
public FirebaseLink.Builder clear()
Returns
TypeDescription
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
TypeDescription
FirebaseLink.Builder
public FirebaseLink.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
FirebaseLink.Builder

This builder for chaining.

public FirebaseLink.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
FirebaseLink.Builder

This builder for chaining.

public FirebaseLink.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder
public FirebaseLink getDefaultInstanceForType()
Returns
TypeDescription
FirebaseLink
public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides
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 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 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.

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides
public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
FirebaseLink.Builder
public FirebaseLink.Builder mergeFrom(FirebaseLink other)
Parameter
NameDescription
otherFirebaseLink
Returns
TypeDescription
FirebaseLink.Builder
public FirebaseLink.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
FirebaseLink.Builder
Overrides
Exceptions
TypeDescription
IOException
public FirebaseLink.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
FirebaseLink.Builder
Overrides
public final FirebaseLink.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
FirebaseLink.Builder
public FirebaseLink.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
valueString

The project to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for project to set.

Returns
TypeDescription
FirebaseLink.Builder

This builder for chaining.

public FirebaseLink.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FirebaseLink.Builder
Overrides
public final FirebaseLink.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FirebaseLink.Builder
Overrides