Package org.drasyl.remote.protocol
Class Protocol.Application.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Protocol.Application.Builder>
-
- org.drasyl.remote.protocol.Protocol.Application.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Protocol.ApplicationOrBuilder
- Enclosing class:
- Protocol.Application
public static final class Protocol.Application.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Protocol.Application.Builder> implements Protocol.ApplicationOrBuilder
Protobuf typeorg.drasyl.remote.protocol.Application
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Protocol.Application.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Protocol.Application
build()
Protocol.Application
buildPartial()
Protocol.Application.Builder
clear()
Protocol.Application.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Protocol.Application.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Protocol.Application.Builder
clearPayload()
bytes payload = 1;
Protocol.Application.Builder
clearType()
string type = 2;
Protocol.Application.Builder
clone()
Protocol.Application
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.ByteString
getPayload()
bytes payload = 1;
String
getType()
string type = 2;
com.google.protobuf.ByteString
getTypeBytes()
string type = 2;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Protocol.Application.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Protocol.Application.Builder
mergeFrom(com.google.protobuf.Message other)
Protocol.Application.Builder
mergeFrom(Protocol.Application other)
Protocol.Application.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Protocol.Application.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Protocol.Application.Builder
setPayload(com.google.protobuf.ByteString value)
bytes payload = 1;
Protocol.Application.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Protocol.Application.Builder
setType(String value)
string type = 2;
Protocol.Application.Builder
setTypeBytes(com.google.protobuf.ByteString value)
string type = 2;
Protocol.Application.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Protocol.Application.Builder>
-
clear
public Protocol.Application.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Protocol.Application.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Protocol.Application.Builder>
-
getDefaultInstanceForType
public Protocol.Application getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Protocol.Application build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Protocol.Application buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Protocol.Application.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Protocol.Application.Builder>
-
setField
public Protocol.Application.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Protocol.Application.Builder>
-
clearField
public Protocol.Application.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Protocol.Application.Builder>
-
clearOneof
public Protocol.Application.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Protocol.Application.Builder>
-
setRepeatedField
public Protocol.Application.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Protocol.Application.Builder>
-
addRepeatedField
public Protocol.Application.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Protocol.Application.Builder>
-
mergeFrom
public Protocol.Application.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Protocol.Application.Builder>
-
mergeFrom
public Protocol.Application.Builder mergeFrom(Protocol.Application other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Protocol.Application.Builder>
-
mergeFrom
public Protocol.Application.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Protocol.Application.Builder>
- Throws:
IOException
-
getPayload
public com.google.protobuf.ByteString getPayload()
bytes payload = 1;
- Specified by:
getPayload
in interfaceProtocol.ApplicationOrBuilder
- Returns:
- The payload.
-
setPayload
public Protocol.Application.Builder setPayload(com.google.protobuf.ByteString value)
bytes payload = 1;
- Parameters:
value
- The payload to set.- Returns:
- This builder for chaining.
-
clearPayload
public Protocol.Application.Builder clearPayload()
bytes payload = 1;
- Returns:
- This builder for chaining.
-
getType
public String getType()
string type = 2;
- Specified by:
getType
in interfaceProtocol.ApplicationOrBuilder
- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()
string type = 2;
- Specified by:
getTypeBytes
in interfaceProtocol.ApplicationOrBuilder
- Returns:
- The bytes for type.
-
setType
public Protocol.Application.Builder setType(String value)
string type = 2;
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
public Protocol.Application.Builder clearType()
string type = 2;
- Returns:
- This builder for chaining.
-
setTypeBytes
public Protocol.Application.Builder setTypeBytes(com.google.protobuf.ByteString value)
string type = 2;
- Parameters:
value
- The bytes for type to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Protocol.Application.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Protocol.Application.Builder>
-
mergeUnknownFields
public final Protocol.Application.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Protocol.Application.Builder>
-
-