public static final class DisplayDevice.Builder extends GeneratedMessageV3.Builder<DisplayDevice.Builder> implements DisplayDeviceOrBuilder
A set of Display Device options
Protobuf type google.cloud.backupdr.v1.DisplayDevice
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DisplayDevice.BuilderImplements
DisplayDeviceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DisplayDevice.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DisplayDevice.Builder |
build()
public DisplayDevice build()
Returns | |
---|---|
Type | Description |
DisplayDevice |
buildPartial()
public DisplayDevice buildPartial()
Returns | |
---|---|
Type | Description |
DisplayDevice |
clear()
public DisplayDevice.Builder clear()
Returns | |
---|---|
Type | Description |
DisplayDevice.Builder |
clearEnableDisplay()
public DisplayDevice.Builder clearEnableDisplay()
Optional. Enables display for the Compute Engine VM
optional bool enable_display = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
DisplayDevice.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DisplayDevice.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
DisplayDevice.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public DisplayDevice.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
DisplayDevice.Builder |
clone()
public DisplayDevice.Builder clone()
Returns | |
---|---|
Type | Description |
DisplayDevice.Builder |
getDefaultInstanceForType()
public DisplayDevice getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DisplayDevice |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEnableDisplay()
public boolean getEnableDisplay()
Optional. Enables display for the Compute Engine VM
optional bool enable_display = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
The enableDisplay. |
hasEnableDisplay()
public boolean hasEnableDisplay()
Optional. Enables display for the Compute Engine VM
optional bool enable_display = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the enableDisplay field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(DisplayDevice other)
public DisplayDevice.Builder mergeFrom(DisplayDevice other)
Parameter | |
---|---|
Name | Description |
other |
DisplayDevice |
Returns | |
---|---|
Type | Description |
DisplayDevice.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DisplayDevice.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DisplayDevice.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public DisplayDevice.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
DisplayDevice.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DisplayDevice.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DisplayDevice.Builder |
setEnableDisplay(boolean value)
public DisplayDevice.Builder setEnableDisplay(boolean value)
Optional. Enables display for the Compute Engine VM
optional bool enable_display = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
boolean The enableDisplay to set. |
Returns | |
---|---|
Type | Description |
DisplayDevice.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DisplayDevice.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
DisplayDevice.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DisplayDevice.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
DisplayDevice.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final DisplayDevice.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DisplayDevice.Builder |