Class AccessSummary.Builder (0.1.0)

public static final class AccessSummary.Builder extends GeneratedMessage.Builder<AccessSummary.Builder> implements AccessSummaryOrBuilder

Message describing AccessSummary object

Protobuf type google.cloud.agentidentity.v1.AccessSummary

Static Methods

getDescriptor()

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

Methods

addAllScopes(Iterable<String> values)

public AccessSummary.Builder addAllScopes(Iterable<String> values)

Output only. All scopes that have been used by this user with this workload. The number of scopes is limited to 200.

repeated string scopes = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<String>

The scopes to add.

Returns
Type Description
AccessSummary.Builder

This builder for chaining.

addScopes(String value)

public AccessSummary.Builder addScopes(String value)

Output only. All scopes that have been used by this user with this workload. The number of scopes is limited to 200.

repeated string scopes = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The scopes to add.

Returns
Type Description
AccessSummary.Builder

This builder for chaining.

addScopesBytes(ByteString value)

public AccessSummary.Builder addScopesBytes(ByteString value)

Output only. All scopes that have been used by this user with this workload. The number of scopes is limited to 200.

repeated string scopes = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes of the scopes to add.

Returns
Type Description
AccessSummary.Builder

This builder for chaining.

build()

public AccessSummary build()
Returns
Type Description
AccessSummary

buildPartial()

public AccessSummary buildPartial()
Returns
Type Description
AccessSummary

clear()

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

clearAuthProvider()

public AccessSummary.Builder clearAuthProvider()

Output only. The auth_provider that this access summary is associated with.

string auth_provider = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
AccessSummary.Builder

This builder for chaining.

clearAuthProviderType()

public AccessSummary.Builder clearAuthProviderType()

Output only. The type of the connector that was used to create this access summary.

.google.cloud.agentidentity.v1.AuthProviderType auth_provider_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AccessSummary.Builder

This builder for chaining.

clearFirstAccessTime()

public AccessSummary.Builder clearFirstAccessTime()

Output only. The first time this user has interacted with this workload. Rounded to the previous hour.

.google.protobuf.Timestamp first_access_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AccessSummary.Builder

clearLabels()

public AccessSummary.Builder clearLabels()
Returns
Type Description
AccessSummary.Builder

clearLastAccessTime()

public AccessSummary.Builder clearLastAccessTime()

Output only. The most recent time this user has interacted with this workload. Rounded to the previous hour.

.google.protobuf.Timestamp last_access_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AccessSummary.Builder

clearName()

public AccessSummary.Builder clearName()

Output only. Identifier. Name of the AccessSummary

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
AccessSummary.Builder

This builder for chaining.

clearPurgeTime()

public AccessSummary.Builder clearPurgeTime()

Output only. The time when this access summary is permanently deleted.

.google.protobuf.Timestamp purge_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AccessSummary.Builder

clearScopes()

public AccessSummary.Builder clearScopes()

Output only. All scopes that have been used by this user with this workload. The number of scopes is limited to 200.

repeated string scopes = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AccessSummary.Builder

This builder for chaining.

clearTokenUrl()

public AccessSummary.Builder clearTokenUrl()

Output only. The url of the authentication server that was accessed.

string token_url = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AccessSummary.Builder

This builder for chaining.

clearUserId()

public AccessSummary.Builder clearUserId()

Output only. The user_id provided by the workload application for this user. Not verified by Google.

string user_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AccessSummary.Builder

This builder for chaining.

clearWorkloadId()

public AccessSummary.Builder clearWorkloadId()

Output only. The identity bound to the workload that this user interacted with to produce this AccessSummary. Will typically be an agentic spiffe id

string workload_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AccessSummary.Builder

This builder for chaining.

containsLabels(String key)

public boolean containsLabels(String key)

Optional. Labels as key value pairs

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
boolean

getAuthProvider()

public String getAuthProvider()

Output only. The auth_provider that this access summary is associated with.

string auth_provider = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The authProvider.

getAuthProviderBytes()

public ByteString getAuthProviderBytes()

