Class ImageFamilyView (1.23.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static ImageFamilyView getDefaultInstance()
Returns
TypeDescription
ImageFamilyView

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ImageFamilyView.Builder newBuilder()
Returns
TypeDescription
ImageFamilyView.Builder

newBuilder(ImageFamilyView prototype)

public static ImageFamilyView.Builder newBuilder(ImageFamilyView prototype)
Parameter
NameDescription
prototypeImageFamilyView
Returns
TypeDescription
ImageFamilyView.Builder

parseDelimitedFrom(InputStream input)

public static ImageFamilyView parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImageFamilyView
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImageFamilyView parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImageFamilyView
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ImageFamilyView parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ImageFamilyView
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImageFamilyView parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImageFamilyView
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImageFamilyView parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ImageFamilyView
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImageFamilyView parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImageFamilyView
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImageFamilyView parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ImageFamilyView
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImageFamilyView parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImageFamilyView
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ImageFamilyView parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImageFamilyView
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImageFamilyView parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImageFamilyView
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ImageFamilyView parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ImageFamilyView
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImageFamilyView parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImageFamilyView
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ImageFamilyView> parser()
Returns
TypeDescription
Parser<ImageFamilyView>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ImageFamilyView getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ImageOrBuilder

getParserForType()

public Parser<ImageFamilyView> getParserForType()
Returns
TypeDescription
Parser<ImageFamilyView>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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
TypeDescription
boolean

Whether the image field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ImageFamilyView.Builder newBuilderForType()
Returns
TypeDescription
ImageFamilyView.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImageFamilyView.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ImageFamilyView.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ImageFamilyView.Builder toBuilder()
Returns
TypeDescription
ImageFamilyView.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException