Class TargetArtifact.Builder (1.1.4)

Stay organized with collections Save and categorize content based on your preferences.
public static final class TargetArtifact.Builder extends GeneratedMessageV3.Builder<TargetArtifact.Builder> implements TargetArtifactOrBuilder

The artifacts produced by a target render operation.

Protobuf type google.cloud.deploy.v1.TargetArtifact

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TargetArtifact build()
Returns
TypeDescription
TargetArtifact

buildPartial()

public TargetArtifact buildPartial()
Returns
TypeDescription
TargetArtifact

clear()

public TargetArtifact.Builder clear()
Returns
TypeDescription
TargetArtifact.Builder
Overrides

clearArtifactUri()

public TargetArtifact.Builder clearArtifactUri()

Output only. URI of a directory containing the artifacts. This contains deployment configuration used by Skaffold during a rollout, and all paths are relative to this location.

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

Returns
TypeDescription
TargetArtifact.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearManifestPath()

public TargetArtifact.Builder clearManifestPath()

Output only. File path of the rendered manifest relative to the URI.

string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TargetArtifact.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSkaffoldConfigPath()

public TargetArtifact.Builder clearSkaffoldConfigPath()

Output only. File path of the resolved Skaffold configuration relative to the URI.

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

Returns
TypeDescription
TargetArtifact.Builder

This builder for chaining.

clearUri()

public TargetArtifact.Builder clearUri()
Returns
TypeDescription
TargetArtifact.Builder

clone()

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

getArtifactUri()

public String getArtifactUri()

Output only. URI of a directory containing the artifacts. This contains deployment configuration used by Skaffold during a rollout, and all paths are relative to this location.

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

Returns
TypeDescription
String

The artifactUri.

getArtifactUriBytes()

public ByteString getArtifactUriBytes()

Output only. URI of a directory containing the artifacts. This contains deployment configuration used by Skaffold during a rollout, and all paths are relative to this location.

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

Returns
TypeDescription
ByteString

The bytes for artifactUri.

getDefaultInstanceForType()

public TargetArtifact getDefaultInstanceForType()
Returns
TypeDescription
TargetArtifact

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getManifestPath()

public String getManifestPath()

Output only. File path of the rendered manifest relative to the URI.

string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
String

The manifestPath.

getManifestPathBytes()

public ByteString getManifestPathBytes()

Output only. File path of the rendered manifest relative to the URI.

string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
ByteString

The bytes for manifestPath.

getSkaffoldConfigPath()

public String getSkaffoldConfigPath()

Output only. File path of the resolved Skaffold configuration relative to the URI.

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

Returns
TypeDescription
String

The skaffoldConfigPath.

getSkaffoldConfigPathBytes()

public ByteString getSkaffoldConfigPathBytes()

Output only. File path of the resolved Skaffold configuration relative to the URI.

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

Returns
TypeDescription
ByteString

The bytes for skaffoldConfigPath.

getUriCase()

public TargetArtifact.UriCase getUriCase()
Returns
TypeDescription
TargetArtifact.UriCase

hasArtifactUri()

public boolean hasArtifactUri()

Output only. URI of a directory containing the artifacts. This contains deployment configuration used by Skaffold during a rollout, and all paths are relative to this location.

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

Returns
TypeDescription
boolean

Whether the artifactUri field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TargetArtifact other)

public TargetArtifact.Builder mergeFrom(TargetArtifact other)
Parameter
NameDescription
otherTargetArtifact
Returns
TypeDescription
TargetArtifact.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TargetArtifact.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TargetArtifact.Builder
Overrides

setArtifactUri(String value)

public TargetArtifact.Builder setArtifactUri(String value)

Output only. URI of a directory containing the artifacts. This contains deployment configuration used by Skaffold during a rollout, and all paths are relative to this location.

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

Parameter
NameDescription
valueString

The artifactUri to set.

Returns
TypeDescription
TargetArtifact.Builder

This builder for chaining.

setArtifactUriBytes(ByteString value)

public TargetArtifact.Builder setArtifactUriBytes(ByteString value)

Output only. URI of a directory containing the artifacts. This contains deployment configuration used by Skaffold during a rollout, and all paths are relative to this location.

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

Parameter
NameDescription
valueByteString

The bytes for artifactUri to set.

Returns
TypeDescription
TargetArtifact.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setManifestPath(String value)

public TargetArtifact.Builder setManifestPath(String value)

Output only. File path of the rendered manifest relative to the URI.

string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueString

The manifestPath to set.

Returns
TypeDescription
TargetArtifact.Builder

This builder for chaining.

setManifestPathBytes(ByteString value)

public TargetArtifact.Builder setManifestPathBytes(ByteString value)

Output only. File path of the rendered manifest relative to the URI.

string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueByteString

The bytes for manifestPath to set.

Returns
TypeDescription
TargetArtifact.Builder

This builder for chaining.

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

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

setSkaffoldConfigPath(String value)

public TargetArtifact.Builder setSkaffoldConfigPath(String value)

Output only. File path of the resolved Skaffold configuration relative to the URI.

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

Parameter
NameDescription
valueString

The skaffoldConfigPath to set.

Returns
TypeDescription
TargetArtifact.Builder

This builder for chaining.

setSkaffoldConfigPathBytes(ByteString value)

public TargetArtifact.Builder setSkaffoldConfigPathBytes(ByteString value)

Output only. File path of the resolved Skaffold configuration relative to the URI.

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

Parameter
NameDescription
valueByteString

The bytes for skaffoldConfigPath to set.

Returns
TypeDescription
TargetArtifact.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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