Output only. The auth_provider that this access summary is associated with.

string auth_provider = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for authProvider.

getAuthProviderType()

public AuthProviderType getAuthProviderType()

Output only. The type of the connector that was used to create this access summary.

.google.cloud.agentidentity.v1.AuthProviderType auth_provider_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AuthProviderType

The authProviderType.

getAuthProviderTypeValue()

public int getAuthProviderTypeValue()

Output only. The type of the connector that was used to create this access summary.

.google.cloud.agentidentity.v1.AuthProviderType auth_provider_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for authProviderType.

getDefaultInstanceForType()

public AccessSummary getDefaultInstanceForType()
Returns
Type Description
AccessSummary

getDescriptorForType()

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

getFirstAccessTime()

public Timestamp getFirstAccessTime()

Output only. The first time this user has interacted with this workload. Rounded to the previous hour.

.google.protobuf.Timestamp first_access_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The firstAccessTime.

getFirstAccessTimeBuilder()

public Timestamp.Builder getFirstAccessTimeBuilder()

Output only. The first time this user has interacted with this workload. Rounded to the previous hour.

.google.protobuf.Timestamp first_access_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getFirstAccessTimeOrBuilder()

public TimestampOrBuilder getFirstAccessTimeOrBuilder()

Output only. The first time this user has interacted with this workload. Rounded to the previous hour.

.google.protobuf.Timestamp first_access_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Optional. Labels as key value pairs

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Optional. Labels as key value pairs

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Optional. Labels as key value pairs

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Optional. Labels as key value pairs

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
String

getLastAccessTime()

public Timestamp getLastAccessTime()

Output only. The most recent time this user has interacted with this workload. Rounded to the previous hour.

.google.protobuf.Timestamp last_access_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The lastAccessTime.

getLastAccessTimeBuilder()

public Timestamp.Builder getLastAccessTimeBuilder()

Output only. The most recent time this user has interacted with this workload. Rounded to the previous hour.

.google.protobuf.Timestamp last_access_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getLastAccessTimeOrBuilder()

public TimestampOrBuilder getLastAccessTimeOrBuilder()

Output only. The most recent time this user has interacted with this workload. Rounded to the previous hour.

.google.protobuf.Timestamp last_access_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getName()

public String getName()

Output only. Identifier. Name of the AccessSummary

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. Identifier. Name of the AccessSummary

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getPurgeTime()

public Timestamp getPurgeTime()

Output only. The time when this access summary is permanently deleted.

.google.protobuf.Timestamp purge_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The purgeTime.

getPurgeTimeBuilder()

public Timestamp.Builder getPurgeTimeBuilder()

Output only. The time when this access summary is permanently deleted.

.google.protobuf.Timestamp purge_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getPurgeTimeOrBuilder()

public TimestampOrBuilder getPurgeTimeOrBuilder()

Output only. The time when this access summary is permanently deleted.

.google.protobuf.Timestamp purge_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getScopes(int index)

public String getScopes(int index)

Output only. All scopes that have been used by this user with this workload. The number of scopes is limited to 200.

repeated string scopes = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The scopes at the given index.

getScopesBytes(int index)

public ByteString getScopesBytes(int index)

Output only. All scopes that have been used by this user with this workload. The number of scopes is limited to 200.

repeated string scopes = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the scopes at the given index.

getScopesCount()

public int getScopesCount()

Output only. All scopes that have been used by this user with this workload. The number of scopes is limited to 200.

repeated string scopes = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of scopes.

getScopesList()

public ProtocolStringList getScopesList()

Output only. All scopes that have been used by this user with this workload. The number of scopes is limited to 200.

repeated string scopes = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProtocolStringList

A list containing the scopes.

getTokenUrl()

public String getTokenUrl()

Output only. The url of the authentication server that was accessed.

string token_url = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The tokenUrl.

getTokenUrlBytes()

public ByteString getTokenUrlBytes()

Output only. The url of the authentication server that was accessed.

string token_url = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for tokenUrl.

getUserId()

public String getUserId()

