public static final class TopologyMaster.MetricRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<TopologyMaster.MetricRequest.Builder> implements TopologyMaster.MetricRequestOrBuilder
heron.proto.tmaster.MetricRequest
Modifier and Type | Method and Description |
---|---|
TopologyMaster.MetricRequest.Builder |
addAllInstanceId(java.lang.Iterable<java.lang.String> values)
repeated string instance_id = 2; |
TopologyMaster.MetricRequest.Builder |
addAllMetric(java.lang.Iterable<java.lang.String> values)
repeated string metric = 3; |
TopologyMaster.MetricRequest.Builder |
addInstanceId(java.lang.String value)
repeated string instance_id = 2; |
TopologyMaster.MetricRequest.Builder |
addInstanceIdBytes(com.google.protobuf.ByteString value)
repeated string instance_id = 2; |
TopologyMaster.MetricRequest.Builder |
addMetric(java.lang.String value)
repeated string metric = 3; |
TopologyMaster.MetricRequest.Builder |
addMetricBytes(com.google.protobuf.ByteString value)
repeated string metric = 3; |
TopologyMaster.MetricRequest |
build() |
TopologyMaster.MetricRequest |
buildPartial() |
TopologyMaster.MetricRequest.Builder |
clear() |
TopologyMaster.MetricRequest.Builder |
clearComponentName()
required string component_name = 1; |
TopologyMaster.MetricRequest.Builder |
clearExplicitInterval()
optional .heron.proto.tmaster.MetricInterval explicit_interval = 5; |
TopologyMaster.MetricRequest.Builder |
clearInstanceId()
repeated string instance_id = 2; |
TopologyMaster.MetricRequest.Builder |
clearInterval()
optional int64 interval = 4; |
TopologyMaster.MetricRequest.Builder |
clearMetric()
repeated string metric = 3; |
TopologyMaster.MetricRequest.Builder |
clearMinutely()
optional bool minutely = 6 [default = false]; |
TopologyMaster.MetricRequest.Builder |
clone() |
java.lang.String |
getComponentName()
required string component_name = 1; |
com.google.protobuf.ByteString |
getComponentNameBytes()
required string component_name = 1; |
TopologyMaster.MetricRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
TopologyMaster.MetricInterval |
getExplicitInterval()
optional .heron.proto.tmaster.MetricInterval explicit_interval = 5; |
TopologyMaster.MetricInterval.Builder |
getExplicitIntervalBuilder()
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]; |
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() |
TopologyMaster.MetricRequest.Builder |
mergeExplicitInterval(TopologyMaster.MetricInterval value)
optional .heron.proto.tmaster.MetricInterval explicit_interval = 5; |
TopologyMaster.MetricRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TopologyMaster.MetricRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
TopologyMaster.MetricRequest.Builder |
mergeFrom(TopologyMaster.MetricRequest other) |
TopologyMaster.MetricRequest.Builder |
setComponentName(java.lang.String value)
required string component_name = 1; |
TopologyMaster.MetricRequest.Builder |
setComponentNameBytes(com.google.protobuf.ByteString value)
required string component_name = 1; |
TopologyMaster.MetricRequest.Builder |
setExplicitInterval(TopologyMaster.MetricInterval.Builder builderForValue)
optional .heron.proto.tmaster.MetricInterval explicit_interval = 5; |
TopologyMaster.MetricRequest.Builder |
setExplicitInterval(TopologyMaster.MetricInterval value)
optional .heron.proto.tmaster.MetricInterval explicit_interval = 5; |
TopologyMaster.MetricRequest.Builder |
setInstanceId(int index,
java.lang.String value)
repeated string instance_id = 2; |
TopologyMaster.MetricRequest.Builder |
setInterval(long value)
optional int64 interval = 4; |
TopologyMaster.MetricRequest.Builder |
setMetric(int index,
java.lang.String value)
repeated string metric = 3; |
TopologyMaster.MetricRequest.Builder |
setMinutely(boolean value)
optional bool minutely = 6 [default = false]; |
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
addAll, newUninitializedMessageException
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage.Builder<TopologyMaster.MetricRequest.Builder>
public TopologyMaster.MetricRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessage.Builder<TopologyMaster.MetricRequest.Builder>
public TopologyMaster.MetricRequest.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessage.Builder<TopologyMaster.MetricRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessage.Builder<TopologyMaster.MetricRequest.Builder>
public TopologyMaster.MetricRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public TopologyMaster.MetricRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public TopologyMaster.MetricRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public TopologyMaster.MetricRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<TopologyMaster.MetricRequest.Builder>
public TopologyMaster.MetricRequest.Builder mergeFrom(TopologyMaster.MetricRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<TopologyMaster.MetricRequest.Builder>
public TopologyMaster.MetricRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<TopologyMaster.MetricRequest.Builder>
java.io.IOException
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 TopologyMaster.MetricRequest.Builder setComponentName(java.lang.String value)
required string component_name = 1;
public TopologyMaster.MetricRequest.Builder clearComponentName()
required string component_name = 1;
public TopologyMaster.MetricRequest.Builder setComponentNameBytes(com.google.protobuf.ByteString value)
required string component_name = 1;
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 TopologyMaster.MetricRequest.Builder setInstanceId(int index, java.lang.String value)
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
public TopologyMaster.MetricRequest.Builder addInstanceId(java.lang.String value)
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
public TopologyMaster.MetricRequest.Builder addAllInstanceId(java.lang.Iterable<java.lang.String> values)
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
public TopologyMaster.MetricRequest.Builder clearInstanceId()
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
public TopologyMaster.MetricRequest.Builder addInstanceIdBytes(com.google.protobuf.ByteString value)
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
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 TopologyMaster.MetricRequest.Builder setMetric(int index, java.lang.String value)
repeated string metric = 3;
What set of metrics you are interested in Example is __emit-count/default
public TopologyMaster.MetricRequest.Builder addMetric(java.lang.String value)
repeated string metric = 3;
What set of metrics you are interested in Example is __emit-count/default
public TopologyMaster.MetricRequest.Builder addAllMetric(java.lang.Iterable<java.lang.String> values)
repeated string metric = 3;
What set of metrics you are interested in Example is __emit-count/default
public TopologyMaster.MetricRequest.Builder clearMetric()
repeated string metric = 3;
What set of metrics you are interested in Example is __emit-count/default
public TopologyMaster.MetricRequest.Builder addMetricBytes(com.google.protobuf.ByteString value)
repeated string metric = 3;
What set of metrics you are interested in Example is __emit-count/default
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 TopologyMaster.MetricRequest.Builder setInterval(long value)
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
public TopologyMaster.MetricRequest.Builder clearInterval()
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
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.MetricRequest.Builder setExplicitInterval(TopologyMaster.MetricInterval value)
optional .heron.proto.tmaster.MetricInterval explicit_interval = 5;
public TopologyMaster.MetricRequest.Builder setExplicitInterval(TopologyMaster.MetricInterval.Builder builderForValue)
optional .heron.proto.tmaster.MetricInterval explicit_interval = 5;
public TopologyMaster.MetricRequest.Builder mergeExplicitInterval(TopologyMaster.MetricInterval value)
optional .heron.proto.tmaster.MetricInterval explicit_interval = 5;
public TopologyMaster.MetricRequest.Builder clearExplicitInterval()
optional .heron.proto.tmaster.MetricInterval explicit_interval = 5;
public TopologyMaster.MetricInterval.Builder getExplicitIntervalBuilder()
optional .heron.proto.tmaster.MetricInterval explicit_interval = 5;
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 TopologyMaster.MetricRequest.Builder setMinutely(boolean value)
optional bool minutely = 6 [default = false];
Do you want metrics broken down on a per minute basis?
public TopologyMaster.MetricRequest.Builder clearMinutely()
optional bool minutely = 6 [default = false];
Do you want metrics broken down on a per minute basis?