Class DisableInteractiveSerialConsoleRequest.Builder (0.46.0)

public static final class DisableInteractiveSerialConsoleRequest.Builder extends GeneratedMessageV3.Builder<DisableInteractiveSerialConsoleRequest.Builder> implements DisableInteractiveSerialConsoleRequestOrBuilder

Message for disabling the interactive serial console on an instance.

Protobuf type google.cloud.baremetalsolution.v2.DisableInteractiveSerialConsoleRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DisableInteractiveSerialConsoleRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DisableInteractiveSerialConsoleRequest.Builder
Overrides

build()

public DisableInteractiveSerialConsoleRequest build()
Returns
Type Description
DisableInteractiveSerialConsoleRequest

buildPartial()

public DisableInteractiveSerialConsoleRequest buildPartial()
Returns
Type Description
DisableInteractiveSerialConsoleRequest

clear()

public DisableInteractiveSerialConsoleRequest.Builder clear()
Returns
Type Description
DisableInteractiveSerialConsoleRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DisableInteractiveSerialConsoleRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DisableInteractiveSerialConsoleRequest.Builder
Overrides

clearName()

public DisableInteractiveSerialConsoleRequest.Builder clearName()

Required. Name of the resource.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
DisableInteractiveSerialConsoleRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DisableInteractiveSerialConsoleRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DisableInteractiveSerialConsoleRequest.Builder
Overrides

clone()

public DisableInteractiveSerialConsoleRequest.Builder clone()
Returns
Type Description
DisableInteractiveSerialConsoleRequest.Builder
Overrides

getDefaultInstanceForType()

public DisableInteractiveSerialConsoleRequest getDefaultInstanceForType()
Returns
Type Description
DisableInteractiveSerialConsoleRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. Name of the resource.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of the resource.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DisableInteractiveSerialConsoleRequest other)

public DisableInteractiveSerialConsoleRequest.Builder mergeFrom(DisableInteractiveSerialConsoleRequest other)
Parameter
Name Description
other DisableInteractiveSerialConsoleRequest
Returns
Type Description
DisableInteractiveSerialConsoleRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DisableInteractiveSerialConsoleRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DisableInteractiveSerialConsoleRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DisableInteractiveSerialConsoleRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DisableInteractiveSerialConsoleRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DisableInteractiveSerialConsoleRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DisableInteractiveSerialConsoleRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DisableInteractiveSerialConsoleRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DisableInteractiveSerialConsoleRequest.Builder
Overrides

setName(String value)

public DisableInteractiveSerialConsoleRequest.Builder setName(String value)

Required. Name of the resource.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DisableInteractiveSerialConsoleRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DisableInteractiveSerialConsoleRequest.Builder setNameBytes(ByteString value)

Required. Name of the resource.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DisableInteractiveSerialConsoleRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DisableInteractiveSerialConsoleRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DisableInteractiveSerialConsoleRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DisableInteractiveSerialConsoleRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DisableInteractiveSerialConsoleRequest.Builder
Overrides