Class SampleSetProto.SampleSetPB.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessage.Builder<SampleSetProto.SampleSetPB.Builder>
-
- com.inductiveautomation.gateway.tags.history.util.SampleSetProto.SampleSetPB.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,SampleSetProto.SampleSetPBOrBuilder
,java.lang.Cloneable
- Enclosing class:
- SampleSetProto.SampleSetPB
public static final class SampleSetProto.SampleSetPB.Builder extends com.google.protobuf.GeneratedMessage.Builder<SampleSetProto.SampleSetPB.Builder> implements SampleSetProto.SampleSetPBOrBuilder
Protobuf typeSampleSetPB
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SampleSetProto.SampleSetPB.Builder
addAllTags(java.lang.Iterable<? extends SampleSetProto.TagPB> values)
repeated .TagPB tags = 4;
SampleSetProto.SampleSetPB.Builder
addTags(int index, SampleSetProto.TagPB value)
repeated .TagPB tags = 4;
SampleSetProto.SampleSetPB.Builder
addTags(int index, SampleSetProto.TagPB.Builder builderForValue)
repeated .TagPB tags = 4;
SampleSetProto.SampleSetPB.Builder
addTags(SampleSetProto.TagPB value)
repeated .TagPB tags = 4;
SampleSetProto.SampleSetPB.Builder
addTags(SampleSetProto.TagPB.Builder builderForValue)
repeated .TagPB tags = 4;
SampleSetProto.TagPB.Builder
addTagsBuilder()
repeated .TagPB tags = 4;
SampleSetProto.TagPB.Builder
addTagsBuilder(int index)
repeated .TagPB tags = 4;
SampleSetProto.SampleSetPB
build()
SampleSetProto.SampleSetPB
buildPartial()
SampleSetProto.SampleSetPB.Builder
clear()
SampleSetProto.SampleSetPB.Builder
clearIsretire()
optional bool isretire = 8;
SampleSetProto.SampleSetPB.Builder
clearProviderId()
optional string providerId = 2;
SampleSetProto.SampleSetPB.Builder
clearSamplerate()
optional int32 samplerate = 9;
SampleSetProto.SampleSetPB.Builder
clearScanclassName()
optional string scanclassName = 7;
SampleSetProto.SampleSetPB.Builder
clearSystemId()
optional string systemId = 1;
SampleSetProto.SampleSetPB.Builder
clearTags()
repeated .TagPB tags = 4;
SampleSetProto.SampleSetPB.Builder
clearTargetHistorian()
optional string targetHistorian = 6;
SampleSetProto.SampleSetPB.Builder
clearTstamp()
optional int64 tstamp = 3;
SampleSetProto.SampleSetPB
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
boolean
getIsretire()
optional bool isretire = 8;
java.util.Map<java.lang.Integer,SampleSetProto.TagValuesPB>
getMutableValues()
map<int32, .TagValuesPB> values = 5;
java.lang.String
getProviderId()
optional string providerId = 2;
com.google.protobuf.ByteString
getProviderIdBytes()
optional string providerId = 2;
int
getSamplerate()
optional int32 samplerate = 9;
java.lang.String
getScanclassName()
optional string scanclassName = 7;
com.google.protobuf.ByteString
getScanclassNameBytes()
optional string scanclassName = 7;
java.lang.String
getSystemId()
optional string systemId = 1;
com.google.protobuf.ByteString
getSystemIdBytes()
optional string systemId = 1;
SampleSetProto.TagPB
getTags(int index)
repeated .TagPB tags = 4;
SampleSetProto.TagPB.Builder
getTagsBuilder(int index)
repeated .TagPB tags = 4;
java.util.List<SampleSetProto.TagPB.Builder>
getTagsBuilderList()
repeated .TagPB tags = 4;
int
getTagsCount()
repeated .TagPB tags = 4;
java.util.List<SampleSetProto.TagPB>
getTagsList()
repeated .TagPB tags = 4;
SampleSetProto.TagPBOrBuilder
getTagsOrBuilder(int index)
repeated .TagPB tags = 4;
java.util.List<? extends SampleSetProto.TagPBOrBuilder>
getTagsOrBuilderList()
repeated .TagPB tags = 4;
java.lang.String
getTargetHistorian()
optional string targetHistorian = 6;
com.google.protobuf.ByteString
getTargetHistorianBytes()
optional string targetHistorian = 6;
long
getTstamp()
optional int64 tstamp = 3;
java.util.Map<java.lang.Integer,SampleSetProto.TagValuesPB>
getValues()
map<int32, .TagValuesPB> values = 5;
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
SampleSetProto.SampleSetPB.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
SampleSetProto.SampleSetPB.Builder
mergeFrom(com.google.protobuf.Message other)
SampleSetProto.SampleSetPB.Builder
mergeFrom(SampleSetProto.SampleSetPB other)
SampleSetProto.SampleSetPB.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
SampleSetProto.SampleSetPB.Builder
putAllValues(java.util.Map<java.lang.Integer,SampleSetProto.TagValuesPB> values)
map<int32, .TagValuesPB> values = 5;
SampleSetProto.SampleSetPB.Builder
removeTags(int index)
repeated .TagPB tags = 4;
SampleSetProto.SampleSetPB.Builder
setIsretire(boolean value)
optional bool isretire = 8;
SampleSetProto.SampleSetPB.Builder
setProviderId(java.lang.String value)
optional string providerId = 2;
SampleSetProto.SampleSetPB.Builder
setProviderIdBytes(com.google.protobuf.ByteString value)
optional string providerId = 2;
SampleSetProto.SampleSetPB.Builder
setSamplerate(int value)
optional int32 samplerate = 9;
SampleSetProto.SampleSetPB.Builder
setScanclassName(java.lang.String value)
optional string scanclassName = 7;
SampleSetProto.SampleSetPB.Builder
setScanclassNameBytes(com.google.protobuf.ByteString value)
optional string scanclassName = 7;
SampleSetProto.SampleSetPB.Builder
setSystemId(java.lang.String value)
optional string systemId = 1;
SampleSetProto.SampleSetPB.Builder
setSystemIdBytes(com.google.protobuf.ByteString value)
optional string systemId = 1;
SampleSetProto.SampleSetPB.Builder
setTags(int index, SampleSetProto.TagPB value)
repeated .TagPB tags = 4;
SampleSetProto.SampleSetPB.Builder
setTags(int index, SampleSetProto.TagPB.Builder builderForValue)
repeated .TagPB tags = 4;
SampleSetProto.SampleSetPB.Builder
setTargetHistorian(java.lang.String value)
optional string targetHistorian = 6;
SampleSetProto.SampleSetPB.Builder
setTargetHistorianBytes(com.google.protobuf.ByteString value)
optional string targetHistorian = 6;
SampleSetProto.SampleSetPB.Builder
setTstamp(long value)
optional int64 tstamp = 3;
SampleSetProto.SampleSetPB.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField
-
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()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessage.Builder<SampleSetProto.SampleSetPB.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessage.Builder<SampleSetProto.SampleSetPB.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<SampleSetProto.SampleSetPB.Builder>
-
clear
public SampleSetProto.SampleSetPB.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.GeneratedMessage.Builder<SampleSetProto.SampleSetPB.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.GeneratedMessage.Builder<SampleSetProto.SampleSetPB.Builder>
-
getDefaultInstanceForType
public SampleSetProto.SampleSetPB getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public SampleSetProto.SampleSetPB build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public SampleSetProto.SampleSetPB buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public SampleSetProto.SampleSetPB.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<SampleSetProto.SampleSetPB.Builder>
-
mergeFrom
public SampleSetProto.SampleSetPB.Builder mergeFrom(SampleSetProto.SampleSetPB other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<SampleSetProto.SampleSetPB.Builder>
-
mergeFrom
public SampleSetProto.SampleSetPB.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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<SampleSetProto.SampleSetPB.Builder>
- Throws:
java.io.IOException
-
getSystemId
public java.lang.String getSystemId()
optional string systemId = 1;
- Specified by:
getSystemId
in interfaceSampleSetProto.SampleSetPBOrBuilder
-
getSystemIdBytes
public com.google.protobuf.ByteString getSystemIdBytes()
optional string systemId = 1;
- Specified by:
getSystemIdBytes
in interfaceSampleSetProto.SampleSetPBOrBuilder
-
setSystemId
public SampleSetProto.SampleSetPB.Builder setSystemId(java.lang.String value)
optional string systemId = 1;
-
clearSystemId
public SampleSetProto.SampleSetPB.Builder clearSystemId()
optional string systemId = 1;
-
setSystemIdBytes
public SampleSetProto.SampleSetPB.Builder setSystemIdBytes(com.google.protobuf.ByteString value)
optional string systemId = 1;
-
getProviderId
public java.lang.String getProviderId()
optional string providerId = 2;
- Specified by:
getProviderId
in interfaceSampleSetProto.SampleSetPBOrBuilder
-
getProviderIdBytes
public com.google.protobuf.ByteString getProviderIdBytes()
optional string providerId = 2;
- Specified by:
getProviderIdBytes
in interfaceSampleSetProto.SampleSetPBOrBuilder
-
setProviderId
public SampleSetProto.SampleSetPB.Builder setProviderId(java.lang.String value)
optional string providerId = 2;
-
clearProviderId
public SampleSetProto.SampleSetPB.Builder clearProviderId()
optional string providerId = 2;
-
setProviderIdBytes
public SampleSetProto.SampleSetPB.Builder setProviderIdBytes(com.google.protobuf.ByteString value)
optional string providerId = 2;
-
getTstamp
public long getTstamp()
optional int64 tstamp = 3;
- Specified by:
getTstamp
in interfaceSampleSetProto.SampleSetPBOrBuilder
-
setTstamp
public SampleSetProto.SampleSetPB.Builder setTstamp(long value)
optional int64 tstamp = 3;
-
clearTstamp
public SampleSetProto.SampleSetPB.Builder clearTstamp()
optional int64 tstamp = 3;
-
getTagsList
public java.util.List<SampleSetProto.TagPB> getTagsList()
repeated .TagPB tags = 4;
A list of Tag definitions. The same path with other options could be in here multiple times, and would correspond to different entries in the values map.
- Specified by:
getTagsList
in interfaceSampleSetProto.SampleSetPBOrBuilder
-
getTagsCount
public int getTagsCount()
repeated .TagPB tags = 4;
A list of Tag definitions. The same path with other options could be in here multiple times, and would correspond to different entries in the values map.
- Specified by:
getTagsCount
in interfaceSampleSetProto.SampleSetPBOrBuilder
-
getTags
public SampleSetProto.TagPB getTags(int index)
repeated .TagPB tags = 4;
A list of Tag definitions. The same path with other options could be in here multiple times, and would correspond to different entries in the values map.
- Specified by:
getTags
in interfaceSampleSetProto.SampleSetPBOrBuilder
-
setTags
public SampleSetProto.SampleSetPB.Builder setTags(int index, SampleSetProto.TagPB value)
repeated .TagPB tags = 4;
A list of Tag definitions. The same path with other options could be in here multiple times, and would correspond to different entries in the values map.
-
setTags
public SampleSetProto.SampleSetPB.Builder setTags(int index, SampleSetProto.TagPB.Builder builderForValue)
repeated .TagPB tags = 4;
A list of Tag definitions. The same path with other options could be in here multiple times, and would correspond to different entries in the values map.
-
addTags
public SampleSetProto.SampleSetPB.Builder addTags(SampleSetProto.TagPB value)
repeated .TagPB tags = 4;
A list of Tag definitions. The same path with other options could be in here multiple times, and would correspond to different entries in the values map.
-
addTags
public SampleSetProto.SampleSetPB.Builder addTags(int index, SampleSetProto.TagPB value)
repeated .TagPB tags = 4;
A list of Tag definitions. The same path with other options could be in here multiple times, and would correspond to different entries in the values map.
-
addTags
public SampleSetProto.SampleSetPB.Builder addTags(SampleSetProto.TagPB.Builder builderForValue)
repeated .TagPB tags = 4;
A list of Tag definitions. The same path with other options could be in here multiple times, and would correspond to different entries in the values map.
-
addTags
public SampleSetProto.SampleSetPB.Builder addTags(int index, SampleSetProto.TagPB.Builder builderForValue)
repeated .TagPB tags = 4;
A list of Tag definitions. The same path with other options could be in here multiple times, and would correspond to different entries in the values map.
-
addAllTags
public SampleSetProto.SampleSetPB.Builder addAllTags(java.lang.Iterable<? extends SampleSetProto.TagPB> values)
repeated .TagPB tags = 4;
A list of Tag definitions. The same path with other options could be in here multiple times, and would correspond to different entries in the values map.
-
clearTags
public SampleSetProto.SampleSetPB.Builder clearTags()
repeated .TagPB tags = 4;
A list of Tag definitions. The same path with other options could be in here multiple times, and would correspond to different entries in the values map.
-
removeTags
public SampleSetProto.SampleSetPB.Builder removeTags(int index)
repeated .TagPB tags = 4;
A list of Tag definitions. The same path with other options could be in here multiple times, and would correspond to different entries in the values map.
-
getTagsBuilder
public SampleSetProto.TagPB.Builder getTagsBuilder(int index)
repeated .TagPB tags = 4;
A list of Tag definitions. The same path with other options could be in here multiple times, and would correspond to different entries in the values map.
-
getTagsOrBuilder
public SampleSetProto.TagPBOrBuilder getTagsOrBuilder(int index)
repeated .TagPB tags = 4;
A list of Tag definitions. The same path with other options could be in here multiple times, and would correspond to different entries in the values map.
- Specified by:
getTagsOrBuilder
in interfaceSampleSetProto.SampleSetPBOrBuilder
-
getTagsOrBuilderList
public java.util.List<? extends SampleSetProto.TagPBOrBuilder> getTagsOrBuilderList()
repeated .TagPB tags = 4;
A list of Tag definitions. The same path with other options could be in here multiple times, and would correspond to different entries in the values map.
- Specified by:
getTagsOrBuilderList
in interfaceSampleSetProto.SampleSetPBOrBuilder
-
addTagsBuilder
public SampleSetProto.TagPB.Builder addTagsBuilder()
repeated .TagPB tags = 4;
A list of Tag definitions. The same path with other options could be in here multiple times, and would correspond to different entries in the values map.
-
addTagsBuilder
public SampleSetProto.TagPB.Builder addTagsBuilder(int index)
repeated .TagPB tags = 4;
A list of Tag definitions. The same path with other options could be in here multiple times, and would correspond to different entries in the values map.
-
getTagsBuilderList
public java.util.List<SampleSetProto.TagPB.Builder> getTagsBuilderList()
repeated .TagPB tags = 4;
A list of Tag definitions. The same path with other options could be in here multiple times, and would correspond to different entries in the values map.
-
getValues
public java.util.Map<java.lang.Integer,SampleSetProto.TagValuesPB> getValues()
map<int32, .TagValuesPB> values = 5;
The key is the index into the tags array.
- Specified by:
getValues
in interfaceSampleSetProto.SampleSetPBOrBuilder
-
getMutableValues
public java.util.Map<java.lang.Integer,SampleSetProto.TagValuesPB> getMutableValues()
map<int32, .TagValuesPB> values = 5;
The key is the index into the tags array.
-
putAllValues
public SampleSetProto.SampleSetPB.Builder putAllValues(java.util.Map<java.lang.Integer,SampleSetProto.TagValuesPB> values)
map<int32, .TagValuesPB> values = 5;
The key is the index into the tags array.
-
getTargetHistorian
public java.lang.String getTargetHistorian()
optional string targetHistorian = 6;
- Specified by:
getTargetHistorian
in interfaceSampleSetProto.SampleSetPBOrBuilder
-
getTargetHistorianBytes
public com.google.protobuf.ByteString getTargetHistorianBytes()
optional string targetHistorian = 6;
- Specified by:
getTargetHistorianBytes
in interfaceSampleSetProto.SampleSetPBOrBuilder
-
setTargetHistorian
public SampleSetProto.SampleSetPB.Builder setTargetHistorian(java.lang.String value)
optional string targetHistorian = 6;
-
clearTargetHistorian
public SampleSetProto.SampleSetPB.Builder clearTargetHistorian()
optional string targetHistorian = 6;
-
setTargetHistorianBytes
public SampleSetProto.SampleSetPB.Builder setTargetHistorianBytes(com.google.protobuf.ByteString value)
optional string targetHistorian = 6;
-
getScanclassName
public java.lang.String getScanclassName()
optional string scanclassName = 7;
- Specified by:
getScanclassName
in interfaceSampleSetProto.SampleSetPBOrBuilder
-
getScanclassNameBytes
public com.google.protobuf.ByteString getScanclassNameBytes()
optional string scanclassName = 7;
- Specified by:
getScanclassNameBytes
in interfaceSampleSetProto.SampleSetPBOrBuilder
-
setScanclassName
public SampleSetProto.SampleSetPB.Builder setScanclassName(java.lang.String value)
optional string scanclassName = 7;
-
clearScanclassName
public SampleSetProto.SampleSetPB.Builder clearScanclassName()
optional string scanclassName = 7;
-
setScanclassNameBytes
public SampleSetProto.SampleSetPB.Builder setScanclassNameBytes(com.google.protobuf.ByteString value)
optional string scanclassName = 7;
-
getIsretire
public boolean getIsretire()
optional bool isretire = 8;
- Specified by:
getIsretire
in interfaceSampleSetProto.SampleSetPBOrBuilder
-
setIsretire
public SampleSetProto.SampleSetPB.Builder setIsretire(boolean value)
optional bool isretire = 8;
-
clearIsretire
public SampleSetProto.SampleSetPB.Builder clearIsretire()
optional bool isretire = 8;
-
getSamplerate
public int getSamplerate()
optional int32 samplerate = 9;
- Specified by:
getSamplerate
in interfaceSampleSetProto.SampleSetPBOrBuilder
-
setSamplerate
public SampleSetProto.SampleSetPB.Builder setSamplerate(int value)
optional int32 samplerate = 9;
-
clearSamplerate
public SampleSetProto.SampleSetPB.Builder clearSamplerate()
optional int32 samplerate = 9;
-
setUnknownFields
public final SampleSetProto.SampleSetPB.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessage.Builder<SampleSetProto.SampleSetPB.Builder>
-
mergeUnknownFields
public final SampleSetProto.SampleSetPB.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessage.Builder<SampleSetProto.SampleSetPB.Builder>
-
-