public static interface Protos.ExecutorInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
Protos.CommandInfo |
getCommand()
optional .mesos.v1.CommandInfo command = 7; |
Protos.CommandInfoOrBuilder |
getCommandOrBuilder()
optional .mesos.v1.CommandInfo command = 7; |
Protos.ContainerInfo |
getContainer()
optional .mesos.v1.ContainerInfo container = 11; |
Protos.ContainerInfoOrBuilder |
getContainerOrBuilder()
optional .mesos.v1.ContainerInfo container = 11; |
com.google.protobuf.ByteString |
getData()
optional bytes data = 4; |
Protos.DiscoveryInfo |
getDiscovery()
optional .mesos.v1.DiscoveryInfo discovery = 12; |
Protos.DiscoveryInfoOrBuilder |
getDiscoveryOrBuilder()
optional .mesos.v1.DiscoveryInfo discovery = 12; |
Protos.ExecutorID |
getExecutorId()
required .mesos.v1.ExecutorID executor_id = 1; |
Protos.ExecutorIDOrBuilder |
getExecutorIdOrBuilder()
required .mesos.v1.ExecutorID executor_id = 1; |
Protos.FrameworkID |
getFrameworkId()
optional .mesos.v1.FrameworkID framework_id = 8; |
Protos.FrameworkIDOrBuilder |
getFrameworkIdOrBuilder()
optional .mesos.v1.FrameworkID framework_id = 8; |
Protos.Labels |
getLabels()
optional .mesos.v1.Labels labels = 14; |
Protos.LabelsOrBuilder |
getLabelsOrBuilder()
optional .mesos.v1.Labels labels = 14; |
String |
getName()
optional string name = 9; |
com.google.protobuf.ByteString |
getNameBytes()
optional string name = 9; |
Protos.Resource |
getResources(int index)
repeated .mesos.v1.Resource resources = 5; |
int |
getResourcesCount()
repeated .mesos.v1.Resource resources = 5; |
List<Protos.Resource> |
getResourcesList()
repeated .mesos.v1.Resource resources = 5; |
Protos.ResourceOrBuilder |
getResourcesOrBuilder(int index)
repeated .mesos.v1.Resource resources = 5; |
List<? extends Protos.ResourceOrBuilder> |
getResourcesOrBuilderList()
repeated .mesos.v1.Resource resources = 5; |
Protos.DurationInfo |
getShutdownGracePeriod()
optional .mesos.v1.DurationInfo shutdown_grace_period = 13; |
Protos.DurationInfoOrBuilder |
getShutdownGracePeriodOrBuilder()
optional .mesos.v1.DurationInfo shutdown_grace_period = 13; |
String |
getSource()
Deprecated.
|
com.google.protobuf.ByteString |
getSourceBytes()
Deprecated.
|
Protos.ExecutorInfo.Type |
getType()
optional .mesos.v1.ExecutorInfo.Type type = 15; |
boolean |
hasCommand()
optional .mesos.v1.CommandInfo command = 7; |
boolean |
hasContainer()
optional .mesos.v1.ContainerInfo container = 11; |
boolean |
hasData()
optional bytes data = 4; |
boolean |
hasDiscovery()
optional .mesos.v1.DiscoveryInfo discovery = 12; |
boolean |
hasExecutorId()
required .mesos.v1.ExecutorID executor_id = 1; |
boolean |
hasFrameworkId()
optional .mesos.v1.FrameworkID framework_id = 8; |
boolean |
hasLabels()
optional .mesos.v1.Labels labels = 14; |
boolean |
hasName()
optional string name = 9; |
boolean |
hasShutdownGracePeriod()
optional .mesos.v1.DurationInfo shutdown_grace_period = 13; |
boolean |
hasSource()
Deprecated.
|
boolean |
hasType()
optional .mesos.v1.ExecutorInfo.Type type = 15; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasType()
optional .mesos.v1.ExecutorInfo.Type type = 15;
For backwards compatibility, if this field is not set when using `LAUNCH` offer operation, Mesos will infer the type by checking if `command` is set (`CUSTOM`) or unset (`DEFAULT`). `type` must be set when using `LAUNCH_GROUP` offer operation. TODO(vinod): Add support for explicitly setting `type` to `DEFAULT ` in `LAUNCH` offer operation.
Protos.ExecutorInfo.Type getType()
optional .mesos.v1.ExecutorInfo.Type type = 15;
For backwards compatibility, if this field is not set when using `LAUNCH` offer operation, Mesos will infer the type by checking if `command` is set (`CUSTOM`) or unset (`DEFAULT`). `type` must be set when using `LAUNCH_GROUP` offer operation. TODO(vinod): Add support for explicitly setting `type` to `DEFAULT ` in `LAUNCH` offer operation.
boolean hasExecutorId()
required .mesos.v1.ExecutorID executor_id = 1;
Protos.ExecutorID getExecutorId()
required .mesos.v1.ExecutorID executor_id = 1;
Protos.ExecutorIDOrBuilder getExecutorIdOrBuilder()
required .mesos.v1.ExecutorID executor_id = 1;
boolean hasFrameworkId()
optional .mesos.v1.FrameworkID framework_id = 8;
TODO(benh): Make this required.
Protos.FrameworkID getFrameworkId()
optional .mesos.v1.FrameworkID framework_id = 8;
TODO(benh): Make this required.
Protos.FrameworkIDOrBuilder getFrameworkIdOrBuilder()
optional .mesos.v1.FrameworkID framework_id = 8;
TODO(benh): Make this required.
boolean hasCommand()
optional .mesos.v1.CommandInfo command = 7;
Protos.CommandInfo getCommand()
optional .mesos.v1.CommandInfo command = 7;
Protos.CommandInfoOrBuilder getCommandOrBuilder()
optional .mesos.v1.CommandInfo command = 7;
boolean hasContainer()
optional .mesos.v1.ContainerInfo container = 11;
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 getContainer()
optional .mesos.v1.ContainerInfo container = 11;
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()
optional .mesos.v1.ContainerInfo container = 11;
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.
List<Protos.Resource> getResourcesList()
repeated .mesos.v1.Resource resources = 5;
Protos.Resource getResources(int index)
repeated .mesos.v1.Resource resources = 5;
int getResourcesCount()
repeated .mesos.v1.Resource resources = 5;
List<? extends Protos.ResourceOrBuilder> getResourcesOrBuilderList()
repeated .mesos.v1.Resource resources = 5;
Protos.ResourceOrBuilder getResourcesOrBuilder(int index)
repeated .mesos.v1.Resource resources = 5;
boolean hasName()
optional string name = 9;
String getName()
optional string name = 9;
com.google.protobuf.ByteString getNameBytes()
optional string name = 9;
@Deprecated boolean hasSource()
optional string source = 10 [deprecated = true];
'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 agent. 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.
@Deprecated String getSource()
optional string source = 10 [deprecated = true];
'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 agent. 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.
@Deprecated com.google.protobuf.ByteString getSourceBytes()
optional string source = 10 [deprecated = true];
'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 agent. 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.
boolean hasData()
optional bytes data = 4;
This field can be used to pass arbitrary bytes to an executor.
com.google.protobuf.ByteString getData()
optional bytes data = 4;
This field can be used to pass arbitrary bytes to an executor.
boolean hasDiscovery()
optional .mesos.v1.DiscoveryInfo discovery = 12;
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.
Protos.DiscoveryInfo getDiscovery()
optional .mesos.v1.DiscoveryInfo discovery = 12;
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.
Protos.DiscoveryInfoOrBuilder getDiscoveryOrBuilder()
optional .mesos.v1.DiscoveryInfo discovery = 12;
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.
boolean hasShutdownGracePeriod()
optional .mesos.v1.DurationInfo shutdown_grace_period = 13;
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.
Protos.DurationInfo getShutdownGracePeriod()
optional .mesos.v1.DurationInfo shutdown_grace_period = 13;
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.
Protos.DurationInfoOrBuilder getShutdownGracePeriodOrBuilder()
optional .mesos.v1.DurationInfo shutdown_grace_period = 13;
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.
boolean hasLabels()
optional .mesos.v1.Labels labels = 14;
Labels are free-form key value pairs which are exposed through master and agent 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 agent processes. Therefore, labels should be used to tag executors with lightweight metadata. Labels should not contain duplicate key-value pairs.
Protos.Labels getLabels()
optional .mesos.v1.Labels labels = 14;
Labels are free-form key value pairs which are exposed through master and agent 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 agent processes. Therefore, labels should be used to tag executors with lightweight metadata. Labels should not contain duplicate key-value pairs.
Protos.LabelsOrBuilder getLabelsOrBuilder()
optional .mesos.v1.Labels labels = 14;
Labels are free-form key value pairs which are exposed through master and agent 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 agent processes. Therefore, labels should be used to tag executors with lightweight metadata. Labels should not contain duplicate key-value pairs.
Copyright © 2017 The Apache Software Foundation. All Rights Reserved.