Package com.google.cloud.deploy.v1
Class TargetArtifact
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.deploy.v1.TargetArtifact
-
- All Implemented Interfaces:
TargetArtifactOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class TargetArtifact extends com.google.protobuf.GeneratedMessageV3 implements TargetArtifactOrBuilder
The artifacts produced by a target render operation.
Protobuf typegoogle.cloud.deploy.v1.TargetArtifact
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TargetArtifact.Builder
The artifacts produced by a target render operation.static class
TargetArtifact.PhaseArtifact
Contains the paths to the artifacts, relative to the URI, for a phase.static interface
TargetArtifact.PhaseArtifactOrBuilder
static class
TargetArtifact.UriCase
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ARTIFACT_URI_FIELD_NUMBER
static int
MANIFEST_PATH_FIELD_NUMBER
static int
PHASE_ARTIFACTS_FIELD_NUMBER
static int
SKAFFOLD_CONFIG_PATH_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsPhaseArtifacts(String key)
Output only.boolean
equals(Object obj)
String
getArtifactUri()
Output only.com.google.protobuf.ByteString
getArtifactUriBytes()
Output only.static TargetArtifact
getDefaultInstance()
TargetArtifact
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getManifestPath()
Output only.com.google.protobuf.ByteString
getManifestPathBytes()
Output only.com.google.protobuf.Parser<TargetArtifact>
getParserForType()
Map<String,TargetArtifact.PhaseArtifact>
getPhaseArtifacts()
Deprecated.int
getPhaseArtifactsCount()
Output only.Map<String,TargetArtifact.PhaseArtifact>
getPhaseArtifactsMap()
Output only.TargetArtifact.PhaseArtifact
getPhaseArtifactsOrDefault(String key, TargetArtifact.PhaseArtifact defaultValue)
Output only.TargetArtifact.PhaseArtifact
getPhaseArtifactsOrThrow(String key)
Output only.int
getSerializedSize()
String
getSkaffoldConfigPath()
Output only.com.google.protobuf.ByteString
getSkaffoldConfigPathBytes()
Output only.TargetArtifact.UriCase
getUriCase()
boolean
hasArtifactUri()
Output only.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static TargetArtifact.Builder
newBuilder()
static TargetArtifact.Builder
newBuilder(TargetArtifact prototype)
TargetArtifact.Builder
newBuilderForType()
protected TargetArtifact.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static TargetArtifact
parseDelimitedFrom(InputStream input)
static TargetArtifact
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TargetArtifact
parseFrom(byte[] data)
static TargetArtifact
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TargetArtifact
parseFrom(com.google.protobuf.ByteString data)
static TargetArtifact
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TargetArtifact
parseFrom(com.google.protobuf.CodedInputStream input)
static TargetArtifact
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TargetArtifact
parseFrom(InputStream input)
static TargetArtifact
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TargetArtifact
parseFrom(ByteBuffer data)
static TargetArtifact
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<TargetArtifact>
parser()
TargetArtifact.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ARTIFACT_URI_FIELD_NUMBER
public static final int ARTIFACT_URI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SKAFFOLD_CONFIG_PATH_FIELD_NUMBER
public static final int SKAFFOLD_CONFIG_PATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MANIFEST_PATH_FIELD_NUMBER
public static final int MANIFEST_PATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PHASE_ARTIFACTS_FIELD_NUMBER
public static final int PHASE_ARTIFACTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getUriCase
public TargetArtifact.UriCase getUriCase()
- Specified by:
getUriCase
in interfaceTargetArtifactOrBuilder
-
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];
- Specified by:
hasArtifactUri
in interfaceTargetArtifactOrBuilder
- Returns:
- Whether the artifactUri field is set.
-
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];
- Specified by:
getArtifactUri
in interfaceTargetArtifactOrBuilder
- Returns:
- The artifactUri.
-
getArtifactUriBytes
public com.google.protobuf.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];
- Specified by:
getArtifactUriBytes
in interfaceTargetArtifactOrBuilder
- Returns:
- The bytes for artifactUri.
-
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];
- Specified by:
getSkaffoldConfigPath
in interfaceTargetArtifactOrBuilder
- Returns:
- The skaffoldConfigPath.
-
getSkaffoldConfigPathBytes
public com.google.protobuf.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];
- Specified by:
getSkaffoldConfigPathBytes
in interfaceTargetArtifactOrBuilder
- Returns:
- The bytes for skaffoldConfigPath.
-
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];
- Specified by:
getManifestPath
in interfaceTargetArtifactOrBuilder
- Returns:
- The manifestPath.
-
getManifestPathBytes
public com.google.protobuf.ByteString getManifestPathBytes()
Output only. File path of the rendered manifest relative to the URI.
string manifest_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getManifestPathBytes
in interfaceTargetArtifactOrBuilder
- Returns:
- The bytes for manifestPath.
-
getPhaseArtifactsCount
public int getPhaseArtifactsCount()
Description copied from interface:TargetArtifactOrBuilder
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];
- Specified by:
getPhaseArtifactsCount
in interfaceTargetArtifactOrBuilder
-
containsPhaseArtifacts
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];
- Specified by:
containsPhaseArtifacts
in interfaceTargetArtifactOrBuilder
-
getPhaseArtifacts
@Deprecated public Map<String,TargetArtifact.PhaseArtifact> getPhaseArtifacts()
Deprecated.UsegetPhaseArtifactsMap()
instead.- Specified by:
getPhaseArtifacts
in interfaceTargetArtifactOrBuilder
-
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];
- Specified by:
getPhaseArtifactsMap
in interfaceTargetArtifactOrBuilder
-
getPhaseArtifactsOrDefault
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];
- Specified by:
getPhaseArtifactsOrDefault
in interfaceTargetArtifactOrBuilder
-
getPhaseArtifactsOrThrow
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];
- Specified by:
getPhaseArtifactsOrThrow
in interfaceTargetArtifactOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static TargetArtifact parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TargetArtifact parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TargetArtifact parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TargetArtifact parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TargetArtifact parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TargetArtifact parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TargetArtifact parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TargetArtifact parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TargetArtifact parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TargetArtifact parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static TargetArtifact parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TargetArtifact parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public TargetArtifact.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static TargetArtifact.Builder newBuilder()
-
newBuilder
public static TargetArtifact.Builder newBuilder(TargetArtifact prototype)
-
toBuilder
public TargetArtifact.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TargetArtifact.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static TargetArtifact getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<TargetArtifact> parser()
-
getParserForType
public com.google.protobuf.Parser<TargetArtifact> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public TargetArtifact getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-