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()
boolean
containsMetadata
(String key) map<string, .common.protobuf.GenericObjectPB> metadata = 5;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
.common.protobuf.DisplayPathPB displayPath = 1;
.common.protobuf.DisplayPathPB displayPath = 1;
.common.protobuf.DisplayPathPB displayPath = 1;
boolean
bool hasChildren = 3;
Deprecated.int
map<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.ByteString
optional string type = 4;
boolean
.common.protobuf.DisplayPathPB displayPath = 1;
boolean
.common.protobuf.QualifiedPathPB qualifiedPath = 2;
boolean
hasType()
optional string type = 4;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMapFieldReflection
(int number) protected com.google.protobuf.MapFieldReflectionAccessor
internalGetMutableMapFieldReflection
(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, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetMapFieldReflection
in classcom.google.protobuf.GeneratedMessageV3.Builder<BasicResultProto.BasicResultPB.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflection
in classcom.google.protobuf.GeneratedMessageV3.Builder<BasicResultProto.BasicResultPB.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<BasicResultProto.BasicResultPB.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<BasicResultProto.BasicResultPB.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<BasicResultProto.BasicResultPB.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.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<BasicResultProto.BasicResultPB.Builder>
-
setField
public BasicResultProto.BasicResultPB.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<BasicResultProto.BasicResultPB.Builder>
-
clearField
public BasicResultProto.BasicResultPB.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<BasicResultProto.BasicResultPB.Builder>
-
clearOneof
public BasicResultProto.BasicResultPB.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<BasicResultProto.BasicResultPB.Builder>
-
setRepeatedField
public BasicResultProto.BasicResultPB.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<BasicResultProto.BasicResultPB.Builder>
-
addRepeatedField
public BasicResultProto.BasicResultPB.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<BasicResultProto.BasicResultPB.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BasicResultProto.BasicResultPB.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BasicResultProto.BasicResultPB.Builder>
- Throws:
IOException
-
hasDisplayPath
public boolean hasDisplayPath().common.protobuf.DisplayPathPB displayPath = 1;
- Specified by:
hasDisplayPath
in interfaceBasicResultProto.BasicResultPBOrBuilder
- Returns:
- Whether the displayPath field is set.
-
getDisplayPath
.common.protobuf.DisplayPathPB displayPath = 1;
- Specified by:
getDisplayPath
in 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:
getDisplayPathOrBuilder
in interfaceBasicResultProto.BasicResultPBOrBuilder
-
hasQualifiedPath
public boolean hasQualifiedPath().common.protobuf.QualifiedPathPB qualifiedPath = 2;
- Specified by:
hasQualifiedPath
in interfaceBasicResultProto.BasicResultPBOrBuilder
- Returns:
- Whether the qualifiedPath field is set.
-
getQualifiedPath
.common.protobuf.QualifiedPathPB qualifiedPath = 2;
- Specified by:
getQualifiedPath
in 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:
getQualifiedPathOrBuilder
in interfaceBasicResultProto.BasicResultPBOrBuilder
-
getHasChildren
public boolean getHasChildren()bool hasChildren = 3;
- Specified by:
getHasChildren
in 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:
hasType
in interfaceBasicResultProto.BasicResultPBOrBuilder
- Returns:
- Whether the type field is set.
-
getType
optional string type = 4;
- Specified by:
getType
in interfaceBasicResultProto.BasicResultPBOrBuilder
- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()optional string type = 4;
- Specified by:
getTypeBytes
in 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.BasicResultPBOrBuilder
map<string, .common.protobuf.GenericObjectPB> metadata = 5;
- Specified by:
getMetadataCount
in interfaceBasicResultProto.BasicResultPBOrBuilder
-
containsMetadata
map<string, .common.protobuf.GenericObjectPB> metadata = 5;
- Specified by:
containsMetadata
in interfaceBasicResultProto.BasicResultPBOrBuilder
-
getMetadata
Deprecated.UsegetMetadataMap()
instead.- Specified by:
getMetadata
in interfaceBasicResultProto.BasicResultPBOrBuilder
-
getMetadataMap
map<string, .common.protobuf.GenericObjectPB> metadata = 5;
- Specified by:
getMetadataMap
in interfaceBasicResultProto.BasicResultPBOrBuilder
-
getMetadataOrDefault
public GenericObjectProto.GenericObjectPB getMetadataOrDefault(String key, GenericObjectProto.GenericObjectPB defaultValue) map<string, .common.protobuf.GenericObjectPB> metadata = 5;
- Specified by:
getMetadataOrDefault
in interfaceBasicResultProto.BasicResultPBOrBuilder
-
getMetadataOrThrow
map<string, .common.protobuf.GenericObjectPB> metadata = 5;
- Specified by:
getMetadataOrThrow
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BasicResultProto.BasicResultPB.Builder>
-
mergeUnknownFields
public final BasicResultProto.BasicResultPB.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BasicResultProto.BasicResultPB.Builder>
-