public static final class TopologyMaster.MetricDatum extends com.google.protobuf.GeneratedMessage implements TopologyMaster.MetricDatumOrBuilder
heron.proto.tmaster.MetricDatum
interface called by the metric managers TODO: Rename this message to something else to avoid confusion with metrics::MetricDatum
Modifier and Type | Class and Description |
---|---|
static class |
TopologyMaster.MetricDatum.Builder
Protobuf type
heron.proto.tmaster.MetricDatum |
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 |
INSTANCE_ID_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static com.google.protobuf.Parser<TopologyMaster.MetricDatum> |
PARSER |
static int |
TIMESTAMP_FIELD_NUMBER |
static int |
VALUE_FIELD_NUMBER |
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.MetricDatum |
getDefaultInstance() |
TopologyMaster.MetricDatum |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getInstanceId()
required string instance_id = 2; |
com.google.protobuf.ByteString |
getInstanceIdBytes()
required string instance_id = 2; |
java.lang.String |
getName()
required string name = 3; |
com.google.protobuf.ByteString |
getNameBytes()
required string name = 3; |
com.google.protobuf.Parser<TopologyMaster.MetricDatum> |
getParserForType() |
int |
getSerializedSize() |
long |
getTimestamp()
required int64 timestamp = 5; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
java.lang.String |
getValue()
required string value = 4; |
com.google.protobuf.ByteString |
getValueBytes()
required string value = 4; |
boolean |
hasComponentName()
required string component_name = 1; |
boolean |
hasInstanceId()
required string instance_id = 2; |
boolean |
hasName()
required string name = 3; |
boolean |
hasTimestamp()
required int64 timestamp = 5; |
boolean |
hasValue()
required string value = 4; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TopologyMaster.MetricDatum.Builder |
newBuilder() |
static TopologyMaster.MetricDatum.Builder |
newBuilder(TopologyMaster.MetricDatum prototype) |
TopologyMaster.MetricDatum.Builder |
newBuilderForType() |
protected TopologyMaster.MetricDatum.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static TopologyMaster.MetricDatum |
parseDelimitedFrom(java.io.InputStream input) |
static TopologyMaster.MetricDatum |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TopologyMaster.MetricDatum |
parseFrom(byte[] data) |
static TopologyMaster.MetricDatum |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TopologyMaster.MetricDatum |
parseFrom(com.google.protobuf.ByteString data) |
static TopologyMaster.MetricDatum |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TopologyMaster.MetricDatum |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TopologyMaster.MetricDatum |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TopologyMaster.MetricDatum |
parseFrom(java.io.InputStream input) |
static TopologyMaster.MetricDatum |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TopologyMaster.MetricDatum.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.MetricDatum> PARSER
public static final int COMPONENT_NAME_FIELD_NUMBER
public static final int INSTANCE_ID_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER
public static TopologyMaster.MetricDatum getDefaultInstance()
public TopologyMaster.MetricDatum 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.MetricDatum> 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;
What is the name of the component Like Tail-FlatMap or __stmgr__
hasComponentName
in interface TopologyMaster.MetricDatumOrBuilder
public java.lang.String getComponentName()
required string component_name = 1;
What is the name of the component Like Tail-FlatMap or __stmgr__
getComponentName
in interface TopologyMaster.MetricDatumOrBuilder
public com.google.protobuf.ByteString getComponentNameBytes()
required string component_name = 1;
What is the name of the component Like Tail-FlatMap or __stmgr__
getComponentNameBytes
in interface TopologyMaster.MetricDatumOrBuilder
public boolean hasInstanceId()
required string instance_id = 2;
In case of a regular instance, it is the instance's instance_id. For stmgr it is the stmgr_id
hasInstanceId
in interface TopologyMaster.MetricDatumOrBuilder
public java.lang.String getInstanceId()
required string instance_id = 2;
In case of a regular instance, it is the instance's instance_id. For stmgr it is the stmgr_id
getInstanceId
in interface TopologyMaster.MetricDatumOrBuilder
public com.google.protobuf.ByteString getInstanceIdBytes()
required string instance_id = 2;
In case of a regular instance, it is the instance's instance_id. For stmgr it is the stmgr_id
getInstanceIdBytes
in interface TopologyMaster.MetricDatumOrBuilder
public boolean hasName()
required string name = 3;
hasName
in interface TopologyMaster.MetricDatumOrBuilder
public java.lang.String getName()
required string name = 3;
getName
in interface TopologyMaster.MetricDatumOrBuilder
public com.google.protobuf.ByteString getNameBytes()
required string name = 3;
getNameBytes
in interface TopologyMaster.MetricDatumOrBuilder
public boolean hasValue()
required string value = 4;
hasValue
in interface TopologyMaster.MetricDatumOrBuilder
public java.lang.String getValue()
required string value = 4;
getValue
in interface TopologyMaster.MetricDatumOrBuilder
public com.google.protobuf.ByteString getValueBytes()
required string value = 4;
getValueBytes
in interface TopologyMaster.MetricDatumOrBuilder
public boolean hasTimestamp()
required int64 timestamp = 5;
hasTimestamp
in interface TopologyMaster.MetricDatumOrBuilder
public long getTimestamp()
required int64 timestamp = 5;
getTimestamp
in interface TopologyMaster.MetricDatumOrBuilder
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.MetricDatum parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TopologyMaster.MetricDatum parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TopologyMaster.MetricDatum parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TopologyMaster.MetricDatum parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TopologyMaster.MetricDatum parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static TopologyMaster.MetricDatum parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static TopologyMaster.MetricDatum parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static TopologyMaster.MetricDatum parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static TopologyMaster.MetricDatum parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static TopologyMaster.MetricDatum parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static TopologyMaster.MetricDatum.Builder newBuilder()
public TopologyMaster.MetricDatum.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static TopologyMaster.MetricDatum.Builder newBuilder(TopologyMaster.MetricDatum prototype)
public TopologyMaster.MetricDatum.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected TopologyMaster.MetricDatum.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage