public static final class TopologyMaster.TMasterLocation.Builder extends com.google.protobuf.GeneratedMessage.Builder<TopologyMaster.TMasterLocation.Builder> implements TopologyMaster.TMasterLocationOrBuilder
heron.proto.tmaster.TMasterLocation
Modifier and Type | Method and Description |
---|---|
TopologyMaster.TMasterLocation |
build() |
TopologyMaster.TMasterLocation |
buildPartial() |
TopologyMaster.TMasterLocation.Builder |
clear() |
TopologyMaster.TMasterLocation.Builder |
clearControllerPort()
required int32 controller_port = 4; |
TopologyMaster.TMasterLocation.Builder |
clearHost()
required string host = 3; |
TopologyMaster.TMasterLocation.Builder |
clearMasterPort()
required int32 master_port = 5; |
TopologyMaster.TMasterLocation.Builder |
clearStatsPort()
optional int32 stats_port = 6; |
TopologyMaster.TMasterLocation.Builder |
clearTopologyId()
required string topology_id = 2; |
TopologyMaster.TMasterLocation.Builder |
clearTopologyName()
required string topology_name = 1; |
TopologyMaster.TMasterLocation.Builder |
clone() |
int |
getControllerPort()
required int32 controller_port = 4; |
TopologyMaster.TMasterLocation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getHost()
required string host = 3; |
com.google.protobuf.ByteString |
getHostBytes()
required string host = 3; |
int |
getMasterPort()
required int32 master_port = 5; |
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; |
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() |
TopologyMaster.TMasterLocation.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TopologyMaster.TMasterLocation.Builder |
mergeFrom(com.google.protobuf.Message other) |
TopologyMaster.TMasterLocation.Builder |
mergeFrom(TopologyMaster.TMasterLocation other) |
TopologyMaster.TMasterLocation.Builder |
setControllerPort(int value)
required int32 controller_port = 4; |
TopologyMaster.TMasterLocation.Builder |
setHost(java.lang.String value)
required string host = 3; |
TopologyMaster.TMasterLocation.Builder |
setHostBytes(com.google.protobuf.ByteString value)
required string host = 3; |
TopologyMaster.TMasterLocation.Builder |
setMasterPort(int value)
required int32 master_port = 5; |
TopologyMaster.TMasterLocation.Builder |
setStatsPort(int value)
optional int32 stats_port = 6; |
TopologyMaster.TMasterLocation.Builder |
setTopologyId(java.lang.String value)
required string topology_id = 2; |
TopologyMaster.TMasterLocation.Builder |
setTopologyIdBytes(com.google.protobuf.ByteString value)
required string topology_id = 2; |
TopologyMaster.TMasterLocation.Builder |
setTopologyName(java.lang.String value)
required string topology_name = 1; |
TopologyMaster.TMasterLocation.Builder |
setTopologyNameBytes(com.google.protobuf.ByteString value)
required string topology_name = 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.TMasterLocation.Builder>
public TopologyMaster.TMasterLocation.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.TMasterLocation.Builder>
public TopologyMaster.TMasterLocation.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.TMasterLocation.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.TMasterLocation.Builder>
public TopologyMaster.TMasterLocation getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public TopologyMaster.TMasterLocation build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public TopologyMaster.TMasterLocation buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public TopologyMaster.TMasterLocation.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<TopologyMaster.TMasterLocation.Builder>
public TopologyMaster.TMasterLocation.Builder mergeFrom(TopologyMaster.TMasterLocation other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<TopologyMaster.TMasterLocation.Builder>
public TopologyMaster.TMasterLocation.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.TMasterLocation.Builder>
java.io.IOException
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 TopologyMaster.TMasterLocation.Builder setTopologyName(java.lang.String value)
required string topology_name = 1;
public TopologyMaster.TMasterLocation.Builder clearTopologyName()
required string topology_name = 1;
public TopologyMaster.TMasterLocation.Builder setTopologyNameBytes(com.google.protobuf.ByteString value)
required string topology_name = 1;
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 TopologyMaster.TMasterLocation.Builder setTopologyId(java.lang.String value)
required string topology_id = 2;
public TopologyMaster.TMasterLocation.Builder clearTopologyId()
required string topology_id = 2;
public TopologyMaster.TMasterLocation.Builder setTopologyIdBytes(com.google.protobuf.ByteString value)
required string topology_id = 2;
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 TopologyMaster.TMasterLocation.Builder setHost(java.lang.String value)
required string host = 3;
public TopologyMaster.TMasterLocation.Builder clearHost()
required string host = 3;
public TopologyMaster.TMasterLocation.Builder setHostBytes(com.google.protobuf.ByteString value)
required string host = 3;
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 TopologyMaster.TMasterLocation.Builder setControllerPort(int value)
required int32 controller_port = 4;
The port to talk to the tmaster for topology control actions like Activate/DeActivate/Drain etc
public TopologyMaster.TMasterLocation.Builder clearControllerPort()
required int32 controller_port = 4;
The port to talk to the tmaster for topology control actions like Activate/DeActivate/Drain etc
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 TopologyMaster.TMasterLocation.Builder setMasterPort(int value)
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
public TopologyMaster.TMasterLocation.Builder clearMasterPort()
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
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 TopologyMaster.TMasterLocation.Builder setStatsPort(int value)
optional int32 stats_port = 6;
The port that is a http endpoint to publish stats about the topology
public TopologyMaster.TMasterLocation.Builder clearStatsPort()
optional int32 stats_port = 6;
The port that is a http endpoint to publish stats about the topology