Class ImageFamilyView.Builder (1.55.0)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public ImageFamilyView.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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

clearOneof(Descriptors.OneofDescriptor oneof)

public ImageFamilyView.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ImageFamilyView.Builder
Overrides

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

public ImageFamilyView.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ImageFamilyView.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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