com.eurotech.framework.core.message.protobuf
Class EsfPayloadProto.EsfPayload.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<BuilderType>
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessage.ExtendableBuilder<EsfPayloadProto.EsfPayload,EsfPayloadProto.EsfPayload.Builder>
com.eurotech.framework.core.message.protobuf.EsfPayloadProto.EsfPayload.Builder
- All Implemented Interfaces:
- EsfPayloadProto.EsfPayloadOrBuilder, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<EsfPayloadProto.EsfPayload>, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
- Enclosing class:
- EsfPayloadProto.EsfPayload
public static final class EsfPayloadProto.EsfPayload.Builder
- extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<EsfPayloadProto.EsfPayload,EsfPayloadProto.EsfPayload.Builder>
- implements EsfPayloadProto.EsfPayloadOrBuilder
Methods inherited from class com.google.protobuf.GeneratedMessage.ExtendableBuilder |
addExtension, addRepeatedField, clearExtension, clearField, extensionsAreInitialized, getAllFields, getExtension, getExtension, getExtensionCount, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasField, mergeExtensionFields, parseUnknownField, setExtension, setExtension, setField, setRepeatedField |
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder |
getParentForChildren, getUnknownFields, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, setUnknownFields |
Methods inherited from class com.google.protobuf.AbstractMessage.Builder |
mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException |
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder |
addAll, newUninitializedMessageException |
Methods inherited from interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder |
getExtension, getExtension, getExtensionCount, hasExtension |
Methods inherited from interface com.google.protobuf.MessageOrBuilder |
getAllFields, getField, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField |
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<EsfPayloadProto.EsfPayload.Builder>
clear
public EsfPayloadProto.EsfPayload.Builder clear()
- Specified by:
clear
in interface com.google.protobuf.Message.Builder
- Specified by:
clear
in interface com.google.protobuf.MessageLite.Builder
- Overrides:
clear
in class com.google.protobuf.GeneratedMessage.ExtendableBuilder<EsfPayloadProto.EsfPayload,EsfPayloadProto.EsfPayload.Builder>
clone
public EsfPayloadProto.EsfPayload.Builder clone()
- Specified by:
clone
in interface com.google.protobuf.Message.Builder
- Specified by:
clone
in interface com.google.protobuf.MessageLite.Builder
- Overrides:
clone
in class com.google.protobuf.GeneratedMessage.ExtendableBuilder<EsfPayloadProto.EsfPayload,EsfPayloadProto.EsfPayload.Builder>
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interface com.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<EsfPayloadProto.EsfPayload.Builder>
getDefaultInstanceForType
public EsfPayloadProto.EsfPayload getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
build
public EsfPayloadProto.EsfPayload build()
- Specified by:
build
in interface com.google.protobuf.Message.Builder
- Specified by:
build
in interface com.google.protobuf.MessageLite.Builder
buildPartial
public EsfPayloadProto.EsfPayload buildPartial()
- Specified by:
buildPartial
in interface com.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
public EsfPayloadProto.EsfPayload.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interface com.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<EsfPayloadProto.EsfPayload.Builder>
mergeFrom
public EsfPayloadProto.EsfPayload.Builder mergeFrom(EsfPayloadProto.EsfPayload other)
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in class com.google.protobuf.GeneratedMessage.ExtendableBuilder<EsfPayloadProto.EsfPayload,EsfPayloadProto.EsfPayload.Builder>
mergeFrom
public EsfPayloadProto.EsfPayload.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws IOException
- Specified by:
mergeFrom
in interface com.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<EsfPayloadProto.EsfPayload.Builder>
- Throws:
IOException
hasTimestamp
public boolean hasTimestamp()
- Specified by:
hasTimestamp
in interface EsfPayloadProto.EsfPayloadOrBuilder
getTimestamp
public long getTimestamp()
- Specified by:
getTimestamp
in interface EsfPayloadProto.EsfPayloadOrBuilder
setTimestamp
public EsfPayloadProto.EsfPayload.Builder setTimestamp(long value)
clearTimestamp
public EsfPayloadProto.EsfPayload.Builder clearTimestamp()
hasPosition
public boolean hasPosition()
- Specified by:
hasPosition
in interface EsfPayloadProto.EsfPayloadOrBuilder
getPosition
public EsfPayloadProto.EsfPayload.EsfPosition getPosition()
- Specified by:
getPosition
in interface EsfPayloadProto.EsfPayloadOrBuilder
setPosition
public EsfPayloadProto.EsfPayload.Builder setPosition(EsfPayloadProto.EsfPayload.EsfPosition value)
setPosition
public EsfPayloadProto.EsfPayload.Builder setPosition(EsfPayloadProto.EsfPayload.EsfPosition.Builder builderForValue)
mergePosition
public EsfPayloadProto.EsfPayload.Builder mergePosition(EsfPayloadProto.EsfPayload.EsfPosition value)
clearPosition
public EsfPayloadProto.EsfPayload.Builder clearPosition()
getPositionBuilder
public EsfPayloadProto.EsfPayload.EsfPosition.Builder getPositionBuilder()
getPositionOrBuilder
public EsfPayloadProto.EsfPayload.EsfPositionOrBuilder getPositionOrBuilder()
- Specified by:
getPositionOrBuilder
in interface EsfPayloadProto.EsfPayloadOrBuilder
getMetricList
public List<EsfPayloadProto.EsfPayload.EsfMetric> getMetricList()
- Specified by:
getMetricList
in interface EsfPayloadProto.EsfPayloadOrBuilder
getMetricCount
public int getMetricCount()
- Specified by:
getMetricCount
in interface EsfPayloadProto.EsfPayloadOrBuilder
getMetric
public EsfPayloadProto.EsfPayload.EsfMetric getMetric(int index)
- Specified by:
getMetric
in interface EsfPayloadProto.EsfPayloadOrBuilder
setMetric
public EsfPayloadProto.EsfPayload.Builder setMetric(int index,
EsfPayloadProto.EsfPayload.EsfMetric value)
setMetric
public EsfPayloadProto.EsfPayload.Builder setMetric(int index,
EsfPayloadProto.EsfPayload.EsfMetric.Builder builderForValue)
addMetric
public EsfPayloadProto.EsfPayload.Builder addMetric(EsfPayloadProto.EsfPayload.EsfMetric value)
addMetric
public EsfPayloadProto.EsfPayload.Builder addMetric(int index,
EsfPayloadProto.EsfPayload.EsfMetric value)
addMetric
public EsfPayloadProto.EsfPayload.Builder addMetric(EsfPayloadProto.EsfPayload.EsfMetric.Builder builderForValue)
addMetric
public EsfPayloadProto.EsfPayload.Builder addMetric(int index,
EsfPayloadProto.EsfPayload.EsfMetric.Builder builderForValue)
addAllMetric
public EsfPayloadProto.EsfPayload.Builder addAllMetric(Iterable<? extends EsfPayloadProto.EsfPayload.EsfMetric> values)
clearMetric
public EsfPayloadProto.EsfPayload.Builder clearMetric()
removeMetric
public EsfPayloadProto.EsfPayload.Builder removeMetric(int index)
getMetricBuilder
public EsfPayloadProto.EsfPayload.EsfMetric.Builder getMetricBuilder(int index)
getMetricOrBuilder
public EsfPayloadProto.EsfPayload.EsfMetricOrBuilder getMetricOrBuilder(int index)
- Specified by:
getMetricOrBuilder
in interface EsfPayloadProto.EsfPayloadOrBuilder
getMetricOrBuilderList
public List<? extends EsfPayloadProto.EsfPayload.EsfMetricOrBuilder> getMetricOrBuilderList()
- Specified by:
getMetricOrBuilderList
in interface EsfPayloadProto.EsfPayloadOrBuilder
addMetricBuilder
public EsfPayloadProto.EsfPayload.EsfMetric.Builder addMetricBuilder()
addMetricBuilder
public EsfPayloadProto.EsfPayload.EsfMetric.Builder addMetricBuilder(int index)
getMetricBuilderList
public List<EsfPayloadProto.EsfPayload.EsfMetric.Builder> getMetricBuilderList()
hasBody
public boolean hasBody()
- Specified by:
hasBody
in interface EsfPayloadProto.EsfPayloadOrBuilder
getBody
public com.google.protobuf.ByteString getBody()
- Specified by:
getBody
in interface EsfPayloadProto.EsfPayloadOrBuilder
setBody
public EsfPayloadProto.EsfPayload.Builder setBody(com.google.protobuf.ByteString value)
clearBody
public EsfPayloadProto.EsfPayload.Builder clearBody()
Copyright © 2013. All Rights Reserved.