Class EventModeration.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<EventModeration,EventModeration.Builder>
-
- com.streamlayer.interactive.common.EventModeration.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,EventModerationOrBuilder,java.lang.Cloneable
- Enclosing class:
- EventModeration
public static final class EventModeration.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<EventModeration,EventModeration.Builder> implements EventModerationOrBuilder
live in-play moderation
Protobuf typestreamlayer.interactive.EventModeration
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description EventModeration.BuilderclearActivatedAt().google.protobuf.Timestamp activated_at = 8;EventModeration.BuilderclearDeactivatedAt().google.protobuf.Timestamp deactivated_at = 9;EventModeration.BuilderclearEventId()string event_id = 2;EventModeration.BuilderclearId()string id = 1;EventModeration.BuilderclearNotification().streamlayer.interactive.EventModeration.NotificationSettings notification = 7;EventModeration.BuilderclearOnboardingEnabled()bool onboarding_enabled = 4;EventModeration.BuilderclearQuestion().streamlayer.interactive.EventModeration.QuestionSettings question = 5;EventModeration.BuilderclearSponsors().streamlayer.interactive.EventModeration.SponsorshipSettings sponsors = 6;EventModeration.BuilderclearSponsorship()Deprecated.com.google.protobuf.TimestampgetActivatedAt().google.protobuf.Timestamp activated_at = 8;com.google.protobuf.TimestampgetDeactivatedAt().google.protobuf.Timestamp deactivated_at = 9;java.lang.StringgetEventId()string event_id = 2;com.google.protobuf.ByteStringgetEventIdBytes()string event_id = 2;java.lang.StringgetId()string id = 1;com.google.protobuf.ByteStringgetIdBytes()string id = 1;EventModeration.NotificationSettingsgetNotification().streamlayer.interactive.EventModeration.NotificationSettings notification = 7;booleangetOnboardingEnabled()bool onboarding_enabled = 4;EventModeration.QuestionSettingsgetQuestion().streamlayer.interactive.EventModeration.QuestionSettings question = 5;EventModeration.SponsorshipSettingsgetSponsors().streamlayer.interactive.EventModeration.SponsorshipSettings sponsors = 6;SponsorshipgetSponsorship()Deprecated.booleanhasActivatedAt().google.protobuf.Timestamp activated_at = 8;booleanhasDeactivatedAt().google.protobuf.Timestamp deactivated_at = 9;booleanhasNotification().streamlayer.interactive.EventModeration.NotificationSettings notification = 7;booleanhasQuestion().streamlayer.interactive.EventModeration.QuestionSettings question = 5;booleanhasSponsors().streamlayer.interactive.EventModeration.SponsorshipSettings sponsors = 6;booleanhasSponsorship()Deprecated.EventModeration.BuildermergeActivatedAt(com.google.protobuf.Timestamp value).google.protobuf.Timestamp activated_at = 8;EventModeration.BuildermergeDeactivatedAt(com.google.protobuf.Timestamp value).google.protobuf.Timestamp deactivated_at = 9;EventModeration.BuildermergeNotification(EventModeration.NotificationSettings value).streamlayer.interactive.EventModeration.NotificationSettings notification = 7;EventModeration.BuildermergeQuestion(EventModeration.QuestionSettings value).streamlayer.interactive.EventModeration.QuestionSettings question = 5;EventModeration.BuildermergeSponsors(EventModeration.SponsorshipSettings value).streamlayer.interactive.EventModeration.SponsorshipSettings sponsors = 6;EventModeration.BuildermergeSponsorship(Sponsorship value)Deprecated.EventModeration.BuildersetActivatedAt(com.google.protobuf.Timestamp value).google.protobuf.Timestamp activated_at = 8;EventModeration.BuildersetActivatedAt(com.google.protobuf.Timestamp.Builder builderForValue).google.protobuf.Timestamp activated_at = 8;EventModeration.BuildersetDeactivatedAt(com.google.protobuf.Timestamp value).google.protobuf.Timestamp deactivated_at = 9;EventModeration.BuildersetDeactivatedAt(com.google.protobuf.Timestamp.Builder builderForValue).google.protobuf.Timestamp deactivated_at = 9;EventModeration.BuildersetEventId(java.lang.String value)string event_id = 2;EventModeration.BuildersetEventIdBytes(com.google.protobuf.ByteString value)string event_id = 2;EventModeration.BuildersetId(java.lang.String value)string id = 1;EventModeration.BuildersetIdBytes(com.google.protobuf.ByteString value)string id = 1;EventModeration.BuildersetNotification(EventModeration.NotificationSettings value).streamlayer.interactive.EventModeration.NotificationSettings notification = 7;EventModeration.BuildersetNotification(EventModeration.NotificationSettings.Builder builderForValue).streamlayer.interactive.EventModeration.NotificationSettings notification = 7;EventModeration.BuildersetOnboardingEnabled(boolean value)bool onboarding_enabled = 4;EventModeration.BuildersetQuestion(EventModeration.QuestionSettings value).streamlayer.interactive.EventModeration.QuestionSettings question = 5;EventModeration.BuildersetQuestion(EventModeration.QuestionSettings.Builder builderForValue).streamlayer.interactive.EventModeration.QuestionSettings question = 5;EventModeration.BuildersetSponsors(EventModeration.SponsorshipSettings value).streamlayer.interactive.EventModeration.SponsorshipSettings sponsors = 6;EventModeration.BuildersetSponsors(EventModeration.SponsorshipSettings.Builder builderForValue).streamlayer.interactive.EventModeration.SponsorshipSettings sponsors = 6;EventModeration.BuildersetSponsorship(Sponsorship value)Deprecated.EventModeration.BuildersetSponsorship(Sponsorship.Builder builderForValue)Deprecated.-
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getId
public java.lang.String getId()
string id = 1;- Specified by:
getIdin interfaceEventModerationOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
string id = 1;- Specified by:
getIdBytesin interfaceEventModerationOrBuilder- Returns:
- The bytes for id.
-
setId
public EventModeration.Builder setId(java.lang.String value)
string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public EventModeration.Builder clearId()
string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
public EventModeration.Builder setIdBytes(com.google.protobuf.ByteString value)
string id = 1;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getEventId
public java.lang.String getEventId()
string event_id = 2;- Specified by:
getEventIdin interfaceEventModerationOrBuilder- Returns:
- The eventId.
-
getEventIdBytes
public com.google.protobuf.ByteString getEventIdBytes()
string event_id = 2;- Specified by:
getEventIdBytesin interfaceEventModerationOrBuilder- Returns:
- The bytes for eventId.
-
setEventId
public EventModeration.Builder setEventId(java.lang.String value)
string event_id = 2;- Parameters:
value- The eventId to set.- Returns:
- This builder for chaining.
-
clearEventId
public EventModeration.Builder clearEventId()
string event_id = 2;- Returns:
- This builder for chaining.
-
setEventIdBytes
public EventModeration.Builder setEventIdBytes(com.google.protobuf.ByteString value)
string event_id = 2;- Parameters:
value- The bytes for eventId to set.- Returns:
- This builder for chaining.
-
hasSponsorship
@Deprecated public boolean hasSponsorship()
Deprecated..streamlayer.interactive.Sponsorship sponsorship = 3 [deprecated = true];- Specified by:
hasSponsorshipin interfaceEventModerationOrBuilder- Returns:
- Whether the sponsorship field is set.
-
getSponsorship
@Deprecated public Sponsorship getSponsorship()
Deprecated..streamlayer.interactive.Sponsorship sponsorship = 3 [deprecated = true];- Specified by:
getSponsorshipin interfaceEventModerationOrBuilder- Returns:
- The sponsorship.
-
setSponsorship
@Deprecated public EventModeration.Builder setSponsorship(Sponsorship value)
Deprecated..streamlayer.interactive.Sponsorship sponsorship = 3 [deprecated = true];
-
setSponsorship
@Deprecated public EventModeration.Builder setSponsorship(Sponsorship.Builder builderForValue)
Deprecated..streamlayer.interactive.Sponsorship sponsorship = 3 [deprecated = true];
-
mergeSponsorship
@Deprecated public EventModeration.Builder mergeSponsorship(Sponsorship value)
Deprecated..streamlayer.interactive.Sponsorship sponsorship = 3 [deprecated = true];
-
clearSponsorship
@Deprecated public EventModeration.Builder clearSponsorship()
Deprecated..streamlayer.interactive.Sponsorship sponsorship = 3 [deprecated = true];
-
getOnboardingEnabled
public boolean getOnboardingEnabled()
bool onboarding_enabled = 4;- Specified by:
getOnboardingEnabledin interfaceEventModerationOrBuilder- Returns:
- The onboardingEnabled.
-
setOnboardingEnabled
public EventModeration.Builder setOnboardingEnabled(boolean value)
bool onboarding_enabled = 4;- Parameters:
value- The onboardingEnabled to set.- Returns:
- This builder for chaining.
-
clearOnboardingEnabled
public EventModeration.Builder clearOnboardingEnabled()
bool onboarding_enabled = 4;- Returns:
- This builder for chaining.
-
hasQuestion
public boolean hasQuestion()
.streamlayer.interactive.EventModeration.QuestionSettings question = 5;- Specified by:
hasQuestionin interfaceEventModerationOrBuilder- Returns:
- Whether the question field is set.
-
getQuestion
public EventModeration.QuestionSettings getQuestion()
.streamlayer.interactive.EventModeration.QuestionSettings question = 5;- Specified by:
getQuestionin interfaceEventModerationOrBuilder- Returns:
- The question.
-
setQuestion
public EventModeration.Builder setQuestion(EventModeration.QuestionSettings value)
.streamlayer.interactive.EventModeration.QuestionSettings question = 5;
-
setQuestion
public EventModeration.Builder setQuestion(EventModeration.QuestionSettings.Builder builderForValue)
.streamlayer.interactive.EventModeration.QuestionSettings question = 5;
-
mergeQuestion
public EventModeration.Builder mergeQuestion(EventModeration.QuestionSettings value)
.streamlayer.interactive.EventModeration.QuestionSettings question = 5;
-
clearQuestion
public EventModeration.Builder clearQuestion()
.streamlayer.interactive.EventModeration.QuestionSettings question = 5;
-
hasSponsors
public boolean hasSponsors()
.streamlayer.interactive.EventModeration.SponsorshipSettings sponsors = 6;- Specified by:
hasSponsorsin interfaceEventModerationOrBuilder- Returns:
- Whether the sponsors field is set.
-
getSponsors
public EventModeration.SponsorshipSettings getSponsors()
.streamlayer.interactive.EventModeration.SponsorshipSettings sponsors = 6;- Specified by:
getSponsorsin interfaceEventModerationOrBuilder- Returns:
- The sponsors.
-
setSponsors
public EventModeration.Builder setSponsors(EventModeration.SponsorshipSettings value)
.streamlayer.interactive.EventModeration.SponsorshipSettings sponsors = 6;
-
setSponsors
public EventModeration.Builder setSponsors(EventModeration.SponsorshipSettings.Builder builderForValue)
.streamlayer.interactive.EventModeration.SponsorshipSettings sponsors = 6;
-
mergeSponsors
public EventModeration.Builder mergeSponsors(EventModeration.SponsorshipSettings value)
.streamlayer.interactive.EventModeration.SponsorshipSettings sponsors = 6;
-
clearSponsors
public EventModeration.Builder clearSponsors()
.streamlayer.interactive.EventModeration.SponsorshipSettings sponsors = 6;
-
hasNotification
public boolean hasNotification()
.streamlayer.interactive.EventModeration.NotificationSettings notification = 7;- Specified by:
hasNotificationin interfaceEventModerationOrBuilder- Returns:
- Whether the notification field is set.
-
getNotification
public EventModeration.NotificationSettings getNotification()
.streamlayer.interactive.EventModeration.NotificationSettings notification = 7;- Specified by:
getNotificationin interfaceEventModerationOrBuilder- Returns:
- The notification.
-
setNotification
public EventModeration.Builder setNotification(EventModeration.NotificationSettings value)
.streamlayer.interactive.EventModeration.NotificationSettings notification = 7;
-
setNotification
public EventModeration.Builder setNotification(EventModeration.NotificationSettings.Builder builderForValue)
.streamlayer.interactive.EventModeration.NotificationSettings notification = 7;
-
mergeNotification
public EventModeration.Builder mergeNotification(EventModeration.NotificationSettings value)
.streamlayer.interactive.EventModeration.NotificationSettings notification = 7;
-
clearNotification
public EventModeration.Builder clearNotification()
.streamlayer.interactive.EventModeration.NotificationSettings notification = 7;
-
hasActivatedAt
public boolean hasActivatedAt()
.google.protobuf.Timestamp activated_at = 8;- Specified by:
hasActivatedAtin interfaceEventModerationOrBuilder- Returns:
- Whether the activatedAt field is set.
-
getActivatedAt
public com.google.protobuf.Timestamp getActivatedAt()
.google.protobuf.Timestamp activated_at = 8;- Specified by:
getActivatedAtin interfaceEventModerationOrBuilder- Returns:
- The activatedAt.
-
setActivatedAt
public EventModeration.Builder setActivatedAt(com.google.protobuf.Timestamp value)
.google.protobuf.Timestamp activated_at = 8;
-
setActivatedAt
public EventModeration.Builder setActivatedAt(com.google.protobuf.Timestamp.Builder builderForValue)
.google.protobuf.Timestamp activated_at = 8;
-
mergeActivatedAt
public EventModeration.Builder mergeActivatedAt(com.google.protobuf.Timestamp value)
.google.protobuf.Timestamp activated_at = 8;
-
clearActivatedAt
public EventModeration.Builder clearActivatedAt()
.google.protobuf.Timestamp activated_at = 8;
-
hasDeactivatedAt
public boolean hasDeactivatedAt()
.google.protobuf.Timestamp deactivated_at = 9;- Specified by:
hasDeactivatedAtin interfaceEventModerationOrBuilder- Returns:
- Whether the deactivatedAt field is set.
-
getDeactivatedAt
public com.google.protobuf.Timestamp getDeactivatedAt()
.google.protobuf.Timestamp deactivated_at = 9;- Specified by:
getDeactivatedAtin interfaceEventModerationOrBuilder- Returns:
- The deactivatedAt.
-
setDeactivatedAt
public EventModeration.Builder setDeactivatedAt(com.google.protobuf.Timestamp value)
.google.protobuf.Timestamp deactivated_at = 9;
-
setDeactivatedAt
public EventModeration.Builder setDeactivatedAt(com.google.protobuf.Timestamp.Builder builderForValue)
.google.protobuf.Timestamp deactivated_at = 9;
-
mergeDeactivatedAt
public EventModeration.Builder mergeDeactivatedAt(com.google.protobuf.Timestamp value)
.google.protobuf.Timestamp deactivated_at = 9;
-
clearDeactivatedAt
public EventModeration.Builder clearDeactivatedAt()
.google.protobuf.Timestamp deactivated_at = 9;
-
-