Class ImageConfig.Builder (0.53.0)

public static final class ImageConfig.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImageConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImageConfig.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public ImageConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ImageConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ImageConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImageConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImageConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ImageConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImageConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ImageConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
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.

setUnknownFields(UnknownFieldSet unknownFields)

public final ImageConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImageConfig.Builder
Overrides