Class PyPiRepositoryConfig.Builder (4.36.0)

public static final class PyPiRepositoryConfig.Builder extends GeneratedMessageV3.Builder<PyPiRepositoryConfig.Builder> implements PyPiRepositoryConfigOrBuilder

Configuration for PyPi repository

Protobuf type google.cloud.dataproc.v1.PyPiRepositoryConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PyPiRepositoryConfig build()
Returns
TypeDescription
PyPiRepositoryConfig

buildPartial()

public PyPiRepositoryConfig buildPartial()
Returns
TypeDescription
PyPiRepositoryConfig

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPypiRepository()

public PyPiRepositoryConfig.Builder clearPypiRepository()

Optional. PyPi repository address

string pypi_repository = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
PyPiRepositoryConfig.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public PyPiRepositoryConfig getDefaultInstanceForType()
Returns
TypeDescription
PyPiRepositoryConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPypiRepository()

public String getPypiRepository()

Optional. PyPi repository address

string pypi_repository = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The pypiRepository.

getPypiRepositoryBytes()

public ByteString getPypiRepositoryBytes()

Optional. PyPi repository address

string pypi_repository = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for pypiRepository.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PyPiRepositoryConfig other)

public PyPiRepositoryConfig.Builder mergeFrom(PyPiRepositoryConfig other)
Parameter
NameDescription
otherPyPiRepositoryConfig
Returns
TypeDescription
PyPiRepositoryConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setPypiRepository(String value)

public PyPiRepositoryConfig.Builder setPypiRepository(String value)

Optional. PyPi repository address

string pypi_repository = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The pypiRepository to set.

Returns
TypeDescription
PyPiRepositoryConfig.Builder

This builder for chaining.

setPypiRepositoryBytes(ByteString value)

public PyPiRepositoryConfig.Builder setPypiRepositoryBytes(ByteString value)

Optional. PyPi repository address

string pypi_repository = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for pypiRepository to set.

Returns
TypeDescription
PyPiRepositoryConfig.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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