public static final class Scheduler.RestartTopologyRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<Scheduler.RestartTopologyRequest.Builder> implements Scheduler.RestartTopologyRequestOrBuilder
heron.proto.scheduler.RestartTopologyRequest
Modifier and Type | Method and Description |
---|---|
Scheduler.RestartTopologyRequest |
build() |
Scheduler.RestartTopologyRequest |
buildPartial() |
Scheduler.RestartTopologyRequest.Builder |
clear() |
Scheduler.RestartTopologyRequest.Builder |
clearContainerIndex()
required int32 container_index = 2; |
Scheduler.RestartTopologyRequest.Builder |
clearTopologyName()
required string topology_name = 1; |
Scheduler.RestartTopologyRequest.Builder |
clone() |
int |
getContainerIndex()
required int32 container_index = 2; |
Scheduler.RestartTopologyRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getTopologyName()
required string topology_name = 1; |
com.google.protobuf.ByteString |
getTopologyNameBytes()
required string topology_name = 1; |
boolean |
hasContainerIndex()
required int32 container_index = 2; |
boolean |
hasTopologyName()
required string topology_name = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Scheduler.RestartTopologyRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Scheduler.RestartTopologyRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
Scheduler.RestartTopologyRequest.Builder |
mergeFrom(Scheduler.RestartTopologyRequest other) |
Scheduler.RestartTopologyRequest.Builder |
setContainerIndex(int value)
required int32 container_index = 2; |
Scheduler.RestartTopologyRequest.Builder |
setTopologyName(java.lang.String value)
required string topology_name = 1; |
Scheduler.RestartTopologyRequest.Builder |
setTopologyNameBytes(com.google.protobuf.ByteString value)
required string topology_name = 1; |
addRepeatedField, clearField, clearOneof, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
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<Scheduler.RestartTopologyRequest.Builder>
public Scheduler.RestartTopologyRequest.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<Scheduler.RestartTopologyRequest.Builder>
public Scheduler.RestartTopologyRequest.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<Scheduler.RestartTopologyRequest.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<Scheduler.RestartTopologyRequest.Builder>
public Scheduler.RestartTopologyRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Scheduler.RestartTopologyRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Scheduler.RestartTopologyRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Scheduler.RestartTopologyRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Scheduler.RestartTopologyRequest.Builder>
public Scheduler.RestartTopologyRequest.Builder mergeFrom(Scheduler.RestartTopologyRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage.Builder<Scheduler.RestartTopologyRequest.Builder>
public Scheduler.RestartTopologyRequest.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<Scheduler.RestartTopologyRequest.Builder>
java.io.IOException
public boolean hasTopologyName()
required string topology_name = 1;
hasTopologyName
in interface Scheduler.RestartTopologyRequestOrBuilder
public java.lang.String getTopologyName()
required string topology_name = 1;
getTopologyName
in interface Scheduler.RestartTopologyRequestOrBuilder
public com.google.protobuf.ByteString getTopologyNameBytes()
required string topology_name = 1;
getTopologyNameBytes
in interface Scheduler.RestartTopologyRequestOrBuilder
public Scheduler.RestartTopologyRequest.Builder setTopologyName(java.lang.String value)
required string topology_name = 1;
public Scheduler.RestartTopologyRequest.Builder clearTopologyName()
required string topology_name = 1;
public Scheduler.RestartTopologyRequest.Builder setTopologyNameBytes(com.google.protobuf.ByteString value)
required string topology_name = 1;
public boolean hasContainerIndex()
required int32 container_index = 2;
container_index would be -1 if no container is specified to restart That means we would restart all containers.
hasContainerIndex
in interface Scheduler.RestartTopologyRequestOrBuilder
public int getContainerIndex()
required int32 container_index = 2;
container_index would be -1 if no container is specified to restart That means we would restart all containers.
getContainerIndex
in interface Scheduler.RestartTopologyRequestOrBuilder
public Scheduler.RestartTopologyRequest.Builder setContainerIndex(int value)
required int32 container_index = 2;
container_index would be -1 if no container is specified to restart That means we would restart all containers.
public Scheduler.RestartTopologyRequest.Builder clearContainerIndex()
required int32 container_index = 2;
container_index would be -1 if no container is specified to restart That means we would restart all containers.