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.events.cloud.deploy.v1.BuildArtifact
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BuildArtifact.BuilderImplements
BuildArtifactOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BuildArtifact.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
BuildArtifact.Builder |
build()
public BuildArtifact build()
Returns | |
---|---|
Type | Description |
BuildArtifact |
buildPartial()
public BuildArtifact buildPartial()
Returns | |
---|---|
Type | Description |
BuildArtifact |
clear()
public BuildArtifact.Builder clear()
Returns | |
---|---|
Type | Description |
BuildArtifact.Builder |
clearField(Descriptors.FieldDescriptor field)
public BuildArtifact.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
BuildArtifact.Builder |
clearImage()
public BuildArtifact.Builder clearImage()
Image name in Skaffold configuration.
string image = 3;
Returns | |
---|---|
Type | Description |
BuildArtifact.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public BuildArtifact.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
BuildArtifact.Builder |
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 | |
---|---|
Type | Description |
BuildArtifact.Builder |
This builder for chaining. |
clone()
public BuildArtifact.Builder clone()
Returns | |
---|---|
Type | Description |
BuildArtifact.Builder |
getDefaultInstanceForType()
public BuildArtifact getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
BuildArtifact |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getImage()
public String 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()
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 | |
---|---|
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()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(BuildArtifact other)
public BuildArtifact.Builder mergeFrom(BuildArtifact other)
Parameter | |
---|---|
Name | Description |
other |
BuildArtifact |
Returns | |
---|---|
Type | Description |
BuildArtifact.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BuildArtifact.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
BuildArtifact.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public BuildArtifact.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
BuildArtifact.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BuildArtifact.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BuildArtifact.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public BuildArtifact.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
BuildArtifact.Builder |
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 | |
---|---|
Type | Description |
BuildArtifact.Builder |
This builder for chaining. |
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 | |
---|---|
Type | Description |
BuildArtifact.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BuildArtifact.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
BuildArtifact.Builder |
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 | |
---|---|
Type | Description |
BuildArtifact.Builder |
This builder for chaining. |
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 | |
---|---|
Type | Description |
BuildArtifact.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final BuildArtifact.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BuildArtifact.Builder |