public static final class Protos.ExecutorInfo.Builder extends <any> implements Protos.ExecutorInfoOrBuilder
Describes information about an executor.Protobuf type
mesos.ExecutorInfo
Modifier and Type | Method and Description |
---|---|
Protos.ExecutorInfo.Builder |
addAllResources(java.lang.Iterable<? extends Protos.Resource> values)
repeated .mesos.Resource resources = 5; |
Protos.ExecutorInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.ExecutorInfo.Builder |
addResources(int index,
Protos.Resource.Builder builderForValue)
repeated .mesos.Resource resources = 5; |
Protos.ExecutorInfo.Builder |
addResources(int index,
Protos.Resource value)
repeated .mesos.Resource resources = 5; |
Protos.ExecutorInfo.Builder |
addResources(Protos.Resource.Builder builderForValue)
repeated .mesos.Resource resources = 5; |
Protos.ExecutorInfo.Builder |
addResources(Protos.Resource value)
repeated .mesos.Resource resources = 5; |
Protos.Resource.Builder |
addResourcesBuilder()
repeated .mesos.Resource resources = 5; |
Protos.Resource.Builder |
addResourcesBuilder(int index)
repeated .mesos.Resource resources = 5; |
Protos.ExecutorInfo |
build() |
Protos.ExecutorInfo |
buildPartial() |
Protos.ExecutorInfo.Builder |
clear() |
Protos.ExecutorInfo.Builder |
clearCommand()
optional .mesos.CommandInfo command = 7; |
Protos.ExecutorInfo.Builder |
clearContainer()
Executor provided with a container will launch the container
with the executor's CommandInfo and we expect the container to
act as a Mesos executor.
|
Protos.ExecutorInfo.Builder |
clearData()
This field can be used to pass arbitrary bytes to an executor.
|
Protos.ExecutorInfo.Builder |
clearDiscovery()
Service discovery information for the executor.
|
Protos.ExecutorInfo.Builder |
clearExecutorId()
required .mesos.ExecutorID executor_id = 1; |
Protos.ExecutorInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.ExecutorInfo.Builder |
clearFrameworkId()
TODO(benh): Make this required.
|
Protos.ExecutorInfo.Builder |
clearLabels()
Labels are free-form key value pairs which are exposed through
master and slave endpoints.
|
Protos.ExecutorInfo.Builder |
clearName()
optional string name = 9; |
Protos.ExecutorInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.ExecutorInfo.Builder |
clearResources()
repeated .mesos.Resource resources = 5; |
Protos.ExecutorInfo.Builder |
clearShutdownGracePeriod()
When shutting down an executor the agent will wait in a
best-effort manner for the grace period specified here
before forcibly destroying the container.
|
Protos.ExecutorInfo.Builder |
clearSource()
Deprecated.
|
Protos.ExecutorInfo.Builder |
clearType()
For backwards compatibility, if this field is not set when using `LAUNCH`
operation, Mesos will infer the type by checking if `command` is set
(`CUSTOM`) or unset (`DEFAULT`).
|
Protos.ExecutorInfo.Builder |
clone() |
Protos.CommandInfo |
getCommand()
optional .mesos.CommandInfo command = 7; |
Protos.CommandInfo.Builder |
getCommandBuilder()
optional .mesos.CommandInfo command = 7; |
Protos.CommandInfoOrBuilder |
getCommandOrBuilder()
optional .mesos.CommandInfo command = 7; |
Protos.ContainerInfo |
getContainer()
Executor provided with a container will launch the container
with the executor's CommandInfo and we expect the container to
act as a Mesos executor.
|
Protos.ContainerInfo.Builder |
getContainerBuilder()
Executor provided with a container will launch the container
with the executor's CommandInfo and we expect the container to
act as a Mesos executor.
|
Protos.ContainerInfoOrBuilder |
getContainerOrBuilder()
Executor provided with a container will launch the container
with the executor's CommandInfo and we expect the container to
act as a Mesos executor.
|
com.google.protobuf.ByteString |
getData()
This field can be used to pass arbitrary bytes to an executor.
|
Protos.ExecutorInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Protos.DiscoveryInfo |
getDiscovery()
Service discovery information for the executor.
|
Protos.DiscoveryInfo.Builder |
getDiscoveryBuilder()
Service discovery information for the executor.
|
Protos.DiscoveryInfoOrBuilder |
getDiscoveryOrBuilder()
Service discovery information for the executor.
|
Protos.ExecutorID |
getExecutorId()
required .mesos.ExecutorID executor_id = 1; |
Protos.ExecutorID.Builder |
getExecutorIdBuilder()
required .mesos.ExecutorID executor_id = 1; |
Protos.ExecutorIDOrBuilder |
getExecutorIdOrBuilder()
required .mesos.ExecutorID executor_id = 1; |
Protos.FrameworkID |
getFrameworkId()
TODO(benh): Make this required.
|
Protos.FrameworkID.Builder |
getFrameworkIdBuilder()
TODO(benh): Make this required.
|
Protos.FrameworkIDOrBuilder |
getFrameworkIdOrBuilder()
TODO(benh): Make this required.
|
Protos.Labels |
getLabels()
Labels are free-form key value pairs which are exposed through
master and slave endpoints.
|
Protos.Labels.Builder |
getLabelsBuilder()
Labels are free-form key value pairs which are exposed through
master and slave endpoints.
|
Protos.LabelsOrBuilder |
getLabelsOrBuilder()
Labels are free-form key value pairs which are exposed through
master and slave endpoints.
|
java.lang.String |
getName()
optional string name = 9; |
com.google.protobuf.ByteString |
getNameBytes()
optional string name = 9; |
Protos.Resource |
getResources(int index)
repeated .mesos.Resource resources = 5; |
Protos.Resource.Builder |
getResourcesBuilder(int index)
repeated .mesos.Resource resources = 5; |
java.util.List<Protos.Resource.Builder> |
getResourcesBuilderList()
repeated .mesos.Resource resources = 5; |
int |
getResourcesCount()
repeated .mesos.Resource resources = 5; |
java.util.List<Protos.Resource> |
getResourcesList()
repeated .mesos.Resource resources = 5; |
Protos.ResourceOrBuilder |
getResourcesOrBuilder(int index)
repeated .mesos.Resource resources = 5; |
java.util.List<? extends Protos.ResourceOrBuilder> |
getResourcesOrBuilderList()
repeated .mesos.Resource resources = 5; |
Protos.DurationInfo |
getShutdownGracePeriod()
When shutting down an executor the agent will wait in a
best-effort manner for the grace period specified here
before forcibly destroying the container.
|
Protos.DurationInfo.Builder |
getShutdownGracePeriodBuilder()
When shutting down an executor the agent will wait in a
best-effort manner for the grace period specified here
before forcibly destroying the container.
|
Protos.DurationInfoOrBuilder |
getShutdownGracePeriodOrBuilder()
When shutting down an executor the agent will wait in a
best-effort manner for the grace period specified here
before forcibly destroying the container.
|
java.lang.String |
getSource()
Deprecated.
|
com.google.protobuf.ByteString |
getSourceBytes()
Deprecated.
|
Protos.ExecutorInfo.Type |
getType()
For backwards compatibility, if this field is not set when using `LAUNCH`
operation, Mesos will infer the type by checking if `command` is set
(`CUSTOM`) or unset (`DEFAULT`).
|
boolean |
hasCommand()
optional .mesos.CommandInfo command = 7; |
boolean |
hasContainer()
Executor provided with a container will launch the container
with the executor's CommandInfo and we expect the container to
act as a Mesos executor.
|
boolean |
hasData()
This field can be used to pass arbitrary bytes to an executor.
|
boolean |
hasDiscovery()
Service discovery information for the executor.
|
boolean |
hasExecutorId()
required .mesos.ExecutorID executor_id = 1; |
boolean |
hasFrameworkId()
TODO(benh): Make this required.
|
boolean |
hasLabels()
Labels are free-form key value pairs which are exposed through
master and slave endpoints.
|
boolean |
hasName()
optional string name = 9; |
boolean |
hasShutdownGracePeriod()
When shutting down an executor the agent will wait in a
best-effort manner for the grace period specified here
before forcibly destroying the container.
|
boolean |
hasSource()
Deprecated.
|
boolean |
hasType()
For backwards compatibility, if this field is not set when using `LAUNCH`
operation, Mesos will infer the type by checking if `command` is set
(`CUSTOM`) or unset (`DEFAULT`).
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.ExecutorInfo.Builder |
mergeCommand(Protos.CommandInfo value)
optional .mesos.CommandInfo command = 7; |
Protos.ExecutorInfo.Builder |
mergeContainer(Protos.ContainerInfo value)
Executor provided with a container will launch the container
with the executor's CommandInfo and we expect the container to
act as a Mesos executor.
|
Protos.ExecutorInfo.Builder |
mergeDiscovery(Protos.DiscoveryInfo value)
Service discovery information for the executor.
|
Protos.ExecutorInfo.Builder |
mergeExecutorId(Protos.ExecutorID value)
required .mesos.ExecutorID executor_id = 1; |
Protos.ExecutorInfo.Builder |
mergeFrameworkId(Protos.FrameworkID value)
TODO(benh): Make this required.
|
Protos.ExecutorInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.ExecutorInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.ExecutorInfo.Builder |
mergeLabels(Protos.Labels value)
Labels are free-form key value pairs which are exposed through
master and slave endpoints.
|
Protos.ExecutorInfo.Builder |
mergeShutdownGracePeriod(Protos.DurationInfo value)
When shutting down an executor the agent will wait in a
best-effort manner for the grace period specified here
before forcibly destroying the container.
|
Protos.ExecutorInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.ExecutorInfo.Builder |
removeResources(int index)
repeated .mesos.Resource resources = 5; |
Protos.ExecutorInfo.Builder |
setCommand(Protos.CommandInfo.Builder builderForValue)
optional .mesos.CommandInfo command = 7; |
Protos.ExecutorInfo.Builder |
setCommand(Protos.CommandInfo value)
optional .mesos.CommandInfo command = 7; |
Protos.ExecutorInfo.Builder |
setContainer(Protos.ContainerInfo.Builder builderForValue)
Executor provided with a container will launch the container
with the executor's CommandInfo and we expect the container to
act as a Mesos executor.
|
Protos.ExecutorInfo.Builder |
setContainer(Protos.ContainerInfo value)
Executor provided with a container will launch the container
with the executor's CommandInfo and we expect the container to
act as a Mesos executor.
|
Protos.ExecutorInfo.Builder |
setData(com.google.protobuf.ByteString value)
This field can be used to pass arbitrary bytes to an executor.
|
Protos.ExecutorInfo.Builder |
setDiscovery(Protos.DiscoveryInfo.Builder builderForValue)
Service discovery information for the executor.
|
Protos.ExecutorInfo.Builder |
setDiscovery(Protos.DiscoveryInfo value)
Service discovery information for the executor.
|
Protos.ExecutorInfo.Builder |
setExecutorId(Protos.ExecutorID.Builder builderForValue)
required .mesos.ExecutorID executor_id = 1; |
Protos.ExecutorInfo.Builder |
setExecutorId(Protos.ExecutorID value)
required .mesos.ExecutorID executor_id = 1; |
Protos.ExecutorInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.ExecutorInfo.Builder |
setFrameworkId(Protos.FrameworkID.Builder builderForValue)
TODO(benh): Make this required.
|
Protos.ExecutorInfo.Builder |
setFrameworkId(Protos.FrameworkID value)
TODO(benh): Make this required.
|
Protos.ExecutorInfo.Builder |
setLabels(Protos.Labels.Builder builderForValue)
Labels are free-form key value pairs which are exposed through
master and slave endpoints.
|
Protos.ExecutorInfo.Builder |
setLabels(Protos.Labels value)
Labels are free-form key value pairs which are exposed through
master and slave endpoints.
|
Protos.ExecutorInfo.Builder |
setName(java.lang.String value)
optional string name = 9; |
Protos.ExecutorInfo.Builder |
setNameBytes(com.google.protobuf.ByteString value)
optional string name = 9; |
Protos.ExecutorInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.ExecutorInfo.Builder |
setResources(int index,
Protos.Resource.Builder builderForValue)
repeated .mesos.Resource resources = 5; |
Protos.ExecutorInfo.Builder |
setResources(int index,
Protos.Resource value)
repeated .mesos.Resource resources = 5; |
Protos.ExecutorInfo.Builder |
setShutdownGracePeriod(Protos.DurationInfo.Builder builderForValue)
When shutting down an executor the agent will wait in a
best-effort manner for the grace period specified here
before forcibly destroying the container.
|
Protos.ExecutorInfo.Builder |
setShutdownGracePeriod(Protos.DurationInfo value)
When shutting down an executor the agent will wait in a
best-effort manner for the grace period specified here
before forcibly destroying the container.
|
Protos.ExecutorInfo.Builder |
setSource(java.lang.String value)
Deprecated.
|
Protos.ExecutorInfo.Builder |
setSourceBytes(com.google.protobuf.ByteString value)
Deprecated.
|
Protos.ExecutorInfo.Builder |
setType(Protos.ExecutorInfo.Type value)
For backwards compatibility, if this field is not set when using `LAUNCH`
operation, Mesos will infer the type by checking if `command` is set
(`CUSTOM`) or unset (`DEFAULT`).
|
Protos.ExecutorInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public Protos.ExecutorInfo.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.ExecutorInfo getDefaultInstanceForType()
public Protos.ExecutorInfo build()
public Protos.ExecutorInfo buildPartial()
public Protos.ExecutorInfo.Builder clone()
public Protos.ExecutorInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.ExecutorInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.ExecutorInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.ExecutorInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.ExecutorInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.ExecutorInfo.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.ExecutorInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public boolean hasType()
For backwards compatibility, if this field is not set when using `LAUNCH` operation, Mesos will infer the type by checking if `command` is set (`CUSTOM`) or unset (`DEFAULT`). `type` must be set when using `LAUNCH_GROUP` operation. TODO(vinod): Add support for explicitly setting `type` to `DEFAULT` in `LAUNCH` operation.
optional .mesos.ExecutorInfo.Type type = 15;
hasType
in interface Protos.ExecutorInfoOrBuilder
public Protos.ExecutorInfo.Type getType()
For backwards compatibility, if this field is not set when using `LAUNCH` operation, Mesos will infer the type by checking if `command` is set (`CUSTOM`) or unset (`DEFAULT`). `type` must be set when using `LAUNCH_GROUP` operation. TODO(vinod): Add support for explicitly setting `type` to `DEFAULT` in `LAUNCH` operation.
optional .mesos.ExecutorInfo.Type type = 15;
getType
in interface Protos.ExecutorInfoOrBuilder
public Protos.ExecutorInfo.Builder setType(Protos.ExecutorInfo.Type value)
For backwards compatibility, if this field is not set when using `LAUNCH` operation, Mesos will infer the type by checking if `command` is set (`CUSTOM`) or unset (`DEFAULT`). `type` must be set when using `LAUNCH_GROUP` operation. TODO(vinod): Add support for explicitly setting `type` to `DEFAULT` in `LAUNCH` operation.
optional .mesos.ExecutorInfo.Type type = 15;
public Protos.ExecutorInfo.Builder clearType()
For backwards compatibility, if this field is not set when using `LAUNCH` operation, Mesos will infer the type by checking if `command` is set (`CUSTOM`) or unset (`DEFAULT`). `type` must be set when using `LAUNCH_GROUP` operation. TODO(vinod): Add support for explicitly setting `type` to `DEFAULT` in `LAUNCH` operation.
optional .mesos.ExecutorInfo.Type type = 15;
public boolean hasExecutorId()
required .mesos.ExecutorID executor_id = 1;
hasExecutorId
in interface Protos.ExecutorInfoOrBuilder
public Protos.ExecutorID getExecutorId()
required .mesos.ExecutorID executor_id = 1;
getExecutorId
in interface Protos.ExecutorInfoOrBuilder
public Protos.ExecutorInfo.Builder setExecutorId(Protos.ExecutorID value)
required .mesos.ExecutorID executor_id = 1;
public Protos.ExecutorInfo.Builder setExecutorId(Protos.ExecutorID.Builder builderForValue)
required .mesos.ExecutorID executor_id = 1;
public Protos.ExecutorInfo.Builder mergeExecutorId(Protos.ExecutorID value)
required .mesos.ExecutorID executor_id = 1;
public Protos.ExecutorInfo.Builder clearExecutorId()
required .mesos.ExecutorID executor_id = 1;
public Protos.ExecutorID.Builder getExecutorIdBuilder()
required .mesos.ExecutorID executor_id = 1;
public Protos.ExecutorIDOrBuilder getExecutorIdOrBuilder()
required .mesos.ExecutorID executor_id = 1;
getExecutorIdOrBuilder
in interface Protos.ExecutorInfoOrBuilder
public boolean hasFrameworkId()
TODO(benh): Make this required.
optional .mesos.FrameworkID framework_id = 8;
hasFrameworkId
in interface Protos.ExecutorInfoOrBuilder
public Protos.FrameworkID getFrameworkId()
TODO(benh): Make this required.
optional .mesos.FrameworkID framework_id = 8;
getFrameworkId
in interface Protos.ExecutorInfoOrBuilder
public Protos.ExecutorInfo.Builder setFrameworkId(Protos.FrameworkID value)
TODO(benh): Make this required.
optional .mesos.FrameworkID framework_id = 8;
public Protos.ExecutorInfo.Builder setFrameworkId(Protos.FrameworkID.Builder builderForValue)
TODO(benh): Make this required.
optional .mesos.FrameworkID framework_id = 8;
public Protos.ExecutorInfo.Builder mergeFrameworkId(Protos.FrameworkID value)
TODO(benh): Make this required.
optional .mesos.FrameworkID framework_id = 8;
public Protos.ExecutorInfo.Builder clearFrameworkId()
TODO(benh): Make this required.
optional .mesos.FrameworkID framework_id = 8;
public Protos.FrameworkID.Builder getFrameworkIdBuilder()
TODO(benh): Make this required.
optional .mesos.FrameworkID framework_id = 8;
public Protos.FrameworkIDOrBuilder getFrameworkIdOrBuilder()
TODO(benh): Make this required.
optional .mesos.FrameworkID framework_id = 8;
getFrameworkIdOrBuilder
in interface Protos.ExecutorInfoOrBuilder
public boolean hasCommand()
optional .mesos.CommandInfo command = 7;
hasCommand
in interface Protos.ExecutorInfoOrBuilder
public Protos.CommandInfo getCommand()
optional .mesos.CommandInfo command = 7;
getCommand
in interface Protos.ExecutorInfoOrBuilder
public Protos.ExecutorInfo.Builder setCommand(Protos.CommandInfo value)
optional .mesos.CommandInfo command = 7;
public Protos.ExecutorInfo.Builder setCommand(Protos.CommandInfo.Builder builderForValue)
optional .mesos.CommandInfo command = 7;
public Protos.ExecutorInfo.Builder mergeCommand(Protos.CommandInfo value)
optional .mesos.CommandInfo command = 7;
public Protos.ExecutorInfo.Builder clearCommand()
optional .mesos.CommandInfo command = 7;
public Protos.CommandInfo.Builder getCommandBuilder()
optional .mesos.CommandInfo command = 7;
public Protos.CommandInfoOrBuilder getCommandOrBuilder()
optional .mesos.CommandInfo command = 7;
getCommandOrBuilder
in interface Protos.ExecutorInfoOrBuilder
public boolean hasContainer()
Executor provided with a container will launch the container with the executor's CommandInfo and we expect the container to act as a Mesos executor.
optional .mesos.ContainerInfo container = 11;
hasContainer
in interface Protos.ExecutorInfoOrBuilder
public Protos.ContainerInfo getContainer()
Executor provided with a container will launch the container with the executor's CommandInfo and we expect the container to act as a Mesos executor.
optional .mesos.ContainerInfo container = 11;
getContainer
in interface Protos.ExecutorInfoOrBuilder
public Protos.ExecutorInfo.Builder setContainer(Protos.ContainerInfo value)
Executor provided with a container will launch the container with the executor's CommandInfo and we expect the container to act as a Mesos executor.
optional .mesos.ContainerInfo container = 11;
public Protos.ExecutorInfo.Builder setContainer(Protos.ContainerInfo.Builder builderForValue)
Executor provided with a container will launch the container with the executor's CommandInfo and we expect the container to act as a Mesos executor.
optional .mesos.ContainerInfo container = 11;
public Protos.ExecutorInfo.Builder mergeContainer(Protos.ContainerInfo value)
Executor provided with a container will launch the container with the executor's CommandInfo and we expect the container to act as a Mesos executor.
optional .mesos.ContainerInfo container = 11;
public Protos.ExecutorInfo.Builder clearContainer()
Executor provided with a container will launch the container with the executor's CommandInfo and we expect the container to act as a Mesos executor.
optional .mesos.ContainerInfo container = 11;
public Protos.ContainerInfo.Builder getContainerBuilder()
Executor provided with a container will launch the container with the executor's CommandInfo and we expect the container to act as a Mesos executor.
optional .mesos.ContainerInfo container = 11;
public Protos.ContainerInfoOrBuilder getContainerOrBuilder()
Executor provided with a container will launch the container with the executor's CommandInfo and we expect the container to act as a Mesos executor.
optional .mesos.ContainerInfo container = 11;
getContainerOrBuilder
in interface Protos.ExecutorInfoOrBuilder
public java.util.List<Protos.Resource> getResourcesList()
repeated .mesos.Resource resources = 5;
getResourcesList
in interface Protos.ExecutorInfoOrBuilder
public int getResourcesCount()
repeated .mesos.Resource resources = 5;
getResourcesCount
in interface Protos.ExecutorInfoOrBuilder
public Protos.Resource getResources(int index)
repeated .mesos.Resource resources = 5;
getResources
in interface Protos.ExecutorInfoOrBuilder
public Protos.ExecutorInfo.Builder setResources(int index, Protos.Resource value)
repeated .mesos.Resource resources = 5;
public Protos.ExecutorInfo.Builder setResources(int index, Protos.Resource.Builder builderForValue)
repeated .mesos.Resource resources = 5;
public Protos.ExecutorInfo.Builder addResources(Protos.Resource value)
repeated .mesos.Resource resources = 5;
public Protos.ExecutorInfo.Builder addResources(int index, Protos.Resource value)
repeated .mesos.Resource resources = 5;
public Protos.ExecutorInfo.Builder addResources(Protos.Resource.Builder builderForValue)
repeated .mesos.Resource resources = 5;
public Protos.ExecutorInfo.Builder addResources(int index, Protos.Resource.Builder builderForValue)
repeated .mesos.Resource resources = 5;
public Protos.ExecutorInfo.Builder addAllResources(java.lang.Iterable<? extends Protos.Resource> values)
repeated .mesos.Resource resources = 5;
public Protos.ExecutorInfo.Builder clearResources()
repeated .mesos.Resource resources = 5;
public Protos.ExecutorInfo.Builder removeResources(int index)
repeated .mesos.Resource resources = 5;
public Protos.Resource.Builder getResourcesBuilder(int index)
repeated .mesos.Resource resources = 5;
public Protos.ResourceOrBuilder getResourcesOrBuilder(int index)
repeated .mesos.Resource resources = 5;
getResourcesOrBuilder
in interface Protos.ExecutorInfoOrBuilder
public java.util.List<? extends Protos.ResourceOrBuilder> getResourcesOrBuilderList()
repeated .mesos.Resource resources = 5;
getResourcesOrBuilderList
in interface Protos.ExecutorInfoOrBuilder
public Protos.Resource.Builder addResourcesBuilder()
repeated .mesos.Resource resources = 5;
public Protos.Resource.Builder addResourcesBuilder(int index)
repeated .mesos.Resource resources = 5;
public java.util.List<Protos.Resource.Builder> getResourcesBuilderList()
repeated .mesos.Resource resources = 5;
public boolean hasName()
optional string name = 9;
hasName
in interface Protos.ExecutorInfoOrBuilder
public java.lang.String getName()
optional string name = 9;
getName
in interface Protos.ExecutorInfoOrBuilder
public com.google.protobuf.ByteString getNameBytes()
optional string name = 9;
getNameBytes
in interface Protos.ExecutorInfoOrBuilder
public Protos.ExecutorInfo.Builder setName(java.lang.String value)
optional string name = 9;
public Protos.ExecutorInfo.Builder clearName()
optional string name = 9;
public Protos.ExecutorInfo.Builder setNameBytes(com.google.protobuf.ByteString value)
optional string name = 9;
@Deprecated public boolean hasSource()
'source' is an identifier style string used by frameworks to track the source of an executor. This is useful when it's possible for different executor ids to be related semantically. NOTE: 'source' is exposed alongside the resource usage of the executor via JSON on the slave. This allows users to import usage information into a time series database for monitoring. This field is deprecated since 1.0. Please use labels for free-form metadata instead.
optional string source = 10 [deprecated = true];
hasSource
in interface Protos.ExecutorInfoOrBuilder
@Deprecated public java.lang.String getSource()
'source' is an identifier style string used by frameworks to track the source of an executor. This is useful when it's possible for different executor ids to be related semantically. NOTE: 'source' is exposed alongside the resource usage of the executor via JSON on the slave. This allows users to import usage information into a time series database for monitoring. This field is deprecated since 1.0. Please use labels for free-form metadata instead.
optional string source = 10 [deprecated = true];
getSource
in interface Protos.ExecutorInfoOrBuilder
@Deprecated public com.google.protobuf.ByteString getSourceBytes()
'source' is an identifier style string used by frameworks to track the source of an executor. This is useful when it's possible for different executor ids to be related semantically. NOTE: 'source' is exposed alongside the resource usage of the executor via JSON on the slave. This allows users to import usage information into a time series database for monitoring. This field is deprecated since 1.0. Please use labels for free-form metadata instead.
optional string source = 10 [deprecated = true];
getSourceBytes
in interface Protos.ExecutorInfoOrBuilder
@Deprecated public Protos.ExecutorInfo.Builder setSource(java.lang.String value)
'source' is an identifier style string used by frameworks to track the source of an executor. This is useful when it's possible for different executor ids to be related semantically. NOTE: 'source' is exposed alongside the resource usage of the executor via JSON on the slave. This allows users to import usage information into a time series database for monitoring. This field is deprecated since 1.0. Please use labels for free-form metadata instead.
optional string source = 10 [deprecated = true];
@Deprecated public Protos.ExecutorInfo.Builder clearSource()
'source' is an identifier style string used by frameworks to track the source of an executor. This is useful when it's possible for different executor ids to be related semantically. NOTE: 'source' is exposed alongside the resource usage of the executor via JSON on the slave. This allows users to import usage information into a time series database for monitoring. This field is deprecated since 1.0. Please use labels for free-form metadata instead.
optional string source = 10 [deprecated = true];
@Deprecated public Protos.ExecutorInfo.Builder setSourceBytes(com.google.protobuf.ByteString value)
'source' is an identifier style string used by frameworks to track the source of an executor. This is useful when it's possible for different executor ids to be related semantically. NOTE: 'source' is exposed alongside the resource usage of the executor via JSON on the slave. This allows users to import usage information into a time series database for monitoring. This field is deprecated since 1.0. Please use labels for free-form metadata instead.
optional string source = 10 [deprecated = true];
public boolean hasData()
This field can be used to pass arbitrary bytes to an executor.
optional bytes data = 4;
hasData
in interface Protos.ExecutorInfoOrBuilder
public com.google.protobuf.ByteString getData()
This field can be used to pass arbitrary bytes to an executor.
optional bytes data = 4;
getData
in interface Protos.ExecutorInfoOrBuilder
public Protos.ExecutorInfo.Builder setData(com.google.protobuf.ByteString value)
This field can be used to pass arbitrary bytes to an executor.
optional bytes data = 4;
public Protos.ExecutorInfo.Builder clearData()
This field can be used to pass arbitrary bytes to an executor.
optional bytes data = 4;
public boolean hasDiscovery()
Service discovery information for the executor. It is not interpreted or acted upon by Mesos. It is up to a service discovery system to use this information as needed and to handle executors without service discovery information.
optional .mesos.DiscoveryInfo discovery = 12;
hasDiscovery
in interface Protos.ExecutorInfoOrBuilder
public Protos.DiscoveryInfo getDiscovery()
Service discovery information for the executor. It is not interpreted or acted upon by Mesos. It is up to a service discovery system to use this information as needed and to handle executors without service discovery information.
optional .mesos.DiscoveryInfo discovery = 12;
getDiscovery
in interface Protos.ExecutorInfoOrBuilder
public Protos.ExecutorInfo.Builder setDiscovery(Protos.DiscoveryInfo value)
Service discovery information for the executor. It is not interpreted or acted upon by Mesos. It is up to a service discovery system to use this information as needed and to handle executors without service discovery information.
optional .mesos.DiscoveryInfo discovery = 12;
public Protos.ExecutorInfo.Builder setDiscovery(Protos.DiscoveryInfo.Builder builderForValue)
Service discovery information for the executor. It is not interpreted or acted upon by Mesos. It is up to a service discovery system to use this information as needed and to handle executors without service discovery information.
optional .mesos.DiscoveryInfo discovery = 12;
public Protos.ExecutorInfo.Builder mergeDiscovery(Protos.DiscoveryInfo value)
Service discovery information for the executor. It is not interpreted or acted upon by Mesos. It is up to a service discovery system to use this information as needed and to handle executors without service discovery information.
optional .mesos.DiscoveryInfo discovery = 12;
public Protos.ExecutorInfo.Builder clearDiscovery()
Service discovery information for the executor. It is not interpreted or acted upon by Mesos. It is up to a service discovery system to use this information as needed and to handle executors without service discovery information.
optional .mesos.DiscoveryInfo discovery = 12;
public Protos.DiscoveryInfo.Builder getDiscoveryBuilder()
Service discovery information for the executor. It is not interpreted or acted upon by Mesos. It is up to a service discovery system to use this information as needed and to handle executors without service discovery information.
optional .mesos.DiscoveryInfo discovery = 12;
public Protos.DiscoveryInfoOrBuilder getDiscoveryOrBuilder()
Service discovery information for the executor. It is not interpreted or acted upon by Mesos. It is up to a service discovery system to use this information as needed and to handle executors without service discovery information.
optional .mesos.DiscoveryInfo discovery = 12;
getDiscoveryOrBuilder
in interface Protos.ExecutorInfoOrBuilder
public boolean hasShutdownGracePeriod()
When shutting down an executor the agent will wait in a best-effort manner for the grace period specified here before forcibly destroying the container. The executor must not assume that it will always be allotted the full grace period, as the agent may decide to allot a shorter period and failures / forcible terminations may occur.
optional .mesos.DurationInfo shutdown_grace_period = 13;
hasShutdownGracePeriod
in interface Protos.ExecutorInfoOrBuilder
public Protos.DurationInfo getShutdownGracePeriod()
When shutting down an executor the agent will wait in a best-effort manner for the grace period specified here before forcibly destroying the container. The executor must not assume that it will always be allotted the full grace period, as the agent may decide to allot a shorter period and failures / forcible terminations may occur.
optional .mesos.DurationInfo shutdown_grace_period = 13;
getShutdownGracePeriod
in interface Protos.ExecutorInfoOrBuilder
public Protos.ExecutorInfo.Builder setShutdownGracePeriod(Protos.DurationInfo value)
When shutting down an executor the agent will wait in a best-effort manner for the grace period specified here before forcibly destroying the container. The executor must not assume that it will always be allotted the full grace period, as the agent may decide to allot a shorter period and failures / forcible terminations may occur.
optional .mesos.DurationInfo shutdown_grace_period = 13;
public Protos.ExecutorInfo.Builder setShutdownGracePeriod(Protos.DurationInfo.Builder builderForValue)
When shutting down an executor the agent will wait in a best-effort manner for the grace period specified here before forcibly destroying the container. The executor must not assume that it will always be allotted the full grace period, as the agent may decide to allot a shorter period and failures / forcible terminations may occur.
optional .mesos.DurationInfo shutdown_grace_period = 13;
public Protos.ExecutorInfo.Builder mergeShutdownGracePeriod(Protos.DurationInfo value)
When shutting down an executor the agent will wait in a best-effort manner for the grace period specified here before forcibly destroying the container. The executor must not assume that it will always be allotted the full grace period, as the agent may decide to allot a shorter period and failures / forcible terminations may occur.
optional .mesos.DurationInfo shutdown_grace_period = 13;
public Protos.ExecutorInfo.Builder clearShutdownGracePeriod()
When shutting down an executor the agent will wait in a best-effort manner for the grace period specified here before forcibly destroying the container. The executor must not assume that it will always be allotted the full grace period, as the agent may decide to allot a shorter period and failures / forcible terminations may occur.
optional .mesos.DurationInfo shutdown_grace_period = 13;
public Protos.DurationInfo.Builder getShutdownGracePeriodBuilder()
When shutting down an executor the agent will wait in a best-effort manner for the grace period specified here before forcibly destroying the container. The executor must not assume that it will always be allotted the full grace period, as the agent may decide to allot a shorter period and failures / forcible terminations may occur.
optional .mesos.DurationInfo shutdown_grace_period = 13;
public Protos.DurationInfoOrBuilder getShutdownGracePeriodOrBuilder()
When shutting down an executor the agent will wait in a best-effort manner for the grace period specified here before forcibly destroying the container. The executor must not assume that it will always be allotted the full grace period, as the agent may decide to allot a shorter period and failures / forcible terminations may occur.
optional .mesos.DurationInfo shutdown_grace_period = 13;
getShutdownGracePeriodOrBuilder
in interface Protos.ExecutorInfoOrBuilder
public boolean hasLabels()
Labels are free-form key value pairs which are exposed through master and slave endpoints. Labels will not be interpreted or acted upon by Mesos itself. As opposed to the data field, labels will be kept in memory on master and slave processes. Therefore, labels should be used to tag executors with lightweight metadata. Labels should not contain duplicate key-value pairs.
optional .mesos.Labels labels = 14;
hasLabels
in interface Protos.ExecutorInfoOrBuilder
public Protos.Labels getLabels()
Labels are free-form key value pairs which are exposed through master and slave endpoints. Labels will not be interpreted or acted upon by Mesos itself. As opposed to the data field, labels will be kept in memory on master and slave processes. Therefore, labels should be used to tag executors with lightweight metadata. Labels should not contain duplicate key-value pairs.
optional .mesos.Labels labels = 14;
getLabels
in interface Protos.ExecutorInfoOrBuilder
public Protos.ExecutorInfo.Builder setLabels(Protos.Labels value)
Labels are free-form key value pairs which are exposed through master and slave endpoints. Labels will not be interpreted or acted upon by Mesos itself. As opposed to the data field, labels will be kept in memory on master and slave processes. Therefore, labels should be used to tag executors with lightweight metadata. Labels should not contain duplicate key-value pairs.
optional .mesos.Labels labels = 14;
public Protos.ExecutorInfo.Builder setLabels(Protos.Labels.Builder builderForValue)
Labels are free-form key value pairs which are exposed through master and slave endpoints. Labels will not be interpreted or acted upon by Mesos itself. As opposed to the data field, labels will be kept in memory on master and slave processes. Therefore, labels should be used to tag executors with lightweight metadata. Labels should not contain duplicate key-value pairs.
optional .mesos.Labels labels = 14;
public Protos.ExecutorInfo.Builder mergeLabels(Protos.Labels value)
Labels are free-form key value pairs which are exposed through master and slave endpoints. Labels will not be interpreted or acted upon by Mesos itself. As opposed to the data field, labels will be kept in memory on master and slave processes. Therefore, labels should be used to tag executors with lightweight metadata. Labels should not contain duplicate key-value pairs.
optional .mesos.Labels labels = 14;
public Protos.ExecutorInfo.Builder clearLabels()
Labels are free-form key value pairs which are exposed through master and slave endpoints. Labels will not be interpreted or acted upon by Mesos itself. As opposed to the data field, labels will be kept in memory on master and slave processes. Therefore, labels should be used to tag executors with lightweight metadata. Labels should not contain duplicate key-value pairs.
optional .mesos.Labels labels = 14;
public Protos.Labels.Builder getLabelsBuilder()
Labels are free-form key value pairs which are exposed through master and slave endpoints. Labels will not be interpreted or acted upon by Mesos itself. As opposed to the data field, labels will be kept in memory on master and slave processes. Therefore, labels should be used to tag executors with lightweight metadata. Labels should not contain duplicate key-value pairs.
optional .mesos.Labels labels = 14;
public Protos.LabelsOrBuilder getLabelsOrBuilder()
Labels are free-form key value pairs which are exposed through master and slave endpoints. Labels will not be interpreted or acted upon by Mesos itself. As opposed to the data field, labels will be kept in memory on master and slave processes. Therefore, labels should be used to tag executors with lightweight metadata. Labels should not contain duplicate key-value pairs.
optional .mesos.Labels labels = 14;
getLabelsOrBuilder
in interface Protos.ExecutorInfoOrBuilder
public final Protos.ExecutorInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.ExecutorInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)