Class DeleteRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<DeleteRequest,DeleteRequest.Builder>
-
- com.streamlayer.interactive.library.DeleteRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,DeleteRequestOrBuilder,java.lang.Cloneable
- Enclosing class:
- DeleteRequest
public static final class DeleteRequest.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<DeleteRequest,DeleteRequest.Builder> implements DeleteRequestOrBuilder
Protobuf typestreamlayer.interactive.library.DeleteRequest
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeleteRequest.BuilderaddAllIds(java.lang.Iterable<java.lang.String> values)repeated string ids = 2 [json_name = "ids"];DeleteRequest.BuilderaddIds(java.lang.String value)repeated string ids = 2 [json_name = "ids"];DeleteRequest.BuilderaddIdsBytes(com.google.protobuf.ByteString value)repeated string ids = 2 [json_name = "ids"];DeleteRequest.BuilderclearId()string id = 1 [json_name = "id"];DeleteRequest.BuilderclearIds()repeated string ids = 2 [json_name = "ids"];DeleteRequest.BuilderclearOrganizationId()string organization_id = 3 [json_name = "organizationId"];DeleteRequest.BuilderclearPermanent()permanent: if supplied the template will be deleted permanently, e.g.DeleteRequest.BuilderclearServerNotification().streamlayer.interactive.ServerNotificationOptions server_notification = 5 [json_name = "serverNotification"];java.lang.StringgetId()string id = 1 [json_name = "id"];com.google.protobuf.ByteStringgetIdBytes()string id = 1 [json_name = "id"];java.lang.StringgetIds(int index)repeated string ids = 2 [json_name = "ids"];com.google.protobuf.ByteStringgetIdsBytes(int index)repeated string ids = 2 [json_name = "ids"];intgetIdsCount()repeated string ids = 2 [json_name = "ids"];java.util.List<java.lang.String>getIdsList()repeated string ids = 2 [json_name = "ids"];java.lang.StringgetOrganizationId()string organization_id = 3 [json_name = "organizationId"];com.google.protobuf.ByteStringgetOrganizationIdBytes()string organization_id = 3 [json_name = "organizationId"];booleangetPermanent()permanent: if supplied the template will be deleted permanently, e.g.ServerNotificationOptionsgetServerNotification().streamlayer.interactive.ServerNotificationOptions server_notification = 5 [json_name = "serverNotification"];booleanhasServerNotification().streamlayer.interactive.ServerNotificationOptions server_notification = 5 [json_name = "serverNotification"];DeleteRequest.BuildermergeServerNotification(ServerNotificationOptions value).streamlayer.interactive.ServerNotificationOptions server_notification = 5 [json_name = "serverNotification"];DeleteRequest.BuildersetId(java.lang.String value)string id = 1 [json_name = "id"];DeleteRequest.BuildersetIdBytes(com.google.protobuf.ByteString value)string id = 1 [json_name = "id"];DeleteRequest.BuildersetIds(int index, java.lang.String value)repeated string ids = 2 [json_name = "ids"];DeleteRequest.BuildersetOrganizationId(java.lang.String value)string organization_id = 3 [json_name = "organizationId"];DeleteRequest.BuildersetOrganizationIdBytes(com.google.protobuf.ByteString value)string organization_id = 3 [json_name = "organizationId"];DeleteRequest.BuildersetPermanent(boolean value)permanent: if supplied the template will be deleted permanently, e.g.DeleteRequest.BuildersetServerNotification(ServerNotificationOptions value).streamlayer.interactive.ServerNotificationOptions server_notification = 5 [json_name = "serverNotification"];DeleteRequest.BuildersetServerNotification(ServerNotificationOptions.Builder builderForValue).streamlayer.interactive.ServerNotificationOptions server_notification = 5 [json_name = "serverNotification"];-
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 [json_name = "id"];- Specified by:
getIdin interfaceDeleteRequestOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
string id = 1 [json_name = "id"];- Specified by:
getIdBytesin interfaceDeleteRequestOrBuilder- Returns:
- The bytes for id.
-
setId
public DeleteRequest.Builder setId(java.lang.String value)
string id = 1 [json_name = "id"];- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public DeleteRequest.Builder clearId()
string id = 1 [json_name = "id"];- Returns:
- This builder for chaining.
-
setIdBytes
public DeleteRequest.Builder setIdBytes(com.google.protobuf.ByteString value)
string id = 1 [json_name = "id"];- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getIdsList
public java.util.List<java.lang.String> getIdsList()
repeated string ids = 2 [json_name = "ids"];- Specified by:
getIdsListin interfaceDeleteRequestOrBuilder- Returns:
- A list containing the ids.
-
getIdsCount
public int getIdsCount()
repeated string ids = 2 [json_name = "ids"];- Specified by:
getIdsCountin interfaceDeleteRequestOrBuilder- Returns:
- The count of ids.
-
getIds
public java.lang.String getIds(int index)
repeated string ids = 2 [json_name = "ids"];- Specified by:
getIdsin interfaceDeleteRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The ids at the given index.
-
getIdsBytes
public com.google.protobuf.ByteString getIdsBytes(int index)
repeated string ids = 2 [json_name = "ids"];- Specified by:
getIdsBytesin interfaceDeleteRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the ids at the given index.
-
setIds
public DeleteRequest.Builder setIds(int index, java.lang.String value)
repeated string ids = 2 [json_name = "ids"];- Parameters:
index- The index to set the value at.value- The ids to set.- Returns:
- This builder for chaining.
-
addIds
public DeleteRequest.Builder addIds(java.lang.String value)
repeated string ids = 2 [json_name = "ids"];- Parameters:
value- The ids to add.- Returns:
- This builder for chaining.
-
addAllIds
public DeleteRequest.Builder addAllIds(java.lang.Iterable<java.lang.String> values)
repeated string ids = 2 [json_name = "ids"];- Parameters:
values- The ids to add.- Returns:
- This builder for chaining.
-
clearIds
public DeleteRequest.Builder clearIds()
repeated string ids = 2 [json_name = "ids"];- Returns:
- This builder for chaining.
-
addIdsBytes
public DeleteRequest.Builder addIdsBytes(com.google.protobuf.ByteString value)
repeated string ids = 2 [json_name = "ids"];- Parameters:
value- The bytes of the ids to add.- Returns:
- This builder for chaining.
-
getOrganizationId
public java.lang.String getOrganizationId()
string organization_id = 3 [json_name = "organizationId"];- Specified by:
getOrganizationIdin interfaceDeleteRequestOrBuilder- Returns:
- The organizationId.
-
getOrganizationIdBytes
public com.google.protobuf.ByteString getOrganizationIdBytes()
string organization_id = 3 [json_name = "organizationId"];- Specified by:
getOrganizationIdBytesin interfaceDeleteRequestOrBuilder- Returns:
- The bytes for organizationId.
-
setOrganizationId
public DeleteRequest.Builder setOrganizationId(java.lang.String value)
string organization_id = 3 [json_name = "organizationId"];- Parameters:
value- The organizationId to set.- Returns:
- This builder for chaining.
-
clearOrganizationId
public DeleteRequest.Builder clearOrganizationId()
string organization_id = 3 [json_name = "organizationId"];- Returns:
- This builder for chaining.
-
setOrganizationIdBytes
public DeleteRequest.Builder setOrganizationIdBytes(com.google.protobuf.ByteString value)
string organization_id = 3 [json_name = "organizationId"];- Parameters:
value- The bytes for organizationId to set.- Returns:
- This builder for chaining.
-
getPermanent
public boolean getPermanent()
permanent: if supplied the template will be deleted permanently, e.g. it will not be available in a list of recently deleted items (see "show_deleted" in ListRequestFilter)
bool permanent = 4 [json_name = "permanent"];- Specified by:
getPermanentin interfaceDeleteRequestOrBuilder- Returns:
- The permanent.
-
setPermanent
public DeleteRequest.Builder setPermanent(boolean value)
permanent: if supplied the template will be deleted permanently, e.g. it will not be available in a list of recently deleted items (see "show_deleted" in ListRequestFilter)
bool permanent = 4 [json_name = "permanent"];- Parameters:
value- The permanent to set.- Returns:
- This builder for chaining.
-
clearPermanent
public DeleteRequest.Builder clearPermanent()
permanent: if supplied the template will be deleted permanently, e.g. it will not be available in a list of recently deleted items (see "show_deleted" in ListRequestFilter)
bool permanent = 4 [json_name = "permanent"];- Returns:
- This builder for chaining.
-
hasServerNotification
public boolean hasServerNotification()
.streamlayer.interactive.ServerNotificationOptions server_notification = 5 [json_name = "serverNotification"];- Specified by:
hasServerNotificationin interfaceDeleteRequestOrBuilder- Returns:
- Whether the serverNotification field is set.
-
getServerNotification
public ServerNotificationOptions getServerNotification()
.streamlayer.interactive.ServerNotificationOptions server_notification = 5 [json_name = "serverNotification"];- Specified by:
getServerNotificationin interfaceDeleteRequestOrBuilder- Returns:
- The serverNotification.
-
setServerNotification
public DeleteRequest.Builder setServerNotification(ServerNotificationOptions value)
.streamlayer.interactive.ServerNotificationOptions server_notification = 5 [json_name = "serverNotification"];
-
setServerNotification
public DeleteRequest.Builder setServerNotification(ServerNotificationOptions.Builder builderForValue)
.streamlayer.interactive.ServerNotificationOptions server_notification = 5 [json_name = "serverNotification"];
-
mergeServerNotification
public DeleteRequest.Builder mergeServerNotification(ServerNotificationOptions value)
.streamlayer.interactive.ServerNotificationOptions server_notification = 5 [json_name = "serverNotification"];
-
clearServerNotification
public DeleteRequest.Builder clearServerNotification()
.streamlayer.interactive.ServerNotificationOptions server_notification = 5 [json_name = "serverNotification"];
-
-