Class ImportAptArtifactsGcsSource.Builder (1.2.3)

public static final class ImportAptArtifactsGcsSource.Builder extends GeneratedMessageV3.Builder<ImportAptArtifactsGcsSource.Builder> implements ImportAptArtifactsGcsSourceOrBuilder

Google Cloud Storage location where the artifacts currently reside.

Protobuf type google.devtools.artifactregistry.v1beta2.ImportAptArtifactsGcsSource

Static Methods

getDescriptor()

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

Methods

addAllUris(Iterable<String> values)

public ImportAptArtifactsGcsSource.Builder addAllUris(Iterable<String> values)

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

repeated string uris = 1;

Parameter
NameDescription
valuesIterable<String>

The uris to add.

Returns
TypeDescription
ImportAptArtifactsGcsSource.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addUris(String value)

public ImportAptArtifactsGcsSource.Builder addUris(String value)

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

repeated string uris = 1;

Parameter
NameDescription
valueString

The uris to add.

Returns
TypeDescription
ImportAptArtifactsGcsSource.Builder

This builder for chaining.

addUrisBytes(ByteString value)

public ImportAptArtifactsGcsSource.Builder addUrisBytes(ByteString value)

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

repeated string uris = 1;

Parameter
NameDescription
valueByteString

The bytes of the uris to add.

Returns
TypeDescription
ImportAptArtifactsGcsSource.Builder

This builder for chaining.

build()

public ImportAptArtifactsGcsSource build()
Returns
TypeDescription
ImportAptArtifactsGcsSource

buildPartial()

public ImportAptArtifactsGcsSource buildPartial()
Returns
TypeDescription
ImportAptArtifactsGcsSource

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUris()

public ImportAptArtifactsGcsSource.Builder clearUris()

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

repeated string uris = 1;

Returns
TypeDescription
ImportAptArtifactsGcsSource.Builder

This builder for chaining.

clearUseWildcards()

public ImportAptArtifactsGcsSource.Builder clearUseWildcards()

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

bool use_wildcards = 2;

Returns
TypeDescription
ImportAptArtifactsGcsSource.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ImportAptArtifactsGcsSource getDefaultInstanceForType()
Returns
TypeDescription
ImportAptArtifactsGcsSource

getDescriptorForType()

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ImportAptArtifactsGcsSource other)

public ImportAptArtifactsGcsSource.Builder mergeFrom(ImportAptArtifactsGcsSource other)
Parameter
NameDescription
otherImportAptArtifactsGcsSource
Returns
TypeDescription
ImportAptArtifactsGcsSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUris(int index, String value)

public ImportAptArtifactsGcsSource.Builder setUris(int index, String value)

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

repeated string uris = 1;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The uris to set.

Returns
TypeDescription
ImportAptArtifactsGcsSource.Builder

This builder for chaining.

setUseWildcards(boolean value)

public ImportAptArtifactsGcsSource.Builder setUseWildcards(boolean value)

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

bool use_wildcards = 2;

Parameter
NameDescription
valueboolean

The useWildcards to set.

Returns
TypeDescription
ImportAptArtifactsGcsSource.Builder

This builder for chaining.