Class DisplayDevice (1.43.0)

public final class DisplayDevice extends GeneratedMessageV3 implements DisplayDeviceOrBuilder

A set of Display Device options

Protobuf type google.cloud.compute.v1.DisplayDevice

Static Fields

ENABLE_DISPLAY_FIELD_NUMBER

public static final int ENABLE_DISPLAY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DisplayDevice getDefaultInstance()
Returns
TypeDescription
DisplayDevice

getDescriptor()

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

newBuilder()

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

newBuilder(DisplayDevice prototype)

public static DisplayDevice.Builder newBuilder(DisplayDevice prototype)
Parameter
NameDescription
prototypeDisplayDevice
Returns
TypeDescription
DisplayDevice.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public DisplayDevice getDefaultInstanceForType()
Returns
TypeDescription
DisplayDevice

getEnableDisplay()

public boolean getEnableDisplay()

Defines whether the instance has Display enabled.

optional bool enable_display = 14266886;

Returns
TypeDescription
boolean

The enableDisplay.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasEnableDisplay()

public boolean hasEnableDisplay()

Defines whether the instance has Display enabled.

optional bool enable_display = 14266886;

Returns
TypeDescription
boolean

Whether the enableDisplay 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 DisplayDevice.Builder newBuilderForType()
Returns
TypeDescription
DisplayDevice.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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