Class GetLoginProfileRequest.Builder (2.46.0)

public static final class GetLoginProfileRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public GetLoginProfileRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public GetLoginProfileRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

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

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.

setUnknownFields(UnknownFieldSet unknownFields)

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