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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BuildArtifact.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BuildArtifact build()
buildPartial()
public BuildArtifact buildPartial()
clear()
public BuildArtifact.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public BuildArtifact.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearImage()
public BuildArtifact.Builder clearImage()
Image name in Skaffold configuration.
string image = 3;
clearOneof(Descriptors.OneofDescriptor oneof)
public BuildArtifact.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public BuildArtifact.Builder clone()
Overrides
getDefaultInstanceForType()
public BuildArtifact getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
Type |
Description |
ByteString |
The bytes for image.
|
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 |
Type |
Description |
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 |
Type |
Description |
ByteString |
The bytes for tag.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BuildArtifact other)
public BuildArtifact.Builder mergeFrom(BuildArtifact other)
public BuildArtifact.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BuildArtifact.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BuildArtifact.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public BuildArtifact.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BuildArtifact.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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.
|
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.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final BuildArtifact.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides