Class RemoteConfigEventData.Builder (0.14.1)

public static final class RemoteConfigEventData.Builder extends GeneratedMessageV3.Builder<RemoteConfigEventData.Builder> implements RemoteConfigEventDataOrBuilder

The data within all Firebase Remote Config events.

Protobuf type google.events.firebase.remoteconfig.v1.RemoteConfigEventData

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RemoteConfigEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RemoteConfigEventData.Builder
Overrides

build()

public RemoteConfigEventData build()
Returns
TypeDescription
RemoteConfigEventData

buildPartial()

public RemoteConfigEventData buildPartial()
Returns
TypeDescription
RemoteConfigEventData

clear()

public RemoteConfigEventData.Builder clear()
Returns
TypeDescription
RemoteConfigEventData.Builder
Overrides

clearDescription()

public RemoteConfigEventData.Builder clearDescription()

The user-provided description of the corresponding Remote Config template.

string description = 4;

Returns
TypeDescription
RemoteConfigEventData.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public RemoteConfigEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RemoteConfigEventData.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RemoteConfigEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RemoteConfigEventData.Builder
Overrides

clearRollbackSource()

public RemoteConfigEventData.Builder clearRollbackSource()

Only present if this version is the result of a rollback, and will be the version number of the Remote Config template that was rolled-back to.

int64 rollback_source = 7;

Returns
TypeDescription
RemoteConfigEventData.Builder

This builder for chaining.

clearUpdateOrigin()

public RemoteConfigEventData.Builder clearUpdateOrigin()

Where the update action originated.

.google.events.firebase.remoteconfig.v1.RemoteConfigUpdateOrigin update_origin = 5;

Returns
TypeDescription
RemoteConfigEventData.Builder

This builder for chaining.

clearUpdateTime()

public RemoteConfigEventData.Builder clearUpdateTime()

When the Remote Config template was written to the Remote Config server.

.google.protobuf.Timestamp update_time = 2;

Returns
TypeDescription
RemoteConfigEventData.Builder

clearUpdateType()

public RemoteConfigEventData.Builder clearUpdateType()

What type of update was made.

.google.events.firebase.remoteconfig.v1.RemoteConfigUpdateType update_type = 6;

Returns
TypeDescription
RemoteConfigEventData.Builder

This builder for chaining.

clearUpdateUser()

public RemoteConfigEventData.Builder clearUpdateUser()

Aggregation of all metadata fields about the account that performed the update.

.google.events.firebase.remoteconfig.v1.RemoteConfigUser update_user = 3;

Returns
TypeDescription
RemoteConfigEventData.Builder

clearVersionNumber()

public RemoteConfigEventData.Builder clearVersionNumber()

The version number of the version's corresponding Remote Config template.

int64 version_number = 1;

Returns
TypeDescription
RemoteConfigEventData.Builder

This builder for chaining.

clone()

public RemoteConfigEventData.Builder clone()
Returns
TypeDescription
RemoteConfigEventData.Builder
Overrides

getDefaultInstanceForType()

public RemoteConfigEventData getDefaultInstanceForType()
Returns
TypeDescription
RemoteConfigEventData

getDescription()

public String getDescription()

The user-provided description of the corresponding Remote Config template.

string description = 4;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

The user-provided description of the corresponding Remote Config template.

string description = 4;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRollbackSource()

public long getRollbackSource()

Only present if this version is the result of a rollback, and will be the version number of the Remote Config template that was rolled-back to.

int64 rollback_source = 7;

Returns
TypeDescription
long

The rollbackSource.

getUpdateOrigin()

public RemoteConfigUpdateOrigin getUpdateOrigin()

Where the update action originated.

.google.events.firebase.remoteconfig.v1.RemoteConfigUpdateOrigin update_origin = 5;

Returns
TypeDescription
RemoteConfigUpdateOrigin

The updateOrigin.

getUpdateOriginValue()

public int getUpdateOriginValue()

Where the update action originated.

.google.events.firebase.remoteconfig.v1.RemoteConfigUpdateOrigin update_origin = 5;

Returns
TypeDescription
int

The enum numeric value on the wire for updateOrigin.

getUpdateTime()

public Timestamp getUpdateTime()

When the Remote Config template was written to the Remote Config server.

.google.protobuf.Timestamp update_time = 2;

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

When the Remote Config template was written to the Remote Config server.

.google.protobuf.Timestamp update_time = 2;

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

When the Remote Config template was written to the Remote Config server.

.google.protobuf.Timestamp update_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getUpdateType()

public RemoteConfigUpdateType getUpdateType()

What type of update was made.

.google.events.firebase.remoteconfig.v1.RemoteConfigUpdateType update_type = 6;

Returns
TypeDescription
RemoteConfigUpdateType

The updateType.

getUpdateTypeValue()

public int getUpdateTypeValue()

What type of update was made.

.google.events.firebase.remoteconfig.v1.RemoteConfigUpdateType update_type = 6;

Returns
TypeDescription
int

The enum numeric value on the wire for updateType.

getUpdateUser()

public RemoteConfigUser getUpdateUser()

Aggregation of all metadata fields about the account that performed the update.

.google.events.firebase.remoteconfig.v1.RemoteConfigUser update_user = 3;

Returns
TypeDescription
RemoteConfigUser

The updateUser.

getUpdateUserBuilder()

public RemoteConfigUser.Builder getUpdateUserBuilder()

Aggregation of all metadata fields about the account that performed the update.

.google.events.firebase.remoteconfig.v1.RemoteConfigUser update_user = 3;

Returns
TypeDescription
RemoteConfigUser.Builder

getUpdateUserOrBuilder()

public RemoteConfigUserOrBuilder getUpdateUserOrBuilder()

Aggregation of all metadata fields about the account that performed the update.

.google.events.firebase.remoteconfig.v1.RemoteConfigUser update_user = 3;

Returns
TypeDescription
RemoteConfigUserOrBuilder

getVersionNumber()

public long getVersionNumber()

The version number of the version's corresponding Remote Config template.

int64 version_number = 1;

Returns
TypeDescription
long

The versionNumber.

hasUpdateTime()

public boolean hasUpdateTime()

When the Remote Config template was written to the Remote Config server.

.google.protobuf.Timestamp update_time = 2;

Returns
TypeDescription
boolean

Whether the updateTime field is set.

hasUpdateUser()

public boolean hasUpdateUser()

Aggregation of all metadata fields about the account that performed the update.

.google.events.firebase.remoteconfig.v1.RemoteConfigUser update_user = 3;

Returns
TypeDescription
boolean

Whether the updateUser field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RemoteConfigEventData other)

public RemoteConfigEventData.Builder mergeFrom(RemoteConfigEventData other)
Parameter
NameDescription
otherRemoteConfigEventData
Returns
TypeDescription
RemoteConfigEventData.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RemoteConfigEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RemoteConfigEventData.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RemoteConfigEventData.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RemoteConfigEventData.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RemoteConfigEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RemoteConfigEventData.Builder
Overrides

mergeUpdateTime(Timestamp value)

public RemoteConfigEventData.Builder mergeUpdateTime(Timestamp value)

When the Remote Config template was written to the Remote Config server.

.google.protobuf.Timestamp update_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
RemoteConfigEventData.Builder

mergeUpdateUser(RemoteConfigUser value)

public RemoteConfigEventData.Builder mergeUpdateUser(RemoteConfigUser value)

Aggregation of all metadata fields about the account that performed the update.

.google.events.firebase.remoteconfig.v1.RemoteConfigUser update_user = 3;

Parameter
NameDescription
valueRemoteConfigUser
Returns
TypeDescription
RemoteConfigEventData.Builder

setDescription(String value)

public RemoteConfigEventData.Builder setDescription(String value)

The user-provided description of the corresponding Remote Config template.

string description = 4;

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
RemoteConfigEventData.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public RemoteConfigEventData.Builder setDescriptionBytes(ByteString value)

The user-provided description of the corresponding Remote Config template.

