public static final class TopologyMaster.MetricResponse extends com.google.protobuf.GeneratedMessage implements TopologyMaster.MetricResponseOrBuilder
heron.proto.tmaster.MetricResponse
Modifier and Type | Class and Description |
---|---|
static class |
TopologyMaster.MetricResponse.Builder
Protobuf type
heron.proto.tmaster.MetricResponse |
static class |
TopologyMaster.MetricResponse.IndividualMetric
Protobuf type
heron.proto.tmaster.MetricResponse.IndividualMetric |
static interface |
TopologyMaster.MetricResponse.IndividualMetricOrBuilder |
static class |
TopologyMaster.MetricResponse.TaskMetric
Protobuf type
heron.proto.tmaster.MetricResponse.TaskMetric |
static interface |
TopologyMaster.MetricResponse.TaskMetricOrBuilder |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>
Modifier and Type | Field and Description |
---|---|
static int |
INTERVAL_FIELD_NUMBER |
static int |
METRIC_FIELD_NUMBER |
static com.google.protobuf.Parser<TopologyMaster.MetricResponse> |
PARSER |
static int |
STATUS_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
static TopologyMaster.MetricResponse |
getDefaultInstance() |
TopologyMaster.MetricResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
long |
getInterval()
optional int64 interval = 3; |
TopologyMaster.MetricResponse.TaskMetric |
getMetric(int index)
repeated .heron.proto.tmaster.MetricResponse.TaskMetric metric = 2; |
int |
getMetricCount()
repeated .heron.proto.tmaster.MetricResponse.TaskMetric metric = 2; |
java.util.List<TopologyMaster.MetricResponse.TaskMetric> |
getMetricList()
repeated .heron.proto.tmaster.MetricResponse.TaskMetric metric = 2; |
TopologyMaster.MetricResponse.TaskMetricOrBuilder |
getMetricOrBuilder(int index)
repeated .heron.proto.tmaster.MetricResponse.TaskMetric metric = 2; |
java.util.List<? extends TopologyMaster.MetricResponse.TaskMetricOrBuilder> |
getMetricOrBuilderList()
repeated .heron.proto.tmaster.MetricResponse.TaskMetric metric = 2; |
com.google.protobuf.Parser<TopologyMaster.MetricResponse> |
getParserForType() |
int |
getSerializedSize() |
Common.Status |
getStatus()
required .heron.proto.system.Status status = 1; |
Common.StatusOrBuilder |
getStatusOrBuilder()
required .heron.proto.system.Status status = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasInterval()
optional int64 interval = 3; |
boolean |
hasStatus()
required .heron.proto.system.Status status = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TopologyMaster.MetricResponse.Builder |
newBuilder() |
static TopologyMaster.MetricResponse.Builder |
newBuilder(TopologyMaster.MetricResponse prototype) |
TopologyMaster.MetricResponse.Builder |
newBuilderForType() |
protected TopologyMaster.MetricResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static TopologyMaster.MetricResponse |
parseDelimitedFrom(java.io.InputStream input) |
static TopologyMaster.MetricResponse |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TopologyMaster.MetricResponse |
parseFrom(byte[] data) |
static TopologyMaster.MetricResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TopologyMaster.MetricResponse |
parseFrom(com.google.protobuf.ByteString data) |
static TopologyMaster.MetricResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TopologyMaster.MetricResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TopologyMaster.MetricResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TopologyMaster.MetricResponse |
parseFrom(java.io.InputStream input) |
static TopologyMaster.MetricResponse |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TopologyMaster.MetricResponse.Builder |
toBuilder() |
protected java.lang.Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField
equals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toString
toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static com.google.protobuf.Parser<TopologyMaster.MetricResponse> PARSER
public static final int STATUS_FIELD_NUMBER
public static final int METRIC_FIELD_NUMBER
public static final int INTERVAL_FIELD_NUMBER
public static TopologyMaster.MetricResponse getDefaultInstance()
public TopologyMaster.MetricResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<TopologyMaster.MetricResponse> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasStatus()
required .heron.proto.system.Status status = 1;
hasStatus
in interface TopologyMaster.MetricResponseOrBuilder
public Common.Status getStatus()
required .heron.proto.system.Status status = 1;
getStatus
in interface TopologyMaster.MetricResponseOrBuilder
public Common.StatusOrBuilder getStatusOrBuilder()
required .heron.proto.system.Status status = 1;
getStatusOrBuilder
in interface TopologyMaster.MetricResponseOrBuilder
public java.util.List<TopologyMaster.MetricResponse.TaskMetric> getMetricList()
repeated .heron.proto.tmaster.MetricResponse.TaskMetric metric = 2;
The order is the same as the request
getMetricList
in interface TopologyMaster.MetricResponseOrBuilder
public java.util.List<? extends TopologyMaster.MetricResponse.TaskMetricOrBuilder> getMetricOrBuilderList()
repeated .heron.proto.tmaster.MetricResponse.TaskMetric metric = 2;
The order is the same as the request
getMetricOrBuilderList
in interface TopologyMaster.MetricResponseOrBuilder
public int getMetricCount()
repeated .heron.proto.tmaster.MetricResponse.TaskMetric metric = 2;
The order is the same as the request
getMetricCount
in interface TopologyMaster.MetricResponseOrBuilder
public TopologyMaster.MetricResponse.TaskMetric getMetric(int index)
repeated .heron.proto.tmaster.MetricResponse.TaskMetric metric = 2;
The order is the same as the request
getMetric
in interface TopologyMaster.MetricResponseOrBuilder
public TopologyMaster.MetricResponse.TaskMetricOrBuilder getMetricOrBuilder(int index)
repeated .heron.proto.tmaster.MetricResponse.TaskMetric metric = 2;
The order is the same as the request
getMetricOrBuilder
in interface TopologyMaster.MetricResponseOrBuilder
public boolean hasInterval()
optional int64 interval = 3;
The interval we got the data for. This may not be present in case status is NOTOK
hasInterval
in interface TopologyMaster.MetricResponseOrBuilder
public long getInterval()
optional int64 interval = 3;
The interval we got the data for. This may not be present in case status is NOTOK
getInterval
in interface TopologyMaster.MetricResponseOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected java.lang.Object writeReplace() throws java.io.ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
java.io.ObjectStreamException
public static TopologyMaster.MetricResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TopologyMaster.MetricResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TopologyMaster.MetricResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TopologyMaster.MetricResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TopologyMaster.MetricResponse parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static TopologyMaster.MetricResponse parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static TopologyMaster.MetricResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static TopologyMaster.MetricResponse parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static TopologyMaster.MetricResponse parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static TopologyMaster.MetricResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static TopologyMaster.MetricResponse.Builder newBuilder()
public TopologyMaster.MetricResponse.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static TopologyMaster.MetricResponse.Builder newBuilder(TopologyMaster.MetricResponse prototype)
public TopologyMaster.MetricResponse.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected TopologyMaster.MetricResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage