Package k8s.io.api.core.v1
Interface Generated.ContainerImageOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.ContainerImage,Generated.ContainerImage.Builder
- Enclosing class:
- Generated
public static interface Generated.ContainerImageOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetNames(int index)Names by which this image is known.com.google.protobuf.ByteStringgetNamesBytes(int index)Names by which this image is known.intgetNamesCount()Names by which this image is known.List<String>getNamesList()Names by which this image is known.longgetSizeBytes()The size of the image in bytes.booleanhasSizeBytes()The size of the image in bytes.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getNamesList
List<String> getNamesList()
Names by which this image is known. e.g. ["kubernetes.example/hyperkube:v1.0.7", "cloud-vendor.registry.example/cloud-vendor/hyperkube:v1.0.7"] +optional +listType=atomic
repeated string names = 1;- Returns:
- A list containing the names.
-
getNamesCount
int getNamesCount()
Names by which this image is known. e.g. ["kubernetes.example/hyperkube:v1.0.7", "cloud-vendor.registry.example/cloud-vendor/hyperkube:v1.0.7"] +optional +listType=atomic
repeated string names = 1;- Returns:
- The count of names.
-
getNames
String getNames(int index)
Names by which this image is known. e.g. ["kubernetes.example/hyperkube:v1.0.7", "cloud-vendor.registry.example/cloud-vendor/hyperkube:v1.0.7"] +optional +listType=atomic
repeated string names = 1;- Parameters:
index- The index of the element to return.- Returns:
- The names at the given index.
-
getNamesBytes
com.google.protobuf.ByteString getNamesBytes(int index)
Names by which this image is known. e.g. ["kubernetes.example/hyperkube:v1.0.7", "cloud-vendor.registry.example/cloud-vendor/hyperkube:v1.0.7"] +optional +listType=atomic
repeated string names = 1;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the names at the given index.
-
hasSizeBytes
boolean hasSizeBytes()
The size of the image in bytes. +optional
optional int64 sizeBytes = 2;- Returns:
- Whether the sizeBytes field is set.
-
getSizeBytes
long getSizeBytes()
The size of the image in bytes. +optional
optional int64 sizeBytes = 2;- Returns:
- The sizeBytes.
-
-