public static final class Protos.CSIPluginContainerInfo.Builder extends <any> implements Protos.CSIPluginContainerInfoOrBuilder
Describes the container configuration to run a managed CSI plugin.Protobuf type
mesos.CSIPluginContainerInfo
Modifier and Type | Method and Description |
---|---|
Protos.CSIPluginContainerInfo.Builder |
addAllResources(java.lang.Iterable<? extends Protos.Resource> values)
repeated .mesos.Resource resources = 3; |
Protos.CSIPluginContainerInfo.Builder |
addAllServices(java.lang.Iterable<? extends Protos.CSIPluginContainerInfo.Service> values)
repeated .mesos.CSIPluginContainerInfo.Service services = 1; |
Protos.CSIPluginContainerInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.CSIPluginContainerInfo.Builder |
addResources(int index,
Protos.Resource.Builder builderForValue)
repeated .mesos.Resource resources = 3; |
Protos.CSIPluginContainerInfo.Builder |
addResources(int index,
Protos.Resource value)
repeated .mesos.Resource resources = 3; |
Protos.CSIPluginContainerInfo.Builder |
addResources(Protos.Resource.Builder builderForValue)
repeated .mesos.Resource resources = 3; |
Protos.CSIPluginContainerInfo.Builder |
addResources(Protos.Resource value)
repeated .mesos.Resource resources = 3; |
Protos.Resource.Builder |
addResourcesBuilder()
repeated .mesos.Resource resources = 3; |
Protos.Resource.Builder |
addResourcesBuilder(int index)
repeated .mesos.Resource resources = 3; |
Protos.CSIPluginContainerInfo.Builder |
addServices(Protos.CSIPluginContainerInfo.Service value)
repeated .mesos.CSIPluginContainerInfo.Service services = 1; |
Protos.CSIPluginContainerInfo |
build() |
Protos.CSIPluginContainerInfo |
buildPartial() |
Protos.CSIPluginContainerInfo.Builder |
clear() |
Protos.CSIPluginContainerInfo.Builder |
clearCommand()
optional .mesos.CommandInfo command = 2; |
Protos.CSIPluginContainerInfo.Builder |
clearContainer()
optional .mesos.ContainerInfo container = 4; |
Protos.CSIPluginContainerInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.CSIPluginContainerInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.CSIPluginContainerInfo.Builder |
clearResources()
repeated .mesos.Resource resources = 3; |
Protos.CSIPluginContainerInfo.Builder |
clearServices()
repeated .mesos.CSIPluginContainerInfo.Service services = 1; |
Protos.CSIPluginContainerInfo.Builder |
clone() |
Protos.CommandInfo |
getCommand()
optional .mesos.CommandInfo command = 2; |
Protos.CommandInfo.Builder |
getCommandBuilder()
optional .mesos.CommandInfo command = 2; |
Protos.CommandInfoOrBuilder |
getCommandOrBuilder()
optional .mesos.CommandInfo command = 2; |
Protos.ContainerInfo |
getContainer()
optional .mesos.ContainerInfo container = 4; |
Protos.ContainerInfo.Builder |
getContainerBuilder()
optional .mesos.ContainerInfo container = 4; |
Protos.ContainerInfoOrBuilder |
getContainerOrBuilder()
optional .mesos.ContainerInfo container = 4; |
Protos.CSIPluginContainerInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Protos.Resource |
getResources(int index)
repeated .mesos.Resource resources = 3; |
Protos.Resource.Builder |
getResourcesBuilder(int index)
repeated .mesos.Resource resources = 3; |
java.util.List<Protos.Resource.Builder> |
getResourcesBuilderList()
repeated .mesos.Resource resources = 3; |
int |
getResourcesCount()
repeated .mesos.Resource resources = 3; |
java.util.List<Protos.Resource> |
getResourcesList()
repeated .mesos.Resource resources = 3; |
Protos.ResourceOrBuilder |
getResourcesOrBuilder(int index)
repeated .mesos.Resource resources = 3; |
java.util.List<? extends Protos.ResourceOrBuilder> |
getResourcesOrBuilderList()
repeated .mesos.Resource resources = 3; |
Protos.CSIPluginContainerInfo.Service |
getServices(int index)
repeated .mesos.CSIPluginContainerInfo.Service services = 1; |
int |
getServicesCount()
repeated .mesos.CSIPluginContainerInfo.Service services = 1; |
java.util.List<Protos.CSIPluginContainerInfo.Service> |
getServicesList()
repeated .mesos.CSIPluginContainerInfo.Service services = 1; |
boolean |
hasCommand()
optional .mesos.CommandInfo command = 2; |
boolean |
hasContainer()
optional .mesos.ContainerInfo container = 4; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.CSIPluginContainerInfo.Builder |
mergeCommand(Protos.CommandInfo value)
optional .mesos.CommandInfo command = 2; |
Protos.CSIPluginContainerInfo.Builder |
mergeContainer(Protos.ContainerInfo value)
optional .mesos.ContainerInfo container = 4; |
Protos.CSIPluginContainerInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.CSIPluginContainerInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.CSIPluginContainerInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.CSIPluginContainerInfo.Builder |
removeResources(int index)
repeated .mesos.Resource resources = 3; |
Protos.CSIPluginContainerInfo.Builder |
setCommand(Protos.CommandInfo.Builder builderForValue)
optional .mesos.CommandInfo command = 2; |
Protos.CSIPluginContainerInfo.Builder |
setCommand(Protos.CommandInfo value)
optional .mesos.CommandInfo command = 2; |
Protos.CSIPluginContainerInfo.Builder |
setContainer(Protos.ContainerInfo.Builder builderForValue)
optional .mesos.ContainerInfo container = 4; |
Protos.CSIPluginContainerInfo.Builder |
setContainer(Protos.ContainerInfo value)
optional .mesos.ContainerInfo container = 4; |
Protos.CSIPluginContainerInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.CSIPluginContainerInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.CSIPluginContainerInfo.Builder |
setResources(int index,
Protos.Resource.Builder builderForValue)
repeated .mesos.Resource resources = 3; |
Protos.CSIPluginContainerInfo.Builder |
setResources(int index,
Protos.Resource value)
repeated .mesos.Resource resources = 3; |
Protos.CSIPluginContainerInfo.Builder |
setServices(int index,
Protos.CSIPluginContainerInfo.Service value)
repeated .mesos.CSIPluginContainerInfo.Service services = 1; |
Protos.CSIPluginContainerInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public Protos.CSIPluginContainerInfo.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.CSIPluginContainerInfo getDefaultInstanceForType()
public Protos.CSIPluginContainerInfo build()
public Protos.CSIPluginContainerInfo buildPartial()
public Protos.CSIPluginContainerInfo.Builder clone()
public Protos.CSIPluginContainerInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.CSIPluginContainerInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.CSIPluginContainerInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.CSIPluginContainerInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.CSIPluginContainerInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.CSIPluginContainerInfo.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.CSIPluginContainerInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public java.util.List<Protos.CSIPluginContainerInfo.Service> getServicesList()
repeated .mesos.CSIPluginContainerInfo.Service services = 1;
getServicesList
in interface Protos.CSIPluginContainerInfoOrBuilder
public int getServicesCount()
repeated .mesos.CSIPluginContainerInfo.Service services = 1;
getServicesCount
in interface Protos.CSIPluginContainerInfoOrBuilder
public Protos.CSIPluginContainerInfo.Service getServices(int index)
repeated .mesos.CSIPluginContainerInfo.Service services = 1;
getServices
in interface Protos.CSIPluginContainerInfoOrBuilder
public Protos.CSIPluginContainerInfo.Builder setServices(int index, Protos.CSIPluginContainerInfo.Service value)
repeated .mesos.CSIPluginContainerInfo.Service services = 1;
public Protos.CSIPluginContainerInfo.Builder addServices(Protos.CSIPluginContainerInfo.Service value)
repeated .mesos.CSIPluginContainerInfo.Service services = 1;
public Protos.CSIPluginContainerInfo.Builder addAllServices(java.lang.Iterable<? extends Protos.CSIPluginContainerInfo.Service> values)
repeated .mesos.CSIPluginContainerInfo.Service services = 1;
public Protos.CSIPluginContainerInfo.Builder clearServices()
repeated .mesos.CSIPluginContainerInfo.Service services = 1;
public boolean hasCommand()
optional .mesos.CommandInfo command = 2;
hasCommand
in interface Protos.CSIPluginContainerInfoOrBuilder
public Protos.CommandInfo getCommand()
optional .mesos.CommandInfo command = 2;
getCommand
in interface Protos.CSIPluginContainerInfoOrBuilder
public Protos.CSIPluginContainerInfo.Builder setCommand(Protos.CommandInfo value)
optional .mesos.CommandInfo command = 2;
public Protos.CSIPluginContainerInfo.Builder setCommand(Protos.CommandInfo.Builder builderForValue)
optional .mesos.CommandInfo command = 2;
public Protos.CSIPluginContainerInfo.Builder mergeCommand(Protos.CommandInfo value)
optional .mesos.CommandInfo command = 2;
public Protos.CSIPluginContainerInfo.Builder clearCommand()
optional .mesos.CommandInfo command = 2;
public Protos.CommandInfo.Builder getCommandBuilder()
optional .mesos.CommandInfo command = 2;
public Protos.CommandInfoOrBuilder getCommandOrBuilder()
optional .mesos.CommandInfo command = 2;
getCommandOrBuilder
in interface Protos.CSIPluginContainerInfoOrBuilder
public java.util.List<Protos.Resource> getResourcesList()
repeated .mesos.Resource resources = 3;
getResourcesList
in interface Protos.CSIPluginContainerInfoOrBuilder
public int getResourcesCount()
repeated .mesos.Resource resources = 3;
getResourcesCount
in interface Protos.CSIPluginContainerInfoOrBuilder
public Protos.Resource getResources(int index)
repeated .mesos.Resource resources = 3;
getResources
in interface Protos.CSIPluginContainerInfoOrBuilder
public Protos.CSIPluginContainerInfo.Builder setResources(int index, Protos.Resource value)
repeated .mesos.Resource resources = 3;
public Protos.CSIPluginContainerInfo.Builder setResources(int index, Protos.Resource.Builder builderForValue)
repeated .mesos.Resource resources = 3;
public Protos.CSIPluginContainerInfo.Builder addResources(Protos.Resource value)
repeated .mesos.Resource resources = 3;
public Protos.CSIPluginContainerInfo.Builder addResources(int index, Protos.Resource value)
repeated .mesos.Resource resources = 3;
public Protos.CSIPluginContainerInfo.Builder addResources(Protos.Resource.Builder builderForValue)
repeated .mesos.Resource resources = 3;
public Protos.CSIPluginContainerInfo.Builder addResources(int index, Protos.Resource.Builder builderForValue)
repeated .mesos.Resource resources = 3;
public Protos.CSIPluginContainerInfo.Builder addAllResources(java.lang.Iterable<? extends Protos.Resource> values)
repeated .mesos.Resource resources = 3;
public Protos.CSIPluginContainerInfo.Builder clearResources()
repeated .mesos.Resource resources = 3;
public Protos.CSIPluginContainerInfo.Builder removeResources(int index)
repeated .mesos.Resource resources = 3;
public Protos.Resource.Builder getResourcesBuilder(int index)
repeated .mesos.Resource resources = 3;
public Protos.ResourceOrBuilder getResourcesOrBuilder(int index)
repeated .mesos.Resource resources = 3;
getResourcesOrBuilder
in interface Protos.CSIPluginContainerInfoOrBuilder
public java.util.List<? extends Protos.ResourceOrBuilder> getResourcesOrBuilderList()
repeated .mesos.Resource resources = 3;
getResourcesOrBuilderList
in interface Protos.CSIPluginContainerInfoOrBuilder
public Protos.Resource.Builder addResourcesBuilder()
repeated .mesos.Resource resources = 3;
public Protos.Resource.Builder addResourcesBuilder(int index)
repeated .mesos.Resource resources = 3;
public java.util.List<Protos.Resource.Builder> getResourcesBuilderList()
repeated .mesos.Resource resources = 3;
public boolean hasContainer()
optional .mesos.ContainerInfo container = 4;
hasContainer
in interface Protos.CSIPluginContainerInfoOrBuilder
public Protos.ContainerInfo getContainer()
optional .mesos.ContainerInfo container = 4;
getContainer
in interface Protos.CSIPluginContainerInfoOrBuilder
public Protos.CSIPluginContainerInfo.Builder setContainer(Protos.ContainerInfo value)
optional .mesos.ContainerInfo container = 4;
public Protos.CSIPluginContainerInfo.Builder setContainer(Protos.ContainerInfo.Builder builderForValue)
optional .mesos.ContainerInfo container = 4;
public Protos.CSIPluginContainerInfo.Builder mergeContainer(Protos.ContainerInfo value)
optional .mesos.ContainerInfo container = 4;
public Protos.CSIPluginContainerInfo.Builder clearContainer()
optional .mesos.ContainerInfo container = 4;
public Protos.ContainerInfo.Builder getContainerBuilder()
optional .mesos.ContainerInfo container = 4;
public Protos.ContainerInfoOrBuilder getContainerOrBuilder()
optional .mesos.ContainerInfo container = 4;
getContainerOrBuilder
in interface Protos.CSIPluginContainerInfoOrBuilder
public final Protos.CSIPluginContainerInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.CSIPluginContainerInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)