public static interface Protos.Offer.Operation.CreateDiskOrBuilder
Modifier and Type | Method and Description |
---|---|
Protos.Resource |
getSource()
required .mesos.Resource source = 1; |
Protos.ResourceOrBuilder |
getSourceOrBuilder()
required .mesos.Resource source = 1; |
java.lang.String |
getTargetProfile()
Apply the specified profile to the created disk.
|
com.google.protobuf.ByteString |
getTargetProfileBytes()
Apply the specified profile to the created disk.
|
Protos.Resource.DiskInfo.Source.Type |
getTargetType()
NOTE: Only `MOUNT` or `BLOCK` is allowed in this field.
|
boolean |
hasSource()
required .mesos.Resource source = 1; |
boolean |
hasTargetProfile()
Apply the specified profile to the created disk.
|
boolean |
hasTargetType()
NOTE: Only `MOUNT` or `BLOCK` is allowed in this field.
|
boolean hasSource()
required .mesos.Resource source = 1;
Protos.Resource getSource()
required .mesos.Resource source = 1;
Protos.ResourceOrBuilder getSourceOrBuilder()
required .mesos.Resource source = 1;
boolean hasTargetType()
NOTE: Only `MOUNT` or `BLOCK` is allowed in this field.
required .mesos.Resource.DiskInfo.Source.Type target_type = 2;
Protos.Resource.DiskInfo.Source.Type getTargetType()
NOTE: Only `MOUNT` or `BLOCK` is allowed in this field.
required .mesos.Resource.DiskInfo.Source.Type target_type = 2;
boolean hasTargetProfile()
Apply the specified profile to the created disk. This field must be set if `source` does not have a profile, and must not be set if it has one. NOTE: The operation will fail If the specified profile is unknown to Mesos, i.e., not reported by the disk profile adaptor.
optional string target_profile = 3;
java.lang.String getTargetProfile()
Apply the specified profile to the created disk. This field must be set if `source` does not have a profile, and must not be set if it has one. NOTE: The operation will fail If the specified profile is unknown to Mesos, i.e., not reported by the disk profile adaptor.
optional string target_profile = 3;
com.google.protobuf.ByteString getTargetProfileBytes()
Apply the specified profile to the created disk. This field must be set if `source` does not have a profile, and must not be set if it has one. NOTE: The operation will fail If the specified profile is unknown to Mesos, i.e., not reported by the disk profile adaptor.
optional string target_profile = 3;