public static final class Protos.Resource extends com.google.protobuf.GeneratedMessageV3 implements Protos.ResourceOrBuilder
Describes a resource from a resource provider. 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.Protobuf type
mesos.Resource
Modifier and Type | Class and Description |
---|---|
static class |
Protos.Resource.AllocationInfo
This was initially introduced to support MULTI_ROLE capable
frameworks.
|
static interface |
Protos.Resource.AllocationInfoOrBuilder |
static class |
Protos.Resource.Builder
Describes a resource from a resource provider.
|
static class |
Protos.Resource.DiskInfo
Protobuf type
mesos.Resource.DiskInfo |
static interface |
Protos.Resource.DiskInfoOrBuilder |
static class |
Protos.Resource.ReservationInfo
Describes a reservation.
|
static interface |
Protos.Resource.ReservationInfoOrBuilder |
static class |
Protos.Resource.RevocableInfo
Protobuf type
mesos.Resource.RevocableInfo |
static interface |
Protos.Resource.RevocableInfoOrBuilder |
static class |
Protos.Resource.SharedInfo
Allow the resource to be shared across tasks.
|
static interface |
Protos.Resource.SharedInfoOrBuilder |
Modifier and Type | Field and Description |
---|---|
static int |
ALLOCATION_INFO_FIELD_NUMBER |
static int |
DISK_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static <any> |
PARSER
Deprecated.
|
static int |
PROVIDER_ID_FIELD_NUMBER |
static int |
RANGES_FIELD_NUMBER |
static int |
RESERVATION_FIELD_NUMBER |
static int |
RESERVATIONS_FIELD_NUMBER |
static int |
REVOCABLE_FIELD_NUMBER |
static int |
ROLE_FIELD_NUMBER |
static int |
SCALAR_FIELD_NUMBER |
static int |
SET_FIELD_NUMBER |
static int |
SHARED_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Protos.Resource.AllocationInfo |
getAllocationInfo()
optional .mesos.Resource.AllocationInfo allocation_info = 11; |
Protos.Resource.AllocationInfoOrBuilder |
getAllocationInfoOrBuilder()
optional .mesos.Resource.AllocationInfo allocation_info = 11; |
static Protos.Resource |
getDefaultInstance() |
Protos.Resource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Protos.Resource.DiskInfo |
getDisk()
optional .mesos.Resource.DiskInfo disk = 7; |
Protos.Resource.DiskInfoOrBuilder |
getDiskOrBuilder()
optional .mesos.Resource.DiskInfo disk = 7; |
java.lang.String |
getName()
required string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
required string name = 1; |
<any> |
getParserForType() |
Protos.ResourceProviderID |
getProviderId()
Specified if the resource comes from a particular resource provider.
|
Protos.ResourceProviderIDOrBuilder |
getProviderIdOrBuilder()
Specified if the resource comes from a particular resource provider.
|
Protos.Value.Ranges |
getRanges()
optional .mesos.Value.Ranges ranges = 4; |
Protos.Value.RangesOrBuilder |
getRangesOrBuilder()
optional .mesos.Value.Ranges ranges = 4; |
Protos.Resource.ReservationInfo |
getReservation()
If this is set, this resource was dynamically reserved by an
operator or a framework.
|
Protos.Resource.ReservationInfoOrBuilder |
getReservationOrBuilder()
If this is set, this resource was dynamically reserved by an
operator or a framework.
|
Protos.Resource.ReservationInfo |
getReservations(int index)
The stack of reservations.
|
int |
getReservationsCount()
The stack of reservations.
|
java.util.List<Protos.Resource.ReservationInfo> |
getReservationsList()
The stack of reservations.
|
Protos.Resource.ReservationInfoOrBuilder |
getReservationsOrBuilder(int index)
The stack of reservations.
|
java.util.List<? extends Protos.Resource.ReservationInfoOrBuilder> |
getReservationsOrBuilderList()
The stack of reservations.
|
Protos.Resource.RevocableInfo |
getRevocable()
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.
|
Protos.Resource.RevocableInfoOrBuilder |
getRevocableOrBuilder()
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.
|
java.lang.String |
getRole()
Deprecated.
|
com.google.protobuf.ByteString |
getRoleBytes()
Deprecated.
|
Protos.Value.Scalar |
getScalar()
optional .mesos.Value.Scalar scalar = 3; |
Protos.Value.ScalarOrBuilder |
getScalarOrBuilder()
optional .mesos.Value.Scalar scalar = 3; |
int |
getSerializedSize() |
Protos.Value.Set |
getSet()
optional .mesos.Value.Set set = 5; |
Protos.Value.SetOrBuilder |
getSetOrBuilder()
optional .mesos.Value.Set set = 5; |
Protos.Resource.SharedInfo |
getShared()
If this is set, the resources are shared, i.e.
|
Protos.Resource.SharedInfoOrBuilder |
getSharedOrBuilder()
If this is set, the resources are shared, i.e.
|
Protos.Value.Type |
getType()
required .mesos.Value.Type type = 2; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAllocationInfo()
optional .mesos.Resource.AllocationInfo allocation_info = 11; |
boolean |
hasDisk()
optional .mesos.Resource.DiskInfo disk = 7; |
int |
hashCode() |
boolean |
hasName()
required string name = 1; |
boolean |
hasProviderId()
Specified if the resource comes from a particular resource provider.
|
boolean |
hasRanges()
optional .mesos.Value.Ranges ranges = 4; |
boolean |
hasReservation()
If this is set, this resource was dynamically reserved by an
operator or a framework.
|
boolean |
hasRevocable()
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.
|
boolean |
hasRole()
Deprecated.
|
boolean |
hasScalar()
optional .mesos.Value.Scalar scalar = 3; |
boolean |
hasSet()
optional .mesos.Value.Set set = 5; |
boolean |
hasShared()
If this is set, the resources are shared, i.e.
|
boolean |
hasType()
required .mesos.Value.Type type = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.Resource.Builder |
newBuilder() |
static Protos.Resource.Builder |
newBuilder(Protos.Resource prototype) |
Protos.Resource.Builder |
newBuilderForType() |
protected Protos.Resource.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.Resource |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.Resource |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Resource |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Resource |
parseFrom(java.nio.ByteBuffer data) |
static Protos.Resource |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Resource |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.Resource |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Resource |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.Resource |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Resource |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.Resource.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int PROVIDER_ID_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int SCALAR_FIELD_NUMBER
public static final int RANGES_FIELD_NUMBER
public static final int SET_FIELD_NUMBER
public static final int ROLE_FIELD_NUMBER
public static final int ALLOCATION_INFO_FIELD_NUMBER
public static final int RESERVATION_FIELD_NUMBER
public static final int RESERVATIONS_FIELD_NUMBER
public static final int DISK_FIELD_NUMBER
public static final int REVOCABLE_FIELD_NUMBER
public static final int SHARED_FIELD_NUMBER
@Deprecated public static final <any> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public boolean hasProviderId()
Specified if the resource comes from a particular resource provider.
optional .mesos.ResourceProviderID provider_id = 12;
hasProviderId
in interface Protos.ResourceOrBuilder
public Protos.ResourceProviderID getProviderId()
Specified if the resource comes from a particular resource provider.
optional .mesos.ResourceProviderID provider_id = 12;
getProviderId
in interface Protos.ResourceOrBuilder
public Protos.ResourceProviderIDOrBuilder getProviderIdOrBuilder()
Specified if the resource comes from a particular resource provider.
optional .mesos.ResourceProviderID provider_id = 12;
getProviderIdOrBuilder
in interface Protos.ResourceOrBuilder
public boolean hasName()
required string name = 1;
hasName
in interface Protos.ResourceOrBuilder
public java.lang.String getName()
required string name = 1;
getName
in interface Protos.ResourceOrBuilder
public com.google.protobuf.ByteString getNameBytes()
required string name = 1;
getNameBytes
in interface Protos.ResourceOrBuilder
public boolean hasType()
required .mesos.Value.Type type = 2;
hasType
in interface Protos.ResourceOrBuilder
public Protos.Value.Type getType()
required .mesos.Value.Type type = 2;
getType
in interface Protos.ResourceOrBuilder
public boolean hasScalar()
optional .mesos.Value.Scalar scalar = 3;
hasScalar
in interface Protos.ResourceOrBuilder
public Protos.Value.Scalar getScalar()
optional .mesos.Value.Scalar scalar = 3;
getScalar
in interface Protos.ResourceOrBuilder
public Protos.Value.ScalarOrBuilder getScalarOrBuilder()
optional .mesos.Value.Scalar scalar = 3;
getScalarOrBuilder
in interface Protos.ResourceOrBuilder
public boolean hasRanges()
optional .mesos.Value.Ranges ranges = 4;
hasRanges
in interface Protos.ResourceOrBuilder
public Protos.Value.Ranges getRanges()
optional .mesos.Value.Ranges ranges = 4;
getRanges
in interface Protos.ResourceOrBuilder
public Protos.Value.RangesOrBuilder getRangesOrBuilder()
optional .mesos.Value.Ranges ranges = 4;
getRangesOrBuilder
in interface Protos.ResourceOrBuilder
public boolean hasSet()
optional .mesos.Value.Set set = 5;
hasSet
in interface Protos.ResourceOrBuilder
public Protos.Value.Set getSet()
optional .mesos.Value.Set set = 5;
getSet
in interface Protos.ResourceOrBuilder
public Protos.Value.SetOrBuilder getSetOrBuilder()
optional .mesos.Value.Set set = 5;
getSetOrBuilder
in interface Protos.ResourceOrBuilder
@Deprecated public boolean hasRole()
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. NOTE: Frameworks must not set this field if `reservations` is set. See the 'Resource Format' section for more details. TODO(mpark): Deprecate once `reservations` is no longer experimental.
optional string role = 6 [default = "*", deprecated = true];
hasRole
in interface Protos.ResourceOrBuilder
@Deprecated public java.lang.String getRole()
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. NOTE: Frameworks must not set this field if `reservations` is set. See the 'Resource Format' section for more details. TODO(mpark): Deprecate once `reservations` is no longer experimental.
optional string role = 6 [default = "*", deprecated = true];
getRole
in interface Protos.ResourceOrBuilder
@Deprecated public com.google.protobuf.ByteString getRoleBytes()
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. NOTE: Frameworks must not set this field if `reservations` is set. See the 'Resource Format' section for more details. TODO(mpark): Deprecate once `reservations` is no longer experimental.
optional string role = 6 [default = "*", deprecated = true];
getRoleBytes
in interface Protos.ResourceOrBuilder
public boolean hasAllocationInfo()
optional .mesos.Resource.AllocationInfo allocation_info = 11;
hasAllocationInfo
in interface Protos.ResourceOrBuilder
public Protos.Resource.AllocationInfo getAllocationInfo()
optional .mesos.Resource.AllocationInfo allocation_info = 11;
getAllocationInfo
in interface Protos.ResourceOrBuilder
public Protos.Resource.AllocationInfoOrBuilder getAllocationInfoOrBuilder()
optional .mesos.Resource.AllocationInfo allocation_info = 11;
getAllocationInfoOrBuilder
in interface Protos.ResourceOrBuilder
public boolean hasReservation()
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. NOTE: Frameworks must not set this field if `reservations` is set. See the 'Resource Format' section for more details. TODO(mpark): Deprecate once `reservations` is no longer experimental.
optional .mesos.Resource.ReservationInfo reservation = 8;
hasReservation
in interface Protos.ResourceOrBuilder
public Protos.Resource.ReservationInfo getReservation()
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. NOTE: Frameworks must not set this field if `reservations` is set. See the 'Resource Format' section for more details. TODO(mpark): Deprecate once `reservations` is no longer experimental.
optional .mesos.Resource.ReservationInfo reservation = 8;
getReservation
in interface Protos.ResourceOrBuilder
public Protos.Resource.ReservationInfoOrBuilder getReservationOrBuilder()
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. NOTE: Frameworks must not set this field if `reservations` is set. See the 'Resource Format' section for more details. TODO(mpark): Deprecate once `reservations` is no longer experimental.
optional .mesos.Resource.ReservationInfo reservation = 8;
getReservationOrBuilder
in interface Protos.ResourceOrBuilder
public java.util.List<Protos.Resource.ReservationInfo> getReservationsList()
The stack of reservations. If this field is empty, it indicates that this resource is unreserved. Otherwise, the resource is reserved. The first `ReservationInfo` may have type `STATIC` or `DYNAMIC`, but the rest must have `DYNAMIC`. One can create a new reservation on top of an existing one by pushing a new `ReservationInfo` to the back. The last `ReservationInfo` in this stack is the "current" reservation. The new reservation's role must be a child of the current reservation's role. NOTE: Frameworks must not set this field if `reservation` is set. See the 'Resource Format' section for more details. TODO(mpark): Deprecate `role` and `reservation` once this is stable.
repeated .mesos.Resource.ReservationInfo reservations = 13;
getReservationsList
in interface Protos.ResourceOrBuilder
public java.util.List<? extends Protos.Resource.ReservationInfoOrBuilder> getReservationsOrBuilderList()
The stack of reservations. If this field is empty, it indicates that this resource is unreserved. Otherwise, the resource is reserved. The first `ReservationInfo` may have type `STATIC` or `DYNAMIC`, but the rest must have `DYNAMIC`. One can create a new reservation on top of an existing one by pushing a new `ReservationInfo` to the back. The last `ReservationInfo` in this stack is the "current" reservation. The new reservation's role must be a child of the current reservation's role. NOTE: Frameworks must not set this field if `reservation` is set. See the 'Resource Format' section for more details. TODO(mpark): Deprecate `role` and `reservation` once this is stable.
repeated .mesos.Resource.ReservationInfo reservations = 13;
getReservationsOrBuilderList
in interface Protos.ResourceOrBuilder
public int getReservationsCount()
The stack of reservations. If this field is empty, it indicates that this resource is unreserved. Otherwise, the resource is reserved. The first `ReservationInfo` may have type `STATIC` or `DYNAMIC`, but the rest must have `DYNAMIC`. One can create a new reservation on top of an existing one by pushing a new `ReservationInfo` to the back. The last `ReservationInfo` in this stack is the "current" reservation. The new reservation's role must be a child of the current reservation's role. NOTE: Frameworks must not set this field if `reservation` is set. See the 'Resource Format' section for more details. TODO(mpark): Deprecate `role` and `reservation` once this is stable.
repeated .mesos.Resource.ReservationInfo reservations = 13;
getReservationsCount
in interface Protos.ResourceOrBuilder
public Protos.Resource.ReservationInfo getReservations(int index)
The stack of reservations. If this field is empty, it indicates that this resource is unreserved. Otherwise, the resource is reserved. The first `ReservationInfo` may have type `STATIC` or `DYNAMIC`, but the rest must have `DYNAMIC`. One can create a new reservation on top of an existing one by pushing a new `ReservationInfo` to the back. The last `ReservationInfo` in this stack is the "current" reservation. The new reservation's role must be a child of the current reservation's role. NOTE: Frameworks must not set this field if `reservation` is set. See the 'Resource Format' section for more details. TODO(mpark): Deprecate `role` and `reservation` once this is stable.
repeated .mesos.Resource.ReservationInfo reservations = 13;
getReservations
in interface Protos.ResourceOrBuilder
public Protos.Resource.ReservationInfoOrBuilder getReservationsOrBuilder(int index)
The stack of reservations. If this field is empty, it indicates that this resource is unreserved. Otherwise, the resource is reserved. The first `ReservationInfo` may have type `STATIC` or `DYNAMIC`, but the rest must have `DYNAMIC`. One can create a new reservation on top of an existing one by pushing a new `ReservationInfo` to the back. The last `ReservationInfo` in this stack is the "current" reservation. The new reservation's role must be a child of the current reservation's role. NOTE: Frameworks must not set this field if `reservation` is set. See the 'Resource Format' section for more details. TODO(mpark): Deprecate `role` and `reservation` once this is stable.
repeated .mesos.Resource.ReservationInfo reservations = 13;
getReservationsOrBuilder
in interface Protos.ResourceOrBuilder
public boolean hasDisk()
optional .mesos.Resource.DiskInfo disk = 7;
hasDisk
in interface Protos.ResourceOrBuilder
public Protos.Resource.DiskInfo getDisk()
optional .mesos.Resource.DiskInfo disk = 7;
getDisk
in interface Protos.ResourceOrBuilder
public Protos.Resource.DiskInfoOrBuilder getDiskOrBuilder()
optional .mesos.Resource.DiskInfo disk = 7;
getDiskOrBuilder
in interface Protos.ResourceOrBuilder
public boolean hasRevocable()
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.
optional .mesos.Resource.RevocableInfo revocable = 9;
hasRevocable
in interface Protos.ResourceOrBuilder
public Protos.Resource.RevocableInfo getRevocable()
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.
optional .mesos.Resource.RevocableInfo revocable = 9;
getRevocable
in interface Protos.ResourceOrBuilder
public Protos.Resource.RevocableInfoOrBuilder getRevocableOrBuilder()
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.
optional .mesos.Resource.RevocableInfo revocable = 9;
getRevocableOrBuilder
in interface Protos.ResourceOrBuilder
public boolean hasShared()
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. NOTE: Different shared resources must be uniquely identifiable. This currently holds as persistent volume should have unique `id` (this is not validated for enforced though).
optional .mesos.Resource.SharedInfo shared = 10;
hasShared
in interface Protos.ResourceOrBuilder
public Protos.Resource.SharedInfo getShared()
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. NOTE: Different shared resources must be uniquely identifiable. This currently holds as persistent volume should have unique `id` (this is not validated for enforced though).
optional .mesos.Resource.SharedInfo shared = 10;
getShared
in interface Protos.ResourceOrBuilder
public Protos.Resource.SharedInfoOrBuilder getSharedOrBuilder()
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. NOTE: Different shared resources must be uniquely identifiable. This currently holds as persistent volume should have unique `id` (this is not validated for enforced though).
optional .mesos.Resource.SharedInfo shared = 10;
getSharedOrBuilder
in interface Protos.ResourceOrBuilder
public final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
java.io.IOException
public int getSerializedSize()
public boolean equals(java.lang.Object obj)
public int hashCode()
public static Protos.Resource parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Resource parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Resource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Resource parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Resource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Resource parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.Resource parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.Resource parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.Resource parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.Resource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.Resource.Builder newBuilderForType()
public static Protos.Resource.Builder newBuilder()
public static Protos.Resource.Builder newBuilder(Protos.Resource prototype)
public Protos.Resource.Builder toBuilder()
protected Protos.Resource.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.Resource getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.Resource getDefaultInstanceForType()