blob: 6d7b07537a160b3a211e58328733e4958095e1de [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:40 UTC 2017 -->
<title>Protos.ResourceOrBuilder</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.ResourceOrBuilder";
}
}
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.Resource.SharedInfoOrBuilder.html" title="interface in org.apache.mesos"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../org/apache/mesos/Protos.ResourceStatistics.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.ResourceOrBuilder.html" target="_top">Frames</a></li>
<li><a href="Protos.ResourceOrBuilder.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>Nested&nbsp;|&nbsp;</li>
<li>Field&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>Field&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="Interface Protos.ResourceOrBuilder" class="title">Interface Protos.ResourceOrBuilder</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Known Implementing Classes:</dt>
<dd><a href="../../../org/apache/mesos/Protos.Resource.html" title="class in org.apache.mesos">Protos.Resource</a>, <a href="../../../org/apache/mesos/Protos.Resource.Builder.html" title="class in org.apache.mesos">Protos.Resource.Builder</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 interface <span class="strong">Protos.ResourceOrBuilder</span></pre>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== 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.ResourceOrBuilder.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.ResourceOrBuilder.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><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.ResourceOrBuilder.html#getDisk()">getDisk</a></strong>()</code>
<div class="block"><code>optional .mesos.Resource.DiskInfo disk = 7;</code></div>
</td>
</tr>
<tr class="rowColor">
<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.ResourceOrBuilder.html#getDiskOrBuilder()">getDiskOrBuilder</a></strong>()</code>
<div class="block"><code>optional .mesos.Resource.DiskInfo disk = 7;</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.ResourceOrBuilder.html#getName()">getName</a></strong>()</code>
<div class="block"><code>required string name = 1;</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.ResourceOrBuilder.html#getNameBytes()">getNameBytes</a></strong>()</code>
<div class="block"><code>required string name = 1;</code></div>
</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.ResourceOrBuilder.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.ResourceOrBuilder.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.ResourceOrBuilder.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.ResourceOrBuilder.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.ResourceOrBuilder.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.ResourceOrBuilder.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.ResourceOrBuilder.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.ResourceOrBuilder.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.ResourceOrBuilder.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.ResourceOrBuilder.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><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.ResourceOrBuilder.html#getSet()">getSet</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.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.ResourceOrBuilder.html#getSetOrBuilder()">getSetOrBuilder</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.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.ResourceOrBuilder.html#getShared()">getShared</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.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.ResourceOrBuilder.html#getSharedOrBuilder()">getSharedOrBuilder</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.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.ResourceOrBuilder.html#getType()">getType</a></strong>()</code>
<div class="block"><code>required .mesos.Value.Type type = 2;</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.ResourceOrBuilder.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.ResourceOrBuilder.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.ResourceOrBuilder.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.ResourceOrBuilder.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.ResourceOrBuilder.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.ResourceOrBuilder.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.ResourceOrBuilder.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.ResourceOrBuilder.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.ResourceOrBuilder.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.ResourceOrBuilder.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.ResourceOrBuilder.html#hasType()">hasType</a></strong>()</code>
<div class="block"><code>required .mesos.Value.Type type = 2;</code></div>
</td>
</tr>
</table>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="hasName()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasName</h4>
<pre>boolean&nbsp;hasName()</pre>
<div class="block"><code>required string name = 1;</code></div>
</li>
</ul>
<a name="getName()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getName</h4>
<pre>java.lang.String&nbsp;getName()</pre>
<div class="block"><code>required string name = 1;</code></div>
</li>
</ul>
<a name="getNameBytes()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getNameBytes</h4>
<pre>com.google.protobuf.ByteString&nbsp;getNameBytes()</pre>
<div class="block"><code>required string name = 1;</code></div>
</li>
</ul>
<a name="hasType()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasType</h4>
<pre>boolean&nbsp;hasType()</pre>
<div class="block"><code>required .mesos.Value.Type type = 2;</code></div>
</li>
</ul>
<a name="getType()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getType</h4>
<pre><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>
</li>
</ul>
<a name="hasScalar()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasScalar</h4>
<pre>boolean&nbsp;hasScalar()</pre>
<div class="block"><code>optional .mesos.Value.Scalar scalar = 3;</code></div>
</li>
</ul>
<a name="getScalar()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getScalar</h4>
<pre><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>
</li>
</ul>
<a name="getScalarOrBuilder()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getScalarOrBuilder</h4>
<pre><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>
</li>
</ul>
<a name="hasRanges()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasRanges</h4>
<pre>boolean&nbsp;hasRanges()</pre>
<div class="block"><code>optional .mesos.Value.Ranges ranges = 4;</code></div>
</li>
</ul>
<a name="getRanges()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRanges</h4>
<pre><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>
</li>
</ul>
<a name="getRangesOrBuilder()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRangesOrBuilder</h4>
<pre><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>
</li>
</ul>
<a name="hasSet()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasSet</h4>
<pre>boolean&nbsp;hasSet()</pre>
<div class="block"><code>optional .mesos.Value.Set set = 5;</code></div>
</li>
</ul>
<a name="getSet()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSet</h4>
<pre><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>
</li>
</ul>
<a name="getSetOrBuilder()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSetOrBuilder</h4>
<pre><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>
</li>
</ul>
<a name="hasRole()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasRole</h4>
<pre>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>
</li>
</ul>
<a name="getRole()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRole</h4>
<pre>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>
</li>
</ul>
<a name="getRoleBytes()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRoleBytes</h4>
<pre>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>
</li>
</ul>
<a name="hasAllocationInfo()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasAllocationInfo</h4>
<pre>boolean&nbsp;hasAllocationInfo()</pre>
<div class="block"><code>optional .mesos.Resource.AllocationInfo allocation_info = 11;</code></div>
</li>
</ul>
<a name="getAllocationInfo()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllocationInfo</h4>
<pre><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>
</li>
</ul>
<a name="getAllocationInfoOrBuilder()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAllocationInfoOrBuilder</h4>
<pre><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>
</li>
</ul>
<a name="hasReservation()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasReservation</h4>
<pre>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>
</li>
</ul>
<a name="getReservation()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getReservation</h4>
<pre><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>
</li>
</ul>
<a name="getReservationOrBuilder()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getReservationOrBuilder</h4>
<pre><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>
</li>
</ul>
<a name="hasDisk()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasDisk</h4>
<pre>boolean&nbsp;hasDisk()</pre>
<div class="block"><code>optional .mesos.Resource.DiskInfo disk = 7;</code></div>
</li>
</ul>
<a name="getDisk()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDisk</h4>
<pre><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>
</li>
</ul>
<a name="getDiskOrBuilder()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDiskOrBuilder</h4>
<pre><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>
</li>
</ul>
<a name="hasRevocable()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasRevocable</h4>
<pre>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>
</li>
</ul>
<a name="getRevocable()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRevocable</h4>
<pre><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>
</li>
</ul>
<a name="getRevocableOrBuilder()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRevocableOrBuilder</h4>
<pre><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>
</li>
</ul>
<a name="hasShared()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hasShared</h4>
<pre>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>
</li>
</ul>
<a name="getShared()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getShared</h4>
<pre><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>
</li>
</ul>
<a name="getSharedOrBuilder()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getSharedOrBuilder</h4>
<pre><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>
</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.Resource.SharedInfoOrBuilder.html" title="interface in org.apache.mesos"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../org/apache/mesos/Protos.ResourceStatistics.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.ResourceOrBuilder.html" target="_top">Frames</a></li>
<li><a href="Protos.ResourceOrBuilder.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>Nested&nbsp;|&nbsp;</li>
<li>Field&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>Field&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>