Class ImageFamilyView.Builder (1.93.0)

public static final class ImageFamilyView.Builder extends GeneratedMessage.Builder<ImageFamilyView.Builder> implements ImageFamilyViewOrBuilder

Protobuf type google.cloud.compute.v1.ImageFamilyView

Static Methods

getDescriptor()

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

Methods

build()

public ImageFamilyView build()
Returns
Type Description
ImageFamilyView

buildPartial()

public ImageFamilyView buildPartial()
Returns
Type Description
ImageFamilyView

clear()

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

clearImage()

public ImageFamilyView.Builder clearImage()

The latest image that is part of the specified image family in the requested location, and that is not deprecated.

optional .google.cloud.compute.v1.Image image = 100313435;

Returns
Type Description
ImageFamilyView.Builder

getDefaultInstanceForType()

public ImageFamilyView getDefaultInstanceForType()
Returns
Type Description
ImageFamilyView

getDescriptorForType()

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

getImage()

public Image getImage()

The latest image that is part of the specified image family in the requested location, and that is not deprecated.

optional .google.cloud.compute.v1.Image image = 100313435;

Returns
Type Description
Image

The image.

getImageBuilder()

public Image.Builder getImageBuilder()

The latest image that is part of the specified image family in the requested location, and that is not deprecated.

optional .google.cloud.compute.v1.Image image = 100313435;

Returns
Type Description
Image.Builder

getImageOrBuilder()

public ImageOrBuilder getImageOrBuilder()

The latest image that is part of the specified image family in the requested location, and that is not deprecated.

optional .google.cloud.compute.v1.Image image = 100313435;

Returns
Type Description
ImageOrBuilder

hasImage()

public boolean hasImage()

The latest image that is part of the specified image family in the requested location, and that is not deprecated.

optional .google.cloud.compute.v1.Image image = 100313435;

Returns
Type Description
boolean

Whether the image field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImageFamilyView other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeImage(Image value)

public ImageFamilyView.Builder mergeImage(Image value)

The latest image that is part of the specified image family in the requested location, and that is not deprecated.

optional .google.cloud.compute.v1.Image image = 100313435;

Parameter
Name Description
value Image
Returns
Type Description
ImageFamilyView.Builder

setImage(Image value)

public ImageFamilyView.Builder setImage(Image value)

The latest image that is part of the specified image family in the requested location, and that is not deprecated.

optional .google.cloud.compute.v1.Image image = 100313435;

Parameter
Name Description
value Image
Returns
Type Description
ImageFamilyView.Builder

setImage(Image.Builder builderForValue)

public ImageFamilyView.Builder setImage(Image.Builder builderForValue)

The latest image that is part of the specified image family in the requested location, and that is not deprecated.

optional .google.cloud.compute.v1.Image image = 100313435;

Parameter
Name Description
builderForValue Image.Builder
Returns
Type Description
ImageFamilyView.Builder