Class ImportYumArtifactsGcsSource (1.20.0)

public final class ImportYumArtifactsGcsSource extends GeneratedMessageV3 implements ImportYumArtifactsGcsSourceOrBuilder

Google Cloud Storage location where the artifacts currently reside.

Protobuf type google.devtools.artifactregistry.v1beta2.ImportYumArtifactsGcsSource

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 ImportYumArtifactsGcsSource getDefaultInstance()
Returns
TypeDescription
ImportYumArtifactsGcsSource

getDescriptor()

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

newBuilder()

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

newBuilder(ImportYumArtifactsGcsSource prototype)

public static ImportYumArtifactsGcsSource.Builder newBuilder(ImportYumArtifactsGcsSource prototype)
Parameter
NameDescription
prototypeImportYumArtifactsGcsSource
Returns
TypeDescription
ImportYumArtifactsGcsSource.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ImportYumArtifactsGcsSource getDefaultInstanceForType()
Returns
TypeDescription
ImportYumArtifactsGcsSource

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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 ImportYumArtifactsGcsSource.Builder newBuilderForType()
Returns
TypeDescription
ImportYumArtifactsGcsSource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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