Class RepositoryConfig.Builder (4.34.0)

public static final class RepositoryConfig.Builder extends GeneratedMessageV3.Builder<RepositoryConfig.Builder> implements RepositoryConfigOrBuilder

Configuration for dependency repositories

Protobuf type google.cloud.dataproc.v1.RepositoryConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RepositoryConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RepositoryConfig.Builder
Overrides

build()

public RepositoryConfig build()
Returns
TypeDescription
RepositoryConfig

buildPartial()

public RepositoryConfig buildPartial()
Returns
TypeDescription
RepositoryConfig

clear()

public RepositoryConfig.Builder clear()
Returns
TypeDescription
RepositoryConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RepositoryConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RepositoryConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RepositoryConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RepositoryConfig.Builder
Overrides

clearPypiRepositoryConfig()

public RepositoryConfig.Builder clearPypiRepositoryConfig()

Optional. Configuration for PyPi repository.

.google.cloud.dataproc.v1.PyPiRepositoryConfig pypi_repository_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
RepositoryConfig.Builder

clone()

public RepositoryConfig.Builder clone()
Returns
TypeDescription
RepositoryConfig.Builder
Overrides

getDefaultInstanceForType()

public RepositoryConfig getDefaultInstanceForType()
Returns
TypeDescription
RepositoryConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPypiRepositoryConfig()

public PyPiRepositoryConfig getPypiRepositoryConfig()

Optional. Configuration for PyPi repository.

.google.cloud.dataproc.v1.PyPiRepositoryConfig pypi_repository_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
PyPiRepositoryConfig

The pypiRepositoryConfig.

getPypiRepositoryConfigBuilder()

public PyPiRepositoryConfig.Builder getPypiRepositoryConfigBuilder()

Optional. Configuration for PyPi repository.

.google.cloud.dataproc.v1.PyPiRepositoryConfig pypi_repository_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
PyPiRepositoryConfig.Builder

getPypiRepositoryConfigOrBuilder()

public PyPiRepositoryConfigOrBuilder getPypiRepositoryConfigOrBuilder()

Optional. Configuration for PyPi repository.

.google.cloud.dataproc.v1.PyPiRepositoryConfig pypi_repository_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
PyPiRepositoryConfigOrBuilder

hasPypiRepositoryConfig()

public boolean hasPypiRepositoryConfig()

Optional. Configuration for PyPi repository.

.google.cloud.dataproc.v1.PyPiRepositoryConfig pypi_repository_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the pypiRepositoryConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RepositoryConfig other)

public RepositoryConfig.Builder mergeFrom(RepositoryConfig other)
Parameter
NameDescription
otherRepositoryConfig
Returns
TypeDescription
RepositoryConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RepositoryConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RepositoryConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RepositoryConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RepositoryConfig.Builder
Overrides

mergePypiRepositoryConfig(PyPiRepositoryConfig value)

public RepositoryConfig.Builder mergePypiRepositoryConfig(PyPiRepositoryConfig value)

Optional. Configuration for PyPi repository.

.google.cloud.dataproc.v1.PyPiRepositoryConfig pypi_repository_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valuePyPiRepositoryConfig
Returns
TypeDescription
RepositoryConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RepositoryConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RepositoryConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RepositoryConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RepositoryConfig.Builder
Overrides

setPypiRepositoryConfig(PyPiRepositoryConfig value)

public RepositoryConfig.Builder setPypiRepositoryConfig(PyPiRepositoryConfig value)

Optional. Configuration for PyPi repository.

.google.cloud.dataproc.v1.PyPiRepositoryConfig pypi_repository_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valuePyPiRepositoryConfig
Returns
TypeDescription
RepositoryConfig.Builder

setPypiRepositoryConfig(PyPiRepositoryConfig.Builder builderForValue)

public RepositoryConfig.Builder setPypiRepositoryConfig(PyPiRepositoryConfig.Builder builderForValue)

Optional. Configuration for PyPi repository.

.google.cloud.dataproc.v1.PyPiRepositoryConfig pypi_repository_config = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
builderForValuePyPiRepositoryConfig.Builder
Returns
TypeDescription
RepositoryConfig.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RepositoryConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RepositoryConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RepositoryConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RepositoryConfig.Builder
Overrides