public static final class TargetArtifact.Builder extends GeneratedMessage.Builder<TargetArtifact.Builder> implements TargetArtifactOrBuilderThe artifacts produced by a target render operation.
Protobuf type google.cloud.deploy.v1.TargetArtifact
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > TargetArtifact.BuilderImplements
TargetArtifactOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public TargetArtifact build()| Returns | |
|---|---|
| Type | Description |
TargetArtifact |
|
buildPartial()
public TargetArtifact buildPartial()| Returns | |
|---|---|
| Type | Description |
TargetArtifact |
|
clear()
public TargetArtifact.Builder clear()| Returns | |
|---|---|
| Type | Description |
TargetArtifact.Builder |
|
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 | |
|---|---|
| Type | Description |
TargetArtifact.Builder |
This builder for chaining. |
clearManifestPath()
public TargetArtifact.Builder clearManifestPath()Output only. File path of the rendered manifest relative to the URI for the stable phase.
string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TargetArtifact.Builder |
This builder for chaining. |
clearPhaseArtifacts()
public TargetArtifact.Builder clearPhaseArtifacts()| Returns | |
|---|---|
| Type | Description |
TargetArtifact.Builder |
|
clearSkaffoldConfigPath()
public TargetArtifact.Builder clearSkaffoldConfigPath()Output only. File path of the resolved Skaffold configuration for the stable phase, relative to the URI.
string skaffold_config_path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
TargetArtifact.Builder |
This builder for chaining. |
clearUri()
public TargetArtifact.Builder clearUri()| Returns | |
|---|---|
| Type | Description |
TargetArtifact.Builder |
|
containsPhaseArtifacts(String key)
public boolean containsPhaseArtifacts(String key) Output only. Map from the phase ID to the phase artifacts for the Target.
map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for artifactUri. |
getDefaultInstanceForType()
public TargetArtifact getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
TargetArtifact |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getManifestPath()
public String getManifestPath()Output only. File path of the rendered manifest relative to the URI for the stable phase.
string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The manifestPath. |
getManifestPathBytes()
public ByteString getManifestPathBytes()Output only. File path of the rendered manifest relative to the URI for the stable phase.
string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for manifestPath. |
getMutablePhaseArtifacts() (deprecated)
public Map<String,TargetArtifact.PhaseArtifact> getMutablePhaseArtifacts()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,PhaseArtifact> |
|
getPhaseArtifacts() (deprecated)
public Map<String,TargetArtifact.PhaseArtifact> getPhaseArtifacts()Use #getPhaseArtifactsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,PhaseArtifact> |
|
getPhaseArtifactsCount()
public int getPhaseArtifactsCount() Output only. Map from the phase ID to the phase artifacts for the Target.
map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
|
getPhaseArtifactsMap()
public Map<String,TargetArtifact.PhaseArtifact> getPhaseArtifactsMap() Output only. Map from the phase ID to the phase artifacts for the Target.
map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Map<String,PhaseArtifact> |
|
getPhaseArtifactsOrDefault(String key, TargetArtifact.PhaseArtifact defaultValue)
public TargetArtifact.PhaseArtifact getPhaseArtifactsOrDefault(String key, TargetArtifact.PhaseArtifact defaultValue) Output only. Map from the phase ID to the phase artifacts for the Target.
map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
TargetArtifact.PhaseArtifact |
| Returns | |
|---|---|
| Type | Description |
TargetArtifact.PhaseArtifact |
|
getPhaseArtifactsOrThrow(String key)
public TargetArtifact.PhaseArtifact getPhaseArtifactsOrThrow(String key) Output only. Map from the phase ID to the phase artifacts for the Target.
map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
TargetArtifact.PhaseArtifact |
|
getSkaffoldConfigPath()
public String getSkaffoldConfigPath()Output only. File path of the resolved Skaffold configuration for the stable phase, relative to the URI.
string skaffold_config_path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The skaffoldConfigPath. |
getSkaffoldConfigPathBytes()
public ByteString getSkaffoldConfigPathBytes()Output only. File path of the resolved Skaffold configuration for the stable phase, relative to the URI.
string skaffold_config_path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for skaffoldConfigPath. |
getUriCase()
public TargetArtifact.UriCase getUriCase()| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
boolean |
Whether the artifactUri field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(TargetArtifact other)
public TargetArtifact.Builder mergeFrom(TargetArtifact other)| Parameter | |
|---|---|
| Name | Description |
other |
TargetArtifact |
| Returns | |
|---|---|
| Type | Description |
TargetArtifact.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TargetArtifact.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TargetArtifact.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public TargetArtifact.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
TargetArtifact.Builder |
|
putAllPhaseArtifacts(Map<String,TargetArtifact.PhaseArtifact> values)
public TargetArtifact.Builder putAllPhaseArtifacts(Map<String,TargetArtifact.PhaseArtifact> values) Output only. Map from the phase ID to the phase artifacts for the Target.
map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,PhaseArtifact> |
| Returns | |
|---|---|
| Type | Description |
TargetArtifact.Builder |
|
putPhaseArtifacts(String key, TargetArtifact.PhaseArtifact value)
public TargetArtifact.Builder putPhaseArtifacts(String key, TargetArtifact.PhaseArtifact value) Output only. Map from the phase ID to the phase artifacts for the Target.
map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
TargetArtifact.PhaseArtifact |
| Returns | |
|---|---|
| Type | Description |
TargetArtifact.Builder |
|
putPhaseArtifactsBuilderIfAbsent(String key)
public TargetArtifact.PhaseArtifact.Builder putPhaseArtifactsBuilderIfAbsent(String key) Output only. Map from the phase ID to the phase artifacts for the Target.
map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
TargetArtifact.PhaseArtifact.Builder |
|
removePhaseArtifacts(String key)
public TargetArtifact.Builder removePhaseArtifacts(String key) Output only. Map from the phase ID to the phase artifacts for the Target.
map<string, .google.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
TargetArtifact.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
StringThe artifactUri to set. |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for artifactUri to set. |
| Returns | |
|---|---|
| Type | Description |
TargetArtifact.Builder |
This builder for chaining. |
setManifestPath(String value)
public TargetArtifact.Builder setManifestPath(String value)Output only. File path of the rendered manifest relative to the URI for the stable phase.
string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe manifestPath to set. |
| Returns | |
|---|---|
| Type | Description |
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 for the stable phase.
string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for manifestPath to set. |
| Returns | |
|---|---|
| Type | Description |
TargetArtifact.Builder |
This builder for chaining. |
setSkaffoldConfigPath(String value)
public TargetArtifact.Builder setSkaffoldConfigPath(String value)Output only. File path of the resolved Skaffold configuration for the stable phase, relative to the URI.
string skaffold_config_path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe skaffoldConfigPath to set. |
| Returns | |
|---|---|
| Type | Description |
TargetArtifact.Builder |
This builder for chaining. |
setSkaffoldConfigPathBytes(ByteString value)
public TargetArtifact.Builder setSkaffoldConfigPathBytes(ByteString value)Output only. File path of the resolved Skaffold configuration for the stable phase, relative to the URI.
string skaffold_config_path = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for skaffoldConfigPath to set. |
| Returns | |
|---|---|
| Type | Description |
TargetArtifact.Builder |
This builder for chaining. |