Class FailNotification.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<FailNotification,FailNotification.Builder>
-
- com.streamlayer.pushNotification.common.FailNotification.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,FailNotificationOrBuilder,java.lang.Cloneable
- Enclosing class:
- FailNotification
public static final class FailNotification.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<FailNotification,FailNotification.Builder> implements FailNotificationOrBuilder
Protobuf typestreamlayer.pushNotification.FailNotification
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FailNotification.BuilderclearDevice()string device = 1 [json_name = "device"];FailNotification.BuilderclearResponse().streamlayer.pushNotification.FailNotification.FailNotificationResponse response = 3 [json_name = "response"];FailNotification.BuilderclearStatus()int32 status = 2 [json_name = "status"];java.lang.StringgetDevice()string device = 1 [json_name = "device"];com.google.protobuf.ByteStringgetDeviceBytes()string device = 1 [json_name = "device"];FailNotification.FailNotificationResponsegetResponse().streamlayer.pushNotification.FailNotification.FailNotificationResponse response = 3 [json_name = "response"];intgetStatus()int32 status = 2 [json_name = "status"];booleanhasResponse().streamlayer.pushNotification.FailNotification.FailNotificationResponse response = 3 [json_name = "response"];FailNotification.BuildermergeResponse(FailNotification.FailNotificationResponse value).streamlayer.pushNotification.FailNotification.FailNotificationResponse response = 3 [json_name = "response"];FailNotification.BuildersetDevice(java.lang.String value)string device = 1 [json_name = "device"];FailNotification.BuildersetDeviceBytes(com.google.protobuf.ByteString value)string device = 1 [json_name = "device"];FailNotification.BuildersetResponse(FailNotification.FailNotificationResponse value).streamlayer.pushNotification.FailNotification.FailNotificationResponse response = 3 [json_name = "response"];FailNotification.BuildersetResponse(FailNotification.FailNotificationResponse.Builder builderForValue).streamlayer.pushNotification.FailNotification.FailNotificationResponse response = 3 [json_name = "response"];FailNotification.BuildersetStatus(int value)int32 status = 2 [json_name = "status"];-
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
-
getDevice
public java.lang.String getDevice()
string device = 1 [json_name = "device"];- Specified by:
getDevicein interfaceFailNotificationOrBuilder- Returns:
- The device.
-
getDeviceBytes
public com.google.protobuf.ByteString getDeviceBytes()
string device = 1 [json_name = "device"];- Specified by:
getDeviceBytesin interfaceFailNotificationOrBuilder- Returns:
- The bytes for device.
-
setDevice
public FailNotification.Builder setDevice(java.lang.String value)
string device = 1 [json_name = "device"];- Parameters:
value- The device to set.- Returns:
- This builder for chaining.
-
clearDevice
public FailNotification.Builder clearDevice()
string device = 1 [json_name = "device"];- Returns:
- This builder for chaining.
-
setDeviceBytes
public FailNotification.Builder setDeviceBytes(com.google.protobuf.ByteString value)
string device = 1 [json_name = "device"];- Parameters:
value- The bytes for device to set.- Returns:
- This builder for chaining.
-
getStatus
public int getStatus()
int32 status = 2 [json_name = "status"];- Specified by:
getStatusin interfaceFailNotificationOrBuilder- Returns:
- The status.
-
setStatus
public FailNotification.Builder setStatus(int value)
int32 status = 2 [json_name = "status"];- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
clearStatus
public FailNotification.Builder clearStatus()
int32 status = 2 [json_name = "status"];- Returns:
- This builder for chaining.
-
hasResponse
public boolean hasResponse()
.streamlayer.pushNotification.FailNotification.FailNotificationResponse response = 3 [json_name = "response"];- Specified by:
hasResponsein interfaceFailNotificationOrBuilder- Returns:
- Whether the response field is set.
-
getResponse
public FailNotification.FailNotificationResponse getResponse()
.streamlayer.pushNotification.FailNotification.FailNotificationResponse response = 3 [json_name = "response"];- Specified by:
getResponsein interfaceFailNotificationOrBuilder- Returns:
- The response.
-
setResponse
public FailNotification.Builder setResponse(FailNotification.FailNotificationResponse value)
.streamlayer.pushNotification.FailNotification.FailNotificationResponse response = 3 [json_name = "response"];
-
setResponse
public FailNotification.Builder setResponse(FailNotification.FailNotificationResponse.Builder builderForValue)
.streamlayer.pushNotification.FailNotification.FailNotificationResponse response = 3 [json_name = "response"];
-
mergeResponse
public FailNotification.Builder mergeResponse(FailNotification.FailNotificationResponse value)
.streamlayer.pushNotification.FailNotification.FailNotificationResponse response = 3 [json_name = "response"];
-
clearResponse
public FailNotification.Builder clearResponse()
.streamlayer.pushNotification.FailNotification.FailNotificationResponse response = 3 [json_name = "response"];
-
-