Class KubernetesSoftwareConfig.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<KubernetesSoftwareConfig.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<KubernetesSoftwareConfig.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<KubernetesSoftwareConfig.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<KubernetesSoftwareConfig.Builder>
      • getDefaultInstanceForType

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

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

        public KubernetesSoftwareConfig buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public KubernetesSoftwareConfig.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<KubernetesSoftwareConfig.Builder>
      • addRepeatedField

        public KubernetesSoftwareConfig.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<KubernetesSoftwareConfig.Builder>
      • isInitialized

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

        public KubernetesSoftwareConfig.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<KubernetesSoftwareConfig.Builder>
        Throws:
        IOException
      • getComponentVersionCount

        public int getComponentVersionCount()
        Description copied from interface: KubernetesSoftwareConfigOrBuilder
         The components that should be installed in this Dataproc cluster. The key
         must be a string from the KubernetesComponent enumeration. The value is
         the version of the software to be installed.
         At least one entry must be specified.
         
        map<string, string> component_version = 1;
        Specified by:
        getComponentVersionCount in interface KubernetesSoftwareConfigOrBuilder
      • containsComponentVersion

        public boolean containsComponentVersion​(String key)
         The components that should be installed in this Dataproc cluster. The key
         must be a string from the KubernetesComponent enumeration. The value is
         the version of the software to be installed.
         At least one entry must be specified.
         
        map<string, string> component_version = 1;
        Specified by:
        containsComponentVersion in interface KubernetesSoftwareConfigOrBuilder
      • getComponentVersionMap

        public Map<String,​String> getComponentVersionMap()
         The components that should be installed in this Dataproc cluster. The key
         must be a string from the KubernetesComponent enumeration. The value is
         the version of the software to be installed.
         At least one entry must be specified.
         
        map<string, string> component_version = 1;
        Specified by:
        getComponentVersionMap in interface KubernetesSoftwareConfigOrBuilder
      • getComponentVersionOrDefault

        public String getComponentVersionOrDefault​(String key,
                                                   String defaultValue)
         The components that should be installed in this Dataproc cluster. The key
         must be a string from the KubernetesComponent enumeration. The value is
         the version of the software to be installed.
         At least one entry must be specified.
         
        map<string, string> component_version = 1;
        Specified by:
        getComponentVersionOrDefault in interface KubernetesSoftwareConfigOrBuilder
      • getComponentVersionOrThrow

        public String getComponentVersionOrThrow​(String key)
         The components that should be installed in this Dataproc cluster. The key
         must be a string from the KubernetesComponent enumeration. The value is
         the version of the software to be installed.
         At least one entry must be specified.
         
        map<string, string> component_version = 1;
        Specified by:
        getComponentVersionOrThrow in interface KubernetesSoftwareConfigOrBuilder
      • removeComponentVersion

        public KubernetesSoftwareConfig.Builder removeComponentVersion​(String key)
         The components that should be installed in this Dataproc cluster. The key
         must be a string from the KubernetesComponent enumeration. The value is
         the version of the software to be installed.
         At least one entry must be specified.
         
        map<string, string> component_version = 1;
      • getMutableComponentVersion

        @Deprecated
        public Map<String,​String> getMutableComponentVersion()
        Deprecated.
        Use alternate mutation accessors instead.
      • putComponentVersion

        public KubernetesSoftwareConfig.Builder putComponentVersion​(String key,
                                                                    String value)
         The components that should be installed in this Dataproc cluster. The key
         must be a string from the KubernetesComponent enumeration. The value is
         the version of the software to be installed.
         At least one entry must be specified.
         
        map<string, string> component_version = 1;
      • putAllComponentVersion

        public KubernetesSoftwareConfig.Builder putAllComponentVersion​(Map<String,​String> values)
         The components that should be installed in this Dataproc cluster. The key
         must be a string from the KubernetesComponent enumeration. The value is
         the version of the software to be installed.
         At least one entry must be specified.
         
        map<string, string> component_version = 1;
      • getPropertiesCount

        public int getPropertiesCount()
        Description copied from interface: KubernetesSoftwareConfigOrBuilder
         The properties to set on daemon config files.
        
         Property keys are specified in `prefix:property` format, for example
         `spark:spark.kubernetes.container.image`. The following are supported
         prefixes and their mappings:
        
         * spark:  `spark-defaults.conf`
        
         For more information, see [Cluster
         properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
         
        map<string, string> properties = 2;
        Specified by:
        getPropertiesCount in interface KubernetesSoftwareConfigOrBuilder
      • containsProperties

        public boolean containsProperties​(String key)
         The properties to set on daemon config files.
        
         Property keys are specified in `prefix:property` format, for example
         `spark:spark.kubernetes.container.image`. The following are supported
         prefixes and their mappings:
        
         * spark:  `spark-defaults.conf`
        
         For more information, see [Cluster
         properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
         
        map<string, string> properties = 2;
        Specified by:
        containsProperties in interface KubernetesSoftwareConfigOrBuilder
      • getPropertiesMap

        public Map<String,​String> getPropertiesMap()
         The properties to set on daemon config files.
        
         Property keys are specified in `prefix:property` format, for example
         `spark:spark.kubernetes.container.image`. The following are supported
         prefixes and their mappings:
        
         * spark:  `spark-defaults.conf`
        
         For more information, see [Cluster
         properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
         
        map<string, string> properties = 2;
        Specified by:
        getPropertiesMap in interface KubernetesSoftwareConfigOrBuilder
      • getPropertiesOrDefault

        public String getPropertiesOrDefault​(String key,
                                             String defaultValue)
         The properties to set on daemon config files.
        
         Property keys are specified in `prefix:property` format, for example
         `spark:spark.kubernetes.container.image`. The following are supported
         prefixes and their mappings:
        
         * spark:  `spark-defaults.conf`
        
         For more information, see [Cluster
         properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
         
        map<string, string> properties = 2;
        Specified by:
        getPropertiesOrDefault in interface KubernetesSoftwareConfigOrBuilder
      • getPropertiesOrThrow

        public String getPropertiesOrThrow​(String key)
         The properties to set on daemon config files.
        
         Property keys are specified in `prefix:property` format, for example
         `spark:spark.kubernetes.container.image`. The following are supported
         prefixes and their mappings:
        
         * spark:  `spark-defaults.conf`
        
         For more information, see [Cluster
         properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
         
        map<string, string> properties = 2;
        Specified by:
        getPropertiesOrThrow in interface KubernetesSoftwareConfigOrBuilder
      • removeProperties

        public KubernetesSoftwareConfig.Builder removeProperties​(String key)
         The properties to set on daemon config files.
        
         Property keys are specified in `prefix:property` format, for example
         `spark:spark.kubernetes.container.image`. The following are supported
         prefixes and their mappings:
        
         * spark:  `spark-defaults.conf`
        
         For more information, see [Cluster
         properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
         
        map<string, string> properties = 2;
      • getMutableProperties

        @Deprecated
        public Map<String,​String> getMutableProperties()
        Deprecated.
        Use alternate mutation accessors instead.
      • putProperties

        public KubernetesSoftwareConfig.Builder putProperties​(String key,
                                                              String value)
         The properties to set on daemon config files.
        
         Property keys are specified in `prefix:property` format, for example
         `spark:spark.kubernetes.container.image`. The following are supported
         prefixes and their mappings:
        
         * spark:  `spark-defaults.conf`
        
         For more information, see [Cluster
         properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
         
        map<string, string> properties = 2;
      • putAllProperties

        public KubernetesSoftwareConfig.Builder putAllProperties​(Map<String,​String> values)
         The properties to set on daemon config files.
        
         Property keys are specified in `prefix:property` format, for example
         `spark:spark.kubernetes.container.image`. The following are supported
         prefixes and their mappings:
        
         * spark:  `spark-defaults.conf`
        
         For more information, see [Cluster
         properties](https://cloud.google.com/dataproc/docs/concepts/cluster-properties).
         
        map<string, string> properties = 2;
      • setUnknownFields

        public final KubernetesSoftwareConfig.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<KubernetesSoftwareConfig.Builder>
      • mergeUnknownFields

        public final KubernetesSoftwareConfig.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<KubernetesSoftwareConfig.Builder>