Class CollectionSetProtos.CollectionSet.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<CollectionSetProtos.CollectionSet.Builder>
-
- org.opennms.features.kafka.producer.model.CollectionSetProtos.CollectionSet.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
,CollectionSetProtos.CollectionSetOrBuilder
- Enclosing class:
- CollectionSetProtos.CollectionSet
public static final class CollectionSetProtos.CollectionSet.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CollectionSetProtos.CollectionSet.Builder> implements CollectionSetProtos.CollectionSetOrBuilder
Protobuf typeCollectionSet
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
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()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<CollectionSetProtos.CollectionSet.Builder>
-
clear
public CollectionSetProtos.CollectionSet.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<CollectionSetProtos.CollectionSet.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<CollectionSetProtos.CollectionSet.Builder>
-
getDefaultInstanceForType
public CollectionSetProtos.CollectionSet getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public CollectionSetProtos.CollectionSet build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CollectionSetProtos.CollectionSet buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CollectionSetProtos.CollectionSet.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<CollectionSetProtos.CollectionSet.Builder>
-
setField
public CollectionSetProtos.CollectionSet.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CollectionSetProtos.CollectionSet.Builder>
-
clearField
public CollectionSetProtos.CollectionSet.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<CollectionSetProtos.CollectionSet.Builder>
-
clearOneof
public CollectionSetProtos.CollectionSet.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<CollectionSetProtos.CollectionSet.Builder>
-
setRepeatedField
public CollectionSetProtos.CollectionSet.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CollectionSetProtos.CollectionSet.Builder>
-
addRepeatedField
public CollectionSetProtos.CollectionSet.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CollectionSetProtos.CollectionSet.Builder>
-
mergeFrom
public CollectionSetProtos.CollectionSet.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CollectionSetProtos.CollectionSet.Builder>
-
mergeFrom
public CollectionSetProtos.CollectionSet.Builder mergeFrom(CollectionSetProtos.CollectionSet other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<CollectionSetProtos.CollectionSet.Builder>
-
mergeFrom
public CollectionSetProtos.CollectionSet.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<CollectionSetProtos.CollectionSet.Builder>
- Throws:
java.io.IOException
-
getTimestamp
public long getTimestamp()
int64 timestamp = 1;
- Specified by:
getTimestamp
in interfaceCollectionSetProtos.CollectionSetOrBuilder
-
setTimestamp
public CollectionSetProtos.CollectionSet.Builder setTimestamp(long value)
int64 timestamp = 1;
-
clearTimestamp
public CollectionSetProtos.CollectionSet.Builder clearTimestamp()
int64 timestamp = 1;
-
getResourceList
public java.util.List<CollectionSetProtos.CollectionSetResource> getResourceList()
repeated .CollectionSetResource resource = 2;
- Specified by:
getResourceList
in interfaceCollectionSetProtos.CollectionSetOrBuilder
-
getResourceCount
public int getResourceCount()
repeated .CollectionSetResource resource = 2;
- Specified by:
getResourceCount
in interfaceCollectionSetProtos.CollectionSetOrBuilder
-
getResource
public CollectionSetProtos.CollectionSetResource getResource(int index)
repeated .CollectionSetResource resource = 2;
- Specified by:
getResource
in interfaceCollectionSetProtos.CollectionSetOrBuilder
-
setResource
public CollectionSetProtos.CollectionSet.Builder setResource(int index, CollectionSetProtos.CollectionSetResource value)
repeated .CollectionSetResource resource = 2;
-
setResource
public CollectionSetProtos.CollectionSet.Builder setResource(int index, CollectionSetProtos.CollectionSetResource.Builder builderForValue)
repeated .CollectionSetResource resource = 2;
-
addResource
public CollectionSetProtos.CollectionSet.Builder addResource(CollectionSetProtos.CollectionSetResource value)
repeated .CollectionSetResource resource = 2;
-
addResource
public CollectionSetProtos.CollectionSet.Builder addResource(int index, CollectionSetProtos.CollectionSetResource value)
repeated .CollectionSetResource resource = 2;
-
addResource
public CollectionSetProtos.CollectionSet.Builder addResource(CollectionSetProtos.CollectionSetResource.Builder builderForValue)
repeated .CollectionSetResource resource = 2;
-
addResource
public CollectionSetProtos.CollectionSet.Builder addResource(int index, CollectionSetProtos.CollectionSetResource.Builder builderForValue)
repeated .CollectionSetResource resource = 2;
-
addAllResource
public CollectionSetProtos.CollectionSet.Builder addAllResource(java.lang.Iterable<? extends CollectionSetProtos.CollectionSetResource> values)
repeated .CollectionSetResource resource = 2;
-
clearResource
public CollectionSetProtos.CollectionSet.Builder clearResource()
repeated .CollectionSetResource resource = 2;
-
removeResource
public CollectionSetProtos.CollectionSet.Builder removeResource(int index)
repeated .CollectionSetResource resource = 2;
-
getResourceBuilder
public CollectionSetProtos.CollectionSetResource.Builder getResourceBuilder(int index)
repeated .CollectionSetResource resource = 2;
-
getResourceOrBuilder
public CollectionSetProtos.CollectionSetResourceOrBuilder getResourceOrBuilder(int index)
repeated .CollectionSetResource resource = 2;
- Specified by:
getResourceOrBuilder
in interfaceCollectionSetProtos.CollectionSetOrBuilder
-
getResourceOrBuilderList
public java.util.List<? extends CollectionSetProtos.CollectionSetResourceOrBuilder> getResourceOrBuilderList()
repeated .CollectionSetResource resource = 2;
- Specified by:
getResourceOrBuilderList
in interfaceCollectionSetProtos.CollectionSetOrBuilder
-
addResourceBuilder
public CollectionSetProtos.CollectionSetResource.Builder addResourceBuilder()
repeated .CollectionSetResource resource = 2;
-
addResourceBuilder
public CollectionSetProtos.CollectionSetResource.Builder addResourceBuilder(int index)
repeated .CollectionSetResource resource = 2;
-
getResourceBuilderList
public java.util.List<CollectionSetProtos.CollectionSetResource.Builder> getResourceBuilderList()
repeated .CollectionSetResource resource = 2;
-
setUnknownFields
public final CollectionSetProtos.CollectionSet.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CollectionSetProtos.CollectionSet.Builder>
-
mergeUnknownFields
public final CollectionSetProtos.CollectionSet.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CollectionSetProtos.CollectionSet.Builder>
-
-