Class ImageConfig.Builder (0.8.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImageConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ImageConfig.Builder
Overrides

build()

public ImageConfig build()
Returns
TypeDescription
ImageConfig

buildPartial()

public ImageConfig buildPartial()
Returns
TypeDescription
ImageConfig

clear()

public ImageConfig.Builder clear()
Returns
TypeDescription
ImageConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ImageConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ImageConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public ImageConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ImageConfig.Builder

This builder for chaining.

clone()

public ImageConfig.Builder clone()
Returns
TypeDescription
ImageConfig.Builder
Overrides

getDefaultInstanceForType()

public ImageConfig getDefaultInstanceForType()
Returns
TypeDescription
ImageConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for targetImage.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ImageConfig other)

public ImageConfig.Builder mergeFrom(ImageConfig other)
Parameter
NameDescription
otherImageConfig
Returns
TypeDescription
ImageConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImageConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImageConfig.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ImageConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ImageConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImageConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImageConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ImageConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ImageConfig.Builder
Overrides

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

public ImageConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The stableImage to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for stableImage to set.

Returns
TypeDescription
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
NameDescription
valueString

The targetImage to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for targetImage to set.

Returns
TypeDescription
ImageConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ImageConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ImageConfig.Builder
Overrides