Class Telemetry.SubscriptionAdditionalConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Telemetry.SubscriptionAdditionalConfig.Builder>
-
- org.opennms.features.openconfig.proto.jti.Telemetry.SubscriptionAdditionalConfig.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.SubscriptionAdditionalConfigOrBuilder
- Enclosing class:
- Telemetry.SubscriptionAdditionalConfig
public static final class Telemetry.SubscriptionAdditionalConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Telemetry.SubscriptionAdditionalConfig.Builder> implements Telemetry.SubscriptionAdditionalConfigOrBuilder
Configure subscription request additional features.
Protobuf typetelemetry.SubscriptionAdditionalConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Telemetry.SubscriptionAdditionalConfig.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Telemetry.SubscriptionAdditionalConfig
build()
Telemetry.SubscriptionAdditionalConfig
buildPartial()
Telemetry.SubscriptionAdditionalConfig.Builder
clear()
Telemetry.SubscriptionAdditionalConfig.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Telemetry.SubscriptionAdditionalConfig.Builder
clearLimitRecords()
limit the number of records sent in the streamTelemetry.SubscriptionAdditionalConfig.Builder
clearLimitTimeSeconds()
limit the time the stream remains openTelemetry.SubscriptionAdditionalConfig.Builder
clearNeedEos()
EOS needed for this subscription? This feature is not implemented currently.Telemetry.SubscriptionAdditionalConfig.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Telemetry.SubscriptionAdditionalConfig.Builder
clone()
Telemetry.SubscriptionAdditionalConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
int
getLimitRecords()
limit the number of records sent in the streamint
getLimitTimeSeconds()
limit the time the stream remains openboolean
getNeedEos()
EOS needed for this subscription? This feature is not implemented currently.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Telemetry.SubscriptionAdditionalConfig.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Telemetry.SubscriptionAdditionalConfig.Builder
mergeFrom(com.google.protobuf.Message other)
Telemetry.SubscriptionAdditionalConfig.Builder
mergeFrom(Telemetry.SubscriptionAdditionalConfig other)
Telemetry.SubscriptionAdditionalConfig.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Telemetry.SubscriptionAdditionalConfig.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Telemetry.SubscriptionAdditionalConfig.Builder
setLimitRecords(int value)
limit the number of records sent in the streamTelemetry.SubscriptionAdditionalConfig.Builder
setLimitTimeSeconds(int value)
limit the time the stream remains openTelemetry.SubscriptionAdditionalConfig.Builder
setNeedEos(boolean value)
EOS needed for this subscription? This feature is not implemented currently.Telemetry.SubscriptionAdditionalConfig.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Telemetry.SubscriptionAdditionalConfig.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.SubscriptionAdditionalConfig.Builder>
-
clear
public Telemetry.SubscriptionAdditionalConfig.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.SubscriptionAdditionalConfig.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.SubscriptionAdditionalConfig.Builder>
-
getDefaultInstanceForType
public Telemetry.SubscriptionAdditionalConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Telemetry.SubscriptionAdditionalConfig build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Telemetry.SubscriptionAdditionalConfig buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Telemetry.SubscriptionAdditionalConfig.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.SubscriptionAdditionalConfig.Builder>
-
setField
public Telemetry.SubscriptionAdditionalConfig.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.SubscriptionAdditionalConfig.Builder>
-
clearField
public Telemetry.SubscriptionAdditionalConfig.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.SubscriptionAdditionalConfig.Builder>
-
clearOneof
public Telemetry.SubscriptionAdditionalConfig.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.SubscriptionAdditionalConfig.Builder>
-
setRepeatedField
public Telemetry.SubscriptionAdditionalConfig.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.SubscriptionAdditionalConfig.Builder>
-
addRepeatedField
public Telemetry.SubscriptionAdditionalConfig.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.SubscriptionAdditionalConfig.Builder>
-
mergeFrom
public Telemetry.SubscriptionAdditionalConfig.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.SubscriptionAdditionalConfig.Builder>
-
mergeFrom
public Telemetry.SubscriptionAdditionalConfig.Builder mergeFrom(Telemetry.SubscriptionAdditionalConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Telemetry.SubscriptionAdditionalConfig.Builder>
-
mergeFrom
public Telemetry.SubscriptionAdditionalConfig.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.SubscriptionAdditionalConfig.Builder>
- Throws:
java.io.IOException
-
getLimitRecords
public int getLimitRecords()
limit the number of records sent in the stream
int32 limit_records = 1;
- Specified by:
getLimitRecords
in interfaceTelemetry.SubscriptionAdditionalConfigOrBuilder
-
setLimitRecords
public Telemetry.SubscriptionAdditionalConfig.Builder setLimitRecords(int value)
limit the number of records sent in the stream
int32 limit_records = 1;
-
clearLimitRecords
public Telemetry.SubscriptionAdditionalConfig.Builder clearLimitRecords()
limit the number of records sent in the stream
int32 limit_records = 1;
-
getLimitTimeSeconds
public int getLimitTimeSeconds()
limit the time the stream remains open
int32 limit_time_seconds = 2;
- Specified by:
getLimitTimeSeconds
in interfaceTelemetry.SubscriptionAdditionalConfigOrBuilder
-
setLimitTimeSeconds
public Telemetry.SubscriptionAdditionalConfig.Builder setLimitTimeSeconds(int value)
limit the time the stream remains open
int32 limit_time_seconds = 2;
-
clearLimitTimeSeconds
public Telemetry.SubscriptionAdditionalConfig.Builder clearLimitTimeSeconds()
limit the time the stream remains open
int32 limit_time_seconds = 2;
-
getNeedEos
public boolean getNeedEos()
EOS needed for this subscription? This feature is not implemented currently.
bool need_eos = 3;
- Specified by:
getNeedEos
in interfaceTelemetry.SubscriptionAdditionalConfigOrBuilder
-
setNeedEos
public Telemetry.SubscriptionAdditionalConfig.Builder setNeedEos(boolean value)
EOS needed for this subscription? This feature is not implemented currently.
bool need_eos = 3;
-
clearNeedEos
public Telemetry.SubscriptionAdditionalConfig.Builder clearNeedEos()
EOS needed for this subscription? This feature is not implemented currently.
bool need_eos = 3;
-
setUnknownFields
public final Telemetry.SubscriptionAdditionalConfig.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.SubscriptionAdditionalConfig.Builder>
-
mergeUnknownFields
public final Telemetry.SubscriptionAdditionalConfig.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.SubscriptionAdditionalConfig.Builder>
-
-