Class DeployArtifact.Builder (1.81.0)

public static final class DeployArtifact.Builder extends GeneratedMessage.Builder<DeployArtifact.Builder> implements DeployArtifactOrBuilder

The artifacts produced by a deploy operation.

Protobuf type google.cloud.deploy.v1.DeployArtifact

Static Methods

getDescriptor()

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

Methods

addAllManifestPaths(Iterable<String> values)

public DeployArtifact.Builder addAllManifestPaths(Iterable<String> values)

Output only. File paths of the manifests applied during the deploy operation relative to the URI.

repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<String>

The manifestPaths to add.

Returns
Type Description
DeployArtifact.Builder

This builder for chaining.

addManifestPaths(String value)

public DeployArtifact.Builder addManifestPaths(String value)

Output only. File paths of the manifests applied during the deploy operation relative to the URI.

repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The manifestPaths to add.

Returns
Type Description
DeployArtifact.Builder

This builder for chaining.

addManifestPathsBytes(ByteString value)

public DeployArtifact.Builder addManifestPathsBytes(ByteString value)

Output only. File paths of the manifests applied during the deploy operation relative to the URI.

repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes of the manifestPaths to add.

Returns
Type Description
DeployArtifact.Builder

This builder for chaining.

build()

public DeployArtifact build()
Returns
Type Description
DeployArtifact

buildPartial()

public DeployArtifact buildPartial()
Returns
Type Description
DeployArtifact

clear()

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

clearArtifactUri()

public DeployArtifact.Builder clearArtifactUri()

Output only. URI of a directory containing the artifacts. All paths are relative to this location.

string artifact_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeployArtifact.Builder

This builder for chaining.

clearManifestPaths()

public DeployArtifact.Builder clearManifestPaths()

Output only. File paths of the manifests applied during the deploy operation relative to the URI.

repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeployArtifact.Builder

This builder for chaining.

getArtifactUri()

public String getArtifactUri()

Output only. URI of a directory containing the artifacts. All paths are relative to this location.

string artifact_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The artifactUri.

getArtifactUriBytes()

public ByteString getArtifactUriBytes()

Output only. URI of a directory containing the artifacts. All paths are relative to this location.

string artifact_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for artifactUri.

getDefaultInstanceForType()

public DeployArtifact getDefaultInstanceForType()
Returns
Type Description
DeployArtifact

getDescriptorForType()

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

getManifestPaths(int index)

public String getManifestPaths(int index)

Output only. File paths of the manifests applied during the deploy operation relative to the URI.

repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The manifestPaths at the given index.

getManifestPathsBytes(int index)

public ByteString getManifestPathsBytes(int index)

Output only. File paths of the manifests applied during the deploy operation relative to the URI.

repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the manifestPaths at the given index.

getManifestPathsCount()

public int getManifestPathsCount()

Output only. File paths of the manifests applied during the deploy operation relative to the URI.

repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of manifestPaths.

getManifestPathsList()

public ProtocolStringList getManifestPathsList()

Output only. File paths of the manifests applied during the deploy operation relative to the URI.

repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProtocolStringList

A list containing the manifestPaths.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeployArtifact other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setArtifactUri(String value)

public DeployArtifact.Builder setArtifactUri(String value)

Output only. URI of a directory containing the artifacts. All paths are relative to this location.

string artifact_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The artifactUri to set.

Returns
Type Description
DeployArtifact.Builder

This builder for chaining.

setArtifactUriBytes(ByteString value)

public DeployArtifact.Builder setArtifactUriBytes(ByteString value)

Output only. URI of a directory containing the artifacts. All paths are relative to this location.

string artifact_uri = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for artifactUri to set.

Returns
Type Description
DeployArtifact.Builder

This builder for chaining.

setManifestPaths(int index, String value)

public DeployArtifact.Builder setManifestPaths(int index, String value)

Output only. File paths of the manifests applied during the deploy operation relative to the URI.

repeated string manifest_paths = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int

The index to set the value at.

value String

The manifestPaths to set.

Returns
Type Description
DeployArtifact.Builder

This builder for chaining.