public static final class ImageFamilyView.Builder extends GeneratedMessageV3.Builder<ImageFamilyView.Builder> implements ImageFamilyViewOrBuilder
Protobuf type google.cloud.compute.v1.ImageFamilyView
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImageFamilyView.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ImageFamilyView build()
Returns
buildPartial()
public ImageFamilyView buildPartial()
Returns
clear()
public ImageFamilyView.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ImageFamilyView.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ImageFamilyView.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ImageFamilyView.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ImageFamilyView getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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;
Returns
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ImageFamilyView other)
public ImageFamilyView.Builder mergeFrom(ImageFamilyView other)
Parameter
Returns
public ImageFamilyView.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ImageFamilyView.Builder mergeFrom(Message other)
Parameter
Returns
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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImageFamilyView.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ImageFamilyView.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImageFamilyView.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ImageFamilyView.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides