public static final class BuildArtifact.Builder extends GeneratedMessageV3.Builder<BuildArtifact.Builder> implements BuildArtifactOrBuilder
Description of an a image to use during Skaffold rendering.
Protobuf type google.cloud.deploy.v1.BuildArtifact
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BuildArtifact.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public BuildArtifact build()
Returns
buildPartial()
public BuildArtifact buildPartial()
Returns
clear()
public BuildArtifact.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public BuildArtifact.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearImage()
public BuildArtifact.Builder clearImage()
Image name in Skaffold configuration.
string image = 3;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public BuildArtifact.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearTag()
public BuildArtifact.Builder clearTag()
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
clone()
public BuildArtifact.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public BuildArtifact getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getImage()
Image name in Skaffold configuration.
string image = 3;
Returns
Type | Description |
String | The image.
|
getImageBytes()
public ByteString getImageBytes()
Image name in Skaffold configuration.
string image = 3;
Returns
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
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(BuildArtifact other)
public BuildArtifact.Builder mergeFrom(BuildArtifact other)
Parameter
Returns
public BuildArtifact.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public BuildArtifact.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BuildArtifact.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public BuildArtifact.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setImage(String value)
public BuildArtifact.Builder setImage(String value)
Image name in Skaffold configuration.
string image = 3;
Parameter
Name | Description |
value | String
The image to set.
|
Returns
setImageBytes(ByteString value)
public BuildArtifact.Builder setImageBytes(ByteString value)
Image name in Skaffold configuration.
string image = 3;
Parameter
Name | Description |
value | ByteString
The bytes for image to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BuildArtifact.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setTag(String value)
public BuildArtifact.Builder setTag(String value)
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;
Parameter
Name | Description |
value | String
The tag to set.
|
Returns
setTagBytes(ByteString value)
public BuildArtifact.Builder setTagBytes(ByteString value)
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;
Parameter
Name | Description |
value | ByteString
The bytes for tag to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final BuildArtifact.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides