Class V1.VolumeProjection.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<V1.VolumeProjection.Builder>
io.kubernetes.client.proto.V1.VolumeProjection.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, V1.VolumeProjectionOrBuilder, Cloneable
Enclosing class:
V1.VolumeProjection

public static final class V1.VolumeProjection.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.VolumeProjection.Builder> implements V1.VolumeProjectionOrBuilder
 Projection that may be projected along with other supported volume types
 
Protobuf type k8s.io.api.core.v1.VolumeProjection
  • Method Details

    • 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.Builder<V1.VolumeProjection.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<V1.VolumeProjection.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1.VolumeProjection.Builder>
    • getDefaultInstanceForType

      public V1.VolumeProjection getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public V1.VolumeProjection build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public V1.VolumeProjection buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<V1.VolumeProjection.Builder>
    • setField

      public V1.VolumeProjection.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.VolumeProjection.Builder>
    • clearField

      public V1.VolumeProjection.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.VolumeProjection.Builder>
    • clearOneof

      public V1.VolumeProjection.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.VolumeProjection.Builder>
    • setRepeatedField

      public V1.VolumeProjection.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.VolumeProjection.Builder>
    • addRepeatedField

      public V1.VolumeProjection.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.VolumeProjection.Builder>
    • mergeFrom

      public V1.VolumeProjection.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.VolumeProjection.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.VolumeProjection.Builder>
    • mergeFrom

      public V1.VolumeProjection.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.VolumeProjection.Builder>
      Throws:
      IOException
    • hasSecret

      public boolean hasSecret()
       information about the secret data to project
       +optional
       
      optional .k8s.io.api.core.v1.SecretProjection secret = 1;
      Specified by:
      hasSecret in interface V1.VolumeProjectionOrBuilder
    • getSecret

      public V1.SecretProjection getSecret()
       information about the secret data to project
       +optional
       
      optional .k8s.io.api.core.v1.SecretProjection secret = 1;
      Specified by:
      getSecret in interface V1.VolumeProjectionOrBuilder
    • setSecret

       information about the secret data to project
       +optional
       
      optional .k8s.io.api.core.v1.SecretProjection secret = 1;
    • setSecret

      public V1.VolumeProjection.Builder setSecret(V1.SecretProjection.Builder builderForValue)
       information about the secret data to project
       +optional
       
      optional .k8s.io.api.core.v1.SecretProjection secret = 1;
    • mergeSecret

       information about the secret data to project
       +optional
       
      optional .k8s.io.api.core.v1.SecretProjection secret = 1;
    • clearSecret

      public V1.VolumeProjection.Builder clearSecret()
       information about the secret data to project
       +optional
       
      optional .k8s.io.api.core.v1.SecretProjection secret = 1;
    • getSecretBuilder

      public V1.SecretProjection.Builder getSecretBuilder()
       information about the secret data to project
       +optional
       
      optional .k8s.io.api.core.v1.SecretProjection secret = 1;
    • getSecretOrBuilder

      public V1.SecretProjectionOrBuilder getSecretOrBuilder()
       information about the secret data to project
       +optional
       
      optional .k8s.io.api.core.v1.SecretProjection secret = 1;
      Specified by:
      getSecretOrBuilder in interface V1.VolumeProjectionOrBuilder
    • hasDownwardAPI

      public boolean hasDownwardAPI()
       information about the downwardAPI data to project
       +optional
       
      optional .k8s.io.api.core.v1.DownwardAPIProjection downwardAPI = 2;
      Specified by:
      hasDownwardAPI in interface V1.VolumeProjectionOrBuilder
    • getDownwardAPI

      public V1.DownwardAPIProjection getDownwardAPI()
       information about the downwardAPI data to project
       +optional
       
      optional .k8s.io.api.core.v1.DownwardAPIProjection downwardAPI = 2;
      Specified by:
      getDownwardAPI in interface V1.VolumeProjectionOrBuilder
    • setDownwardAPI

       information about the downwardAPI data to project
       +optional
       
      optional .k8s.io.api.core.v1.DownwardAPIProjection downwardAPI = 2;
    • setDownwardAPI

      public V1.VolumeProjection.Builder setDownwardAPI(V1.DownwardAPIProjection.Builder builderForValue)
       information about the downwardAPI data to project
       +optional
       
      optional .k8s.io.api.core.v1.DownwardAPIProjection downwardAPI = 2;
    • mergeDownwardAPI

      public V1.VolumeProjection.Builder mergeDownwardAPI(V1.DownwardAPIProjection value)
       information about the downwardAPI data to project
       +optional
       
      optional .k8s.io.api.core.v1.DownwardAPIProjection downwardAPI = 2;
    • clearDownwardAPI

      public V1.VolumeProjection.Builder clearDownwardAPI()
       information about the downwardAPI data to project
       +optional
       
      optional .k8s.io.api.core.v1.DownwardAPIProjection downwardAPI = 2;
    • getDownwardAPIBuilder

      public V1.DownwardAPIProjection.Builder getDownwardAPIBuilder()
       information about the downwardAPI data to project
       +optional
       
      optional .k8s.io.api.core.v1.DownwardAPIProjection downwardAPI = 2;
    • getDownwardAPIOrBuilder

      public V1.DownwardAPIProjectionOrBuilder getDownwardAPIOrBuilder()
       information about the downwardAPI data to project
       +optional
       
      optional .k8s.io.api.core.v1.DownwardAPIProjection downwardAPI = 2;
      Specified by:
      getDownwardAPIOrBuilder in interface V1.VolumeProjectionOrBuilder
    • hasConfigMap

      public boolean hasConfigMap()
       information about the configMap data to project
       +optional
       
      optional .k8s.io.api.core.v1.ConfigMapProjection configMap = 3;
      Specified by:
      hasConfigMap in interface V1.VolumeProjectionOrBuilder
    • getConfigMap

      public V1.ConfigMapProjection getConfigMap()
       information about the configMap data to project
       +optional
       
      optional .k8s.io.api.core.v1.ConfigMapProjection configMap = 3;
      Specified by:
      getConfigMap in interface V1.VolumeProjectionOrBuilder
    • setConfigMap

       information about the configMap data to project
       +optional
       
      optional .k8s.io.api.core.v1.ConfigMapProjection configMap = 3;
    • setConfigMap

      public V1.VolumeProjection.Builder setConfigMap(V1.ConfigMapProjection.Builder builderForValue)
       information about the configMap data to project
       +optional
       
      optional .k8s.io.api.core.v1.ConfigMapProjection configMap = 3;
    • mergeConfigMap

      public V1.VolumeProjection.Builder mergeConfigMap(V1.ConfigMapProjection value)
       information about the configMap data to project
       +optional
       
      optional .k8s.io.api.core.v1.ConfigMapProjection configMap = 3;
    • clearConfigMap

      public V1.VolumeProjection.Builder clearConfigMap()
       information about the configMap data to project
       +optional
       
      optional .k8s.io.api.core.v1.ConfigMapProjection configMap = 3;
    • getConfigMapBuilder

      public V1.ConfigMapProjection.Builder getConfigMapBuilder()
       information about the configMap data to project
       +optional
       
      optional .k8s.io.api.core.v1.ConfigMapProjection configMap = 3;
    • getConfigMapOrBuilder

      public V1.ConfigMapProjectionOrBuilder getConfigMapOrBuilder()
       information about the configMap data to project
       +optional
       
      optional .k8s.io.api.core.v1.ConfigMapProjection configMap = 3;
      Specified by:
      getConfigMapOrBuilder in interface V1.VolumeProjectionOrBuilder
    • hasServiceAccountToken

      public boolean hasServiceAccountToken()
       information about the serviceAccountToken data to project
       +optional
       
      optional .k8s.io.api.core.v1.ServiceAccountTokenProjection serviceAccountToken = 4;
      Specified by:
      hasServiceAccountToken in interface V1.VolumeProjectionOrBuilder
    • getServiceAccountToken

      public V1.ServiceAccountTokenProjection getServiceAccountToken()
       information about the serviceAccountToken data to project
       +optional
       
      optional .k8s.io.api.core.v1.ServiceAccountTokenProjection serviceAccountToken = 4;
      Specified by:
      getServiceAccountToken in interface V1.VolumeProjectionOrBuilder
    • setServiceAccountToken

      public V1.VolumeProjection.Builder setServiceAccountToken(V1.ServiceAccountTokenProjection value)
       information about the serviceAccountToken data to project
       +optional
       
      optional .k8s.io.api.core.v1.ServiceAccountTokenProjection serviceAccountToken = 4;
    • setServiceAccountToken

      public V1.VolumeProjection.Builder setServiceAccountToken(V1.ServiceAccountTokenProjection.Builder builderForValue)
       information about the serviceAccountToken data to project
       +optional
       
      optional .k8s.io.api.core.v1.ServiceAccountTokenProjection serviceAccountToken = 4;
    • mergeServiceAccountToken

      public V1.VolumeProjection.Builder mergeServiceAccountToken(V1.ServiceAccountTokenProjection value)
       information about the serviceAccountToken data to project
       +optional
       
      optional .k8s.io.api.core.v1.ServiceAccountTokenProjection serviceAccountToken = 4;
    • clearServiceAccountToken

      public V1.VolumeProjection.Builder clearServiceAccountToken()
       information about the serviceAccountToken data to project
       +optional
       
      optional .k8s.io.api.core.v1.ServiceAccountTokenProjection serviceAccountToken = 4;
    • getServiceAccountTokenBuilder

      public V1.ServiceAccountTokenProjection.Builder getServiceAccountTokenBuilder()
       information about the serviceAccountToken data to project
       +optional
       
      optional .k8s.io.api.core.v1.ServiceAccountTokenProjection serviceAccountToken = 4;
    • getServiceAccountTokenOrBuilder

      public V1.ServiceAccountTokenProjectionOrBuilder getServiceAccountTokenOrBuilder()
       information about the serviceAccountToken data to project
       +optional
       
      optional .k8s.io.api.core.v1.ServiceAccountTokenProjection serviceAccountToken = 4;
      Specified by:
      getServiceAccountTokenOrBuilder in interface V1.VolumeProjectionOrBuilder
    • setUnknownFields

      public final V1.VolumeProjection.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.VolumeProjection.Builder>
    • mergeUnknownFields

      public final V1.VolumeProjection.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.VolumeProjection.Builder>