Output only. The user_id provided by the workload application for this user. Not verified by Google.

string user_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The userId.

getUserIdBytes()

public ByteString getUserIdBytes()

Output only. The user_id provided by the workload application for this user. Not verified by Google.

string user_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for userId.

getWorkloadId()

public String getWorkloadId()

Output only. The identity bound to the workload that this user interacted with to produce this AccessSummary. Will typically be an agentic spiffe id

string workload_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The workloadId.

getWorkloadIdBytes()

public ByteString getWorkloadIdBytes()

Output only. The identity bound to the workload that this user interacted with to produce this AccessSummary. Will typically be an agentic spiffe id

string workload_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for workloadId.

hasFirstAccessTime()

public boolean hasFirstAccessTime()

Output only. The first time this user has interacted with this workload. Rounded to the previous hour.

.google.protobuf.Timestamp first_access_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the firstAccessTime field is set.

hasLastAccessTime()

public boolean hasLastAccessTime()

Output only. The most recent time this user has interacted with this workload. Rounded to the previous hour.

.google.protobuf.Timestamp last_access_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the lastAccessTime field is set.

hasPurgeTime()

public boolean hasPurgeTime()

Output only. The time when this access summary is permanently deleted.

.google.protobuf.Timestamp purge_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the purgeTime field is set.

internalGetFieldAccessorTable()

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

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFirstAccessTime(Timestamp value)

public AccessSummary.Builder mergeFirstAccessTime(Timestamp value)

Output only. The first time this user has interacted with this workload. Rounded to the previous hour.

.google.protobuf.Timestamp first_access_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
AccessSummary.Builder

