Class EffectiveResourceProto.EffectiveResourcePB.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<EffectiveResourceProto.EffectiveResourcePB.Builder>
com.inductiveautomation.ignition.common.protocolbuffers.EffectiveResourceProto.EffectiveResourcePB.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,EffectiveResourceProto.EffectiveResourcePBOrBuilder
,Cloneable
- Enclosing class:
- EffectiveResourceProto.EffectiveResourcePB
public static final class EffectiveResourceProto.EffectiveResourcePB.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<EffectiveResourceProto.EffectiveResourcePB.Builder>
implements EffectiveResourceProto.EffectiveResourcePBOrBuilder
com.inductiveautomation.ignition.common.resourcecollection.EffectiveResourceProtobuf type
common.protobuf.EffectiveResourcePB
-
Method Summary
Modifier and TypeMethodDescriptionaddAllDefiningCollectionNames
(Iterable<String> values) repeated string definingCollectionNames = 3;
addDefiningCollectionNames
(String value) repeated string definingCollectionNames = 3;
addDefiningCollectionNamesBytes
(com.google.protobuf.ByteString value) repeated string definingCollectionNames = 3;
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
string collectionName = 1;
repeated string definingCollectionNames = 3;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) We can't define both a generic ResourcePB file and an EffectiveResourcePB file that reference to each other.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()
string collectionName = 1;
com.google.protobuf.ByteString
string collectionName = 1;
getDefiningCollectionNames
(int index) repeated string definingCollectionNames = 3;
com.google.protobuf.ByteString
getDefiningCollectionNamesBytes
(int index) repeated string definingCollectionNames = 3;
int
repeated string definingCollectionNames = 3;
com.google.protobuf.ProtocolStringList
repeated string definingCollectionNames = 3;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
We can't define both a generic ResourcePB file and an EffectiveResourcePB file that reference to each other.We can't define both a generic ResourcePB file and an EffectiveResourcePB file that reference to each other.We can't define both a generic ResourcePB file and an EffectiveResourcePB file that reference to each other.boolean
We can't define both a generic ResourcePB file and an EffectiveResourcePB file that reference to each other.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) We can't define both a generic ResourcePB file and an EffectiveResourcePB file that reference to each other.mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setCollectionName
(String value) string collectionName = 1;
setCollectionNameBytes
(com.google.protobuf.ByteString value) string collectionName = 1;
setDefiningCollectionNames
(int index, String value) repeated string definingCollectionNames = 3;
We can't define both a generic ResourcePB file and an EffectiveResourcePB file that reference to each other.setImmutableResource
(ImmutableResourceProto.ImmutableResourcePB.Builder builderForValue) We can't define both a generic ResourcePB file and an EffectiveResourcePB file that reference to each other.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) 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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<EffectiveResourceProto.EffectiveResourcePB.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<EffectiveResourceProto.EffectiveResourcePB.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<EffectiveResourceProto.EffectiveResourcePB.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<EffectiveResourceProto.EffectiveResourcePB.Builder>
-
setField
public EffectiveResourceProto.EffectiveResourcePB.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<EffectiveResourceProto.EffectiveResourcePB.Builder>
-
clearField
public EffectiveResourceProto.EffectiveResourcePB.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<EffectiveResourceProto.EffectiveResourcePB.Builder>
-
clearOneof
public EffectiveResourceProto.EffectiveResourcePB.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<EffectiveResourceProto.EffectiveResourcePB.Builder>
-
setRepeatedField
public EffectiveResourceProto.EffectiveResourcePB.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<EffectiveResourceProto.EffectiveResourcePB.Builder>
-
addRepeatedField
public EffectiveResourceProto.EffectiveResourcePB.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<EffectiveResourceProto.EffectiveResourcePB.Builder>
-
mergeFrom
public EffectiveResourceProto.EffectiveResourcePB.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<EffectiveResourceProto.EffectiveResourcePB.Builder>
-
mergeFrom
public EffectiveResourceProto.EffectiveResourcePB.Builder mergeFrom(EffectiveResourceProto.EffectiveResourcePB other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<EffectiveResourceProto.EffectiveResourcePB.Builder>
-
mergeFrom
public EffectiveResourceProto.EffectiveResourcePB.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<EffectiveResourceProto.EffectiveResourcePB.Builder>
- Throws:
IOException
-
getCollectionName
string collectionName = 1;
- Specified by:
getCollectionName
in interfaceEffectiveResourceProto.EffectiveResourcePBOrBuilder
- Returns:
- The collectionName.
-
getCollectionNameBytes
public com.google.protobuf.ByteString getCollectionNameBytes()string collectionName = 1;
- Specified by:
getCollectionNameBytes
in interfaceEffectiveResourceProto.EffectiveResourcePBOrBuilder
- Returns:
- The bytes for collectionName.
-
setCollectionName
string collectionName = 1;
- Parameters:
value
- The collectionName to set.- Returns:
- This builder for chaining.
-
clearCollectionName
string collectionName = 1;
- Returns:
- This builder for chaining.
-
setCollectionNameBytes
public EffectiveResourceProto.EffectiveResourcePB.Builder setCollectionNameBytes(com.google.protobuf.ByteString value) string collectionName = 1;
- Parameters:
value
- The bytes for collectionName to set.- Returns:
- This builder for chaining.
-
hasImmutableResource
public boolean hasImmutableResource()We can't define both a generic ResourcePB file and an EffectiveResourcePB file that reference to each other. So if an EffectiveResource can ever contain more than an ImmutableResource as a delegate resource, this needs to be updated.
.common.protobuf.ImmutableResourcePB immutableResource = 2;
- Specified by:
hasImmutableResource
in interfaceEffectiveResourceProto.EffectiveResourcePBOrBuilder
- Returns:
- Whether the immutableResource field is set.
-
getImmutableResource
We can't define both a generic ResourcePB file and an EffectiveResourcePB file that reference to each other. So if an EffectiveResource can ever contain more than an ImmutableResource as a delegate resource, this needs to be updated.
.common.protobuf.ImmutableResourcePB immutableResource = 2;
- Specified by:
getImmutableResource
in interfaceEffectiveResourceProto.EffectiveResourcePBOrBuilder
- Returns:
- The immutableResource.
-
setImmutableResource
public EffectiveResourceProto.EffectiveResourcePB.Builder setImmutableResource(ImmutableResourceProto.ImmutableResourcePB value) We can't define both a generic ResourcePB file and an EffectiveResourcePB file that reference to each other. So if an EffectiveResource can ever contain more than an ImmutableResource as a delegate resource, this needs to be updated.
.common.protobuf.ImmutableResourcePB immutableResource = 2;
-
setImmutableResource
public EffectiveResourceProto.EffectiveResourcePB.Builder setImmutableResource(ImmutableResourceProto.ImmutableResourcePB.Builder builderForValue) We can't define both a generic ResourcePB file and an EffectiveResourcePB file that reference to each other. So if an EffectiveResource can ever contain more than an ImmutableResource as a delegate resource, this needs to be updated.
.common.protobuf.ImmutableResourcePB immutableResource = 2;
-
mergeImmutableResource
public EffectiveResourceProto.EffectiveResourcePB.Builder mergeImmutableResource(ImmutableResourceProto.ImmutableResourcePB value) We can't define both a generic ResourcePB file and an EffectiveResourcePB file that reference to each other. So if an EffectiveResource can ever contain more than an ImmutableResource as a delegate resource, this needs to be updated.
.common.protobuf.ImmutableResourcePB immutableResource = 2;
-
clearImmutableResource
We can't define both a generic ResourcePB file and an EffectiveResourcePB file that reference to each other. So if an EffectiveResource can ever contain more than an ImmutableResource as a delegate resource, this needs to be updated.
.common.protobuf.ImmutableResourcePB immutableResource = 2;
-
getImmutableResourceBuilder
We can't define both a generic ResourcePB file and an EffectiveResourcePB file that reference to each other. So if an EffectiveResource can ever contain more than an ImmutableResource as a delegate resource, this needs to be updated.
.common.protobuf.ImmutableResourcePB immutableResource = 2;
-
getImmutableResourceOrBuilder
We can't define both a generic ResourcePB file and an EffectiveResourcePB file that reference to each other. So if an EffectiveResource can ever contain more than an ImmutableResource as a delegate resource, this needs to be updated.
.common.protobuf.ImmutableResourcePB immutableResource = 2;
- Specified by:
getImmutableResourceOrBuilder
in interfaceEffectiveResourceProto.EffectiveResourcePBOrBuilder
-
getDefiningCollectionNamesList
public com.google.protobuf.ProtocolStringList getDefiningCollectionNamesList()repeated string definingCollectionNames = 3;
- Specified by:
getDefiningCollectionNamesList
in interfaceEffectiveResourceProto.EffectiveResourcePBOrBuilder
- Returns:
- A list containing the definingCollectionNames.
-
getDefiningCollectionNamesCount
public int getDefiningCollectionNamesCount()repeated string definingCollectionNames = 3;
- Specified by:
getDefiningCollectionNamesCount
in interfaceEffectiveResourceProto.EffectiveResourcePBOrBuilder
- Returns:
- The count of definingCollectionNames.
-
getDefiningCollectionNames
repeated string definingCollectionNames = 3;
- Specified by:
getDefiningCollectionNames
in interfaceEffectiveResourceProto.EffectiveResourcePBOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The definingCollectionNames at the given index.
-
getDefiningCollectionNamesBytes
public com.google.protobuf.ByteString getDefiningCollectionNamesBytes(int index) repeated string definingCollectionNames = 3;
- Specified by:
getDefiningCollectionNamesBytes
in interfaceEffectiveResourceProto.EffectiveResourcePBOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the definingCollectionNames at the given index.
-
setDefiningCollectionNames
public EffectiveResourceProto.EffectiveResourcePB.Builder setDefiningCollectionNames(int index, String value) repeated string definingCollectionNames = 3;
- Parameters:
index
- The index to set the value at.value
- The definingCollectionNames to set.- Returns:
- This builder for chaining.
-
addDefiningCollectionNames
repeated string definingCollectionNames = 3;
- Parameters:
value
- The definingCollectionNames to add.- Returns:
- This builder for chaining.
-
addAllDefiningCollectionNames
public EffectiveResourceProto.EffectiveResourcePB.Builder addAllDefiningCollectionNames(Iterable<String> values) repeated string definingCollectionNames = 3;
- Parameters:
values
- The definingCollectionNames to add.- Returns:
- This builder for chaining.
-
clearDefiningCollectionNames
repeated string definingCollectionNames = 3;
- Returns:
- This builder for chaining.
-
addDefiningCollectionNamesBytes
public EffectiveResourceProto.EffectiveResourcePB.Builder addDefiningCollectionNamesBytes(com.google.protobuf.ByteString value) repeated string definingCollectionNames = 3;
- Parameters:
value
- The bytes of the definingCollectionNames to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final EffectiveResourceProto.EffectiveResourcePB.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<EffectiveResourceProto.EffectiveResourcePB.Builder>
-
mergeUnknownFields
public final EffectiveResourceProto.EffectiveResourcePB.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<EffectiveResourceProto.EffectiveResourcePB.Builder>
-