Class DeletePosixAccountRequest.Builder (2.28.0)

public static final class DeletePosixAccountRequest.Builder extends GeneratedMessageV3.Builder<DeletePosixAccountRequest.Builder> implements DeletePosixAccountRequestOrBuilder

A request message for deleting a POSIX account entry.

Protobuf type google.cloud.oslogin.v1.DeletePosixAccountRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeletePosixAccountRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeletePosixAccountRequest.Builder
Overrides

build()

public DeletePosixAccountRequest build()
Returns
TypeDescription
DeletePosixAccountRequest

buildPartial()

public DeletePosixAccountRequest buildPartial()
Returns
TypeDescription
DeletePosixAccountRequest

clear()

public DeletePosixAccountRequest.Builder clear()
Returns
TypeDescription
DeletePosixAccountRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DeletePosixAccountRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DeletePosixAccountRequest.Builder
Overrides

clearName()

public DeletePosixAccountRequest.Builder clearName()

Required. A reference to the POSIX account to update. POSIX accounts are identified by the project ID they are associated with. A reference to the POSIX account is in format users/{user}/projects/{project}.

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

Returns
TypeDescription
DeletePosixAccountRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeletePosixAccountRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DeletePosixAccountRequest.Builder
Overrides

clone()

public DeletePosixAccountRequest.Builder clone()
Returns
TypeDescription
DeletePosixAccountRequest.Builder
Overrides

getDefaultInstanceForType()

public DeletePosixAccountRequest getDefaultInstanceForType()
Returns
TypeDescription
DeletePosixAccountRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. A reference to the POSIX account to update. POSIX accounts are identified by the project ID they are associated with. A reference to the POSIX account is in format users/{user}/projects/{project}.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. A reference to the POSIX account to update. POSIX accounts are identified by the project ID they are associated with. A reference to the POSIX account is in format users/{user}/projects/{project}.

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

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeletePosixAccountRequest other)

public DeletePosixAccountRequest.Builder mergeFrom(DeletePosixAccountRequest other)
Parameter
NameDescription
otherDeletePosixAccountRequest
Returns
TypeDescription
DeletePosixAccountRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeletePosixAccountRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeletePosixAccountRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DeletePosixAccountRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DeletePosixAccountRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeletePosixAccountRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeletePosixAccountRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DeletePosixAccountRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeletePosixAccountRequest.Builder
Overrides

setName(String value)

public DeletePosixAccountRequest.Builder setName(String value)

Required. A reference to the POSIX account to update. POSIX accounts are identified by the project ID they are associated with. A reference to the POSIX account is in format users/{user}/projects/{project}.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeletePosixAccountRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeletePosixAccountRequest.Builder setNameBytes(ByteString value)

Required. A reference to the POSIX account to update. POSIX accounts are identified by the project ID they are associated with. A reference to the POSIX account is in format users/{user}/projects/{project}.

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeletePosixAccountRequest.Builder

This builder for chaining.

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

public DeletePosixAccountRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeletePosixAccountRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeletePosixAccountRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeletePosixAccountRequest.Builder
Overrides