Class ExportArtifactResponse.Builder (1.82.0)

public static final class ExportArtifactResponse.Builder extends GeneratedMessage.Builder<ExportArtifactResponse.Builder> implements ExportArtifactResponseOrBuilder

The response for exporting an artifact to a destination.

Protobuf type google.devtools.artifactregistry.v1.ExportArtifactResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ExportArtifactResponse build()
Returns
Type Description
ExportArtifactResponse

buildPartial()

public ExportArtifactResponse buildPartial()
Returns
Type Description
ExportArtifactResponse

clear()

public ExportArtifactResponse.Builder clear()
Returns
Type Description
ExportArtifactResponse.Builder
Overrides

clearExportedVersion()

public ExportArtifactResponse.Builder clearExportedVersion()

The exported version. Should be the same as the request version with fingerprint resource name.

.google.devtools.artifactregistry.v1.Version exported_version = 1;

Returns
Type Description
ExportArtifactResponse.Builder

getDefaultInstanceForType()

public ExportArtifactResponse getDefaultInstanceForType()
Returns
Type Description
ExportArtifactResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExportedVersion()

public Version getExportedVersion()

The exported version. Should be the same as the request version with fingerprint resource name.

.google.devtools.artifactregistry.v1.Version exported_version = 1;

Returns
Type Description
Version

The exportedVersion.

getExportedVersionBuilder()

public Version.Builder getExportedVersionBuilder()

The exported version. Should be the same as the request version with fingerprint resource name.

.google.devtools.artifactregistry.v1.Version exported_version = 1;

Returns
Type Description
Version.Builder

getExportedVersionOrBuilder()

public VersionOrBuilder getExportedVersionOrBuilder()

The exported version. Should be the same as the request version with fingerprint resource name.

.google.devtools.artifactregistry.v1.Version exported_version = 1;

Returns
Type Description
VersionOrBuilder

hasExportedVersion()

public boolean hasExportedVersion()

The exported version. Should be the same as the request version with fingerprint resource name.

.google.devtools.artifactregistry.v1.Version exported_version = 1;

Returns
Type Description
boolean

Whether the exportedVersion field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeExportedVersion(Version value)

public ExportArtifactResponse.Builder mergeExportedVersion(Version value)

The exported version. Should be the same as the request version with fingerprint resource name.

.google.devtools.artifactregistry.v1.Version exported_version = 1;

Parameter
Name Description
value Version
Returns
Type Description
ExportArtifactResponse.Builder

mergeFrom(ExportArtifactResponse other)

public ExportArtifactResponse.Builder mergeFrom(ExportArtifactResponse other)
Parameter
Name Description
other ExportArtifactResponse
Returns
Type Description
ExportArtifactResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ExportArtifactResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExportArtifactResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ExportArtifactResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ExportArtifactResponse.Builder
Overrides

setExportedVersion(Version value)

public ExportArtifactResponse.Builder setExportedVersion(Version value)

The exported version. Should be the same as the request version with fingerprint resource name.

.google.devtools.artifactregistry.v1.Version exported_version = 1;

Parameter
Name Description
value Version
Returns
Type Description
ExportArtifactResponse.Builder

setExportedVersion(Version.Builder builderForValue)

public ExportArtifactResponse.Builder setExportedVersion(Version.Builder builderForValue)

The exported version. Should be the same as the request version with fingerprint resource name.

.google.devtools.artifactregistry.v1.Version exported_version = 1;

Parameter
Name Description
builderForValue Version.Builder
Returns
Type Description
ExportArtifactResponse.Builder