Class ImportAptArtifactsGcsSource (1.5.0)

public final class ImportAptArtifactsGcsSource extends GeneratedMessageV3 implements ImportAptArtifactsGcsSourceOrBuilder

Google Cloud Storage location where the artifacts currently reside.

Protobuf type google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource

Static Fields

URIS_FIELD_NUMBER

public static final int URIS_FIELD_NUMBER
Field Value
TypeDescription
int

USE_WILDCARDS_FIELD_NUMBER

public static final int USE_WILDCARDS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ImportAptArtifactsGcsSource getDefaultInstance()
Returns
TypeDescription
ImportAptArtifactsGcsSource

getDescriptor()

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

newBuilder()

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

newBuilder(ImportAptArtifactsGcsSource prototype)

public static ImportAptArtifactsGcsSource.Builder newBuilder(ImportAptArtifactsGcsSource prototype)
Parameter
NameDescription
prototypeImportAptArtifactsGcsSource
Returns
TypeDescription
ImportAptArtifactsGcsSource.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ImportAptArtifactsGcsSource getDefaultInstanceForType()
Returns
TypeDescription
ImportAptArtifactsGcsSource

getParserForType()

public Parser<ImportAptArtifactsGcsSource> getParserForType()
Returns
TypeDescription
Parser<ImportAptArtifactsGcsSource>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUris(int index)

public String getUris(int index)

Cloud Storage paths URI (e.g., gs://my_bucket//my_object).

repeated string uris = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The uris at the given index.

getUrisBytes(int index)

public ByteString getUrisBytes(int index)

Cloud Storage paths URI (e.g., gs://my_bucket//my_object).

repeated string uris = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the uris at the given index.

getUrisCount()

public int getUrisCount()

Cloud Storage paths URI (e.g., gs://my_bucket//my_object).

repeated string uris = 1;

Returns
TypeDescription
int

The count of uris.

getUrisList()

public ProtocolStringList getUrisList()

Cloud Storage paths URI (e.g., gs://my_bucket//my_object).

repeated string uris = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the uris.

getUseWildcards()

public boolean getUseWildcards()

Supports URI wildcards for matching multiple objects from a single URI.

bool use_wildcards = 2;

Returns
TypeDescription
boolean

The useWildcards.

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 ImportAptArtifactsGcsSource.Builder newBuilderForType()
Returns
TypeDescription
ImportAptArtifactsGcsSource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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