Class RepositoryConfig.Builder (4.50.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RepositoryConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RepositoryConfig.Builder
Overrides

build()

public RepositoryConfig build()
Returns
Type Description
RepositoryConfig

buildPartial()

public RepositoryConfig buildPartial()
Returns
Type Description
RepositoryConfig

clear()

public RepositoryConfig.Builder clear()
Returns
Type Description
RepositoryConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RepositoryConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RepositoryConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RepositoryConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
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
Type Description
RepositoryConfig.Builder

clone()

public RepositoryConfig.Builder clone()
Returns
Type Description
RepositoryConfig.Builder
Overrides

getDefaultInstanceForType()

public RepositoryConfig getDefaultInstanceForType()
Returns
Type Description
RepositoryConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the pypiRepositoryConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RepositoryConfig other)

public RepositoryConfig.Builder mergeFrom(RepositoryConfig other)
Parameter
Name Description
other RepositoryConfig
Returns
Type Description
RepositoryConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RepositoryConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RepositoryConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RepositoryConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
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
Name Description
value PyPiRepositoryConfig
Returns
Type Description
RepositoryConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RepositoryConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RepositoryConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RepositoryConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value PyPiRepositoryConfig
Returns
Type Description
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
Name Description
builderForValue PyPiRepositoryConfig.Builder
Returns
Type Description
RepositoryConfig.Builder

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

public RepositoryConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RepositoryConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RepositoryConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RepositoryConfig.Builder
Overrides