Class ImageConfig.Builder (0.83.0)

public static final class ImageConfig.Builder extends GeneratedMessage.Builder<ImageConfig.Builder> implements ImageConfigOrBuilder

ImageConfig defines the control plane images to run.

Protobuf type google.cloud.beyondcorp.appconnectors.v1.ImageConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public ImageConfig build()
Returns
Type Description
ImageConfig

buildPartial()

public ImageConfig buildPartial()
Returns
Type Description
ImageConfig

clear()

public ImageConfig.Builder clear()
Returns
Type Description
ImageConfig.Builder
Overrides

clearStableImage()

public ImageConfig.Builder clearStableImage()

The stable image that the remote agent will fallback to if the target image fails.

string stable_image = 2;

Returns
Type Description
ImageConfig.Builder

This builder for chaining.

clearTargetImage()

public ImageConfig.Builder clearTargetImage()

The initial image the remote agent will attempt to run for the control plane.

string target_image = 1;

Returns
Type Description
ImageConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public ImageConfig getDefaultInstanceForType()
Returns
Type Description
ImageConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getStableImage()

public String getStableImage()

The stable image that the remote agent will fallback to if the target image fails.

string stable_image = 2;

Returns
Type Description
String

The stableImage.

getStableImageBytes()

public ByteString getStableImageBytes()

The stable image that the remote agent will fallback to if the target image fails.

string stable_image = 2;

Returns
Type Description
ByteString

The bytes for stableImage.

getTargetImage()

public String getTargetImage()

The initial image the remote agent will attempt to run for the control plane.

string target_image = 1;

Returns
Type Description
String

The targetImage.

getTargetImageBytes()

public ByteString getTargetImageBytes()

The initial image the remote agent will attempt to run for the control plane.

string target_image = 1;

Returns
Type Description
ByteString

The bytes for targetImage.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImageConfig other)

public ImageConfig.Builder mergeFrom(ImageConfig other)
Parameter
Name Description
other ImageConfig
Returns
Type Description
ImageConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImageConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImageConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ImageConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ImageConfig.Builder
Overrides

setStableImage(String value)

public ImageConfig.Builder setStableImage(String value)

The stable image that the remote agent will fallback to if the target image fails.

string stable_image = 2;

Parameter
Name Description
value String

The stableImage to set.

Returns
Type Description
ImageConfig.Builder

This builder for chaining.

setStableImageBytes(ByteString value)

public ImageConfig.Builder setStableImageBytes(ByteString value)

The stable image that the remote agent will fallback to if the target image fails.

string stable_image = 2;

Parameter
Name Description
value ByteString

The bytes for stableImage to set.

Returns
Type Description
ImageConfig.Builder

This builder for chaining.

setTargetImage(String value)

public ImageConfig.Builder setTargetImage(String value)

The initial image the remote agent will attempt to run for the control plane.

string target_image = 1;

Parameter
Name Description
value String

The targetImage to set.

Returns
Type Description
ImageConfig.Builder

This builder for chaining.

setTargetImageBytes(ByteString value)

public ImageConfig.Builder setTargetImageBytes(ByteString value)

The initial image the remote agent will attempt to run for the control plane.

string target_image = 1;

Parameter
Name Description
value ByteString

The bytes for targetImage to set.

Returns
Type Description
ImageConfig.Builder

This builder for chaining.