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
Static Methods
getDefaultInstance()
public static DisplayDevice getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static DisplayDevice.Builder newBuilder()
Returns
newBuilder(DisplayDevice prototype)
public static DisplayDevice.Builder newBuilder(DisplayDevice prototype)
Parameter
Returns
public static DisplayDevice parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static DisplayDevice parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static DisplayDevice parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DisplayDevice parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static DisplayDevice parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DisplayDevice parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DisplayDevice parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static DisplayDevice parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DisplayDevice parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static DisplayDevice parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static DisplayDevice parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DisplayDevice parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<DisplayDevice> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public DisplayDevice getDefaultInstanceForType()
Returns
getEnableDisplay()
public boolean getEnableDisplay()
Defines whether the instance has Display enabled.
optional bool enable_display = 14266886;
Returns
Type | Description |
boolean | The enableDisplay.
|
getParserForType()
public Parser<DisplayDevice> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasEnableDisplay()
public boolean hasEnableDisplay()
Defines whether the instance has Display enabled.
optional bool enable_display = 14266886;
Returns
Type | Description |
boolean | Whether the enableDisplay field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public DisplayDevice.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DisplayDevice.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public DisplayDevice.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions