public static final class TargetArtifact.Builder extends GeneratedMessageV3.Builder<TargetArtifact.Builder> implements TargetArtifactOrBuilder
The artifacts produced by a target render operation.
Protobuf type google.events.cloud.deploy.v1.TargetArtifact
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TargetArtifact.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public TargetArtifact build()
buildPartial()
public TargetArtifact buildPartial()
clear()
public TargetArtifact.Builder clear()
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;
clearField(Descriptors.FieldDescriptor field)
public TargetArtifact.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearManifestPath()
public TargetArtifact.Builder clearManifestPath()
Output only. File path of the rendered manifest relative to the URI.
string manifest_path = 3;
clearOneof(Descriptors.OneofDescriptor oneof)
public TargetArtifact.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPhaseArtifacts()
public TargetArtifact.Builder clearPhaseArtifacts()
clearSkaffoldConfigPath()
public TargetArtifact.Builder clearSkaffoldConfigPath()
Output only. File path of the resolved Skaffold configuration relative to
the URI.
string skaffold_config_path = 2;
clearUri()
public TargetArtifact.Builder clearUri()
clone()
public TargetArtifact.Builder clone()
Overrides
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.events.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5;
Parameter |
Name |
Description |
key |
String
|
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;
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;
Returns |
Type |
Description |
ByteString |
The bytes for artifactUri.
|
getDefaultInstanceForType()
public TargetArtifact getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getManifestPath()
public String getManifestPath()
Output only. File path of the rendered manifest relative to the URI.
string manifest_path = 3;
Returns |
Type |
Description |
String |
The manifestPath.
|
getManifestPathBytes()
public ByteString getManifestPathBytes()
Output only. File path of the rendered manifest relative to the URI.
string manifest_path = 3;
Returns |
Type |
Description |
ByteString |
The bytes for manifestPath.
|
getMutablePhaseArtifacts()
public Map<String,TargetArtifact.PhaseArtifact> getMutablePhaseArtifacts()
Use alternate mutation accessors instead.
getPhaseArtifacts()
public Map<String,TargetArtifact.PhaseArtifact> getPhaseArtifacts()
getPhaseArtifactsCount()
public int getPhaseArtifactsCount()
Output only. Map from the phase ID to the phase artifacts for the Target
.
map<string, .google.events.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5;
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.events.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5;
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.events.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5;
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.events.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5;
Parameter |
Name |
Description |
key |
String
|
getSkaffoldConfigPath()
public String getSkaffoldConfigPath()
Output only. File path of the resolved Skaffold configuration relative to
the URI.
string skaffold_config_path = 2;
Returns |
Type |
Description |
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;
Returns |
Type |
Description |
ByteString |
The bytes for skaffoldConfigPath.
|
getUriCase()
public TargetArtifact.UriCase getUriCase()
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;
Returns |
Type |
Description |
boolean |
Whether the artifactUri field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
Name |
Description |
number |
int
|
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter |
Name |
Description |
number |
int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(TargetArtifact other)
public TargetArtifact.Builder mergeFrom(TargetArtifact other)
public TargetArtifact.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TargetArtifact.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TargetArtifact.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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.events.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5;
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.events.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5;
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.events.cloud.deploy.v1.TargetArtifact.PhaseArtifact> phase_artifacts = 5;
Parameter |
Name |
Description |
key |
String
|
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;
Parameter |
Name |
Description |
value |
String
The artifactUri to set.
|
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;
Parameter |
Name |
Description |
value |
ByteString
The bytes for artifactUri to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public TargetArtifact.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
Parameter |
Name |
Description |
value |
String
The manifestPath to set.
|
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;
Parameter |
Name |
Description |
value |
ByteString
The bytes for manifestPath to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TargetArtifact.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
Parameter |
Name |
Description |
value |
String
The skaffoldConfigPath to set.
|
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;
Parameter |
Name |
Description |
value |
ByteString
The bytes for skaffoldConfigPath to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final TargetArtifact.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides