blob: d1891046393b9ae5ab3a03cb2c093165269e8957 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.7.0_131) on Wed Mar 29 10:24:34 UTC 2017 -->
<title>Protos.Resource</title>
<meta name="date" content="2017-03-29">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Protos.Resource";
}
}
catch(err) {
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../org/apache/mesos/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../org/apache/mesos/Protos.RequestOrBuilder.html" title="interface in org.apache.mesos"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../org/apache/mesos/Protos.Resource.AllocationInfo.html" title="class in org.apache.mesos"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?org/apache/mesos/Protos.Resource.html" target="_top">Frames</a></li>
<li><a href="Protos.Resource.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.mesos</div>
<h2 title="Class Protos.Resource" class="title">Class Protos.Resource</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.google.protobuf.GeneratedMessage</li>
<li>
<ul class="inheritance">
<li>org.apache.mesos.Protos.Resource</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html" title="interface in org.apache.mesos">Protos.ResourceOrBuilder</a></dd>
</dl>
<dl>
<dt>Enclosing class:</dt>
<dd><a href="../../../org/apache/mesos/Protos.html" title="class in org.apache.mesos">Protos</a></dd>
</dl>
<hr>
<br>
<pre>public static final class <span class="strong">Protos.Resource</span>
extends com.google.protobuf.GeneratedMessage
implements <a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html" title="interface in org.apache.mesos">Protos.ResourceOrBuilder</a></pre>
<div class="block">Protobuf type <code>mesos.Resource</code>
<pre>
Describes a resource on a machine. The `name` field is a string
like "cpus" or "mem" that indicates which kind of resource this is;
the rest of the fields describe the properties of the resource. A
resource can take on one of three types: scalar (double), a list of
finite and discrete ranges (e.g., [1-10, 20-30]), or a set of
items. A resource is described using the standard protocol buffer
"union" trick.
Note that "disk" and "mem" resources are scalar values expressed in
megabytes. Fractional "cpus" values are allowed (e.g., "0.5"),
which correspond to partial shares of a CPU.
</pre></div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== NESTED CLASS SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="nested_class_summary">
<!-- -->
</a>
<h3>Nested Class Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation">
<caption><span>Nested Classes</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.AllocationInfo.html" title="class in org.apache.mesos">Protos.Resource.AllocationInfo</a></strong></code>
<div class="block">Protobuf type <code>mesos.Resource.AllocationInfo</code></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static interface&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.AllocationInfoOrBuilder.html" title="interface in org.apache.mesos">Protos.Resource.AllocationInfoOrBuilder</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.Builder.html" title="class in org.apache.mesos">Protos.Resource.Builder</a></strong></code>
<div class="block">Protobuf type <code>mesos.Resource</code></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.DiskInfo.html" title="class in org.apache.mesos">Protos.Resource.DiskInfo</a></strong></code>
<div class="block">Protobuf type <code>mesos.Resource.DiskInfo</code></div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static interface&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.DiskInfoOrBuilder.html" title="interface in org.apache.mesos">Protos.Resource.DiskInfoOrBuilder</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.ReservationInfo.html" title="class in org.apache.mesos">Protos.Resource.ReservationInfo</a></strong></code>
<div class="block">Protobuf type <code>mesos.Resource.ReservationInfo</code></div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static interface&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.ReservationInfoOrBuilder.html" title="interface in org.apache.mesos">Protos.Resource.ReservationInfoOrBuilder</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.RevocableInfo.html" title="class in org.apache.mesos">Protos.Resource.RevocableInfo</a></strong></code>
<div class="block">Protobuf type <code>mesos.Resource.RevocableInfo</code></div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static interface&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.RevocableInfoOrBuilder.html" title="interface in org.apache.mesos">Protos.Resource.RevocableInfoOrBuilder</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.SharedInfo.html" title="class in org.apache.mesos">Protos.Resource.SharedInfo</a></strong></code>
<div class="block">Protobuf type <code>mesos.Resource.SharedInfo</code></div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static interface&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.SharedInfoOrBuilder.html" title="interface in org.apache.mesos">Protos.Resource.SharedInfoOrBuilder</a></strong></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#ALLOCATION_INFO_FIELD_NUMBER">ALLOCATION_INFO_FIELD_NUMBER</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#DISK_FIELD_NUMBER">DISK_FIELD_NUMBER</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#NAME_FIELD_NUMBER">NAME_FIELD_NUMBER</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <any></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#PARSER">PARSER</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#RANGES_FIELD_NUMBER">RANGES_FIELD_NUMBER</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#RESERVATION_FIELD_NUMBER">RESERVATION_FIELD_NUMBER</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#REVOCABLE_FIELD_NUMBER">REVOCABLE_FIELD_NUMBER</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#ROLE_FIELD_NUMBER">ROLE_FIELD_NUMBER</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#SCALAR_FIELD_NUMBER">SCALAR_FIELD_NUMBER</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#SET_FIELD_NUMBER">SET_FIELD_NUMBER</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#SHARED_FIELD_NUMBER">SHARED_FIELD_NUMBER</a></strong></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#TYPE_FIELD_NUMBER">TYPE_FIELD_NUMBER</a></strong></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/apache/mesos/Protos.Resource.AllocationInfo.html" title="class in org.apache.mesos">Protos.Resource.AllocationInfo</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#getAllocationInfo()">getAllocationInfo</a></strong>()</code>
<div class="block"><code>optional .mesos.Resource.AllocationInfo allocation_info = 11;</code></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/apache/mesos/Protos.Resource.AllocationInfoOrBuilder.html" title="interface in org.apache.mesos">Protos.Resource.AllocationInfoOrBuilder</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#getAllocationInfoOrBuilder()">getAllocationInfoOrBuilder</a></strong>()</code>
<div class="block"><code>optional .mesos.Resource.AllocationInfo allocation_info = 11;</code></div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../org/apache/mesos/Protos.Resource.html" title="class in org.apache.mesos">Protos.Resource</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#getDefaultInstance()">getDefaultInstance</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/apache/mesos/Protos.Resource.html" title="class in org.apache.mesos">Protos.Resource</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#getDefaultInstanceForType()">getDefaultInstanceForType</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static com.google.protobuf.Descriptors.Descriptor</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#getDescriptor()">getDescriptor</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/apache/mesos/Protos.Resource.DiskInfo.html" title="class in org.apache.mesos">Protos.Resource.DiskInfo</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#getDisk()">getDisk</a></strong>()</code>
<div class="block"><code>optional .mesos.Resource.DiskInfo disk = 7;</code></div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/apache/mesos/Protos.Resource.DiskInfoOrBuilder.html" title="interface in org.apache.mesos">Protos.Resource.DiskInfoOrBuilder</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#getDiskOrBuilder()">getDiskOrBuilder</a></strong>()</code>
<div class="block"><code>optional .mesos.Resource.DiskInfo disk = 7;</code></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#getName()">getName</a></strong>()</code>
<div class="block"><code>required string name = 1;</code></div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>com.google.protobuf.ByteString</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#getNameBytes()">getNameBytes</a></strong>()</code>
<div class="block"><code>required string name = 1;</code></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><any></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#getParserForType()">getParserForType</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/apache/mesos/Protos.Value.Ranges.html" title="class in org.apache.mesos">Protos.Value.Ranges</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#getRanges()">getRanges</a></strong>()</code>
<div class="block"><code>optional .mesos.Value.Ranges ranges = 4;</code></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/apache/mesos/Protos.Value.RangesOrBuilder.html" title="interface in org.apache.mesos">Protos.Value.RangesOrBuilder</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#getRangesOrBuilder()">getRangesOrBuilder</a></strong>()</code>
<div class="block"><code>optional .mesos.Value.Ranges ranges = 4;</code></div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/apache/mesos/Protos.Resource.ReservationInfo.html" title="class in org.apache.mesos">Protos.Resource.ReservationInfo</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#getReservation()">getReservation</a></strong>()</code>
<div class="block"><code>optional .mesos.Resource.ReservationInfo reservation = 8;</code></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/apache/mesos/Protos.Resource.ReservationInfoOrBuilder.html" title="interface in org.apache.mesos">Protos.Resource.ReservationInfoOrBuilder</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#getReservationOrBuilder()">getReservationOrBuilder</a></strong>()</code>
<div class="block"><code>optional .mesos.Resource.ReservationInfo reservation = 8;</code></div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/apache/mesos/Protos.Resource.RevocableInfo.html" title="class in org.apache.mesos">Protos.Resource.RevocableInfo</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#getRevocable()">getRevocable</a></strong>()</code>
<div class="block"><code>optional .mesos.Resource.RevocableInfo revocable = 9;</code></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/apache/mesos/Protos.Resource.RevocableInfoOrBuilder.html" title="interface in org.apache.mesos">Protos.Resource.RevocableInfoOrBuilder</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#getRevocableOrBuilder()">getRevocableOrBuilder</a></strong>()</code>
<div class="block"><code>optional .mesos.Resource.RevocableInfo revocable = 9;</code></div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#getRole()">getRole</a></strong>()</code>
<div class="block"><code>optional string role = 6 [default = "*"];</code></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>com.google.protobuf.ByteString</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#getRoleBytes()">getRoleBytes</a></strong>()</code>
<div class="block"><code>optional string role = 6 [default = "*"];</code></div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/apache/mesos/Protos.Value.Scalar.html" title="class in org.apache.mesos">Protos.Value.Scalar</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#getScalar()">getScalar</a></strong>()</code>
<div class="block"><code>optional .mesos.Value.Scalar scalar = 3;</code></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/apache/mesos/Protos.Value.ScalarOrBuilder.html" title="interface in org.apache.mesos">Protos.Value.ScalarOrBuilder</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#getScalarOrBuilder()">getScalarOrBuilder</a></strong>()</code>
<div class="block"><code>optional .mesos.Value.Scalar scalar = 3;</code></div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#getSerializedSize()">getSerializedSize</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/apache/mesos/Protos.Value.Set.html" title="class in org.apache.mesos">Protos.Value.Set</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#getSet()">getSet</a></strong>()</code>
<div class="block"><code>optional .mesos.Value.Set set = 5;</code></div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/apache/mesos/Protos.Value.SetOrBuilder.html" title="interface in org.apache.mesos">Protos.Value.SetOrBuilder</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#getSetOrBuilder()">getSetOrBuilder</a></strong>()</code>
<div class="block"><code>optional .mesos.Value.Set set = 5;</code></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/apache/mesos/Protos.Resource.SharedInfo.html" title="class in org.apache.mesos">Protos.Resource.SharedInfo</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#getShared()">getShared</a></strong>()</code>
<div class="block"><code>optional .mesos.Resource.SharedInfo shared = 10;</code></div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/apache/mesos/Protos.Resource.SharedInfoOrBuilder.html" title="interface in org.apache.mesos">Protos.Resource.SharedInfoOrBuilder</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#getSharedOrBuilder()">getSharedOrBuilder</a></strong>()</code>
<div class="block"><code>optional .mesos.Resource.SharedInfo shared = 10;</code></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/apache/mesos/Protos.Value.Type.html" title="enum in org.apache.mesos">Protos.Value.Type</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#getType()">getType</a></strong>()</code>
<div class="block"><code>required .mesos.Value.Type type = 2;</code></div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>com.google.protobuf.UnknownFieldSet</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#getUnknownFields()">getUnknownFields</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#hasAllocationInfo()">hasAllocationInfo</a></strong>()</code>
<div class="block"><code>optional .mesos.Resource.AllocationInfo allocation_info = 11;</code></div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#hasDisk()">hasDisk</a></strong>()</code>
<div class="block"><code>optional .mesos.Resource.DiskInfo disk = 7;</code></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#hasName()">hasName</a></strong>()</code>
<div class="block"><code>required string name = 1;</code></div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#hasRanges()">hasRanges</a></strong>()</code>
<div class="block"><code>optional .mesos.Value.Ranges ranges = 4;</code></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#hasReservation()">hasReservation</a></strong>()</code>
<div class="block"><code>optional .mesos.Resource.ReservationInfo reservation = 8;</code></div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#hasRevocable()">hasRevocable</a></strong>()</code>
<div class="block"><code>optional .mesos.Resource.RevocableInfo revocable = 9;</code></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#hasRole()">hasRole</a></strong>()</code>
<div class="block"><code>optional string role = 6 [default = "*"];</code></div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#hasScalar()">hasScalar</a></strong>()</code>
<div class="block"><code>optional .mesos.Value.Scalar scalar = 3;</code></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#hasSet()">hasSet</a></strong>()</code>
<div class="block"><code>optional .mesos.Value.Set set = 5;</code></div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#hasShared()">hasShared</a></strong>()</code>
<div class="block"><code>optional .mesos.Resource.SharedInfo shared = 10;</code></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#hasType()">hasType</a></strong>()</code>
<div class="block"><code>required .mesos.Value.Type type = 2;</code></div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected com.google.protobuf.GeneratedMessage.FieldAccessorTable</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#internalGetFieldAccessorTable()">internalGetFieldAccessorTable</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#isInitialized()">isInitialized</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../org/apache/mesos/Protos.Resource.Builder.html" title="class in org.apache.mesos">Protos.Resource.Builder</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#newBuilder()">newBuilder</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../org/apache/mesos/Protos.Resource.Builder.html" title="class in org.apache.mesos">Protos.Resource.Builder</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#newBuilder(org.apache.mesos.Protos.Resource)">newBuilder</a></strong>(<a href="../../../org/apache/mesos/Protos.Resource.html" title="class in org.apache.mesos">Protos.Resource</a>&nbsp;prototype)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/apache/mesos/Protos.Resource.Builder.html" title="class in org.apache.mesos">Protos.Resource.Builder</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#newBuilderForType()">newBuilderForType</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../org/apache/mesos/Protos.Resource.Builder.html" title="class in org.apache.mesos">Protos.Resource.Builder</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent)">newBuilderForType</a></strong>(com.google.protobuf.GeneratedMessage.BuilderParent&nbsp;parent)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../org/apache/mesos/Protos.Resource.html" title="class in org.apache.mesos">Protos.Resource</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#parseDelimitedFrom(java.io.InputStream)">parseDelimitedFrom</a></strong>(java.io.InputStream&nbsp;input)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../org/apache/mesos/Protos.Resource.html" title="class in org.apache.mesos">Protos.Resource</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#parseDelimitedFrom(java.io.InputStream,%20com.google.protobuf.ExtensionRegistryLite)">parseDelimitedFrom</a></strong>(java.io.InputStream&nbsp;input,
com.google.protobuf.ExtensionRegistryLite&nbsp;extensionRegistry)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../org/apache/mesos/Protos.Resource.html" title="class in org.apache.mesos">Protos.Resource</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#parseFrom(byte[],%20com.google.protobuf.ExtensionRegistryLite)">parseFrom</a></strong>(byte[]&nbsp;data,
com.google.protobuf.ExtensionRegistryLite&nbsp;extensionRegistry)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../org/apache/mesos/Protos.Resource.html" title="class in org.apache.mesos">Protos.Resource</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#parseFrom(com.google.protobuf.ByteString)">parseFrom</a></strong>(com.google.protobuf.ByteString&nbsp;data)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../org/apache/mesos/Protos.Resource.html" title="class in org.apache.mesos">Protos.Resource</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#parseFrom(com.google.protobuf.ByteString,%20com.google.protobuf.ExtensionRegistryLite)">parseFrom</a></strong>(com.google.protobuf.ByteString&nbsp;data,
com.google.protobuf.ExtensionRegistryLite&nbsp;extensionRegistry)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../org/apache/mesos/Protos.Resource.html" title="class in org.apache.mesos">Protos.Resource</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#parseFrom(com.google.protobuf.CodedInputStream)">parseFrom</a></strong>(com.google.protobuf.CodedInputStream&nbsp;input)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../org/apache/mesos/Protos.Resource.html" title="class in org.apache.mesos">Protos.Resource</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#parseFrom(com.google.protobuf.CodedInputStream,%20com.google.protobuf.ExtensionRegistryLite)">parseFrom</a></strong>(com.google.protobuf.CodedInputStream&nbsp;input,
com.google.protobuf.ExtensionRegistryLite&nbsp;extensionRegistry)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../org/apache/mesos/Protos.Resource.html" title="class in org.apache.mesos">Protos.Resource</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#parseFrom(java.io.InputStream,%20com.google.protobuf.ExtensionRegistryLite)">parseFrom</a></strong>(java.io.InputStream&nbsp;input,
com.google.protobuf.ExtensionRegistryLite&nbsp;extensionRegistry)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../org/apache/mesos/Protos.Resource.Builder.html" title="class in org.apache.mesos">Protos.Resource.Builder</a></code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#toBuilder()">toBuilder</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected java.lang.Object</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#writeReplace()">writeReplace</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Protos.Resource.html#writeTo(com.google.protobuf.CodedOutputStream)">writeTo</a></strong>(com.google.protobuf.CodedOutputStream&nbsp;output)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="PARSER">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PARSER</h4>
<pre>public static&nbsp;<any> PARSER</pre>
</li>
</ul>
<a name="NAME_FIELD_NUMBER">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>NAME_FIELD_NUMBER</h4>
<pre>public static final&nbsp;int NAME_FIELD_NUMBER</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../constant-values.html#org.apache.mesos.Protos.Resource.NAME_FIELD_NUMBER">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="TYPE_FIELD_NUMBER">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TYPE_FIELD_NUMBER</h4>
<pre>public static final&nbsp;int TYPE_FIELD_NUMBER</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../constant-values.html#org.apache.mesos.Protos.Resource.TYPE_FIELD_NUMBER">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="SCALAR_FIELD_NUMBER">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SCALAR_FIELD_NUMBER</h4>
<pre>public static final&nbsp;int SCALAR_FIELD_NUMBER</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../constant-values.html#org.apache.mesos.Protos.Resource.SCALAR_FIELD_NUMBER">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="RANGES_FIELD_NUMBER">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>RANGES_FIELD_NUMBER</h4>
<pre>public static final&nbsp;int RANGES_FIELD_NUMBER</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../constant-values.html#org.apache.mesos.Protos.Resource.RANGES_FIELD_NUMBER">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="SET_FIELD_NUMBER">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SET_FIELD_NUMBER</h4>
<pre>public static final&nbsp;int SET_FIELD_NUMBER</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../constant-values.html#org.apache.mesos.Protos.Resource.SET_FIELD_NUMBER">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="ROLE_FIELD_NUMBER">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ROLE_FIELD_NUMBER</h4>
<pre>public static final&nbsp;int ROLE_FIELD_NUMBER</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../constant-values.html#org.apache.mesos.Protos.Resource.ROLE_FIELD_NUMBER">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="ALLOCATION_INFO_FIELD_NUMBER">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ALLOCATION_INFO_FIELD_NUMBER</h4>
<pre>public static final&nbsp;int ALLOCATION_INFO_FIELD_NUMBER</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../constant-values.html#org.apache.mesos.Protos.Resource.ALLOCATION_INFO_FIELD_NUMBER">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="RESERVATION_FIELD_NUMBER">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>RESERVATION_FIELD_NUMBER</h4>
<pre>public static final&nbsp;int RESERVATION_FIELD_NUMBER</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../constant-values.html#org.apache.mesos.Protos.Resource.RESERVATION_FIELD_NUMBER">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="DISK_FIELD_NUMBER">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DISK_FIELD_NUMBER</h4>
<pre>public static final&nbsp;int DISK_FIELD_NUMBER</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../constant-values.html#org.apache.mesos.Protos.Resource.DISK_FIELD_NUMBER">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="REVOCABLE_FIELD_NUMBER">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>REVOCABLE_FIELD_NUMBER</h4>
<pre>public static final&nbsp;int REVOCABLE_FIELD_NUMBER</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../constant-values.html#org.apache.mesos.Protos.Resource.REVOCABLE_FIELD_NUMBER">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="SHARED_FIELD_NUMBER">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>SHARED_FIELD_NUMBER</h4>
<pre>public static final&nbsp;int SHARED_FIELD_NUMBER</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../constant-values.html#org.apache.mesos.Protos.Resource.SHARED_FIELD_NUMBER">Constant Field Values</a></dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getDefaultInstance()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDefaultInstance</h4>
<pre>public static&nbsp;<a href="../../../org/apache/mesos/Protos.Resource.html" title="class in org.apache.mesos">Protos.Resource</a>&nbsp;getDefaultInstance()</pre>
</li>
</ul>
<a name="getDefaultInstanceForType()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDefaultInstanceForType</h4>
<pre>public&nbsp;<a href="../../../org/apache/mesos/Protos.Resource.html" title="class in org.apache.mesos">Protos.Resource</a>&nbsp;getDefaultInstanceForType()</pre>
</li>
</ul>
<a name="getUnknownFields()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUnknownFields</h4>
<pre>public final&nbsp;com.google.protobuf.UnknownFieldSet&nbsp;getUnknownFields()</pre>
</li>
</ul>
<a name="getDescriptor()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDescriptor</h4>
<pre>public static final&nbsp;com.google.protobuf.Descriptors.Descriptor&nbsp;getDescriptor()</pre>
</li>
</ul>
<a name="internalGetFieldAccessorTable()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>internalGetFieldAccessorTable</h4>
<pre>protected&nbsp;com.google.protobuf.GeneratedMessage.FieldAccessorTable&nbsp;internalGetFieldAccessorTable()</pre>
</li>
</ul>
<a name="getParserForType()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getParserForType</h4>
<pre>public&nbsp;<any>&nbsp;getParserForType()</pre>
</li>
</ul>
<a name="hasName()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasName</h4>
<pre>public&nbsp;boolean&nbsp;hasName()</pre>
<div class="block"><code>required string name = 1;</code></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html#hasName()">hasName</a></code>&nbsp;in interface&nbsp;<code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html" title="interface in org.apache.mesos">Protos.ResourceOrBuilder</a></code></dd>
</dl>
</li>
</ul>
<a name="getName()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getName</h4>
<pre>public&nbsp;java.lang.String&nbsp;getName()</pre>
<div class="block"><code>required string name = 1;</code></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html#getName()">getName</a></code>&nbsp;in interface&nbsp;<code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html" title="interface in org.apache.mesos">Protos.ResourceOrBuilder</a></code></dd>
</dl>
</li>
</ul>
<a name="getNameBytes()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNameBytes</h4>
<pre>public&nbsp;com.google.protobuf.ByteString&nbsp;getNameBytes()</pre>
<div class="block"><code>required string name = 1;</code></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html#getNameBytes()">getNameBytes</a></code>&nbsp;in interface&nbsp;<code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html" title="interface in org.apache.mesos">Protos.ResourceOrBuilder</a></code></dd>
</dl>
</li>
</ul>
<a name="hasType()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasType</h4>
<pre>public&nbsp;boolean&nbsp;hasType()</pre>
<div class="block"><code>required .mesos.Value.Type type = 2;</code></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html#hasType()">hasType</a></code>&nbsp;in interface&nbsp;<code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html" title="interface in org.apache.mesos">Protos.ResourceOrBuilder</a></code></dd>
</dl>
</li>
</ul>
<a name="getType()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getType</h4>
<pre>public&nbsp;<a href="../../../org/apache/mesos/Protos.Value.Type.html" title="enum in org.apache.mesos">Protos.Value.Type</a>&nbsp;getType()</pre>
<div class="block"><code>required .mesos.Value.Type type = 2;</code></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html#getType()">getType</a></code>&nbsp;in interface&nbsp;<code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html" title="interface in org.apache.mesos">Protos.ResourceOrBuilder</a></code></dd>
</dl>
</li>
</ul>
<a name="hasScalar()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasScalar</h4>
<pre>public&nbsp;boolean&nbsp;hasScalar()</pre>
<div class="block"><code>optional .mesos.Value.Scalar scalar = 3;</code></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html#hasScalar()">hasScalar</a></code>&nbsp;in interface&nbsp;<code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html" title="interface in org.apache.mesos">Protos.ResourceOrBuilder</a></code></dd>
</dl>
</li>
</ul>
<a name="getScalar()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getScalar</h4>
<pre>public&nbsp;<a href="../../../org/apache/mesos/Protos.Value.Scalar.html" title="class in org.apache.mesos">Protos.Value.Scalar</a>&nbsp;getScalar()</pre>
<div class="block"><code>optional .mesos.Value.Scalar scalar = 3;</code></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html#getScalar()">getScalar</a></code>&nbsp;in interface&nbsp;<code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html" title="interface in org.apache.mesos">Protos.ResourceOrBuilder</a></code></dd>
</dl>
</li>
</ul>
<a name="getScalarOrBuilder()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getScalarOrBuilder</h4>
<pre>public&nbsp;<a href="../../../org/apache/mesos/Protos.Value.ScalarOrBuilder.html" title="interface in org.apache.mesos">Protos.Value.ScalarOrBuilder</a>&nbsp;getScalarOrBuilder()</pre>
<div class="block"><code>optional .mesos.Value.Scalar scalar = 3;</code></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html#getScalarOrBuilder()">getScalarOrBuilder</a></code>&nbsp;in interface&nbsp;<code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html" title="interface in org.apache.mesos">Protos.ResourceOrBuilder</a></code></dd>
</dl>
</li>
</ul>
<a name="hasRanges()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasRanges</h4>
<pre>public&nbsp;boolean&nbsp;hasRanges()</pre>
<div class="block"><code>optional .mesos.Value.Ranges ranges = 4;</code></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html#hasRanges()">hasRanges</a></code>&nbsp;in interface&nbsp;<code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html" title="interface in org.apache.mesos">Protos.ResourceOrBuilder</a></code></dd>
</dl>
</li>
</ul>
<a name="getRanges()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRanges</h4>
<pre>public&nbsp;<a href="../../../org/apache/mesos/Protos.Value.Ranges.html" title="class in org.apache.mesos">Protos.Value.Ranges</a>&nbsp;getRanges()</pre>
<div class="block"><code>optional .mesos.Value.Ranges ranges = 4;</code></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html#getRanges()">getRanges</a></code>&nbsp;in interface&nbsp;<code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html" title="interface in org.apache.mesos">Protos.ResourceOrBuilder</a></code></dd>
</dl>
</li>
</ul>
<a name="getRangesOrBuilder()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRangesOrBuilder</h4>
<pre>public&nbsp;<a href="../../../org/apache/mesos/Protos.Value.RangesOrBuilder.html" title="interface in org.apache.mesos">Protos.Value.RangesOrBuilder</a>&nbsp;getRangesOrBuilder()</pre>
<div class="block"><code>optional .mesos.Value.Ranges ranges = 4;</code></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html#getRangesOrBuilder()">getRangesOrBuilder</a></code>&nbsp;in interface&nbsp;<code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html" title="interface in org.apache.mesos">Protos.ResourceOrBuilder</a></code></dd>
</dl>
</li>
</ul>
<a name="hasSet()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasSet</h4>
<pre>public&nbsp;boolean&nbsp;hasSet()</pre>
<div class="block"><code>optional .mesos.Value.Set set = 5;</code></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html#hasSet()">hasSet</a></code>&nbsp;in interface&nbsp;<code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html" title="interface in org.apache.mesos">Protos.ResourceOrBuilder</a></code></dd>
</dl>
</li>
</ul>
<a name="getSet()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSet</h4>
<pre>public&nbsp;<a href="../../../org/apache/mesos/Protos.Value.Set.html" title="class in org.apache.mesos">Protos.Value.Set</a>&nbsp;getSet()</pre>
<div class="block"><code>optional .mesos.Value.Set set = 5;</code></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html#getSet()">getSet</a></code>&nbsp;in interface&nbsp;<code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html" title="interface in org.apache.mesos">Protos.ResourceOrBuilder</a></code></dd>
</dl>
</li>
</ul>
<a name="getSetOrBuilder()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSetOrBuilder</h4>
<pre>public&nbsp;<a href="../../../org/apache/mesos/Protos.Value.SetOrBuilder.html" title="interface in org.apache.mesos">Protos.Value.SetOrBuilder</a>&nbsp;getSetOrBuilder()</pre>
<div class="block"><code>optional .mesos.Value.Set set = 5;</code></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html#getSetOrBuilder()">getSetOrBuilder</a></code>&nbsp;in interface&nbsp;<code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html" title="interface in org.apache.mesos">Protos.ResourceOrBuilder</a></code></dd>
</dl>
</li>
</ul>
<a name="hasRole()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasRole</h4>
<pre>public&nbsp;boolean&nbsp;hasRole()</pre>
<div class="block"><code>optional string role = 6 [default = "*"];</code>
<pre>
The role that this resource is reserved for. If "*", this indicates
that the resource is unreserved. Otherwise, the resource will only
be offered to frameworks that belong to this role.
</pre></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html#hasRole()">hasRole</a></code>&nbsp;in interface&nbsp;<code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html" title="interface in org.apache.mesos">Protos.ResourceOrBuilder</a></code></dd>
</dl>
</li>
</ul>
<a name="getRole()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRole</h4>
<pre>public&nbsp;java.lang.String&nbsp;getRole()</pre>
<div class="block"><code>optional string role = 6 [default = "*"];</code>
<pre>
The role that this resource is reserved for. If "*", this indicates
that the resource is unreserved. Otherwise, the resource will only
be offered to frameworks that belong to this role.
</pre></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html#getRole()">getRole</a></code>&nbsp;in interface&nbsp;<code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html" title="interface in org.apache.mesos">Protos.ResourceOrBuilder</a></code></dd>
</dl>
</li>
</ul>
<a name="getRoleBytes()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRoleBytes</h4>
<pre>public&nbsp;com.google.protobuf.ByteString&nbsp;getRoleBytes()</pre>
<div class="block"><code>optional string role = 6 [default = "*"];</code>
<pre>
The role that this resource is reserved for. If "*", this indicates
that the resource is unreserved. Otherwise, the resource will only
be offered to frameworks that belong to this role.
</pre></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html#getRoleBytes()">getRoleBytes</a></code>&nbsp;in interface&nbsp;<code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html" title="interface in org.apache.mesos">Protos.ResourceOrBuilder</a></code></dd>
</dl>
</li>
</ul>
<a name="hasAllocationInfo()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasAllocationInfo</h4>
<pre>public&nbsp;boolean&nbsp;hasAllocationInfo()</pre>
<div class="block"><code>optional .mesos.Resource.AllocationInfo allocation_info = 11;</code></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html#hasAllocationInfo()">hasAllocationInfo</a></code>&nbsp;in interface&nbsp;<code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html" title="interface in org.apache.mesos">Protos.ResourceOrBuilder</a></code></dd>
</dl>
</li>
</ul>
<a name="getAllocationInfo()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllocationInfo</h4>
<pre>public&nbsp;<a href="../../../org/apache/mesos/Protos.Resource.AllocationInfo.html" title="class in org.apache.mesos">Protos.Resource.AllocationInfo</a>&nbsp;getAllocationInfo()</pre>
<div class="block"><code>optional .mesos.Resource.AllocationInfo allocation_info = 11;</code></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html#getAllocationInfo()">getAllocationInfo</a></code>&nbsp;in interface&nbsp;<code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html" title="interface in org.apache.mesos">Protos.ResourceOrBuilder</a></code></dd>
</dl>
</li>
</ul>
<a name="getAllocationInfoOrBuilder()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllocationInfoOrBuilder</h4>
<pre>public&nbsp;<a href="../../../org/apache/mesos/Protos.Resource.AllocationInfoOrBuilder.html" title="interface in org.apache.mesos">Protos.Resource.AllocationInfoOrBuilder</a>&nbsp;getAllocationInfoOrBuilder()</pre>
<div class="block"><code>optional .mesos.Resource.AllocationInfo allocation_info = 11;</code></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html#getAllocationInfoOrBuilder()">getAllocationInfoOrBuilder</a></code>&nbsp;in interface&nbsp;<code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html" title="interface in org.apache.mesos">Protos.ResourceOrBuilder</a></code></dd>
</dl>
</li>
</ul>
<a name="hasReservation()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasReservation</h4>
<pre>public&nbsp;boolean&nbsp;hasReservation()</pre>
<div class="block"><code>optional .mesos.Resource.ReservationInfo reservation = 8;</code>
<pre>
If this is set, this resource was dynamically reserved by an
operator or a framework. Otherwise, this resource is either unreserved
or statically reserved by an operator via the --resources flag.
</pre></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html#hasReservation()">hasReservation</a></code>&nbsp;in interface&nbsp;<code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html" title="interface in org.apache.mesos">Protos.ResourceOrBuilder</a></code></dd>
</dl>
</li>
</ul>
<a name="getReservation()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getReservation</h4>
<pre>public&nbsp;<a href="../../../org/apache/mesos/Protos.Resource.ReservationInfo.html" title="class in org.apache.mesos">Protos.Resource.ReservationInfo</a>&nbsp;getReservation()</pre>
<div class="block"><code>optional .mesos.Resource.ReservationInfo reservation = 8;</code>
<pre>
If this is set, this resource was dynamically reserved by an
operator or a framework. Otherwise, this resource is either unreserved
or statically reserved by an operator via the --resources flag.
</pre></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html#getReservation()">getReservation</a></code>&nbsp;in interface&nbsp;<code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html" title="interface in org.apache.mesos">Protos.ResourceOrBuilder</a></code></dd>
</dl>
</li>
</ul>
<a name="getReservationOrBuilder()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getReservationOrBuilder</h4>
<pre>public&nbsp;<a href="../../../org/apache/mesos/Protos.Resource.ReservationInfoOrBuilder.html" title="interface in org.apache.mesos">Protos.Resource.ReservationInfoOrBuilder</a>&nbsp;getReservationOrBuilder()</pre>
<div class="block"><code>optional .mesos.Resource.ReservationInfo reservation = 8;</code>
<pre>
If this is set, this resource was dynamically reserved by an
operator or a framework. Otherwise, this resource is either unreserved
or statically reserved by an operator via the --resources flag.
</pre></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html#getReservationOrBuilder()">getReservationOrBuilder</a></code>&nbsp;in interface&nbsp;<code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html" title="interface in org.apache.mesos">Protos.ResourceOrBuilder</a></code></dd>
</dl>
</li>
</ul>
<a name="hasDisk()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasDisk</h4>
<pre>public&nbsp;boolean&nbsp;hasDisk()</pre>
<div class="block"><code>optional .mesos.Resource.DiskInfo disk = 7;</code></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html#hasDisk()">hasDisk</a></code>&nbsp;in interface&nbsp;<code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html" title="interface in org.apache.mesos">Protos.ResourceOrBuilder</a></code></dd>
</dl>
</li>
</ul>
<a name="getDisk()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDisk</h4>
<pre>public&nbsp;<a href="../../../org/apache/mesos/Protos.Resource.DiskInfo.html" title="class in org.apache.mesos">Protos.Resource.DiskInfo</a>&nbsp;getDisk()</pre>
<div class="block"><code>optional .mesos.Resource.DiskInfo disk = 7;</code></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html#getDisk()">getDisk</a></code>&nbsp;in interface&nbsp;<code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html" title="interface in org.apache.mesos">Protos.ResourceOrBuilder</a></code></dd>
</dl>
</li>
</ul>
<a name="getDiskOrBuilder()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDiskOrBuilder</h4>
<pre>public&nbsp;<a href="../../../org/apache/mesos/Protos.Resource.DiskInfoOrBuilder.html" title="interface in org.apache.mesos">Protos.Resource.DiskInfoOrBuilder</a>&nbsp;getDiskOrBuilder()</pre>
<div class="block"><code>optional .mesos.Resource.DiskInfo disk = 7;</code></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html#getDiskOrBuilder()">getDiskOrBuilder</a></code>&nbsp;in interface&nbsp;<code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html" title="interface in org.apache.mesos">Protos.ResourceOrBuilder</a></code></dd>
</dl>
</li>
</ul>
<a name="hasRevocable()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasRevocable</h4>
<pre>public&nbsp;boolean&nbsp;hasRevocable()</pre>
<div class="block"><code>optional .mesos.Resource.RevocableInfo revocable = 9;</code>
<pre>
If this is set, the resources are revocable, i.e., any tasks or
executors launched using these resources could get preempted or
throttled at any time. This could be used by frameworks to run
best effort tasks that do not need strict uptime or performance
guarantees. Note that if this is set, 'disk' or 'reservation'
cannot be set.
</pre></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html#hasRevocable()">hasRevocable</a></code>&nbsp;in interface&nbsp;<code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html" title="interface in org.apache.mesos">Protos.ResourceOrBuilder</a></code></dd>
</dl>
</li>
</ul>
<a name="getRevocable()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRevocable</h4>
<pre>public&nbsp;<a href="../../../org/apache/mesos/Protos.Resource.RevocableInfo.html" title="class in org.apache.mesos">Protos.Resource.RevocableInfo</a>&nbsp;getRevocable()</pre>
<div class="block"><code>optional .mesos.Resource.RevocableInfo revocable = 9;</code>
<pre>
If this is set, the resources are revocable, i.e., any tasks or
executors launched using these resources could get preempted or
throttled at any time. This could be used by frameworks to run
best effort tasks that do not need strict uptime or performance
guarantees. Note that if this is set, 'disk' or 'reservation'
cannot be set.
</pre></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html#getRevocable()">getRevocable</a></code>&nbsp;in interface&nbsp;<code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html" title="interface in org.apache.mesos">Protos.ResourceOrBuilder</a></code></dd>
</dl>
</li>
</ul>
<a name="getRevocableOrBuilder()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRevocableOrBuilder</h4>
<pre>public&nbsp;<a href="../../../org/apache/mesos/Protos.Resource.RevocableInfoOrBuilder.html" title="interface in org.apache.mesos">Protos.Resource.RevocableInfoOrBuilder</a>&nbsp;getRevocableOrBuilder()</pre>
<div class="block"><code>optional .mesos.Resource.RevocableInfo revocable = 9;</code>
<pre>
If this is set, the resources are revocable, i.e., any tasks or
executors launched using these resources could get preempted or
throttled at any time. This could be used by frameworks to run
best effort tasks that do not need strict uptime or performance
guarantees. Note that if this is set, 'disk' or 'reservation'
cannot be set.
</pre></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html#getRevocableOrBuilder()">getRevocableOrBuilder</a></code>&nbsp;in interface&nbsp;<code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html" title="interface in org.apache.mesos">Protos.ResourceOrBuilder</a></code></dd>
</dl>
</li>
</ul>
<a name="hasShared()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasShared</h4>
<pre>public&nbsp;boolean&nbsp;hasShared()</pre>
<div class="block"><code>optional .mesos.Resource.SharedInfo shared = 10;</code>
<pre>
If this is set, the resources are shared, i.e. multiple tasks
can be launched using this resource and all of them shall refer
to the same physical resource on the cluster. Note that only
persistent volumes can be shared currently.
</pre></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html#hasShared()">hasShared</a></code>&nbsp;in interface&nbsp;<code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html" title="interface in org.apache.mesos">Protos.ResourceOrBuilder</a></code></dd>
</dl>
</li>
</ul>
<a name="getShared()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getShared</h4>
<pre>public&nbsp;<a href="../../../org/apache/mesos/Protos.Resource.SharedInfo.html" title="class in org.apache.mesos">Protos.Resource.SharedInfo</a>&nbsp;getShared()</pre>
<div class="block"><code>optional .mesos.Resource.SharedInfo shared = 10;</code>
<pre>
If this is set, the resources are shared, i.e. multiple tasks
can be launched using this resource and all of them shall refer
to the same physical resource on the cluster. Note that only
persistent volumes can be shared currently.
</pre></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html#getShared()">getShared</a></code>&nbsp;in interface&nbsp;<code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html" title="interface in org.apache.mesos">Protos.ResourceOrBuilder</a></code></dd>
</dl>
</li>
</ul>
<a name="getSharedOrBuilder()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSharedOrBuilder</h4>
<pre>public&nbsp;<a href="../../../org/apache/mesos/Protos.Resource.SharedInfoOrBuilder.html" title="interface in org.apache.mesos">Protos.Resource.SharedInfoOrBuilder</a>&nbsp;getSharedOrBuilder()</pre>
<div class="block"><code>optional .mesos.Resource.SharedInfo shared = 10;</code>
<pre>
If this is set, the resources are shared, i.e. multiple tasks
can be launched using this resource and all of them shall refer
to the same physical resource on the cluster. Note that only
persistent volumes can be shared currently.
</pre></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html#getSharedOrBuilder()">getSharedOrBuilder</a></code>&nbsp;in interface&nbsp;<code><a href="../../../org/apache/mesos/Protos.ResourceOrBuilder.html" title="interface in org.apache.mesos">Protos.ResourceOrBuilder</a></code></dd>
</dl>
</li>
</ul>
<a name="isInitialized()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isInitialized</h4>
<pre>public final&nbsp;boolean&nbsp;isInitialized()</pre>
</li>
</ul>
<a name="writeTo(com.google.protobuf.CodedOutputStream)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeTo</h4>
<pre>public&nbsp;void&nbsp;writeTo(com.google.protobuf.CodedOutputStream&nbsp;output)
throws java.io.IOException</pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd></dl>
</li>
</ul>
<a name="getSerializedSize()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSerializedSize</h4>
<pre>public&nbsp;int&nbsp;getSerializedSize()</pre>
</li>
</ul>
<a name="writeReplace()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>writeReplace</h4>
<pre>protected&nbsp;java.lang.Object&nbsp;writeReplace()
throws java.io.ObjectStreamException</pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.ObjectStreamException</code></dd></dl>
</li>
</ul>
<a name="parseFrom(com.google.protobuf.ByteString)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseFrom</h4>
<pre>public static&nbsp;<a href="../../../org/apache/mesos/Protos.Resource.html" title="class in org.apache.mesos">Protos.Resource</a>&nbsp;parseFrom(com.google.protobuf.ByteString&nbsp;data)
throws com.google.protobuf.InvalidProtocolBufferException</pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>com.google.protobuf.InvalidProtocolBufferException</code></dd></dl>
</li>
</ul>
<a name="parseFrom(com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseFrom</h4>
<pre>public static&nbsp;<a href="../../../org/apache/mesos/Protos.Resource.html" title="class in org.apache.mesos">Protos.Resource</a>&nbsp;parseFrom(com.google.protobuf.ByteString&nbsp;data,
com.google.protobuf.ExtensionRegistryLite&nbsp;extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException</pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>com.google.protobuf.InvalidProtocolBufferException</code></dd></dl>
</li>
</ul>
<a name="parseFrom(byte[], com.google.protobuf.ExtensionRegistryLite)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseFrom</h4>
<pre>public static&nbsp;<a href="../../../org/apache/mesos/Protos.Resource.html" title="class in org.apache.mesos">Protos.Resource</a>&nbsp;parseFrom(byte[]&nbsp;data,
com.google.protobuf.ExtensionRegistryLite&nbsp;extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException</pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>com.google.protobuf.InvalidProtocolBufferException</code></dd></dl>
</li>
</ul>
<a name="parseFrom(java.io.InputStream, com.google.protobuf.ExtensionRegistryLite)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseFrom</h4>
<pre>public static&nbsp;<a href="../../../org/apache/mesos/Protos.Resource.html" title="class in org.apache.mesos">Protos.Resource</a>&nbsp;parseFrom(java.io.InputStream&nbsp;input,
com.google.protobuf.ExtensionRegistryLite&nbsp;extensionRegistry)
throws java.io.IOException</pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd></dl>
</li>
</ul>
<a name="parseDelimitedFrom(java.io.InputStream)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseDelimitedFrom</h4>
<pre>public static&nbsp;<a href="../../../org/apache/mesos/Protos.Resource.html" title="class in org.apache.mesos">Protos.Resource</a>&nbsp;parseDelimitedFrom(java.io.InputStream&nbsp;input)
throws java.io.IOException</pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd></dl>
</li>
</ul>
<a name="parseDelimitedFrom(java.io.InputStream, com.google.protobuf.ExtensionRegistryLite)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseDelimitedFrom</h4>
<pre>public static&nbsp;<a href="../../../org/apache/mesos/Protos.Resource.html" title="class in org.apache.mesos">Protos.Resource</a>&nbsp;parseDelimitedFrom(java.io.InputStream&nbsp;input,
com.google.protobuf.ExtensionRegistryLite&nbsp;extensionRegistry)
throws java.io.IOException</pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd></dl>
</li>
</ul>
<a name="parseFrom(com.google.protobuf.CodedInputStream)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseFrom</h4>
<pre>public static&nbsp;<a href="../../../org/apache/mesos/Protos.Resource.html" title="class in org.apache.mesos">Protos.Resource</a>&nbsp;parseFrom(com.google.protobuf.CodedInputStream&nbsp;input)
throws java.io.IOException</pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd></dl>
</li>
</ul>
<a name="parseFrom(com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>parseFrom</h4>
<pre>public static&nbsp;<a href="../../../org/apache/mesos/Protos.Resource.html" title="class in org.apache.mesos">Protos.Resource</a>&nbsp;parseFrom(com.google.protobuf.CodedInputStream&nbsp;input,
com.google.protobuf.ExtensionRegistryLite&nbsp;extensionRegistry)
throws java.io.IOException</pre>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.io.IOException</code></dd></dl>
</li>
</ul>
<a name="newBuilder()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newBuilder</h4>
<pre>public static&nbsp;<a href="../../../org/apache/mesos/Protos.Resource.Builder.html" title="class in org.apache.mesos">Protos.Resource.Builder</a>&nbsp;newBuilder()</pre>
</li>
</ul>
<a name="newBuilderForType()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newBuilderForType</h4>
<pre>public&nbsp;<a href="../../../org/apache/mesos/Protos.Resource.Builder.html" title="class in org.apache.mesos">Protos.Resource.Builder</a>&nbsp;newBuilderForType()</pre>
</li>
</ul>
<a name="newBuilder(org.apache.mesos.Protos.Resource)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newBuilder</h4>
<pre>public static&nbsp;<a href="../../../org/apache/mesos/Protos.Resource.Builder.html" title="class in org.apache.mesos">Protos.Resource.Builder</a>&nbsp;newBuilder(<a href="../../../org/apache/mesos/Protos.Resource.html" title="class in org.apache.mesos">Protos.Resource</a>&nbsp;prototype)</pre>
</li>
</ul>
<a name="toBuilder()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toBuilder</h4>
<pre>public&nbsp;<a href="../../../org/apache/mesos/Protos.Resource.Builder.html" title="class in org.apache.mesos">Protos.Resource.Builder</a>&nbsp;toBuilder()</pre>
</li>
</ul>
<a name="newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>newBuilderForType</h4>
<pre>protected&nbsp;<a href="../../../org/apache/mesos/Protos.Resource.Builder.html" title="class in org.apache.mesos">Protos.Resource.Builder</a>&nbsp;newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent&nbsp;parent)</pre>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../org/apache/mesos/package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../org/apache/mesos/Protos.RequestOrBuilder.html" title="interface in org.apache.mesos"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../org/apache/mesos/Protos.Resource.AllocationInfo.html" title="class in org.apache.mesos"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?org/apache/mesos/Protos.Resource.html" target="_top">Frames</a></li>
<li><a href="Protos.Resource.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li><a href="#nested_class_summary">Nested</a>&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>