Class RepositoryConfig (4.38.0)

public final class RepositoryConfig extends GeneratedMessageV3 implements RepositoryConfigOrBuilder

Configuration for dependency repositories

Protobuf type google.cloud.dataproc.v1.RepositoryConfig

Static Fields

PYPI_REPOSITORY_CONFIG_FIELD_NUMBER

public static final int PYPI_REPOSITORY_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RepositoryConfig getDefaultInstance()
Returns
TypeDescription
RepositoryConfig

getDescriptor()

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

newBuilder()

public static RepositoryConfig.Builder newBuilder()
Returns
TypeDescription
RepositoryConfig.Builder

newBuilder(RepositoryConfig prototype)

public static RepositoryConfig.Builder newBuilder(RepositoryConfig prototype)
Parameter
NameDescription
prototypeRepositoryConfig
Returns
TypeDescription
RepositoryConfig.Builder

parseDelimitedFrom(InputStream input)

public static RepositoryConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RepositoryConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RepositoryConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RepositoryConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RepositoryConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RepositoryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RepositoryConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RepositoryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RepositoryConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RepositoryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RepositoryConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RepositoryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RepositoryConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RepositoryConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RepositoryConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RepositoryConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RepositoryConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RepositoryConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RepositoryConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RepositoryConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RepositoryConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RepositoryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RepositoryConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RepositoryConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RepositoryConfig> parser()
Returns
TypeDescription
Parser<RepositoryConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public RepositoryConfig getDefaultInstanceForType()
Returns
TypeDescription
RepositoryConfig

getParserForType()

public Parser<RepositoryConfig> getParserForType()
Returns
TypeDescription
Parser<RepositoryConfig>
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.

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RepositoryConfig.Builder newBuilderForType()
Returns
TypeDescription
RepositoryConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RepositoryConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RepositoryConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RepositoryConfig.Builder toBuilder()
Returns
TypeDescription
RepositoryConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException