Class GetInstanceMetricsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<GetInstanceMetricsResponse.Builder>
com.google.protobuf.GeneratedMessage.Builder<GetInstanceMetricsResponse.Builder>
com.soulfiremc.grpc.generated.GetInstanceMetricsResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, GetInstanceMetricsResponseOrBuilder, Cloneable
- Enclosing class:
GetInstanceMetricsResponse
public static final class GetInstanceMetricsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<GetInstanceMetricsResponse.Builder>
implements GetInstanceMetricsResponseOrBuilder
Response containing time-series metrics and current distributions.Protobuf type
soulfire.v1.GetInstanceMetricsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllSnapshots(Iterable<? extends MetricsSnapshot> values) Time-series snapshots ordered oldest to newest.addSnapshots(int index, MetricsSnapshot value) Time-series snapshots ordered oldest to newest.addSnapshots(int index, MetricsSnapshot.Builder builderForValue) Time-series snapshots ordered oldest to newest.addSnapshots(MetricsSnapshot value) Time-series snapshots ordered oldest to newest.addSnapshots(MetricsSnapshot.Builder builderForValue) Time-series snapshots ordered oldest to newest.Time-series snapshots ordered oldest to newest.addSnapshotsBuilder(int index) Time-series snapshots ordered oldest to newest.build()clear()Current-state distributions computed from the latest bot data.Time-series snapshots ordered oldest to newest.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorCurrent-state distributions computed from the latest bot data.Current-state distributions computed from the latest bot data.Current-state distributions computed from the latest bot data.getSnapshots(int index) Time-series snapshots ordered oldest to newest.getSnapshotsBuilder(int index) Time-series snapshots ordered oldest to newest.Time-series snapshots ordered oldest to newest.intTime-series snapshots ordered oldest to newest.Time-series snapshots ordered oldest to newest.getSnapshotsOrBuilder(int index) Time-series snapshots ordered oldest to newest.List<? extends MetricsSnapshotOrBuilder> Time-series snapshots ordered oldest to newest.booleanCurrent-state distributions computed from the latest bot data.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanCurrent-state distributions computed from the latest bot data.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeSnapshots(int index) Time-series snapshots ordered oldest to newest.Current-state distributions computed from the latest bot data.setDistributions(MetricsDistributions.Builder builderForValue) Current-state distributions computed from the latest bot data.setSnapshots(int index, MetricsSnapshot value) Time-series snapshots ordered oldest to newest.setSnapshots(int index, MetricsSnapshot.Builder builderForValue) Time-series snapshots ordered oldest to newest.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<GetInstanceMetricsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<GetInstanceMetricsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<GetInstanceMetricsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetInstanceMetricsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<GetInstanceMetricsResponse.Builder>
-
mergeFrom
public GetInstanceMetricsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<GetInstanceMetricsResponse.Builder>- Throws:
IOException
-
getSnapshotsList
Time-series snapshots ordered oldest to newest. Contains up to 600 snapshots (30 minutes at 3-second intervals). If the request included a "since" timestamp, only newer snapshots are returned.
repeated .soulfire.v1.MetricsSnapshot snapshots = 1;- Specified by:
getSnapshotsListin interfaceGetInstanceMetricsResponseOrBuilder
-
getSnapshotsCount
public int getSnapshotsCount()Time-series snapshots ordered oldest to newest. Contains up to 600 snapshots (30 minutes at 3-second intervals). If the request included a "since" timestamp, only newer snapshots are returned.
repeated .soulfire.v1.MetricsSnapshot snapshots = 1;- Specified by:
getSnapshotsCountin interfaceGetInstanceMetricsResponseOrBuilder
-
getSnapshots
Time-series snapshots ordered oldest to newest. Contains up to 600 snapshots (30 minutes at 3-second intervals). If the request included a "since" timestamp, only newer snapshots are returned.
repeated .soulfire.v1.MetricsSnapshot snapshots = 1;- Specified by:
getSnapshotsin interfaceGetInstanceMetricsResponseOrBuilder
-
setSnapshots
Time-series snapshots ordered oldest to newest. Contains up to 600 snapshots (30 minutes at 3-second intervals). If the request included a "since" timestamp, only newer snapshots are returned.
repeated .soulfire.v1.MetricsSnapshot snapshots = 1; -
setSnapshots
public GetInstanceMetricsResponse.Builder setSnapshots(int index, MetricsSnapshot.Builder builderForValue) Time-series snapshots ordered oldest to newest. Contains up to 600 snapshots (30 minutes at 3-second intervals). If the request included a "since" timestamp, only newer snapshots are returned.
repeated .soulfire.v1.MetricsSnapshot snapshots = 1; -
addSnapshots
Time-series snapshots ordered oldest to newest. Contains up to 600 snapshots (30 minutes at 3-second intervals). If the request included a "since" timestamp, only newer snapshots are returned.
repeated .soulfire.v1.MetricsSnapshot snapshots = 1; -
addSnapshots
Time-series snapshots ordered oldest to newest. Contains up to 600 snapshots (30 minutes at 3-second intervals). If the request included a "since" timestamp, only newer snapshots are returned.
repeated .soulfire.v1.MetricsSnapshot snapshots = 1; -
addSnapshots
Time-series snapshots ordered oldest to newest. Contains up to 600 snapshots (30 minutes at 3-second intervals). If the request included a "since" timestamp, only newer snapshots are returned.
repeated .soulfire.v1.MetricsSnapshot snapshots = 1; -
addSnapshots
public GetInstanceMetricsResponse.Builder addSnapshots(int index, MetricsSnapshot.Builder builderForValue) Time-series snapshots ordered oldest to newest. Contains up to 600 snapshots (30 minutes at 3-second intervals). If the request included a "since" timestamp, only newer snapshots are returned.
repeated .soulfire.v1.MetricsSnapshot snapshots = 1; -
addAllSnapshots
public GetInstanceMetricsResponse.Builder addAllSnapshots(Iterable<? extends MetricsSnapshot> values) Time-series snapshots ordered oldest to newest. Contains up to 600 snapshots (30 minutes at 3-second intervals). If the request included a "since" timestamp, only newer snapshots are returned.
repeated .soulfire.v1.MetricsSnapshot snapshots = 1; -
clearSnapshots
Time-series snapshots ordered oldest to newest. Contains up to 600 snapshots (30 minutes at 3-second intervals). If the request included a "since" timestamp, only newer snapshots are returned.
repeated .soulfire.v1.MetricsSnapshot snapshots = 1; -
removeSnapshots
Time-series snapshots ordered oldest to newest. Contains up to 600 snapshots (30 minutes at 3-second intervals). If the request included a "since" timestamp, only newer snapshots are returned.
repeated .soulfire.v1.MetricsSnapshot snapshots = 1; -
getSnapshotsBuilder
Time-series snapshots ordered oldest to newest. Contains up to 600 snapshots (30 minutes at 3-second intervals). If the request included a "since" timestamp, only newer snapshots are returned.
repeated .soulfire.v1.MetricsSnapshot snapshots = 1; -
getSnapshotsOrBuilder
Time-series snapshots ordered oldest to newest. Contains up to 600 snapshots (30 minutes at 3-second intervals). If the request included a "since" timestamp, only newer snapshots are returned.
repeated .soulfire.v1.MetricsSnapshot snapshots = 1;- Specified by:
getSnapshotsOrBuilderin interfaceGetInstanceMetricsResponseOrBuilder
-
getSnapshotsOrBuilderList
Time-series snapshots ordered oldest to newest. Contains up to 600 snapshots (30 minutes at 3-second intervals). If the request included a "since" timestamp, only newer snapshots are returned.
repeated .soulfire.v1.MetricsSnapshot snapshots = 1;- Specified by:
getSnapshotsOrBuilderListin interfaceGetInstanceMetricsResponseOrBuilder
-
addSnapshotsBuilder
Time-series snapshots ordered oldest to newest. Contains up to 600 snapshots (30 minutes at 3-second intervals). If the request included a "since" timestamp, only newer snapshots are returned.
repeated .soulfire.v1.MetricsSnapshot snapshots = 1; -
addSnapshotsBuilder
Time-series snapshots ordered oldest to newest. Contains up to 600 snapshots (30 minutes at 3-second intervals). If the request included a "since" timestamp, only newer snapshots are returned.
repeated .soulfire.v1.MetricsSnapshot snapshots = 1; -
getSnapshotsBuilderList
Time-series snapshots ordered oldest to newest. Contains up to 600 snapshots (30 minutes at 3-second intervals). If the request included a "since" timestamp, only newer snapshots are returned.
repeated .soulfire.v1.MetricsSnapshot snapshots = 1; -
hasDistributions
public boolean hasDistributions()Current-state distributions computed from the latest bot data.
.soulfire.v1.MetricsDistributions distributions = 2;- Specified by:
hasDistributionsin interfaceGetInstanceMetricsResponseOrBuilder- Returns:
- Whether the distributions field is set.
-
getDistributions
Current-state distributions computed from the latest bot data.
.soulfire.v1.MetricsDistributions distributions = 2;- Specified by:
getDistributionsin interfaceGetInstanceMetricsResponseOrBuilder- Returns:
- The distributions.
-
setDistributions
Current-state distributions computed from the latest bot data.
.soulfire.v1.MetricsDistributions distributions = 2; -
setDistributions
public GetInstanceMetricsResponse.Builder setDistributions(MetricsDistributions.Builder builderForValue) Current-state distributions computed from the latest bot data.
.soulfire.v1.MetricsDistributions distributions = 2; -
mergeDistributions
Current-state distributions computed from the latest bot data.
.soulfire.v1.MetricsDistributions distributions = 2; -
clearDistributions
Current-state distributions computed from the latest bot data.
.soulfire.v1.MetricsDistributions distributions = 2; -
getDistributionsBuilder
Current-state distributions computed from the latest bot data.
.soulfire.v1.MetricsDistributions distributions = 2; -
getDistributionsOrBuilder
Current-state distributions computed from the latest bot data.
.soulfire.v1.MetricsDistributions distributions = 2;- Specified by:
getDistributionsOrBuilderin interfaceGetInstanceMetricsResponseOrBuilder
-