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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RemoteConfigEventData.BuilderImplements
RemoteConfigEventDataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RemoteConfigEventData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
RemoteConfigEventData.Builder |
build()
public RemoteConfigEventData build()
Returns | |
---|---|
Type | Description |
RemoteConfigEventData |
buildPartial()
public RemoteConfigEventData buildPartial()
Returns | |
---|---|
Type | Description |
RemoteConfigEventData |
clear()
public RemoteConfigEventData.Builder clear()
Returns | |
---|---|
Type | Description |
RemoteConfigEventData.Builder |
clearDescription()
public RemoteConfigEventData.Builder clearDescription()
The user-provided description of the corresponding Remote Config template.
string description = 4;
Returns | |
---|---|
Type | Description |
RemoteConfigEventData.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public RemoteConfigEventData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
RemoteConfigEventData.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public RemoteConfigEventData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
RemoteConfigEventData.Builder |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
RemoteConfigEventData.Builder |
clearUpdateType()
public RemoteConfigEventData.Builder clearUpdateType()
What type of update was made.
.google.events.firebase.remoteconfig.v1.RemoteConfigUpdateType update_type = 6;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
RemoteConfigEventData.Builder |
clearVersionNumber()
public RemoteConfigEventData.Builder clearVersionNumber()
The version number of the version's corresponding Remote Config template.
int64 version_number = 1;
Returns | |
---|---|
Type | Description |
RemoteConfigEventData.Builder |
This builder for chaining. |
clone()
public RemoteConfigEventData.Builder clone()
Returns | |
---|---|
Type | Description |
RemoteConfigEventData.Builder |
getDefaultInstanceForType()
public RemoteConfigEventData getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
RemoteConfigEventData |
getDescription()
public String getDescription()
The user-provided description of the corresponding Remote Config template.
string description = 4;
Returns | |
---|---|
Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
The user-provided description of the corresponding Remote Config template.
string description = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 | |
---|---|
Type | Description |
long |
The rollbackSource. |
getUpdateOrigin()
public RemoteConfigUpdateOrigin getUpdateOrigin()
Where the update action originated.
.google.events.firebase.remoteconfig.v1.RemoteConfigUpdateOrigin update_origin = 5;
Returns | |
---|---|
Type | Description |
RemoteConfigUpdateOrigin |
The updateOrigin. |
getUpdateOriginValue()
public int getUpdateOriginValue()
Where the update action originated.
.google.events.firebase.remoteconfig.v1.RemoteConfigUpdateOrigin update_origin = 5;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
When the Remote Config template was written to the Remote Config server.
.google.protobuf.Timestamp update_time = 2;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getUpdateType()
public RemoteConfigUpdateType getUpdateType()
What type of update was made.
.google.events.firebase.remoteconfig.v1.RemoteConfigUpdateType update_type = 6;
Returns | |
---|---|
Type | Description |
RemoteConfigUpdateType |
The updateType. |
getUpdateTypeValue()
public int getUpdateTypeValue()
What type of update was made.
.google.events.firebase.remoteconfig.v1.RemoteConfigUpdateType update_type = 6;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
RemoteConfigUserOrBuilder |
getVersionNumber()
public long getVersionNumber()
The version number of the version's corresponding Remote Config template.
int64 version_number = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
boolean |
Whether the updateUser field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(RemoteConfigEventData other)
public RemoteConfigEventData.Builder mergeFrom(RemoteConfigEventData other)
Parameter | |
---|---|
Name | Description |
other |
RemoteConfigEventData |
Returns | |
---|---|
Type | Description |
RemoteConfigEventData.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RemoteConfigEventData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RemoteConfigEventData.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public RemoteConfigEventData.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
RemoteConfigEventData.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RemoteConfigEventData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RemoteConfigEventData.Builder |
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 | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
RemoteConfigUser |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
String The description to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
RemoteConfigEventData.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public RemoteConfigEventData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
RemoteConfigEventData.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RemoteConfigEventData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
RemoteConfigEventData.Builder |
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 | |
---|---|
Name | Description |
value |
long The rollbackSource to set. |
Returns | |
---|---|
Type | Description |
RemoteConfigEventData.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final RemoteConfigEventData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RemoteConfigEventData.Builder |
setUpdateOrigin(RemoteConfigUpdateOrigin value)
public RemoteConfigEventData.Builder setUpdateOrigin(RemoteConfigUpdateOrigin value)
Where the update action originated.
.google.events.firebase.remoteconfig.v1.RemoteConfigUpdateOrigin update_origin = 5;
Parameter | |
---|---|
Name | Description |
value |
RemoteConfigUpdateOrigin The updateOrigin to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for updateOrigin to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
RemoteConfigUpdateType The updateType to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for updateType to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
RemoteConfigUser |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue |
RemoteConfigUser.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value |
long The versionNumber to set. |
Returns | |
---|---|
Type | Description |
RemoteConfigEventData.Builder |
This builder for chaining. |