Class ImageFamilyView.Builder (1.12.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImageFamilyView build()
Returns
TypeDescription
ImageFamilyView

buildPartial()

public ImageFamilyView buildPartial()
Returns
TypeDescription
ImageFamilyView

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ImageFamilyView.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ImageFamilyView.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ImageFamilyView.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ImageFamilyView.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public ImageFamilyView getDefaultInstanceForType()
Returns
TypeDescription
ImageFamilyView

getDescriptorForType()

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

Whether the image field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ImageFamilyView other)

public ImageFamilyView.Builder mergeFrom(ImageFamilyView other)
Parameter
NameDescription
otherImageFamilyView
Returns
TypeDescription
ImageFamilyView.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ImageFamilyView.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueImage
Returns
TypeDescription
ImageFamilyView.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public ImageFamilyView.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueImage
Returns
TypeDescription
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
NameDescription
builderForValueImage.Builder
Returns
TypeDescription
ImageFamilyView.Builder

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

public ImageFamilyView.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ImageFamilyView.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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