Class CreateRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<CreateRequest,CreateRequest.Builder>
-
- com.streamlayer.interactive.question.CreateRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,CreateRequestOrBuilder,java.lang.Cloneable
- Enclosing class:
- CreateRequest
public static final class CreateRequest.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<CreateRequest,CreateRequest.Builder> implements CreateRequestOrBuilder
Protobuf typestreamlayer.interactive.question.CreateRequest
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateRequest.BuilderclearBypassNotifications().streamlayer.interactive.BypassNotifications bypass_notifications = 6 [json_name = "bypassNotifications"];CreateRequest.BuilderclearModerationId()string moderation_id = 1 [json_name = "moderationId"];CreateRequest.BuilderclearOrganizationId()string organization_id = 4 [json_name = "organizationId"];CreateRequest.BuilderclearQuestion().streamlayer.interactive.Question question = 3 [json_name = "question"];CreateRequest.BuilderclearServerNotification().streamlayer.interactive.ServerNotificationOptions server_notification = 5 [json_name = "serverNotification"];CreateRequest.BuilderclearType().streamlayer.interactive.QuestionType type = 2 [json_name = "type"];BypassNotificationsgetBypassNotifications().streamlayer.interactive.BypassNotifications bypass_notifications = 6 [json_name = "bypassNotifications"];java.lang.StringgetModerationId()string moderation_id = 1 [json_name = "moderationId"];com.google.protobuf.ByteStringgetModerationIdBytes()string moderation_id = 1 [json_name = "moderationId"];java.lang.StringgetOrganizationId()string organization_id = 4 [json_name = "organizationId"];com.google.protobuf.ByteStringgetOrganizationIdBytes()string organization_id = 4 [json_name = "organizationId"];QuestiongetQuestion().streamlayer.interactive.Question question = 3 [json_name = "question"];ServerNotificationOptionsgetServerNotification().streamlayer.interactive.ServerNotificationOptions server_notification = 5 [json_name = "serverNotification"];QuestionTypegetType().streamlayer.interactive.QuestionType type = 2 [json_name = "type"];intgetTypeValue().streamlayer.interactive.QuestionType type = 2 [json_name = "type"];booleanhasBypassNotifications().streamlayer.interactive.BypassNotifications bypass_notifications = 6 [json_name = "bypassNotifications"];booleanhasQuestion().streamlayer.interactive.Question question = 3 [json_name = "question"];booleanhasServerNotification().streamlayer.interactive.ServerNotificationOptions server_notification = 5 [json_name = "serverNotification"];CreateRequest.BuildermergeBypassNotifications(BypassNotifications value).streamlayer.interactive.BypassNotifications bypass_notifications = 6 [json_name = "bypassNotifications"];CreateRequest.BuildermergeQuestion(Question value).streamlayer.interactive.Question question = 3 [json_name = "question"];CreateRequest.BuildermergeServerNotification(ServerNotificationOptions value).streamlayer.interactive.ServerNotificationOptions server_notification = 5 [json_name = "serverNotification"];CreateRequest.BuildersetBypassNotifications(BypassNotifications value).streamlayer.interactive.BypassNotifications bypass_notifications = 6 [json_name = "bypassNotifications"];CreateRequest.BuildersetBypassNotifications(BypassNotifications.Builder builderForValue).streamlayer.interactive.BypassNotifications bypass_notifications = 6 [json_name = "bypassNotifications"];CreateRequest.BuildersetModerationId(java.lang.String value)string moderation_id = 1 [json_name = "moderationId"];CreateRequest.BuildersetModerationIdBytes(com.google.protobuf.ByteString value)string moderation_id = 1 [json_name = "moderationId"];CreateRequest.BuildersetOrganizationId(java.lang.String value)string organization_id = 4 [json_name = "organizationId"];CreateRequest.BuildersetOrganizationIdBytes(com.google.protobuf.ByteString value)string organization_id = 4 [json_name = "organizationId"];CreateRequest.BuildersetQuestion(Question value).streamlayer.interactive.Question question = 3 [json_name = "question"];CreateRequest.BuildersetQuestion(Question.Builder builderForValue).streamlayer.interactive.Question question = 3 [json_name = "question"];CreateRequest.BuildersetServerNotification(ServerNotificationOptions value).streamlayer.interactive.ServerNotificationOptions server_notification = 5 [json_name = "serverNotification"];CreateRequest.BuildersetServerNotification(ServerNotificationOptions.Builder builderForValue).streamlayer.interactive.ServerNotificationOptions server_notification = 5 [json_name = "serverNotification"];CreateRequest.BuildersetType(QuestionType value).streamlayer.interactive.QuestionType type = 2 [json_name = "type"];CreateRequest.BuildersetTypeValue(int value).streamlayer.interactive.QuestionType type = 2 [json_name = "type"];-
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
-
getModerationId
public java.lang.String getModerationId()
string moderation_id = 1 [json_name = "moderationId"];- Specified by:
getModerationIdin interfaceCreateRequestOrBuilder- Returns:
- The moderationId.
-
getModerationIdBytes
public com.google.protobuf.ByteString getModerationIdBytes()
string moderation_id = 1 [json_name = "moderationId"];- Specified by:
getModerationIdBytesin interfaceCreateRequestOrBuilder- Returns:
- The bytes for moderationId.
-
setModerationId
public CreateRequest.Builder setModerationId(java.lang.String value)
string moderation_id = 1 [json_name = "moderationId"];- Parameters:
value- The moderationId to set.- Returns:
- This builder for chaining.
-
clearModerationId
public CreateRequest.Builder clearModerationId()
string moderation_id = 1 [json_name = "moderationId"];- Returns:
- This builder for chaining.
-
setModerationIdBytes
public CreateRequest.Builder setModerationIdBytes(com.google.protobuf.ByteString value)
string moderation_id = 1 [json_name = "moderationId"];- Parameters:
value- The bytes for moderationId to set.- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue()
.streamlayer.interactive.QuestionType type = 2 [json_name = "type"];- Specified by:
getTypeValuein interfaceCreateRequestOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
public CreateRequest.Builder setTypeValue(int value)
.streamlayer.interactive.QuestionType type = 2 [json_name = "type"];- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
getType
public QuestionType getType()
.streamlayer.interactive.QuestionType type = 2 [json_name = "type"];- Specified by:
getTypein interfaceCreateRequestOrBuilder- Returns:
- The type.
-
setType
public CreateRequest.Builder setType(QuestionType value)
.streamlayer.interactive.QuestionType type = 2 [json_name = "type"];- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
clearType
public CreateRequest.Builder clearType()
.streamlayer.interactive.QuestionType type = 2 [json_name = "type"];- Returns:
- This builder for chaining.
-
hasQuestion
public boolean hasQuestion()
.streamlayer.interactive.Question question = 3 [json_name = "question"];- Specified by:
hasQuestionin interfaceCreateRequestOrBuilder- Returns:
- Whether the question field is set.
-
getQuestion
public Question getQuestion()
.streamlayer.interactive.Question question = 3 [json_name = "question"];- Specified by:
getQuestionin interfaceCreateRequestOrBuilder- Returns:
- The question.
-
setQuestion
public CreateRequest.Builder setQuestion(Question value)
.streamlayer.interactive.Question question = 3 [json_name = "question"];
-
setQuestion
public CreateRequest.Builder setQuestion(Question.Builder builderForValue)
.streamlayer.interactive.Question question = 3 [json_name = "question"];
-
mergeQuestion
public CreateRequest.Builder mergeQuestion(Question value)
.streamlayer.interactive.Question question = 3 [json_name = "question"];
-
clearQuestion
public CreateRequest.Builder clearQuestion()
.streamlayer.interactive.Question question = 3 [json_name = "question"];
-
getOrganizationId
public java.lang.String getOrganizationId()
string organization_id = 4 [json_name = "organizationId"];- Specified by:
getOrganizationIdin interfaceCreateRequestOrBuilder- Returns:
- The organizationId.
-
getOrganizationIdBytes
public com.google.protobuf.ByteString getOrganizationIdBytes()
string organization_id = 4 [json_name = "organizationId"];- Specified by:
getOrganizationIdBytesin interfaceCreateRequestOrBuilder- Returns:
- The bytes for organizationId.
-
setOrganizationId
public CreateRequest.Builder setOrganizationId(java.lang.String value)
string organization_id = 4 [json_name = "organizationId"];- Parameters:
value- The organizationId to set.- Returns:
- This builder for chaining.
-
clearOrganizationId
public CreateRequest.Builder clearOrganizationId()
string organization_id = 4 [json_name = "organizationId"];- Returns:
- This builder for chaining.
-
setOrganizationIdBytes
public CreateRequest.Builder setOrganizationIdBytes(com.google.protobuf.ByteString value)
string organization_id = 4 [json_name = "organizationId"];- Parameters:
value- The bytes for organizationId to set.- Returns:
- This builder for chaining.
-
hasServerNotification
public boolean hasServerNotification()
.streamlayer.interactive.ServerNotificationOptions server_notification = 5 [json_name = "serverNotification"];- Specified by:
hasServerNotificationin interfaceCreateRequestOrBuilder- Returns:
- Whether the serverNotification field is set.
-
getServerNotification
public ServerNotificationOptions getServerNotification()
.streamlayer.interactive.ServerNotificationOptions server_notification = 5 [json_name = "serverNotification"];- Specified by:
getServerNotificationin interfaceCreateRequestOrBuilder- Returns:
- The serverNotification.
-
setServerNotification
public CreateRequest.Builder setServerNotification(ServerNotificationOptions value)
.streamlayer.interactive.ServerNotificationOptions server_notification = 5 [json_name = "serverNotification"];
-
setServerNotification
public CreateRequest.Builder setServerNotification(ServerNotificationOptions.Builder builderForValue)
.streamlayer.interactive.ServerNotificationOptions server_notification = 5 [json_name = "serverNotification"];
-
mergeServerNotification
public CreateRequest.Builder mergeServerNotification(ServerNotificationOptions value)
.streamlayer.interactive.ServerNotificationOptions server_notification = 5 [json_name = "serverNotification"];
-
clearServerNotification
public CreateRequest.Builder clearServerNotification()
.streamlayer.interactive.ServerNotificationOptions server_notification = 5 [json_name = "serverNotification"];
-
hasBypassNotifications
public boolean hasBypassNotifications()
.streamlayer.interactive.BypassNotifications bypass_notifications = 6 [json_name = "bypassNotifications"];- Specified by:
hasBypassNotificationsin interfaceCreateRequestOrBuilder- Returns:
- Whether the bypassNotifications field is set.
-
getBypassNotifications
public BypassNotifications getBypassNotifications()
.streamlayer.interactive.BypassNotifications bypass_notifications = 6 [json_name = "bypassNotifications"];- Specified by:
getBypassNotificationsin interfaceCreateRequestOrBuilder- Returns:
- The bypassNotifications.
-
setBypassNotifications
public CreateRequest.Builder setBypassNotifications(BypassNotifications value)
.streamlayer.interactive.BypassNotifications bypass_notifications = 6 [json_name = "bypassNotifications"];
-
setBypassNotifications
public CreateRequest.Builder setBypassNotifications(BypassNotifications.Builder builderForValue)
.streamlayer.interactive.BypassNotifications bypass_notifications = 6 [json_name = "bypassNotifications"];
-
mergeBypassNotifications
public CreateRequest.Builder mergeBypassNotifications(BypassNotifications value)
.streamlayer.interactive.BypassNotifications bypass_notifications = 6 [json_name = "bypassNotifications"];
-
clearBypassNotifications
public CreateRequest.Builder clearBypassNotifications()
.streamlayer.interactive.BypassNotifications bypass_notifications = 6 [json_name = "bypassNotifications"];
-
-