string description = 4;

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
RemoteConfigEventData.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public RemoteConfigEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RemoteConfigEventData.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RemoteConfigEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RemoteConfigEventData.Builder
Overrides

setRollbackSource(long value)

public RemoteConfigEventData.Builder setRollbackSource(long value)

Only present if this version is the result of a rollback, and will be the version number of the Remote Config template that was rolled-back to.

int64 rollback_source = 7;

Parameter
NameDescription
valuelong

The rollbackSource to set.

Returns
TypeDescription
RemoteConfigEventData.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final RemoteConfigEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RemoteConfigEventData.Builder
Overrides

setUpdateOrigin(RemoteConfigUpdateOrigin value)

public RemoteConfigEventData.Builder setUpdateOrigin(RemoteConfigUpdateOrigin value)

Where the update action originated.

.google.events.firebase.remoteconfig.v1.RemoteConfigUpdateOrigin update_origin = 5;

Parameter
NameDescription
valueRemoteConfigUpdateOrigin

The updateOrigin to set.

Returns
TypeDescription
RemoteConfigEventData.Builder

This builder for chaining.

setUpdateOriginValue(int value)

public RemoteConfigEventData.Builder setUpdateOriginValue(int value)

Where the update action originated.

.google.events.firebase.remoteconfig.v1.RemoteConfigUpdateOrigin update_origin = 5;

Parameter
NameDescription
valueint

The enum numeric value on the wire for updateOrigin to set.

Returns
TypeDescription
RemoteConfigEventData.Builder

This builder for chaining.

setUpdateTime(Timestamp value)

public RemoteConfigEventData.Builder setUpdateTime(Timestamp value)

When the Remote Config template was written to the Remote Config server.

.google.protobuf.Timestamp update_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
RemoteConfigEventData.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public RemoteConfigEventData.Builder setUpdateTime(Timestamp.Builder builderForValue)

When the Remote Config template was written to the Remote Config server.

.google.protobuf.Timestamp update_time = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
RemoteConfigEventData.Builder

setUpdateType(RemoteConfigUpdateType value)

public RemoteConfigEventData.Builder setUpdateType(RemoteConfigUpdateType value)

What type of update was made.

.google.events.firebase.remoteconfig.v1.RemoteConfigUpdateType update_type = 6;

Parameter
NameDescription
valueRemoteConfigUpdateType

The updateType to set.

Returns
TypeDescription
RemoteConfigEventData.Builder

This builder for chaining.

setUpdateTypeValue(int value)

public RemoteConfigEventData.Builder setUpdateTypeValue(int value)

What type of update was made.

.google.events.firebase.remoteconfig.v1.RemoteConfigUpdateType update_type = 6;

Parameter
NameDescription
valueint

The enum numeric value on the wire for updateType to set.

Returns
TypeDescription
RemoteConfigEventData.Builder

This builder for chaining.

setUpdateUser(RemoteConfigUser value)

public RemoteConfigEventData.Builder setUpdateUser(RemoteConfigUser value)

Aggregation of all metadata fields about the account that performed the update.

.google.events.firebase.remoteconfig.v1.RemoteConfigUser update_user = 3;

Parameter
NameDescription
valueRemoteConfigUser
Returns
TypeDescription
RemoteConfigEventData.Builder

setUpdateUser(RemoteConfigUser.Builder builderForValue)

public RemoteConfigEventData.Builder setUpdateUser(RemoteConfigUser.Builder builderForValue)

Aggregation of all metadata fields about the account that performed the update.

.google.events.firebase.remoteconfig.v1.RemoteConfigUser update_user = 3;

Parameter
NameDescription
builderForValueRemoteConfigUser.Builder
Returns
TypeDescription
RemoteConfigEventData.Builder

setVersionNumber(long value)

public RemoteConfigEventData.Builder setVersionNumber(long value)

The version number of the version's corresponding Remote Config template.

int64 version_number = 1;

Parameter
NameDescription
valuelong

The versionNumber to set.

Returns
TypeDescription
RemoteConfigEventData.Builder

This builder for chaining.