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 classTargetArtifact.BuilderThe artifacts produced by a target render operation.static classTargetArtifact.PhaseArtifactContains the paths to the artifacts, relative to the URI, for a phase.static interfaceTargetArtifact.PhaseArtifactOrBuilderstatic classTargetArtifact.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 intARTIFACT_URI_FIELD_NUMBERstatic intMANIFEST_PATH_FIELD_NUMBERstatic intPHASE_ARTIFACTS_FIELD_NUMBERstatic intSKAFFOLD_CONFIG_PATH_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsPhaseArtifacts(String key)Output only.booleanequals(Object obj)StringgetArtifactUri()Output only.com.google.protobuf.ByteStringgetArtifactUriBytes()Output only.static TargetArtifactgetDefaultInstance()TargetArtifactgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetManifestPath()Output only.com.google.protobuf.ByteStringgetManifestPathBytes()Output only.com.google.protobuf.Parser<TargetArtifact>getParserForType()Map<String,TargetArtifact.PhaseArtifact>getPhaseArtifacts()Deprecated.intgetPhaseArtifactsCount()Output only.Map<String,TargetArtifact.PhaseArtifact>getPhaseArtifactsMap()Output only.TargetArtifact.PhaseArtifactgetPhaseArtifactsOrDefault(String key, TargetArtifact.PhaseArtifact defaultValue)Output only.TargetArtifact.PhaseArtifactgetPhaseArtifactsOrThrow(String key)Output only.intgetSerializedSize()StringgetSkaffoldConfigPath()Output only.com.google.protobuf.ByteStringgetSkaffoldConfigPathBytes()Output only.TargetArtifact.UriCasegetUriCase()booleanhasArtifactUri()Output only.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static TargetArtifact.BuildernewBuilder()static TargetArtifact.BuildernewBuilder(TargetArtifact prototype)TargetArtifact.BuildernewBuilderForType()protected TargetArtifact.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static TargetArtifactparseDelimitedFrom(InputStream input)static TargetArtifactparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TargetArtifactparseFrom(byte[] data)static TargetArtifactparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TargetArtifactparseFrom(com.google.protobuf.ByteString data)static TargetArtifactparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TargetArtifactparseFrom(com.google.protobuf.CodedInputStream input)static TargetArtifactparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TargetArtifactparseFrom(InputStream input)static TargetArtifactparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TargetArtifactparseFrom(ByteBuffer data)static TargetArtifactparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<TargetArtifact>parser()TargetArtifact.BuildertoBuilder()voidwriteTo(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:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getUriCase
public TargetArtifact.UriCase getUriCase()
- Specified by:
getUriCasein 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:
hasArtifactUriin 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:
getArtifactUriin 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:
getArtifactUriBytesin 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:
getSkaffoldConfigPathin 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:
getSkaffoldConfigPathBytesin 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:
getManifestPathin 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:
getManifestPathBytesin interfaceTargetArtifactOrBuilder- Returns:
- The bytes for manifestPath.
-
getPhaseArtifactsCount
public int getPhaseArtifactsCount()
Description copied from interface:TargetArtifactOrBuilderOutput 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:
getPhaseArtifactsCountin 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:
containsPhaseArtifactsin interfaceTargetArtifactOrBuilder
-
getPhaseArtifacts
@Deprecated public Map<String,TargetArtifact.PhaseArtifact> getPhaseArtifacts()
Deprecated.UsegetPhaseArtifactsMap()instead.- Specified by:
getPhaseArtifactsin 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:
getPhaseArtifactsMapin 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:
getPhaseArtifactsOrDefaultin 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:
getPhaseArtifactsOrThrowin interfaceTargetArtifactOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein 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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TargetArtifact.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein 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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public TargetArtifact getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-