Class BuildArtifact (1.1.4)

public final class BuildArtifact extends GeneratedMessageV3 implements BuildArtifactOrBuilder

Description of an a image to use during Skaffold rendering.

Protobuf type google.cloud.deploy.v1.BuildArtifact

Static Fields

IMAGE_FIELD_NUMBER

public static final int IMAGE_FIELD_NUMBER
Field Value
TypeDescription
int

TAG_FIELD_NUMBER

public static final int TAG_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BuildArtifact getDefaultInstance()
Returns
TypeDescription
BuildArtifact

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static BuildArtifact.Builder newBuilder()
Returns
TypeDescription
BuildArtifact.Builder

newBuilder(BuildArtifact prototype)

public static BuildArtifact.Builder newBuilder(BuildArtifact prototype)
Parameter
NameDescription
prototypeBuildArtifact
Returns
TypeDescription
BuildArtifact.Builder

parseDelimitedFrom(InputStream input)

public static BuildArtifact parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BuildArtifact
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BuildArtifact parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BuildArtifact
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BuildArtifact parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BuildArtifact
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BuildArtifact parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BuildArtifact
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BuildArtifact parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BuildArtifact
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BuildArtifact parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BuildArtifact
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BuildArtifact parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BuildArtifact
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BuildArtifact parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BuildArtifact
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BuildArtifact parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BuildArtifact
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BuildArtifact parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BuildArtifact
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BuildArtifact parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BuildArtifact
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BuildArtifact parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BuildArtifact
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<BuildArtifact> parser()
Returns
TypeDescription
Parser<BuildArtifact>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public BuildArtifact getDefaultInstanceForType()
Returns
TypeDescription
BuildArtifact

getImage()

public String getImage()

Image name in Skaffold configuration.

string image = 3;

Returns
TypeDescription
String

The image.

getImageBytes()

public ByteString getImageBytes()

Image name in Skaffold configuration.

string image = 3;

Returns
TypeDescription
ByteString

The bytes for image.

getParserForType()

public Parser<BuildArtifact> getParserForType()
Returns
TypeDescription
Parser<BuildArtifact>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTag()

public String getTag()

Image tag to use. This will generally be the full path to an image, such as "gcr.io/my-project/busybox:1.2.3" or "gcr.io/my-project/busybox@sha256:abc123".

string tag = 2;

Returns
TypeDescription
String

The tag.

getTagBytes()

public ByteString getTagBytes()

Image tag to use. This will generally be the full path to an image, such as "gcr.io/my-project/busybox:1.2.3" or "gcr.io/my-project/busybox@sha256:abc123".

string tag = 2;

Returns
TypeDescription
ByteString

The bytes for tag.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public BuildArtifact.Builder newBuilderForType()
Returns
TypeDescription
BuildArtifact.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BuildArtifact.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BuildArtifact.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public BuildArtifact.Builder toBuilder()
Returns
TypeDescription
BuildArtifact.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException