public final class TargetArtifact extends GeneratedMessageV3 implements TargetArtifactOrBuilder
The artifacts produced by a target render operation.
Protobuf type google.cloud.deploy.v1.TargetArtifact
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
ARTIFACT_URI_FIELD_NUMBER
public static final int ARTIFACT_URI_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
MANIFEST_PATH_FIELD_NUMBER
public static final int MANIFEST_PATH_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PHASE_ARTIFACTS_FIELD_NUMBER
public static final int PHASE_ARTIFACTS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SKAFFOLD_CONFIG_PATH_FIELD_NUMBER
public static final int SKAFFOLD_CONFIG_PATH_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static TargetArtifact getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static TargetArtifact.Builder newBuilder()
newBuilder(TargetArtifact prototype)
public static TargetArtifact.Builder newBuilder(TargetArtifact prototype)
public static TargetArtifact parseDelimitedFrom(InputStream input)
public static TargetArtifact parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static TargetArtifact parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TargetArtifact parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static TargetArtifact parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TargetArtifact parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TargetArtifact parseFrom(CodedInputStream input)
public static TargetArtifact parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TargetArtifact parseFrom(InputStream input)
public static TargetArtifact parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static TargetArtifact parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TargetArtifact parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<TargetArtifact> parser()
Methods
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
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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 |
---|
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()
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 |
---|
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
ByteString | The bytes for manifestPath.
|
getParserForType()
public Parser<TargetArtifact> getParserForType()
Overrides
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.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];
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];
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
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
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 |
---|
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
boolean | Whether the artifactUri field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public TargetArtifact.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TargetArtifact.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public TargetArtifact.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides