public static interface Protos.Resource.DiskInfo.PersistenceOrBuilder
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getId()
A unique ID for the persistent disk volume.
|
com.google.protobuf.ByteString |
getIdBytes()
A unique ID for the persistent disk volume.
|
java.lang.String |
getPrincipal()
This field indicates the principal of the operator or
framework that created this volume.
|
com.google.protobuf.ByteString |
getPrincipalBytes()
This field indicates the principal of the operator or
framework that created this volume.
|
boolean |
hasId()
A unique ID for the persistent disk volume.
|
boolean |
hasPrincipal()
This field indicates the principal of the operator or
framework that created this volume.
|
boolean hasId()
A unique ID for the persistent disk volume. This ID must be unique per role on each slave. Although it is possible to use the same ID on different slaves in the cluster and to reuse IDs after a volume with that ID has been destroyed, both practices are discouraged.
required string id = 1;
java.lang.String getId()
A unique ID for the persistent disk volume. This ID must be unique per role on each slave. Although it is possible to use the same ID on different slaves in the cluster and to reuse IDs after a volume with that ID has been destroyed, both practices are discouraged.
required string id = 1;
com.google.protobuf.ByteString getIdBytes()
A unique ID for the persistent disk volume. This ID must be unique per role on each slave. Although it is possible to use the same ID on different slaves in the cluster and to reuse IDs after a volume with that ID has been destroyed, both practices are discouraged.
required string id = 1;
boolean hasPrincipal()
This field indicates the principal of the operator or framework that created this volume. It is used in conjunction with the "destroy" ACL to determine whether an entity attempting to destroy the volume is permitted to do so. NOTE: This field should match the FrameworkInfo.principal of the framework that created the volume.
optional string principal = 2;
java.lang.String getPrincipal()
This field indicates the principal of the operator or framework that created this volume. It is used in conjunction with the "destroy" ACL to determine whether an entity attempting to destroy the volume is permitted to do so. NOTE: This field should match the FrameworkInfo.principal of the framework that created the volume.
optional string principal = 2;
com.google.protobuf.ByteString getPrincipalBytes()
This field indicates the principal of the operator or framework that created this volume. It is used in conjunction with the "destroy" ACL to determine whether an entity attempting to destroy the volume is permitted to do so. NOTE: This field should match the FrameworkInfo.principal of the framework that created the volume.
optional string principal = 2;