public static final class ImportAptArtifactsGcsSource.Builder extends GeneratedMessage.Builder<ImportAptArtifactsGcsSource.Builder> implements ImportAptArtifactsGcsSourceOrBuilderGoogle Cloud Storage location where the artifacts currently reside.
Protobuf type google.devtools.artifactregistry.v1.ImportAptArtifactsGcsSource
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ImportAptArtifactsGcsSource.BuilderImplements
ImportAptArtifactsGcsSourceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
values |
Iterable<String>The uris to add. |
| Returns | |
|---|---|
| Type | Description |
ImportAptArtifactsGcsSource.Builder |
This builder for chaining. |
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 | |
|---|---|
| Name | Description |
value |
StringThe uris to add. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the uris to add. |
| Returns | |
|---|---|
| Type | Description |
ImportAptArtifactsGcsSource.Builder |
This builder for chaining. |
build()
public ImportAptArtifactsGcsSource build()| Returns | |
|---|---|
| Type | Description |
ImportAptArtifactsGcsSource |
|
buildPartial()
public ImportAptArtifactsGcsSource buildPartial()| Returns | |
|---|---|
| Type | Description |
ImportAptArtifactsGcsSource |
|
clear()
public ImportAptArtifactsGcsSource.Builder clear()| Returns | |
|---|---|
| Type | Description |
ImportAptArtifactsGcsSource.Builder |
|
clearUris()
public ImportAptArtifactsGcsSource.Builder clearUris()Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
repeated string uris = 1;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
ImportAptArtifactsGcsSource.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ImportAptArtifactsGcsSource getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ImportAptArtifactsGcsSource |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getUris(int index)
public String getUris(int index)Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
repeated string uris = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
boolean |
The useWildcards. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ImportAptArtifactsGcsSource other)
public ImportAptArtifactsGcsSource.Builder mergeFrom(ImportAptArtifactsGcsSource other)| Parameter | |
|---|---|
| Name | Description |
other |
ImportAptArtifactsGcsSource |
| Returns | |
|---|---|
| Type | Description |
ImportAptArtifactsGcsSource.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ImportAptArtifactsGcsSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ImportAptArtifactsGcsSource.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ImportAptArtifactsGcsSource.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ImportAptArtifactsGcsSource.Builder |
|
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 | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe uris to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
booleanThe useWildcards to set. |
| Returns | |
|---|---|
| Type | Description |
ImportAptArtifactsGcsSource.Builder |
This builder for chaining. |