mergeFrom(AccessSummary other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeLastAccessTime(Timestamp value)

public AccessSummary.Builder mergeLastAccessTime(Timestamp value)

Output only. The most recent time this user has interacted with this workload. Rounded to the previous hour.

.google.protobuf.Timestamp last_access_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
AccessSummary.Builder

mergePurgeTime(Timestamp value)

public AccessSummary.Builder mergePurgeTime(Timestamp value)

Output only. The time when this access summary is permanently deleted.

.google.protobuf.Timestamp purge_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
AccessSummary.Builder

putAllLabels(Map<String,String> values)

public AccessSummary.Builder putAllLabels(Map<String,String> values)

Optional. Labels as key value pairs

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Map<String,String>
Returns
Type Description
AccessSummary.Builder

putLabels(String key, String value)

public AccessSummary.Builder putLabels(String key, String value)

Optional. Labels as key value pairs

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
key String
value String
Returns
Type Description
AccessSummary.Builder

removeLabels(String key)

public AccessSummary.Builder removeLabels(String key)

Optional. Labels as key value pairs

map<string, string> labels = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
key String
Returns
Type Description
AccessSummary.Builder

setAuthProvider(String value)

public AccessSummary.Builder setAuthProvider(String value)

Output only. The auth_provider that this access summary is associated with.

string auth_provider = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The authProvider to set.

Returns
Type Description
AccessSummary.Builder

This builder for chaining.

setAuthProviderBytes(ByteString value)

public AccessSummary.Builder setAuthProviderBytes(ByteString value)

Output only. The auth_provider that this access summary is associated with.

string auth_provider = 9 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for authProvider to set.

Returns
Type Description
AccessSummary.Builder

This builder for chaining.

setAuthProviderType(AuthProviderType value)

public AccessSummary.Builder setAuthProviderType(AuthProviderType value)

Output only. The type of the connector that was used to create this access summary.

.google.cloud.agentidentity.v1.AuthProviderType auth_provider_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value AuthProviderType

The authProviderType to set.

Returns
Type Description
AccessSummary.Builder

This builder for chaining.

setAuthProviderTypeValue(int value)

public AccessSummary.Builder setAuthProviderTypeValue(int value)

Output only. The type of the connector that was used to create this access summary.

.google.cloud.agentidentity.v1.AuthProviderType auth_provider_type = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for authProviderType to set.

Returns
Type Description
AccessSummary.Builder

This builder for chaining.

setFirstAccessTime(Timestamp value)

public AccessSummary.Builder setFirstAccessTime(Timestamp value)

Output only. The first time this user has interacted with this workload. Rounded to the previous hour.

.google.protobuf.Timestamp first_access_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
AccessSummary.Builder

setFirstAccessTime(Timestamp.Builder builderForValue)

public AccessSummary.Builder setFirstAccessTime(Timestamp.Builder builderForValue)

Output only. The first time this user has interacted with this workload. Rounded to the previous hour.

.google.protobuf.Timestamp first_access_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AccessSummary.Builder

setLastAccessTime(Timestamp value)

public AccessSummary.Builder setLastAccessTime(Timestamp value)

Output only. The most recent time this user has interacted with this workload. Rounded to the previous hour.

.google.protobuf.Timestamp last_access_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
AccessSummary.Builder

setLastAccessTime(Timestamp.Builder builderForValue)

public AccessSummary.Builder setLastAccessTime(Timestamp.Builder builderForValue)

Output only. The most recent time this user has interacted with this workload. Rounded to the previous hour.

.google.protobuf.Timestamp last_access_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AccessSummary.Builder

setName(String value)

public AccessSummary.Builder setName(String value)

Output only. Identifier. Name of the AccessSummary

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
AccessSummary.Builder

This builder for chaining.

setNameBytes(ByteString value)

public AccessSummary.Builder setNameBytes(ByteString value)

Output only. Identifier. Name of the AccessSummary

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
AccessSummary.Builder

This builder for chaining.

setPurgeTime(Timestamp value)

public AccessSummary.Builder setPurgeTime(Timestamp value)

Output only. The time when this access summary is permanently deleted.

.google.protobuf.Timestamp purge_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
AccessSummary.Builder

setPurgeTime(Timestamp.Builder builderForValue)

public AccessSummary.Builder setPurgeTime(Timestamp.Builder builderForValue)

Output only. The time when this access summary is permanently deleted.

.google.protobuf.Timestamp purge_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
AccessSummary.Builder

setScopes(int index, String value)

public AccessSummary.Builder setScopes(int index, String value)

Output only. All scopes that have been used by this user with this workload. The number of scopes is limited to 200.

repeated string scopes = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int

The index to set the value at.

value String

The scopes to set.

Returns
Type Description
AccessSummary.Builder

This builder for chaining.

setTokenUrl(String value)

public AccessSummary.Builder setTokenUrl(String value)

Output only. The url of the authentication server that was accessed.

string token_url = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The tokenUrl to set.

Returns
Type Description
AccessSummary.Builder

This builder for chaining.

setTokenUrlBytes(ByteString value)

public AccessSummary.Builder setTokenUrlBytes(ByteString value)

Output only. The url of the authentication server that was accessed.

string token_url = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for tokenUrl to set.

Returns
Type Description
AccessSummary.Builder

This builder for chaining.

setUserId(String value)

public AccessSummary.Builder setUserId(String value)

Output only. The user_id provided by the workload application for this user. Not verified by Google.

string user_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The userId to set.

Returns
Type Description
AccessSummary.Builder

This builder for chaining.

setUserIdBytes(ByteString value)

public AccessSummary.Builder setUserIdBytes(ByteString value)

Output only. The user_id provided by the workload application for this user. Not verified by Google.

string user_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for userId to set.

Returns
Type Description
AccessSummary.Builder

This builder for chaining.

setWorkloadId(String value)

public AccessSummary.Builder setWorkloadId(String value)

Output only. The identity bound to the workload that this user interacted with to produce this AccessSummary. Will typically be an agentic spiffe id

string workload_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The workloadId to set.

Returns
Type Description
AccessSummary.Builder

This builder for chaining.

setWorkloadIdBytes(ByteString value)

public AccessSummary.Builder setWorkloadIdBytes(ByteString value)

Output only. The identity bound to the workload that this user interacted with to produce this AccessSummary. Will typically be an agentic spiffe id

string workload_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for workloadId to set.

Returns
Type Description
AccessSummary.Builder

This builder for chaining.