Class ImageFamilyView.Builder (1.93.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static final class ImageFamilyView.Builder extends GeneratedMessage.Builder<ImageFamilyView.Builder> implements ImageFamilyViewOrBuilder
Protobuf type google.cloud.compute.v1.ImageFamilyView
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public ImageFamilyView build()
buildPartial()
public ImageFamilyView buildPartial()
clear()
public ImageFamilyView.Builder clear()
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;
getDefaultInstanceForType()
public ImageFamilyView getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ImageFamilyView other)
public ImageFamilyView.Builder mergeFrom(ImageFamilyView other)
public ImageFamilyView.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ImageFamilyView.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
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
|
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
|
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;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-06-19 UTC.
[null,null,["Last updated 2026-06-19 UTC."],[],[]]