Class WorkforcePoolAttributeSyncEventLog.Builder (3.98.0)

public static final class WorkforcePoolAttributeSyncEventLog.Builder extends GeneratedMessage.Builder<WorkforcePoolAttributeSyncEventLog.Builder> implements WorkforcePoolAttributeSyncEventLogOrBuilder

Log payload for Workforce Pool Provider background user attribute sync events.

Protobuf type google.iam.admin.v1.WorkforcePoolAttributeSyncEventLog

Static Methods

getDescriptor()

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

Methods

build()

public WorkforcePoolAttributeSyncEventLog build()
Returns
Type Description
WorkforcePoolAttributeSyncEventLog

buildPartial()

public WorkforcePoolAttributeSyncEventLog buildPartial()
Returns
Type Description
WorkforcePoolAttributeSyncEventLog

clear()

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

clearFailureReason()

public WorkforcePoolAttributeSyncEventLog.Builder clearFailureReason()

A machine-readable code indicating the reason for failure. Only populated when severity is ERROR.

Possible values include, but are not limited to:

  • PROVIDER_NOT_FOUND: The user was not found in the identity provider.
  • IDP_UNREACHABLE: The identity provider could not be reached.
  • ATTRIBUTE_MAPPING_ERROR: The attribute mapping configuration is invalid.
  • INTERNAL_ERROR: An internal error occurred during attribute synchronization.

string failure_reason = 2;

Returns
Type Description
WorkforcePoolAttributeSyncEventLog.Builder

This builder for chaining.

clearMessage()

public WorkforcePoolAttributeSyncEventLog.Builder clearMessage()

Human-readable details describing the attribute sync result. For successful syncs, this contains the updated user attributes if detailed audit logging is enabled. For failures, this describes the cause of the failure.

string message = 3;

Returns
Type Description
WorkforcePoolAttributeSyncEventLog.Builder

This builder for chaining.

clearSubject()

public WorkforcePoolAttributeSyncEventLog.Builder clearSubject()

The raw subject identifier of the user whose attributes are being synced. This identifies the specific user within the workforce pool.

string subject = 1;

Returns
Type Description
WorkforcePoolAttributeSyncEventLog.Builder

This builder for chaining.

getDefaultInstanceForType()

public WorkforcePoolAttributeSyncEventLog getDefaultInstanceForType()
Returns
Type Description
WorkforcePoolAttributeSyncEventLog

getDescriptorForType()

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

getFailureReason()

public String getFailureReason()

A machine-readable code indicating the reason for failure. Only populated when severity is ERROR.

Possible values include, but are not limited to:

  • PROVIDER_NOT_FOUND: The user was not found in the identity provider.
  • IDP_UNREACHABLE: The identity provider could not be reached.
  • ATTRIBUTE_MAPPING_ERROR: The attribute mapping configuration is invalid.
  • INTERNAL_ERROR: An internal error occurred during attribute synchronization.

string failure_reason = 2;

Returns
Type Description
String

The failureReason.

getFailureReasonBytes()

public ByteString getFailureReasonBytes()

A machine-readable code indicating the reason for failure. Only populated when severity is ERROR.

Possible values include, but are not limited to:

  • PROVIDER_NOT_FOUND: The user was not found in the identity provider.
  • IDP_UNREACHABLE: The identity provider could not be reached.
  • ATTRIBUTE_MAPPING_ERROR: The attribute mapping configuration is invalid.
  • INTERNAL_ERROR: An internal error occurred during attribute synchronization.

string failure_reason = 2;

Returns
Type Description
ByteString

The bytes for failureReason.

getMessage()

public String getMessage()

Human-readable details describing the attribute sync result. For successful syncs, this contains the updated user attributes if detailed audit logging is enabled. For failures, this describes the cause of the failure.

string message = 3;

Returns
Type Description
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

Human-readable details describing the attribute sync result. For successful syncs, this contains the updated user attributes if detailed audit logging is enabled. For failures, this describes the cause of the failure.

string message = 3;

Returns
Type Description
ByteString

The bytes for message.

getSubject()

public String getSubject()

The raw subject identifier of the user whose attributes are being synced. This identifies the specific user within the workforce pool.

string subject = 1;

Returns
Type Description
String

The subject.

getSubjectBytes()

public ByteString getSubjectBytes()

The raw subject identifier of the user whose attributes are being synced. This identifies the specific user within the workforce pool.

string subject = 1;

Returns
Type Description
ByteString

The bytes for subject.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(WorkforcePoolAttributeSyncEventLog other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setFailureReason(String value)

public WorkforcePoolAttributeSyncEventLog.Builder setFailureReason(String value)

A machine-readable code indicating the reason for failure. Only populated when severity is ERROR.

Possible values include, but are not limited to:

  • PROVIDER_NOT_FOUND: The user was not found in the identity provider.
  • IDP_UNREACHABLE: The identity provider could not be reached.
  • ATTRIBUTE_MAPPING_ERROR: The attribute mapping configuration is invalid.
  • INTERNAL_ERROR: An internal error occurred during attribute synchronization.

string failure_reason = 2;

Parameter
Name Description
value String

The failureReason to set.

Returns
Type Description
WorkforcePoolAttributeSyncEventLog.Builder

This builder for chaining.

setFailureReasonBytes(ByteString value)

public WorkforcePoolAttributeSyncEventLog.Builder setFailureReasonBytes(ByteString value)

A machine-readable code indicating the reason for failure. Only populated when severity is ERROR.

Possible values include, but are not limited to:

  • PROVIDER_NOT_FOUND: The user was not found in the identity provider.
  • IDP_UNREACHABLE: The identity provider could not be reached.
  • ATTRIBUTE_MAPPING_ERROR: The attribute mapping configuration is invalid.
  • INTERNAL_ERROR: An internal error occurred during attribute synchronization.

string failure_reason = 2;

Parameter
Name Description
value ByteString

The bytes for failureReason to set.

Returns
Type Description
WorkforcePoolAttributeSyncEventLog.Builder

This builder for chaining.

setMessage(String value)

public WorkforcePoolAttributeSyncEventLog.Builder setMessage(String value)

Human-readable details describing the attribute sync result. For successful syncs, this contains the updated user attributes if detailed audit logging is enabled. For failures, this describes the cause of the failure.

string message = 3;

Parameter
Name Description
value String

The message to set.

Returns
Type Description
WorkforcePoolAttributeSyncEventLog.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public WorkforcePoolAttributeSyncEventLog.Builder setMessageBytes(ByteString value)

Human-readable details describing the attribute sync result. For successful syncs, this contains the updated user attributes if detailed audit logging is enabled. For failures, this describes the cause of the failure.

string message = 3;

Parameter
Name Description
value ByteString

The bytes for message to set.

Returns
Type Description
WorkforcePoolAttributeSyncEventLog.Builder

This builder for chaining.

setSubject(String value)

public WorkforcePoolAttributeSyncEventLog.Builder setSubject(String value)

The raw subject identifier of the user whose attributes are being synced. This identifies the specific user within the workforce pool.

string subject = 1;

Parameter
Name Description
value String

The subject to set.

Returns
Type Description
WorkforcePoolAttributeSyncEventLog.Builder

This builder for chaining.

setSubjectBytes(ByteString value)

public WorkforcePoolAttributeSyncEventLog.Builder setSubjectBytes(ByteString value)

The raw subject identifier of the user whose attributes are being synced. This identifies the specific user within the workforce pool.

string subject = 1;

Parameter
Name Description
value ByteString

The bytes for subject to set.

Returns
Type Description
WorkforcePoolAttributeSyncEventLog.Builder

This builder for chaining.