Class Telemetry.SubscriptionInput.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Telemetry.SubscriptionInput.Builder>
-
- org.opennms.features.openconfig.proto.jti.Telemetry.SubscriptionInput.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
,Telemetry.SubscriptionInputOrBuilder
- Enclosing class:
- Telemetry.SubscriptionInput
public static final class Telemetry.SubscriptionInput.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Telemetry.SubscriptionInput.Builder> implements Telemetry.SubscriptionInputOrBuilder
Data associated with a telemetry subscription
Protobuf typetelemetry.SubscriptionInput
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Telemetry.SubscriptionInput.Builder
addAllCollectorList(java.lang.Iterable<? extends Telemetry.Collector> values)
List of optional collector endpoints to send data for this subscription.Telemetry.SubscriptionInput.Builder
addCollectorList(int index, Telemetry.Collector value)
List of optional collector endpoints to send data for this subscription.Telemetry.SubscriptionInput.Builder
addCollectorList(int index, Telemetry.Collector.Builder builderForValue)
List of optional collector endpoints to send data for this subscription.Telemetry.SubscriptionInput.Builder
addCollectorList(Telemetry.Collector value)
List of optional collector endpoints to send data for this subscription.Telemetry.SubscriptionInput.Builder
addCollectorList(Telemetry.Collector.Builder builderForValue)
List of optional collector endpoints to send data for this subscription.Telemetry.Collector.Builder
addCollectorListBuilder()
List of optional collector endpoints to send data for this subscription.Telemetry.Collector.Builder
addCollectorListBuilder(int index)
List of optional collector endpoints to send data for this subscription.Telemetry.SubscriptionInput.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Telemetry.SubscriptionInput
build()
Telemetry.SubscriptionInput
buildPartial()
Telemetry.SubscriptionInput.Builder
clear()
Telemetry.SubscriptionInput.Builder
clearCollectorList()
List of optional collector endpoints to send data for this subscription.Telemetry.SubscriptionInput.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Telemetry.SubscriptionInput.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Telemetry.SubscriptionInput.Builder
clone()
Telemetry.Collector
getCollectorList(int index)
List of optional collector endpoints to send data for this subscription.Telemetry.Collector.Builder
getCollectorListBuilder(int index)
List of optional collector endpoints to send data for this subscription.java.util.List<Telemetry.Collector.Builder>
getCollectorListBuilderList()
List of optional collector endpoints to send data for this subscription.int
getCollectorListCount()
List of optional collector endpoints to send data for this subscription.java.util.List<Telemetry.Collector>
getCollectorListList()
List of optional collector endpoints to send data for this subscription.Telemetry.CollectorOrBuilder
getCollectorListOrBuilder(int index)
List of optional collector endpoints to send data for this subscription.java.util.List<? extends Telemetry.CollectorOrBuilder>
getCollectorListOrBuilderList()
List of optional collector endpoints to send data for this subscription.Telemetry.SubscriptionInput
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Telemetry.SubscriptionInput.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Telemetry.SubscriptionInput.Builder
mergeFrom(com.google.protobuf.Message other)
Telemetry.SubscriptionInput.Builder
mergeFrom(Telemetry.SubscriptionInput other)
Telemetry.SubscriptionInput.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Telemetry.SubscriptionInput.Builder
removeCollectorList(int index)
List of optional collector endpoints to send data for this subscription.Telemetry.SubscriptionInput.Builder
setCollectorList(int index, Telemetry.Collector value)
List of optional collector endpoints to send data for this subscription.Telemetry.SubscriptionInput.Builder
setCollectorList(int index, Telemetry.Collector.Builder builderForValue)
List of optional collector endpoints to send data for this subscription.Telemetry.SubscriptionInput.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Telemetry.SubscriptionInput.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Telemetry.SubscriptionInput.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
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<Telemetry.SubscriptionInput.Builder>
-
clear
public Telemetry.SubscriptionInput.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<Telemetry.SubscriptionInput.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<Telemetry.SubscriptionInput.Builder>
-
getDefaultInstanceForType
public Telemetry.SubscriptionInput getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Telemetry.SubscriptionInput build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Telemetry.SubscriptionInput buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Telemetry.SubscriptionInput.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<Telemetry.SubscriptionInput.Builder>
-
setField
public Telemetry.SubscriptionInput.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<Telemetry.SubscriptionInput.Builder>
-
clearField
public Telemetry.SubscriptionInput.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<Telemetry.SubscriptionInput.Builder>
-
clearOneof
public Telemetry.SubscriptionInput.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<Telemetry.SubscriptionInput.Builder>
-
setRepeatedField
public Telemetry.SubscriptionInput.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<Telemetry.SubscriptionInput.Builder>
-
addRepeatedField
public Telemetry.SubscriptionInput.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<Telemetry.SubscriptionInput.Builder>
-
mergeFrom
public Telemetry.SubscriptionInput.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Telemetry.SubscriptionInput.Builder>
-
mergeFrom
public Telemetry.SubscriptionInput.Builder mergeFrom(Telemetry.SubscriptionInput other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Telemetry.SubscriptionInput.Builder>
-
mergeFrom
public Telemetry.SubscriptionInput.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<Telemetry.SubscriptionInput.Builder>
- Throws:
java.io.IOException
-
getCollectorListList
public java.util.List<Telemetry.Collector> getCollectorListList()
List of optional collector endpoints to send data for this subscription. If no collector destinations are specified, the collector destination is assumed to be the requester on the rpc channel.
repeated .telemetry.Collector collector_list = 1;
- Specified by:
getCollectorListList
in interfaceTelemetry.SubscriptionInputOrBuilder
-
getCollectorListCount
public int getCollectorListCount()
List of optional collector endpoints to send data for this subscription. If no collector destinations are specified, the collector destination is assumed to be the requester on the rpc channel.
repeated .telemetry.Collector collector_list = 1;
- Specified by:
getCollectorListCount
in interfaceTelemetry.SubscriptionInputOrBuilder
-
getCollectorList
public Telemetry.Collector getCollectorList(int index)
List of optional collector endpoints to send data for this subscription. If no collector destinations are specified, the collector destination is assumed to be the requester on the rpc channel.
repeated .telemetry.Collector collector_list = 1;
- Specified by:
getCollectorList
in interfaceTelemetry.SubscriptionInputOrBuilder
-
setCollectorList
public Telemetry.SubscriptionInput.Builder setCollectorList(int index, Telemetry.Collector value)
List of optional collector endpoints to send data for this subscription. If no collector destinations are specified, the collector destination is assumed to be the requester on the rpc channel.
repeated .telemetry.Collector collector_list = 1;
-
setCollectorList
public Telemetry.SubscriptionInput.Builder setCollectorList(int index, Telemetry.Collector.Builder builderForValue)
List of optional collector endpoints to send data for this subscription. If no collector destinations are specified, the collector destination is assumed to be the requester on the rpc channel.
repeated .telemetry.Collector collector_list = 1;
-
addCollectorList
public Telemetry.SubscriptionInput.Builder addCollectorList(Telemetry.Collector value)
List of optional collector endpoints to send data for this subscription. If no collector destinations are specified, the collector destination is assumed to be the requester on the rpc channel.
repeated .telemetry.Collector collector_list = 1;
-
addCollectorList
public Telemetry.SubscriptionInput.Builder addCollectorList(int index, Telemetry.Collector value)
List of optional collector endpoints to send data for this subscription. If no collector destinations are specified, the collector destination is assumed to be the requester on the rpc channel.
repeated .telemetry.Collector collector_list = 1;
-
addCollectorList
public Telemetry.SubscriptionInput.Builder addCollectorList(Telemetry.Collector.Builder builderForValue)
List of optional collector endpoints to send data for this subscription. If no collector destinations are specified, the collector destination is assumed to be the requester on the rpc channel.
repeated .telemetry.Collector collector_list = 1;
-
addCollectorList
public Telemetry.SubscriptionInput.Builder addCollectorList(int index, Telemetry.Collector.Builder builderForValue)
List of optional collector endpoints to send data for this subscription. If no collector destinations are specified, the collector destination is assumed to be the requester on the rpc channel.
repeated .telemetry.Collector collector_list = 1;
-
addAllCollectorList
public Telemetry.SubscriptionInput.Builder addAllCollectorList(java.lang.Iterable<? extends Telemetry.Collector> values)
List of optional collector endpoints to send data for this subscription. If no collector destinations are specified, the collector destination is assumed to be the requester on the rpc channel.
repeated .telemetry.Collector collector_list = 1;
-
clearCollectorList
public Telemetry.SubscriptionInput.Builder clearCollectorList()
List of optional collector endpoints to send data for this subscription. If no collector destinations are specified, the collector destination is assumed to be the requester on the rpc channel.
repeated .telemetry.Collector collector_list = 1;
-
removeCollectorList
public Telemetry.SubscriptionInput.Builder removeCollectorList(int index)
List of optional collector endpoints to send data for this subscription. If no collector destinations are specified, the collector destination is assumed to be the requester on the rpc channel.
repeated .telemetry.Collector collector_list = 1;
-
getCollectorListBuilder
public Telemetry.Collector.Builder getCollectorListBuilder(int index)
List of optional collector endpoints to send data for this subscription. If no collector destinations are specified, the collector destination is assumed to be the requester on the rpc channel.
repeated .telemetry.Collector collector_list = 1;
-
getCollectorListOrBuilder
public Telemetry.CollectorOrBuilder getCollectorListOrBuilder(int index)
List of optional collector endpoints to send data for this subscription. If no collector destinations are specified, the collector destination is assumed to be the requester on the rpc channel.
repeated .telemetry.Collector collector_list = 1;
- Specified by:
getCollectorListOrBuilder
in interfaceTelemetry.SubscriptionInputOrBuilder
-
getCollectorListOrBuilderList
public java.util.List<? extends Telemetry.CollectorOrBuilder> getCollectorListOrBuilderList()
List of optional collector endpoints to send data for this subscription. If no collector destinations are specified, the collector destination is assumed to be the requester on the rpc channel.
repeated .telemetry.Collector collector_list = 1;
- Specified by:
getCollectorListOrBuilderList
in interfaceTelemetry.SubscriptionInputOrBuilder
-
addCollectorListBuilder
public Telemetry.Collector.Builder addCollectorListBuilder()
List of optional collector endpoints to send data for this subscription. If no collector destinations are specified, the collector destination is assumed to be the requester on the rpc channel.
repeated .telemetry.Collector collector_list = 1;
-
addCollectorListBuilder
public Telemetry.Collector.Builder addCollectorListBuilder(int index)
List of optional collector endpoints to send data for this subscription. If no collector destinations are specified, the collector destination is assumed to be the requester on the rpc channel.
repeated .telemetry.Collector collector_list = 1;
-
getCollectorListBuilderList
public java.util.List<Telemetry.Collector.Builder> getCollectorListBuilderList()
List of optional collector endpoints to send data for this subscription. If no collector destinations are specified, the collector destination is assumed to be the requester on the rpc channel.
repeated .telemetry.Collector collector_list = 1;
-
setUnknownFields
public final Telemetry.SubscriptionInput.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Telemetry.SubscriptionInput.Builder>
-
mergeUnknownFields
public final Telemetry.SubscriptionInput.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Telemetry.SubscriptionInput.Builder>
-
-