public static final class TopologyMaster.MetricRequest extends com.google.protobuf.GeneratedMessage implements TopologyMaster.MetricRequestOrBuilder
heron.proto.tmaster.MetricRequest
Modifier and Type | Class and Description |
---|---|
static class |
TopologyMaster.MetricRequest.Builder
Protobuf type
heron.proto.tmaster.MetricRequest |
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 |
COMPONENT_NAME_FIELD_NUMBER |
static int |
EXPLICIT_INTERVAL_FIELD_NUMBER |
static int |
INSTANCE_ID_FIELD_NUMBER |
static int |
INTERVAL_FIELD_NUMBER |
static int |
METRIC_FIELD_NUMBER |
static int |
MINUTELY_FIELD_NUMBER |
static com.google.protobuf.Parser<TopologyMaster.MetricRequest> |
PARSER |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getComponentName()
required string component_name = 1; |
com.google.protobuf.ByteString |
getComponentNameBytes()
required string component_name = 1; |
static TopologyMaster.MetricRequest |
getDefaultInstance() |
TopologyMaster.MetricRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
TopologyMaster.MetricInterval |
getExplicitInterval()
optional .heron.proto.tmaster.MetricInterval explicit_interval = 5; |
TopologyMaster.MetricIntervalOrBuilder |
getExplicitIntervalOrBuilder()
optional .heron.proto.tmaster.MetricInterval explicit_interval = 5; |
java.lang.String |
getInstanceId(int index)
repeated string instance_id = 2; |
com.google.protobuf.ByteString |
getInstanceIdBytes(int index)
repeated string instance_id = 2; |
int |
getInstanceIdCount()
repeated string instance_id = 2; |
java.util.List<java.lang.String> |
getInstanceIdList()
repeated string instance_id = 2; |
long |
getInterval()
optional int64 interval = 4; |
java.lang.String |
getMetric(int index)
repeated string metric = 3; |
com.google.protobuf.ByteString |
getMetricBytes(int index)
repeated string metric = 3; |
int |
getMetricCount()
repeated string metric = 3; |
java.util.List<java.lang.String> |
getMetricList()
repeated string metric = 3; |
boolean |
getMinutely()
optional bool minutely = 6 [default = false]; |
com.google.protobuf.Parser<TopologyMaster.MetricRequest> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasComponentName()
required string component_name = 1; |
boolean |
hasExplicitInterval()
optional .heron.proto.tmaster.MetricInterval explicit_interval = 5; |
boolean |
hasInterval()
optional int64 interval = 4; |
boolean |
hasMinutely()
optional bool minutely = 6 [default = false]; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TopologyMaster.MetricRequest.Builder |
newBuilder() |
static TopologyMaster.MetricRequest.Builder |
newBuilder(TopologyMaster.MetricRequest prototype) |
TopologyMaster.MetricRequest.Builder |
newBuilderForType() |
protected TopologyMaster.MetricRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static TopologyMaster.MetricRequest |
parseDelimitedFrom(java.io.InputStream input) |
static TopologyMaster.MetricRequest |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TopologyMaster.MetricRequest |
parseFrom(byte[] data) |
static TopologyMaster.MetricRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TopologyMaster.MetricRequest |
parseFrom(com.google.protobuf.ByteString data) |
static TopologyMaster.MetricRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TopologyMaster.MetricRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TopologyMaster.MetricRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TopologyMaster.MetricRequest |
parseFrom(java.io.InputStream input) |
static TopologyMaster.MetricRequest |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TopologyMaster.MetricRequest.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.MetricRequest> PARSER
public static final int COMPONENT_NAME_FIELD_NUMBER
public static final int INSTANCE_ID_FIELD_NUMBER
public static final int METRIC_FIELD_NUMBER
public static final int INTERVAL_FIELD_NUMBER
public static final int EXPLICIT_INTERVAL_FIELD_NUMBER
public static final int MINUTELY_FIELD_NUMBER
public static TopologyMaster.MetricRequest getDefaultInstance()
public TopologyMaster.MetricRequest 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.MetricRequest> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasComponentName()
required string component_name = 1;
hasComponentName
in interface TopologyMaster.MetricRequestOrBuilder
public java.lang.String getComponentName()
required string component_name = 1;
getComponentName
in interface TopologyMaster.MetricRequestOrBuilder
public com.google.protobuf.ByteString getComponentNameBytes()
required string component_name = 1;
getComponentNameBytes
in interface TopologyMaster.MetricRequestOrBuilder
public java.util.List<java.lang.String> getInstanceIdList()
repeated string instance_id = 2;
The instance ids to get the stats from If nothing is specified, we will get from all the instances of the component name
getInstanceIdList
in interface TopologyMaster.MetricRequestOrBuilder
public int getInstanceIdCount()
repeated string instance_id = 2;
The instance ids to get the stats from If nothing is specified, we will get from all the instances of the component name
getInstanceIdCount
in interface TopologyMaster.MetricRequestOrBuilder
public java.lang.String getInstanceId(int index)
repeated string instance_id = 2;
The instance ids to get the stats from If nothing is specified, we will get from all the instances of the component name
getInstanceId
in interface TopologyMaster.MetricRequestOrBuilder
public com.google.protobuf.ByteString getInstanceIdBytes(int index)
repeated string instance_id = 2;
The instance ids to get the stats from If nothing is specified, we will get from all the instances of the component name
getInstanceIdBytes
in interface TopologyMaster.MetricRequestOrBuilder
public java.util.List<java.lang.String> getMetricList()
repeated string metric = 3;
What set of metrics you are interested in Example is __emit-count/default
getMetricList
in interface TopologyMaster.MetricRequestOrBuilder
public int getMetricCount()
repeated string metric = 3;
What set of metrics you are interested in Example is __emit-count/default
getMetricCount
in interface TopologyMaster.MetricRequestOrBuilder
public java.lang.String getMetric(int index)
repeated string metric = 3;
What set of metrics you are interested in Example is __emit-count/default
getMetric
in interface TopologyMaster.MetricRequestOrBuilder
public com.google.protobuf.ByteString getMetricBytes(int index)
repeated string metric = 3;
What set of metrics you are interested in Example is __emit-count/default
getMetricBytes
in interface TopologyMaster.MetricRequestOrBuilder
public boolean hasInterval()
optional int64 interval = 4;
what timeframe data in seconds -1/0 means everything What is the time interval that you want the metrics for Clients can specify one in many ways. 1. interval. Essentially seconds worth of metrics before the current time 2. explicit_interval. An explicit interval
hasInterval
in interface TopologyMaster.MetricRequestOrBuilder
public long getInterval()
optional int64 interval = 4;
what timeframe data in seconds -1/0 means everything What is the time interval that you want the metrics for Clients can specify one in many ways. 1. interval. Essentially seconds worth of metrics before the current time 2. explicit_interval. An explicit interval
getInterval
in interface TopologyMaster.MetricRequestOrBuilder
public boolean hasExplicitInterval()
optional .heron.proto.tmaster.MetricInterval explicit_interval = 5;
hasExplicitInterval
in interface TopologyMaster.MetricRequestOrBuilder
public TopologyMaster.MetricInterval getExplicitInterval()
optional .heron.proto.tmaster.MetricInterval explicit_interval = 5;
getExplicitInterval
in interface TopologyMaster.MetricRequestOrBuilder
public TopologyMaster.MetricIntervalOrBuilder getExplicitIntervalOrBuilder()
optional .heron.proto.tmaster.MetricInterval explicit_interval = 5;
getExplicitIntervalOrBuilder
in interface TopologyMaster.MetricRequestOrBuilder
public boolean hasMinutely()
optional bool minutely = 6 [default = false];
Do you want metrics broken down on a per minute basis?
hasMinutely
in interface TopologyMaster.MetricRequestOrBuilder
public boolean getMinutely()
optional bool minutely = 6 [default = false];
Do you want metrics broken down on a per minute basis?
getMinutely
in interface TopologyMaster.MetricRequestOrBuilder
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.MetricRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TopologyMaster.MetricRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TopologyMaster.MetricRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TopologyMaster.MetricRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TopologyMaster.MetricRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static TopologyMaster.MetricRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static TopologyMaster.MetricRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static TopologyMaster.MetricRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static TopologyMaster.MetricRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static TopologyMaster.MetricRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static TopologyMaster.MetricRequest.Builder newBuilder()
public TopologyMaster.MetricRequest.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static TopologyMaster.MetricRequest.Builder newBuilder(TopologyMaster.MetricRequest prototype)
public TopologyMaster.MetricRequest.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected TopologyMaster.MetricRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage