Class ImageFamilyView (1.64.0)

public final class ImageFamilyView extends GeneratedMessageV3 implements ImageFamilyViewOrBuilder

Protobuf type google.cloud.compute.v1.ImageFamilyView

Static Fields

IMAGE_FIELD_NUMBER

public static final int IMAGE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ImageFamilyView getDefaultInstance()
Returns
Type Description
ImageFamilyView

getDescriptor()

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

newBuilder()

public static ImageFamilyView.Builder newBuilder()
Returns
Type Description
ImageFamilyView.Builder

newBuilder(ImageFamilyView prototype)

public static ImageFamilyView.Builder newBuilder(ImageFamilyView prototype)
Parameter
Name Description
prototype ImageFamilyView
Returns
Type Description
ImageFamilyView.Builder

parseDelimitedFrom(InputStream input)

public static ImageFamilyView parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImageFamilyView
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImageFamilyView parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImageFamilyView
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ImageFamilyView parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ImageFamilyView
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImageFamilyView parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImageFamilyView
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImageFamilyView parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ImageFamilyView
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImageFamilyView parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImageFamilyView
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImageFamilyView parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ImageFamilyView
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImageFamilyView parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImageFamilyView
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ImageFamilyView parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImageFamilyView
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImageFamilyView parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImageFamilyView
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ImageFamilyView parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ImageFamilyView
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImageFamilyView parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImageFamilyView
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ImageFamilyView> parser()
Returns
Type Description
Parser<ImageFamilyView>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ImageFamilyView getDefaultInstanceForType()
Returns
Type Description
ImageFamilyView

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.

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

getParserForType()

public Parser<ImageFamilyView> getParserForType()
Returns
Type Description
Parser<ImageFamilyView>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ImageFamilyView.Builder newBuilderForType()
Returns
Type Description
ImageFamilyView.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImageFamilyView.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ImageFamilyView.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ImageFamilyView.Builder toBuilder()
Returns
Type Description
ImageFamilyView.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException