public static final class Metrics.MetricPublisher extends com.google.protobuf.GeneratedMessage implements Metrics.MetricPublisherOrBuilder
heron.proto.system.MetricPublisher
Modifier and Type | Class and Description |
---|---|
static class |
Metrics.MetricPublisher.Builder
Protobuf type
heron.proto.system.MetricPublisher |
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 |
HOSTNAME_FIELD_NUMBER |
static int |
INSTANCE_ID_FIELD_NUMBER |
static int |
INSTANCE_INDEX_FIELD_NUMBER |
static com.google.protobuf.Parser<Metrics.MetricPublisher> |
PARSER |
static int |
PORT_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getComponentName()
required string component_name = 3; |
com.google.protobuf.ByteString |
getComponentNameBytes()
required string component_name = 3; |
static Metrics.MetricPublisher |
getDefaultInstance() |
Metrics.MetricPublisher |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getHostname()
required string hostname = 1; |
com.google.protobuf.ByteString |
getHostnameBytes()
required string hostname = 1; |
java.lang.String |
getInstanceId()
required string instance_id = 4; |
com.google.protobuf.ByteString |
getInstanceIdBytes()
required string instance_id = 4; |
int |
getInstanceIndex()
required int32 instance_index = 5; |
com.google.protobuf.Parser<Metrics.MetricPublisher> |
getParserForType() |
int |
getPort()
required int32 port = 2; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasComponentName()
required string component_name = 3; |
boolean |
hasHostname()
required string hostname = 1; |
boolean |
hasInstanceId()
required string instance_id = 4; |
boolean |
hasInstanceIndex()
required int32 instance_index = 5; |
boolean |
hasPort()
required int32 port = 2; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Metrics.MetricPublisher.Builder |
newBuilder() |
static Metrics.MetricPublisher.Builder |
newBuilder(Metrics.MetricPublisher prototype) |
Metrics.MetricPublisher.Builder |
newBuilderForType() |
protected Metrics.MetricPublisher.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static Metrics.MetricPublisher |
parseDelimitedFrom(java.io.InputStream input) |
static Metrics.MetricPublisher |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Metrics.MetricPublisher |
parseFrom(byte[] data) |
static Metrics.MetricPublisher |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Metrics.MetricPublisher |
parseFrom(com.google.protobuf.ByteString data) |
static Metrics.MetricPublisher |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Metrics.MetricPublisher |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Metrics.MetricPublisher |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Metrics.MetricPublisher |
parseFrom(java.io.InputStream input) |
static Metrics.MetricPublisher |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Metrics.MetricPublisher.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<Metrics.MetricPublisher> PARSER
public static final int HOSTNAME_FIELD_NUMBER
public static final int PORT_FIELD_NUMBER
public static final int COMPONENT_NAME_FIELD_NUMBER
public static final int INSTANCE_ID_FIELD_NUMBER
public static final int INSTANCE_INDEX_FIELD_NUMBER
public static Metrics.MetricPublisher getDefaultInstance()
public Metrics.MetricPublisher 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<Metrics.MetricPublisher> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasHostname()
required string hostname = 1;
hasHostname
in interface Metrics.MetricPublisherOrBuilder
public java.lang.String getHostname()
required string hostname = 1;
getHostname
in interface Metrics.MetricPublisherOrBuilder
public com.google.protobuf.ByteString getHostnameBytes()
required string hostname = 1;
getHostnameBytes
in interface Metrics.MetricPublisherOrBuilder
public boolean hasPort()
required int32 port = 2;
hasPort
in interface Metrics.MetricPublisherOrBuilder
public int getPort()
required int32 port = 2;
getPort
in interface Metrics.MetricPublisherOrBuilder
public boolean hasComponentName()
required string component_name = 3;
like Tail-FlatMap or __stmgr__
hasComponentName
in interface Metrics.MetricPublisherOrBuilder
public java.lang.String getComponentName()
required string component_name = 3;
like Tail-FlatMap or __stmgr__
getComponentName
in interface Metrics.MetricPublisherOrBuilder
public com.google.protobuf.ByteString getComponentNameBytes()
required string component_name = 3;
like Tail-FlatMap or __stmgr__
getComponentNameBytes
in interface Metrics.MetricPublisherOrBuilder
public boolean hasInstanceId()
required string instance_id = 4;
In case of regular instances, it is their instance_id For stmgr, it is the stmgr id
hasInstanceId
in interface Metrics.MetricPublisherOrBuilder
public java.lang.String getInstanceId()
required string instance_id = 4;
In case of regular instances, it is their instance_id For stmgr, it is the stmgr id
getInstanceId
in interface Metrics.MetricPublisherOrBuilder
public com.google.protobuf.ByteString getInstanceIdBytes()
required string instance_id = 4;
In case of regular instances, it is their instance_id For stmgr, it is the stmgr id
getInstanceIdBytes
in interface Metrics.MetricPublisherOrBuilder
public boolean hasInstanceIndex()
required int32 instance_index = 5;
The index of the instance with respect to that component_name
hasInstanceIndex
in interface Metrics.MetricPublisherOrBuilder
public int getInstanceIndex()
required int32 instance_index = 5;
The index of the instance with respect to that component_name
getInstanceIndex
in interface Metrics.MetricPublisherOrBuilder
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 Metrics.MetricPublisher parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Metrics.MetricPublisher parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Metrics.MetricPublisher parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Metrics.MetricPublisher parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Metrics.MetricPublisher parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Metrics.MetricPublisher parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Metrics.MetricPublisher parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Metrics.MetricPublisher parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Metrics.MetricPublisher parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Metrics.MetricPublisher parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Metrics.MetricPublisher.Builder newBuilder()
public Metrics.MetricPublisher.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static Metrics.MetricPublisher.Builder newBuilder(Metrics.MetricPublisher prototype)
public Metrics.MetricPublisher.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected Metrics.MetricPublisher.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage