Class BasicResultProto.BasicResultPB.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<BasicResultProto.BasicResultPB.Builder>
com.inductiveautomation.historian.common.protobuf.BasicResultProto.BasicResultPB.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,BasicResultProto.BasicResultPBOrBuilder,Cloneable
- Enclosing class:
- BasicResultProto.BasicResultPB
public static final class BasicResultProto.BasicResultPB.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<BasicResultProto.BasicResultPB.Builder>
implements BasicResultProto.BasicResultPBOrBuilder
Protobuf type
common.protobuf.BasicResultPB-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear().common.protobuf.DisplayPathPB displayPath = 1;clearField(com.google.protobuf.Descriptors.FieldDescriptor field) bool hasChildren = 3;clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) .common.protobuf.QualifiedPathPB qualifiedPath = 2;optional string type = 4;clone()booleancontainsMetadata(String key) map<string, .common.protobuf.GenericObjectPB> metadata = 5;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptor.common.protobuf.DisplayPathPB displayPath = 1;.common.protobuf.DisplayPathPB displayPath = 1;.common.protobuf.DisplayPathPB displayPath = 1;booleanbool hasChildren = 3;Deprecated.intmap<string, .common.protobuf.GenericObjectPB> metadata = 5;map<string, .common.protobuf.GenericObjectPB> metadata = 5;getMetadataOrDefault(String key, GenericObjectProto.GenericObjectPB defaultValue) map<string, .common.protobuf.GenericObjectPB> metadata = 5;getMetadataOrThrow(String key) map<string, .common.protobuf.GenericObjectPB> metadata = 5;Deprecated..common.protobuf.QualifiedPathPB qualifiedPath = 2;.common.protobuf.QualifiedPathPB qualifiedPath = 2;.common.protobuf.QualifiedPathPB qualifiedPath = 2;getType()optional string type = 4;com.google.protobuf.ByteStringoptional string type = 4;boolean.common.protobuf.DisplayPathPB displayPath = 1;boolean.common.protobuf.QualifiedPathPB qualifiedPath = 2;booleanhasType()optional string type = 4;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final boolean.common.protobuf.DisplayPathPB displayPath = 1;mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) .common.protobuf.QualifiedPathPB qualifiedPath = 2;mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) map<string, .common.protobuf.GenericObjectPB> metadata = 5;putMetadata(String key, GenericObjectProto.GenericObjectPB value) map<string, .common.protobuf.GenericObjectPB> metadata = 5;map<string, .common.protobuf.GenericObjectPB> metadata = 5;removeMetadata(String key) map<string, .common.protobuf.GenericObjectPB> metadata = 5;.common.protobuf.DisplayPathPB displayPath = 1;setDisplayPath(BasicResultProto.DisplayPathPB.Builder builderForValue) .common.protobuf.DisplayPathPB displayPath = 1;setHasChildren(boolean value) bool hasChildren = 3;.common.protobuf.QualifiedPathPB qualifiedPath = 2;setQualifiedPath(QualifiedPathProto.QualifiedPathPB.Builder builderForValue) .common.protobuf.QualifiedPathPB qualifiedPath = 2;setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) optional string type = 4;setTypeBytes(com.google.protobuf.ByteString value) optional string type = 4;setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<BasicResultProto.BasicResultPB.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<BasicResultProto.BasicResultPB.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<BasicResultProto.BasicResultPB.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<BasicResultProto.BasicResultPB.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<BasicResultProto.BasicResultPB.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<BasicResultProto.BasicResultPB.Builder>
-
setField
public BasicResultProto.BasicResultPB.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BasicResultProto.BasicResultPB.Builder>
-
clearField
public BasicResultProto.BasicResultPB.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BasicResultProto.BasicResultPB.Builder>
-
clearOneof
public BasicResultProto.BasicResultPB.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BasicResultProto.BasicResultPB.Builder>
-
setRepeatedField
public BasicResultProto.BasicResultPB.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BasicResultProto.BasicResultPB.Builder>
-
addRepeatedField
public BasicResultProto.BasicResultPB.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BasicResultProto.BasicResultPB.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BasicResultProto.BasicResultPB.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BasicResultProto.BasicResultPB.Builder>
-
mergeFrom
public BasicResultProto.BasicResultPB.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BasicResultProto.BasicResultPB.Builder>- Throws:
IOException
-
hasDisplayPath
public boolean hasDisplayPath().common.protobuf.DisplayPathPB displayPath = 1;- Specified by:
hasDisplayPathin interfaceBasicResultProto.BasicResultPBOrBuilder- Returns:
- Whether the displayPath field is set.
-
getDisplayPath
.common.protobuf.DisplayPathPB displayPath = 1;- Specified by:
getDisplayPathin interfaceBasicResultProto.BasicResultPBOrBuilder- Returns:
- The displayPath.
-
setDisplayPath
.common.protobuf.DisplayPathPB displayPath = 1; -
setDisplayPath
public BasicResultProto.BasicResultPB.Builder setDisplayPath(BasicResultProto.DisplayPathPB.Builder builderForValue) .common.protobuf.DisplayPathPB displayPath = 1; -
mergeDisplayPath
public BasicResultProto.BasicResultPB.Builder mergeDisplayPath(BasicResultProto.DisplayPathPB value) .common.protobuf.DisplayPathPB displayPath = 1; -
clearDisplayPath
.common.protobuf.DisplayPathPB displayPath = 1; -
getDisplayPathBuilder
.common.protobuf.DisplayPathPB displayPath = 1; -
getDisplayPathOrBuilder
.common.protobuf.DisplayPathPB displayPath = 1;- Specified by:
getDisplayPathOrBuilderin interfaceBasicResultProto.BasicResultPBOrBuilder
-
hasQualifiedPath
public boolean hasQualifiedPath().common.protobuf.QualifiedPathPB qualifiedPath = 2;- Specified by:
hasQualifiedPathin interfaceBasicResultProto.BasicResultPBOrBuilder- Returns:
- Whether the qualifiedPath field is set.
-
getQualifiedPath
.common.protobuf.QualifiedPathPB qualifiedPath = 2;- Specified by:
getQualifiedPathin interfaceBasicResultProto.BasicResultPBOrBuilder- Returns:
- The qualifiedPath.
-
setQualifiedPath
public BasicResultProto.BasicResultPB.Builder setQualifiedPath(QualifiedPathProto.QualifiedPathPB value) .common.protobuf.QualifiedPathPB qualifiedPath = 2; -
setQualifiedPath
public BasicResultProto.BasicResultPB.Builder setQualifiedPath(QualifiedPathProto.QualifiedPathPB.Builder builderForValue) .common.protobuf.QualifiedPathPB qualifiedPath = 2; -
mergeQualifiedPath
public BasicResultProto.BasicResultPB.Builder mergeQualifiedPath(QualifiedPathProto.QualifiedPathPB value) .common.protobuf.QualifiedPathPB qualifiedPath = 2; -
clearQualifiedPath
.common.protobuf.QualifiedPathPB qualifiedPath = 2; -
getQualifiedPathBuilder
.common.protobuf.QualifiedPathPB qualifiedPath = 2; -
getQualifiedPathOrBuilder
.common.protobuf.QualifiedPathPB qualifiedPath = 2;- Specified by:
getQualifiedPathOrBuilderin interfaceBasicResultProto.BasicResultPBOrBuilder
-
getHasChildren
public boolean getHasChildren()bool hasChildren = 3;- Specified by:
getHasChildrenin interfaceBasicResultProto.BasicResultPBOrBuilder- Returns:
- The hasChildren.
-
setHasChildren
bool hasChildren = 3;- Parameters:
value- The hasChildren to set.- Returns:
- This builder for chaining.
-
clearHasChildren
bool hasChildren = 3;- Returns:
- This builder for chaining.
-
hasType
public boolean hasType()optional string type = 4;- Specified by:
hasTypein interfaceBasicResultProto.BasicResultPBOrBuilder- Returns:
- Whether the type field is set.
-
getType
optional string type = 4;- Specified by:
getTypein interfaceBasicResultProto.BasicResultPBOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()optional string type = 4;- Specified by:
getTypeBytesin interfaceBasicResultProto.BasicResultPBOrBuilder- Returns:
- The bytes for type.
-
setType
optional string type = 4;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
optional string type = 4;- Returns:
- This builder for chaining.
-
setTypeBytes
optional string type = 4;- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-
getMetadataCount
public int getMetadataCount()Description copied from interface:BasicResultProto.BasicResultPBOrBuildermap<string, .common.protobuf.GenericObjectPB> metadata = 5;- Specified by:
getMetadataCountin interfaceBasicResultProto.BasicResultPBOrBuilder
-
containsMetadata
map<string, .common.protobuf.GenericObjectPB> metadata = 5;- Specified by:
containsMetadatain interfaceBasicResultProto.BasicResultPBOrBuilder
-
getMetadata
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfaceBasicResultProto.BasicResultPBOrBuilder
-
getMetadataMap
map<string, .common.protobuf.GenericObjectPB> metadata = 5;- Specified by:
getMetadataMapin interfaceBasicResultProto.BasicResultPBOrBuilder
-
getMetadataOrDefault
public GenericObjectProto.GenericObjectPB getMetadataOrDefault(String key, GenericObjectProto.GenericObjectPB defaultValue) map<string, .common.protobuf.GenericObjectPB> metadata = 5;- Specified by:
getMetadataOrDefaultin interfaceBasicResultProto.BasicResultPBOrBuilder
-
getMetadataOrThrow
map<string, .common.protobuf.GenericObjectPB> metadata = 5;- Specified by:
getMetadataOrThrowin interfaceBasicResultProto.BasicResultPBOrBuilder
-
clearMetadata
-
removeMetadata
map<string, .common.protobuf.GenericObjectPB> metadata = 5; -
getMutableMetadata
Deprecated.Use alternate mutation accessors instead. -
putMetadata
public BasicResultProto.BasicResultPB.Builder putMetadata(String key, GenericObjectProto.GenericObjectPB value) map<string, .common.protobuf.GenericObjectPB> metadata = 5; -
putAllMetadata
public BasicResultProto.BasicResultPB.Builder putAllMetadata(Map<String, GenericObjectProto.GenericObjectPB> values) map<string, .common.protobuf.GenericObjectPB> metadata = 5; -
putMetadataBuilderIfAbsent
map<string, .common.protobuf.GenericObjectPB> metadata = 5; -
setUnknownFields
public final BasicResultProto.BasicResultPB.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BasicResultProto.BasicResultPB.Builder>
-
mergeUnknownFields
public final BasicResultProto.BasicResultPB.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BasicResultProto.BasicResultPB.Builder>
-