Class Generated.ImageVolumeSource

    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • hasReference

        public boolean hasReference()
         Required: Image or artifact reference to be used.
         Behaves in the same way as pod.spec.containers[*].image.
         Pull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets.
         More info: https://kubernetes.io/docs/concepts/containers/images
         This field is optional to allow higher level config management to default or override
         container images in workload controllers like Deployments and StatefulSets.
         +optional
         
        optional string reference = 1;
        Specified by:
        hasReference in interface Generated.ImageVolumeSourceOrBuilder
        Returns:
        Whether the reference field is set.
      • getReference

        public String getReference()
         Required: Image or artifact reference to be used.
         Behaves in the same way as pod.spec.containers[*].image.
         Pull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets.
         More info: https://kubernetes.io/docs/concepts/containers/images
         This field is optional to allow higher level config management to default or override
         container images in workload controllers like Deployments and StatefulSets.
         +optional
         
        optional string reference = 1;
        Specified by:
        getReference in interface Generated.ImageVolumeSourceOrBuilder
        Returns:
        The reference.
      • getReferenceBytes

        public com.google.protobuf.ByteString getReferenceBytes()
         Required: Image or artifact reference to be used.
         Behaves in the same way as pod.spec.containers[*].image.
         Pull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets.
         More info: https://kubernetes.io/docs/concepts/containers/images
         This field is optional to allow higher level config management to default or override
         container images in workload controllers like Deployments and StatefulSets.
         +optional
         
        optional string reference = 1;
        Specified by:
        getReferenceBytes in interface Generated.ImageVolumeSourceOrBuilder
        Returns:
        The bytes for reference.
      • hasPullPolicy

        public boolean hasPullPolicy()
         Policy for pulling OCI objects. Possible values are:
         Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails.
         Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present.
         IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.
         Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
         +optional
         
        optional string pullPolicy = 2;
        Specified by:
        hasPullPolicy in interface Generated.ImageVolumeSourceOrBuilder
        Returns:
        Whether the pullPolicy field is set.
      • getPullPolicy

        public String getPullPolicy()
         Policy for pulling OCI objects. Possible values are:
         Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails.
         Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present.
         IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.
         Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
         +optional
         
        optional string pullPolicy = 2;
        Specified by:
        getPullPolicy in interface Generated.ImageVolumeSourceOrBuilder
        Returns:
        The pullPolicy.
      • getPullPolicyBytes

        public com.google.protobuf.ByteString getPullPolicyBytes()
         Policy for pulling OCI objects. Possible values are:
         Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails.
         Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present.
         IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.
         Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
         +optional
         
        optional string pullPolicy = 2;
        Specified by:
        getPullPolicyBytes in interface Generated.ImageVolumeSourceOrBuilder
        Returns:
        The bytes for pullPolicy.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Generated.ImageVolumeSource parseFrom​(ByteBuffer data)
                                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.ImageVolumeSource parseFrom​(ByteBuffer data,
                                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.ImageVolumeSource parseFrom​(com.google.protobuf.ByteString data)
                                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.ImageVolumeSource parseFrom​(com.google.protobuf.ByteString data,
                                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.ImageVolumeSource parseFrom​(byte[] data)
                                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Generated.ImageVolumeSource parseFrom​(byte[] data,
                                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                     throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • newBuilderForType

        public Generated.ImageVolumeSource.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Generated.ImageVolumeSource.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Generated.ImageVolumeSource.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<Generated.ImageVolumeSource> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public Generated.ImageVolumeSource getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder