Class DeployArtifact.Builder (1.25.0)

public static final class DeployArtifact.Builder extends GeneratedMessageV3.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
TypeDescription
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
NameDescription
valuesIterable<String>

The manifestPaths to add.

Returns
TypeDescription
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
NameDescription
valueString

The manifestPaths to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the manifestPaths to add.

Returns
TypeDescription
DeployArtifact.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DeployArtifact build()
Returns
TypeDescription
DeployArtifact

buildPartial()

public DeployArtifact buildPartial()
Returns
TypeDescription
DeployArtifact

clear()

public DeployArtifact.Builder clear()
Returns
TypeDescription
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
TypeDescription
DeployArtifact.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

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
TypeDescription
DeployArtifact.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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
TypeDescription
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
TypeDescription
ByteString

The bytes for artifactUri.

getDefaultInstanceForType()

public DeployArtifact getDefaultInstanceForType()
Returns
TypeDescription
DeployArtifact

getDescriptorForType()

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

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the manifestPaths.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeployArtifact other)

public DeployArtifact.Builder mergeFrom(DeployArtifact other)
Parameter
NameDescription
otherDeployArtifact
Returns
TypeDescription
DeployArtifact.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeployArtifact.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The artifactUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for artifactUri to set.

Returns
TypeDescription
DeployArtifact.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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
NameDescription
indexint

The index to set the value at.

valueString

The manifestPaths to set.

Returns
TypeDescription
DeployArtifact.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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