public static final class TopologyMaster.TMasterLocation extends com.google.protobuf.GeneratedMessage implements TopologyMaster.TMasterLocationOrBuilder
heron.proto.tmaster.TMasterLocation
Modifier and Type | Class and Description |
---|---|
static class |
TopologyMaster.TMasterLocation.Builder
Protobuf type
heron.proto.tmaster.TMasterLocation |
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 |
CONTROLLER_PORT_FIELD_NUMBER |
static int |
HOST_FIELD_NUMBER |
static int |
MASTER_PORT_FIELD_NUMBER |
static com.google.protobuf.Parser<TopologyMaster.TMasterLocation> |
PARSER |
static int |
STATS_PORT_FIELD_NUMBER |
static int |
TOPOLOGY_ID_FIELD_NUMBER |
static int |
TOPOLOGY_NAME_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
int |
getControllerPort()
required int32 controller_port = 4; |
static TopologyMaster.TMasterLocation |
getDefaultInstance() |
TopologyMaster.TMasterLocation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getHost()
required string host = 3; |
com.google.protobuf.ByteString |
getHostBytes()
required string host = 3; |
int |
getMasterPort()
required int32 master_port = 5; |
com.google.protobuf.Parser<TopologyMaster.TMasterLocation> |
getParserForType() |
int |
getSerializedSize() |
int |
getStatsPort()
optional int32 stats_port = 6; |
java.lang.String |
getTopologyId()
required string topology_id = 2; |
com.google.protobuf.ByteString |
getTopologyIdBytes()
required string topology_id = 2; |
java.lang.String |
getTopologyName()
required string topology_name = 1; |
com.google.protobuf.ByteString |
getTopologyNameBytes()
required string topology_name = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasControllerPort()
required int32 controller_port = 4; |
boolean |
hasHost()
required string host = 3; |
boolean |
hasMasterPort()
required int32 master_port = 5; |
boolean |
hasStatsPort()
optional int32 stats_port = 6; |
boolean |
hasTopologyId()
required string topology_id = 2; |
boolean |
hasTopologyName()
required string topology_name = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static TopologyMaster.TMasterLocation.Builder |
newBuilder() |
static TopologyMaster.TMasterLocation.Builder |
newBuilder(TopologyMaster.TMasterLocation prototype) |
TopologyMaster.TMasterLocation.Builder |
newBuilderForType() |
protected TopologyMaster.TMasterLocation.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static TopologyMaster.TMasterLocation |
parseDelimitedFrom(java.io.InputStream input) |
static TopologyMaster.TMasterLocation |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TopologyMaster.TMasterLocation |
parseFrom(byte[] data) |
static TopologyMaster.TMasterLocation |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TopologyMaster.TMasterLocation |
parseFrom(com.google.protobuf.ByteString data) |
static TopologyMaster.TMasterLocation |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TopologyMaster.TMasterLocation |
parseFrom(com.google.protobuf.CodedInputStream input) |
static TopologyMaster.TMasterLocation |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static TopologyMaster.TMasterLocation |
parseFrom(java.io.InputStream input) |
static TopologyMaster.TMasterLocation |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TopologyMaster.TMasterLocation.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.TMasterLocation> PARSER
public static final int TOPOLOGY_NAME_FIELD_NUMBER
public static final int TOPOLOGY_ID_FIELD_NUMBER
public static final int HOST_FIELD_NUMBER
public static final int CONTROLLER_PORT_FIELD_NUMBER
public static final int MASTER_PORT_FIELD_NUMBER
public static final int STATS_PORT_FIELD_NUMBER
public static TopologyMaster.TMasterLocation getDefaultInstance()
public TopologyMaster.TMasterLocation 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.TMasterLocation> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasTopologyName()
required string topology_name = 1;
hasTopologyName
in interface TopologyMaster.TMasterLocationOrBuilder
public java.lang.String getTopologyName()
required string topology_name = 1;
getTopologyName
in interface TopologyMaster.TMasterLocationOrBuilder
public com.google.protobuf.ByteString getTopologyNameBytes()
required string topology_name = 1;
getTopologyNameBytes
in interface TopologyMaster.TMasterLocationOrBuilder
public boolean hasTopologyId()
required string topology_id = 2;
hasTopologyId
in interface TopologyMaster.TMasterLocationOrBuilder
public java.lang.String getTopologyId()
required string topology_id = 2;
getTopologyId
in interface TopologyMaster.TMasterLocationOrBuilder
public com.google.protobuf.ByteString getTopologyIdBytes()
required string topology_id = 2;
getTopologyIdBytes
in interface TopologyMaster.TMasterLocationOrBuilder
public boolean hasHost()
required string host = 3;
hasHost
in interface TopologyMaster.TMasterLocationOrBuilder
public java.lang.String getHost()
required string host = 3;
getHost
in interface TopologyMaster.TMasterLocationOrBuilder
public com.google.protobuf.ByteString getHostBytes()
required string host = 3;
getHostBytes
in interface TopologyMaster.TMasterLocationOrBuilder
public boolean hasControllerPort()
required int32 controller_port = 4;
The port to talk to the tmaster for topology control actions like Activate/DeActivate/Drain etc
hasControllerPort
in interface TopologyMaster.TMasterLocationOrBuilder
public int getControllerPort()
required int32 controller_port = 4;
The port to talk to the tmaster for topology control actions like Activate/DeActivate/Drain etc
getControllerPort
in interface TopologyMaster.TMasterLocationOrBuilder
public boolean hasMasterPort()
required int32 master_port = 5;
The port that different components of the topology use to talk to the tmaster like stmgr for getting pplans and metrics mgr for sending stats
hasMasterPort
in interface TopologyMaster.TMasterLocationOrBuilder
public int getMasterPort()
required int32 master_port = 5;
The port that different components of the topology use to talk to the tmaster like stmgr for getting pplans and metrics mgr for sending stats
getMasterPort
in interface TopologyMaster.TMasterLocationOrBuilder
public boolean hasStatsPort()
optional int32 stats_port = 6;
The port that is a http endpoint to publish stats about the topology
hasStatsPort
in interface TopologyMaster.TMasterLocationOrBuilder
public int getStatsPort()
optional int32 stats_port = 6;
The port that is a http endpoint to publish stats about the topology
getStatsPort
in interface TopologyMaster.TMasterLocationOrBuilder
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.TMasterLocation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TopologyMaster.TMasterLocation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TopologyMaster.TMasterLocation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TopologyMaster.TMasterLocation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static TopologyMaster.TMasterLocation parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static TopologyMaster.TMasterLocation parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static TopologyMaster.TMasterLocation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static TopologyMaster.TMasterLocation parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static TopologyMaster.TMasterLocation parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static TopologyMaster.TMasterLocation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static TopologyMaster.TMasterLocation.Builder newBuilder()
public TopologyMaster.TMasterLocation.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static TopologyMaster.TMasterLocation.Builder newBuilder(TopologyMaster.TMasterLocation prototype)
public TopologyMaster.TMasterLocation.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected TopologyMaster.TMasterLocation.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage