public static final class AlertData.Builder extends GeneratedMessageV3.Builder<AlertData.Builder> implements AlertDataOrBuilder
The data within all Firebase Alerts.
Protobuf type google.events.firebase.firebasealerts.v1.AlertData
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AlertData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public AlertData buildPartial()
clear()
public AlertData.Builder clear()
Overrides
clearCreateTime()
public AlertData.Builder clearCreateTime()
Time that the event has created
.google.protobuf.Timestamp create_time = 1;
clearEndTime()
public AlertData.Builder clearEndTime()
Time that the event has ended. Optional, only present for alertsthat are
ongoing
.google.protobuf.Timestamp end_time = 2;
clearField(Descriptors.FieldDescriptor field)
public AlertData.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AlertData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPayload()
public AlertData.Builder clearPayload()
Payload of the event, which includes the details of the specific alert.
It's a map of keys of String type and values of various types
.google.protobuf.Struct payload = 3;
clone()
public AlertData.Builder clone()
Overrides
getCreateTime()
public Timestamp getCreateTime()
Time that the event has created
.google.protobuf.Timestamp create_time = 1;
Returns |
Type |
Description |
Timestamp |
The createTime.
|
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
Time that the event has created
.google.protobuf.Timestamp create_time = 1;
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Time that the event has created
.google.protobuf.Timestamp create_time = 1;
getDefaultInstanceForType()
public AlertData getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEndTime()
public Timestamp getEndTime()
Time that the event has ended. Optional, only present for alertsthat are
ongoing
.google.protobuf.Timestamp end_time = 2;
Returns |
Type |
Description |
Timestamp |
The endTime.
|
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()
Time that the event has ended. Optional, only present for alertsthat are
ongoing
.google.protobuf.Timestamp end_time = 2;
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
Time that the event has ended. Optional, only present for alertsthat are
ongoing
.google.protobuf.Timestamp end_time = 2;
getPayload()
public Struct getPayload()
Payload of the event, which includes the details of the specific alert.
It's a map of keys of String type and values of various types
.google.protobuf.Struct payload = 3;
Returns |
Type |
Description |
Struct |
The payload.
|
getPayloadBuilder()
public Struct.Builder getPayloadBuilder()
Payload of the event, which includes the details of the specific alert.
It's a map of keys of String type and values of various types
.google.protobuf.Struct payload = 3;
getPayloadOrBuilder()
public StructOrBuilder getPayloadOrBuilder()
Payload of the event, which includes the details of the specific alert.
It's a map of keys of String type and values of various types
.google.protobuf.Struct payload = 3;
hasCreateTime()
public boolean hasCreateTime()
Time that the event has created
.google.protobuf.Timestamp create_time = 1;
Returns |
Type |
Description |
boolean |
Whether the createTime field is set.
|
hasEndTime()
public boolean hasEndTime()
Time that the event has ended. Optional, only present for alertsthat are
ongoing
.google.protobuf.Timestamp end_time = 2;
Returns |
Type |
Description |
boolean |
Whether the endTime field is set.
|
hasPayload()
public boolean hasPayload()
Payload of the event, which includes the details of the specific alert.
It's a map of keys of String type and values of various types
.google.protobuf.Struct payload = 3;
Returns |
Type |
Description |
boolean |
Whether the payload field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCreateTime(Timestamp value)
public AlertData.Builder mergeCreateTime(Timestamp value)
Time that the event has created
.google.protobuf.Timestamp create_time = 1;
mergeEndTime(Timestamp value)
public AlertData.Builder mergeEndTime(Timestamp value)
Time that the event has ended. Optional, only present for alertsthat are
ongoing
.google.protobuf.Timestamp end_time = 2;
mergeFrom(AlertData other)
public AlertData.Builder mergeFrom(AlertData other)
public AlertData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AlertData.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergePayload(Struct value)
public AlertData.Builder mergePayload(Struct value)
Payload of the event, which includes the details of the specific alert.
It's a map of keys of String type and values of various types
.google.protobuf.Struct payload = 3;
Parameter |
Name |
Description |
value |
Struct
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AlertData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCreateTime(Timestamp value)
public AlertData.Builder setCreateTime(Timestamp value)
Time that the event has created
.google.protobuf.Timestamp create_time = 1;
setCreateTime(Timestamp.Builder builderForValue)
public AlertData.Builder setCreateTime(Timestamp.Builder builderForValue)
Time that the event has created
.google.protobuf.Timestamp create_time = 1;
Parameter |
Name |
Description |
builderForValue |
Builder
|
setEndTime(Timestamp value)
public AlertData.Builder setEndTime(Timestamp value)
Time that the event has ended. Optional, only present for alertsthat are
ongoing
.google.protobuf.Timestamp end_time = 2;
setEndTime(Timestamp.Builder builderForValue)
public AlertData.Builder setEndTime(Timestamp.Builder builderForValue)
Time that the event has ended. Optional, only present for alertsthat are
ongoing
.google.protobuf.Timestamp end_time = 2;
Parameter |
Name |
Description |
builderForValue |
Builder
|
setField(Descriptors.FieldDescriptor field, Object value)
public AlertData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setPayload(Struct value)
public AlertData.Builder setPayload(Struct value)
Payload of the event, which includes the details of the specific alert.
It's a map of keys of String type and values of various types
.google.protobuf.Struct payload = 3;
Parameter |
Name |
Description |
value |
Struct
|
setPayload(Struct.Builder builderForValue)
public AlertData.Builder setPayload(Struct.Builder builderForValue)
Payload of the event, which includes the details of the specific alert.
It's a map of keys of String type and values of various types
.google.protobuf.Struct payload = 3;
Parameter |
Name |
Description |
builderForValue |
Builder
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AlertData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AlertData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides