- 1.80.0 (latest)
- 1.79.0
- 1.77.0
- 1.75.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.71.0
- 1.69.0
- 1.67.0
- 1.66.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.9
- 1.1.1
- 0.5.0
- 0.4.0
public static final class ExportArtifactRequest.Builder extends GeneratedMessageV3.Builder<ExportArtifactRequest.Builder> implements ExportArtifactRequestOrBuilderThe request for exporting an artifact to a destination.
Protobuf type google.devtools.artifactregistry.v1.ExportArtifactRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ExportArtifactRequest.BuilderImplements
ExportArtifactRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExportArtifactRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ExportArtifactRequest.Builder |
|
build()
public ExportArtifactRequest build()| Returns | |
|---|---|
| Type | Description |
ExportArtifactRequest |
|
buildPartial()
public ExportArtifactRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ExportArtifactRequest |
|
clear()
public ExportArtifactRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ExportArtifactRequest.Builder |
|
clearDestination()
public ExportArtifactRequest.Builder clearDestination()| Returns | |
|---|---|
| Type | Description |
ExportArtifactRequest.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public ExportArtifactRequest.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
ExportArtifactRequest.Builder |
|
clearGcsPath()
public ExportArtifactRequest.Builder clearGcsPath() The Cloud Storage path to export the artifact to. Should start with the
bucket name, and optionally have a directory path. Examples:
dst_bucket, dst_bucket/sub_dir.
Existing objects with the same path will be overwritten.
string gcs_path = 3;
| Returns | |
|---|---|
| Type | Description |
ExportArtifactRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ExportArtifactRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
ExportArtifactRequest.Builder |
|
clearRepository()
public ExportArtifactRequest.Builder clearRepository()Required. The repository of the artifact to export. Format: projects/{project}/locations/{location}/repositories/{repository}
string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ExportArtifactRequest.Builder |
This builder for chaining. |
clearSourceArtifact()
public ExportArtifactRequest.Builder clearSourceArtifact()| Returns | |
|---|---|
| Type | Description |
ExportArtifactRequest.Builder |
|
clearSourceTag()
public ExportArtifactRequest.Builder clearSourceTag()The artifact tag to export. Format:projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/tags/{tag}
string source_tag = 4 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ExportArtifactRequest.Builder |
This builder for chaining. |
clearSourceVersion()
public ExportArtifactRequest.Builder clearSourceVersion()The artifact version to export. Format: projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/versions/{version}
string source_version = 2 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ExportArtifactRequest.Builder |
This builder for chaining. |
clone()
public ExportArtifactRequest.Builder clone()| Returns | |
|---|---|
| Type | Description |
ExportArtifactRequest.Builder |
|
getDefaultInstanceForType()
public ExportArtifactRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ExportArtifactRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDestinationCase()
public ExportArtifactRequest.DestinationCase getDestinationCase()| Returns | |
|---|---|
| Type | Description |
ExportArtifactRequest.DestinationCase |
|
getGcsPath()
public String getGcsPath() The Cloud Storage path to export the artifact to. Should start with the
bucket name, and optionally have a directory path. Examples:
dst_bucket, dst_bucket/sub_dir.
Existing objects with the same path will be overwritten.
string gcs_path = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The gcsPath. |
getGcsPathBytes()
public ByteString getGcsPathBytes() The Cloud Storage path to export the artifact to. Should start with the
bucket name, and optionally have a directory path. Examples:
dst_bucket, dst_bucket/sub_dir.
Existing objects with the same path will be overwritten.
string gcs_path = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for gcsPath. |
getRepository()
public String getRepository()Required. The repository of the artifact to export. Format: projects/{project}/locations/{location}/repositories/{repository}
string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The repository. |
getRepositoryBytes()
public ByteString getRepositoryBytes()Required. The repository of the artifact to export. Format: projects/{project}/locations/{location}/repositories/{repository}
string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for repository. |
getSourceArtifactCase()
public ExportArtifactRequest.SourceArtifactCase getSourceArtifactCase()| Returns | |
|---|---|
| Type | Description |
ExportArtifactRequest.SourceArtifactCase |
|
getSourceTag()
public String getSourceTag()The artifact tag to export. Format:projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/tags/{tag}
string source_tag = 4 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The sourceTag. |
getSourceTagBytes()
public ByteString getSourceTagBytes()The artifact tag to export. Format:projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/tags/{tag}
string source_tag = 4 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for sourceTag. |
getSourceVersion()
public String getSourceVersion()The artifact version to export. Format: projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/versions/{version}
string source_version = 2 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The sourceVersion. |
getSourceVersionBytes()
public ByteString getSourceVersionBytes()The artifact version to export. Format: projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/versions/{version}
string source_version = 2 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for sourceVersion. |
hasGcsPath()
public boolean hasGcsPath() The Cloud Storage path to export the artifact to. Should start with the
bucket name, and optionally have a directory path. Examples:
dst_bucket, dst_bucket/sub_dir.
Existing objects with the same path will be overwritten.
string gcs_path = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the gcsPath field is set. |
hasSourceTag()
public boolean hasSourceTag()The artifact tag to export. Format:projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/tags/{tag}
string source_tag = 4 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sourceTag field is set. |
hasSourceVersion()
public boolean hasSourceVersion()The artifact version to export. Format: projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/versions/{version}
string source_version = 2 [(.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sourceVersion field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ExportArtifactRequest other)
public ExportArtifactRequest.Builder mergeFrom(ExportArtifactRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ExportArtifactRequest |
| Returns | |
|---|---|
| Type | Description |
ExportArtifactRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExportArtifactRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ExportArtifactRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ExportArtifactRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ExportArtifactRequest.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExportArtifactRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ExportArtifactRequest.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public ExportArtifactRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ExportArtifactRequest.Builder |
|
setGcsPath(String value)
public ExportArtifactRequest.Builder setGcsPath(String value) The Cloud Storage path to export the artifact to. Should start with the
bucket name, and optionally have a directory path. Examples:
dst_bucket, dst_bucket/sub_dir.
Existing objects with the same path will be overwritten.
string gcs_path = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe gcsPath to set. |
| Returns | |
|---|---|
| Type | Description |
ExportArtifactRequest.Builder |
This builder for chaining. |
setGcsPathBytes(ByteString value)
public ExportArtifactRequest.Builder setGcsPathBytes(ByteString value) The Cloud Storage path to export the artifact to. Should start with the
bucket name, and optionally have a directory path. Examples:
dst_bucket, dst_bucket/sub_dir.
Existing objects with the same path will be overwritten.
string gcs_path = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for gcsPath to set. |
| Returns | |
|---|---|
| Type | Description |
ExportArtifactRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExportArtifactRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ExportArtifactRequest.Builder |
|
setRepository(String value)
public ExportArtifactRequest.Builder setRepository(String value)Required. The repository of the artifact to export. Format: projects/{project}/locations/{location}/repositories/{repository}
string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe repository to set. |
| Returns | |
|---|---|
| Type | Description |
ExportArtifactRequest.Builder |
This builder for chaining. |
setRepositoryBytes(ByteString value)
public ExportArtifactRequest.Builder setRepositoryBytes(ByteString value)Required. The repository of the artifact to export. Format: projects/{project}/locations/{location}/repositories/{repository}
string repository = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for repository to set. |
| Returns | |
|---|---|
| Type | Description |
ExportArtifactRequest.Builder |
This builder for chaining. |
setSourceTag(String value)
public ExportArtifactRequest.Builder setSourceTag(String value)The artifact tag to export. Format:projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/tags/{tag}
string source_tag = 4 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe sourceTag to set. |
| Returns | |
|---|---|
| Type | Description |
ExportArtifactRequest.Builder |
This builder for chaining. |
setSourceTagBytes(ByteString value)
public ExportArtifactRequest.Builder setSourceTagBytes(ByteString value)The artifact tag to export. Format:projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/tags/{tag}
string source_tag = 4 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for sourceTag to set. |
| Returns | |
|---|---|
| Type | Description |
ExportArtifactRequest.Builder |
This builder for chaining. |
setSourceVersion(String value)
public ExportArtifactRequest.Builder setSourceVersion(String value)The artifact version to export. Format: projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/versions/{version}
string source_version = 2 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe sourceVersion to set. |
| Returns | |
|---|---|
| Type | Description |
ExportArtifactRequest.Builder |
This builder for chaining. |
setSourceVersionBytes(ByteString value)
public ExportArtifactRequest.Builder setSourceVersionBytes(ByteString value)The artifact version to export. Format: projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/versions/{version}
string source_version = 2 [(.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for sourceVersion to set. |
| Returns | |
|---|---|
| Type | Description |
ExportArtifactRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ExportArtifactRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ExportArtifactRequest.Builder |
|