Class GetLoginProfileRequest.Builder (2.28.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetLoginProfileRequest build()
Returns
TypeDescription
GetLoginProfileRequest

buildPartial()

public GetLoginProfileRequest buildPartial()
Returns
TypeDescription
GetLoginProfileRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public GetLoginProfileRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
GetLoginProfileRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProjectId()

public GetLoginProfileRequest.Builder clearProjectId()

The project ID of the Google Cloud Platform project.

string project_id = 2;

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public GetLoginProfileRequest getDefaultInstanceForType()
Returns
TypeDescription
GetLoginProfileRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

getProjectId()

public String getProjectId()

The project ID of the Google Cloud Platform project.

string project_id = 2;

Returns
TypeDescription
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

The project ID of the Google Cloud Platform project.

string project_id = 2;

Returns
TypeDescription
ByteString

The bytes for projectId.

getSystemId()

public String getSystemId()

A system ID for filtering the results of the request.

string system_id = 3;

Returns
TypeDescription
String

The systemId.

getSystemIdBytes()

public ByteString getSystemIdBytes()

A system ID for filtering the results of the request.

string system_id = 3;

Returns
TypeDescription
ByteString

The bytes for systemId.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetLoginProfileRequest other)

public GetLoginProfileRequest.Builder mergeFrom(GetLoginProfileRequest other)
Parameter
NameDescription
otherGetLoginProfileRequest
Returns
TypeDescription
GetLoginProfileRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public GetLoginProfileRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
valueString

The projectId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for projectId to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The systemId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for systemId to set.

Returns
TypeDescription
GetLoginProfileRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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