public static final class TopologyMaster.MetricResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<TopologyMaster.MetricResponse.Builder> implements TopologyMaster.MetricResponseOrBuilder
heron.proto.tmaster.MetricResponse
Modifier and Type | Method and Description |
---|---|
TopologyMaster.MetricResponse.Builder |
addAllMetric(java.lang.Iterable<? extends TopologyMaster.MetricResponse.TaskMetric> values)
repeated .heron.proto.tmaster.MetricResponse.TaskMetric metric = 2; |
TopologyMaster.MetricResponse.Builder |
addMetric(int index,
TopologyMaster.MetricResponse.TaskMetric.Builder builderForValue)
repeated .heron.proto.tmaster.MetricResponse.TaskMetric metric = 2; |
TopologyMaster.MetricResponse.Builder |
addMetric(int index,
TopologyMaster.MetricResponse.TaskMetric value)
repeated .heron.proto.tmaster.MetricResponse.TaskMetric metric = 2; |
TopologyMaster.MetricResponse.Builder |
addMetric(TopologyMaster.MetricResponse.TaskMetric.Builder builderForValue)
repeated .heron.proto.tmaster.MetricResponse.TaskMetric metric = 2; |
TopologyMaster.MetricResponse.Builder |
addMetric(TopologyMaster.MetricResponse.TaskMetric value)
repeated .heron.proto.tmaster.MetricResponse.TaskMetric metric = 2; |
TopologyMaster.MetricResponse.TaskMetric.Builder |
addMetricBuilder()
repeated .heron.proto.tmaster.MetricResponse.TaskMetric metric = 2; |
TopologyMaster.MetricResponse.TaskMetric.Builder |
addMetricBuilder(int index)
repeated .heron.proto.tmaster.MetricResponse.TaskMetric metric = 2; |
TopologyMaster.MetricResponse |
build() |
TopologyMaster.MetricResponse |
buildPartial() |
TopologyMaster.MetricResponse.Builder |
clear() |
TopologyMaster.MetricResponse.Builder |
clearInterval()
optional int64 interval = 3; |
TopologyMaster.MetricResponse.Builder |
clearMetric()
repeated .heron.proto.tmaster.MetricResponse.TaskMetric metric = 2; |
TopologyMaster.MetricResponse.Builder |
clearStatus()
required .heron.proto.system.Status status = 1; |
TopologyMaster.MetricResponse.Builder |
clone() |
TopologyMaster.MetricResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getInterval()
optional int64 interval = 3; |
TopologyMaster.MetricResponse.TaskMetric |
getMetric(int index)
repeated .heron.proto.tmaster.MetricResponse.TaskMetric metric = 2; |
TopologyMaster.MetricResponse.TaskMetric.Builder |
getMetricBuilder(int index)
repeated .heron.proto.tmaster.MetricResponse.TaskMetric metric = 2; |
java.util.List<TopologyMaster.MetricResponse.TaskMetric.Builder> |
getMetricBuilderList()
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; |
Common.Status |
getStatus()
required .heron.proto.system.Status status = 1; |
Common.Status.Builder |
getStatusBuilder()
required .heron.proto.system.Status status = 1; |
Common.StatusOrBuilder |
getStatusOrBuilder()
required .heron.proto.system.Status status = 1; |
boolean |
hasInterval()
optional int64 interval = 3; |
boolean |
hasStatus()
required .heron.proto.system.Status status = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TopologyMaster.MetricResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TopologyMaster.MetricResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
TopologyMaster.MetricResponse.Builder |
mergeFrom(TopologyMaster.MetricResponse other) |
TopologyMaster.MetricResponse.Builder |
mergeStatus(Common.Status value)
required .heron.proto.system.Status status = 1; |
TopologyMaster.MetricResponse.Builder |
removeMetric(int index)
repeated .heron.proto.tmaster.MetricResponse.TaskMetric metric = 2; |
TopologyMaster.MetricResponse.Builder |
setInterval(long value)
optional int64 interval = 3; |
TopologyMaster.MetricResponse.Builder |
setMetric(int index,
TopologyMaster.MetricResponse.TaskMetric.Builder builderForValue)
repeated .heron.proto.tmaster.MetricResponse.TaskMetric metric = 2; |
TopologyMaster.MetricResponse.Builder |
setMetric(int index,
TopologyMaster.MetricResponse.TaskMetric value)
repeated .heron.proto.tmaster.MetricResponse.TaskMetric metric = 2; |
TopologyMaster.MetricResponse.Builder |
setStatus(Common.Status.Builder builderForValue)
required .heron.proto.system.Status status = 1; |
TopologyMaster.MetricResponse.Builder |
setStatus(Common.Status value)
required .heron.proto.system.Status status = 1; |
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.MetricResponse.Builder>
public TopologyMaster.MetricResponse.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.MetricResponse.Builder>
public TopologyMaster.MetricResponse.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.MetricResponse.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.MetricResponse.Builder>
public TopologyMaster.MetricResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public TopologyMaster.MetricResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public TopologyMaster.MetricResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public TopologyMaster.MetricResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<TopologyMaster.MetricResponse.Builder>
public TopologyMaster.MetricResponse.Builder mergeFrom(TopologyMaster.MetricResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<TopologyMaster.MetricResponse.Builder>
public TopologyMaster.MetricResponse.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.MetricResponse.Builder>
java.io.IOException
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 TopologyMaster.MetricResponse.Builder setStatus(Common.Status value)
required .heron.proto.system.Status status = 1;
public TopologyMaster.MetricResponse.Builder setStatus(Common.Status.Builder builderForValue)
required .heron.proto.system.Status status = 1;
public TopologyMaster.MetricResponse.Builder mergeStatus(Common.Status value)
required .heron.proto.system.Status status = 1;
public TopologyMaster.MetricResponse.Builder clearStatus()
required .heron.proto.system.Status status = 1;
public Common.Status.Builder getStatusBuilder()
required .heron.proto.system.Status status = 1;
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 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.Builder setMetric(int index, TopologyMaster.MetricResponse.TaskMetric value)
repeated .heron.proto.tmaster.MetricResponse.TaskMetric metric = 2;
The order is the same as the request
public TopologyMaster.MetricResponse.Builder setMetric(int index, TopologyMaster.MetricResponse.TaskMetric.Builder builderForValue)
repeated .heron.proto.tmaster.MetricResponse.TaskMetric metric = 2;
The order is the same as the request
public TopologyMaster.MetricResponse.Builder addMetric(TopologyMaster.MetricResponse.TaskMetric value)
repeated .heron.proto.tmaster.MetricResponse.TaskMetric metric = 2;
The order is the same as the request
public TopologyMaster.MetricResponse.Builder addMetric(int index, TopologyMaster.MetricResponse.TaskMetric value)
repeated .heron.proto.tmaster.MetricResponse.TaskMetric metric = 2;
The order is the same as the request
public TopologyMaster.MetricResponse.Builder addMetric(TopologyMaster.MetricResponse.TaskMetric.Builder builderForValue)
repeated .heron.proto.tmaster.MetricResponse.TaskMetric metric = 2;
The order is the same as the request
public TopologyMaster.MetricResponse.Builder addMetric(int index, TopologyMaster.MetricResponse.TaskMetric.Builder builderForValue)
repeated .heron.proto.tmaster.MetricResponse.TaskMetric metric = 2;
The order is the same as the request
public TopologyMaster.MetricResponse.Builder addAllMetric(java.lang.Iterable<? extends TopologyMaster.MetricResponse.TaskMetric> values)
repeated .heron.proto.tmaster.MetricResponse.TaskMetric metric = 2;
The order is the same as the request
public TopologyMaster.MetricResponse.Builder clearMetric()
repeated .heron.proto.tmaster.MetricResponse.TaskMetric metric = 2;
The order is the same as the request
public TopologyMaster.MetricResponse.Builder removeMetric(int index)
repeated .heron.proto.tmaster.MetricResponse.TaskMetric metric = 2;
The order is the same as the request
public TopologyMaster.MetricResponse.TaskMetric.Builder getMetricBuilder(int index)
repeated .heron.proto.tmaster.MetricResponse.TaskMetric metric = 2;
The order is the same as the request
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 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 TopologyMaster.MetricResponse.TaskMetric.Builder addMetricBuilder()
repeated .heron.proto.tmaster.MetricResponse.TaskMetric metric = 2;
The order is the same as the request
public TopologyMaster.MetricResponse.TaskMetric.Builder addMetricBuilder(int index)
repeated .heron.proto.tmaster.MetricResponse.TaskMetric metric = 2;
The order is the same as the request
public java.util.List<TopologyMaster.MetricResponse.TaskMetric.Builder> getMetricBuilderList()
repeated .heron.proto.tmaster.MetricResponse.TaskMetric metric = 2;
The order is the same as the request
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 TopologyMaster.MetricResponse.Builder setInterval(long value)
optional int64 interval = 3;
The interval we got the data for. This may not be present in case status is NOTOK
public TopologyMaster.MetricResponse.Builder clearInterval()
optional int64 interval = 3;
The interval we got the data for. This may not be present in case status is NOTOK