Class GetLoginProfileRequest.Builder (2.84.0)

public static final class GetLoginProfileRequest.Builder extends GeneratedMessage.Builder<GetLoginProfileRequest.Builder> implements GetLoginProfileRequestOrBuilder

A request message for retrieving the login profile information for a user.

Protobuf type google.cloud.oslogin.v1.GetLoginProfileRequest

Static Methods

getDescriptor()

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

Methods

build()

public GetLoginProfileRequest build()
Returns
Type Description
GetLoginProfileRequest

buildPartial()

public GetLoginProfileRequest buildPartial()
Returns
Type Description
GetLoginProfileRequest

clear()

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

clearName()

public GetLoginProfileRequest.Builder clearName()

Required. The unique ID for the user in format users/{user}.

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

Returns
Type Description
GetLoginProfileRequest.Builder

This builder for chaining.

clearProjectId()

public GetLoginProfileRequest.Builder clearProjectId()

The project ID of the Google Cloud Platform project.

string project_id = 2;

Returns
Type Description
GetLoginProfileRequest.Builder

This builder for chaining.

clearSystemId()

public GetLoginProfileRequest.Builder clearSystemId()

A system ID for filtering the results of the request.

string system_id = 3;

Returns
Type Description
GetLoginProfileRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetLoginProfileRequest getDefaultInstanceForType()
Returns
Type Description
GetLoginProfileRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The unique ID for the user in format users/{user}.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The unique ID for the user in format users/{user}.

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

Returns
Type Description
ByteString

The bytes for name.

getProjectId()

public String getProjectId()

The project ID of the Google Cloud Platform project.

string project_id = 2;

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

The project ID of the Google Cloud Platform project.

string project_id = 2;

Returns
Type Description
ByteString

The bytes for projectId.

getSystemId()

public String getSystemId()

A system ID for filtering the results of the request.

string system_id = 3;

Returns
Type Description
String

The systemId.

getSystemIdBytes()

public ByteString getSystemIdBytes()

A system ID for filtering the results of the request.

string system_id = 3;

Returns
Type Description
ByteString

The bytes for systemId.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetLoginProfileRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public GetLoginProfileRequest.Builder setName(String value)

Required. The unique ID for the user in format users/{user}.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetLoginProfileRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetLoginProfileRequest.Builder setNameBytes(ByteString value)

Required. The unique ID for the user in format users/{user}.

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
GetLoginProfileRequest.Builder

This builder for chaining.

setProjectId(String value)

public GetLoginProfileRequest.Builder setProjectId(String value)

The project ID of the Google Cloud Platform project.

string project_id = 2;

Parameter
Name Description
value String

The projectId to set.

Returns
Type Description
GetLoginProfileRequest.Builder

This builder for chaining.

setProjectIdBytes(ByteString value)

public GetLoginProfileRequest.Builder setProjectIdBytes(ByteString value)

The project ID of the Google Cloud Platform project.

string project_id = 2;

Parameter
Name Description
value ByteString

The bytes for projectId to set.

Returns
Type Description
GetLoginProfileRequest.Builder

This builder for chaining.

setSystemId(String value)

public GetLoginProfileRequest.Builder setSystemId(String value)

A system ID for filtering the results of the request.

string system_id = 3;

Parameter
Name Description
value String

The systemId to set.

Returns
Type Description
GetLoginProfileRequest.Builder

This builder for chaining.

setSystemIdBytes(ByteString value)

public GetLoginProfileRequest.Builder setSystemIdBytes(ByteString value)

A system ID for filtering the results of the request.

string system_id = 3;

Parameter
Name Description
value ByteString

The bytes for systemId to set.

Returns
Type Description
GetLoginProfileRequest.Builder

This builder for chaining.