Class Access.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Access.Builder>
-
- com.google.cloud.securitycenter.v1.Access.Builder
-
- All Implemented Interfaces:
AccessOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Access
public static final class Access.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Access.Builder> implements AccessOrBuilder
Represents an access event.
Protobuf typegoogle.cloud.securitycenter.v1.Access
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Access.Builder
addAllServiceAccountDelegationInfo(Iterable<? extends ServiceAccountDelegationInfo> values)
The identity delegation history of an authenticated service account that made the request.Access.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Access.Builder
addServiceAccountDelegationInfo(int index, ServiceAccountDelegationInfo value)
The identity delegation history of an authenticated service account that made the request.Access.Builder
addServiceAccountDelegationInfo(int index, ServiceAccountDelegationInfo.Builder builderForValue)
The identity delegation history of an authenticated service account that made the request.Access.Builder
addServiceAccountDelegationInfo(ServiceAccountDelegationInfo value)
The identity delegation history of an authenticated service account that made the request.Access.Builder
addServiceAccountDelegationInfo(ServiceAccountDelegationInfo.Builder builderForValue)
The identity delegation history of an authenticated service account that made the request.ServiceAccountDelegationInfo.Builder
addServiceAccountDelegationInfoBuilder()
The identity delegation history of an authenticated service account that made the request.ServiceAccountDelegationInfo.Builder
addServiceAccountDelegationInfoBuilder(int index)
The identity delegation history of an authenticated service account that made the request.Access
build()
Access
buildPartial()
Access.Builder
clear()
Access.Builder
clearCallerIp()
Caller's IP address, such as "1.1.1.1".Access.Builder
clearCallerIpGeo()
The caller IP's geolocation, which identifies where the call came from.Access.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Access.Builder
clearMethodName()
The method that the service account called, e.g.Access.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Access.Builder
clearPrincipalEmail()
Associated email, such as "foo@google.com".Access.Builder
clearPrincipalSubject()
A string that represents the principal_subject that is associated with the identity.Access.Builder
clearServiceAccountDelegationInfo()
The identity delegation history of an authenticated service account that made the request.Access.Builder
clearServiceAccountKeyName()
The name of the service account key that was used to create or exchange credentials when authenticating the service account that made the request.Access.Builder
clearServiceName()
This is the API service that the service account made a call to, e.g.Access.Builder
clearUserAgent()
The caller's user agent string associated with the finding.Access.Builder
clearUserAgentFamily()
Type of user agent associated with the finding.Access.Builder
clearUserName()
A string that represents a username.Access.Builder
clone()
String
getCallerIp()
Caller's IP address, such as "1.1.1.1".com.google.protobuf.ByteString
getCallerIpBytes()
Caller's IP address, such as "1.1.1.1".Geolocation
getCallerIpGeo()
The caller IP's geolocation, which identifies where the call came from.Geolocation.Builder
getCallerIpGeoBuilder()
The caller IP's geolocation, which identifies where the call came from.GeolocationOrBuilder
getCallerIpGeoOrBuilder()
The caller IP's geolocation, which identifies where the call came from.Access
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getMethodName()
The method that the service account called, e.g.com.google.protobuf.ByteString
getMethodNameBytes()
The method that the service account called, e.g.String
getPrincipalEmail()
Associated email, such as "foo@google.com".com.google.protobuf.ByteString
getPrincipalEmailBytes()
Associated email, such as "foo@google.com".String
getPrincipalSubject()
A string that represents the principal_subject that is associated with the identity.com.google.protobuf.ByteString
getPrincipalSubjectBytes()
A string that represents the principal_subject that is associated with the identity.ServiceAccountDelegationInfo
getServiceAccountDelegationInfo(int index)
The identity delegation history of an authenticated service account that made the request.ServiceAccountDelegationInfo.Builder
getServiceAccountDelegationInfoBuilder(int index)
The identity delegation history of an authenticated service account that made the request.List<ServiceAccountDelegationInfo.Builder>
getServiceAccountDelegationInfoBuilderList()
The identity delegation history of an authenticated service account that made the request.int
getServiceAccountDelegationInfoCount()
The identity delegation history of an authenticated service account that made the request.List<ServiceAccountDelegationInfo>
getServiceAccountDelegationInfoList()
The identity delegation history of an authenticated service account that made the request.ServiceAccountDelegationInfoOrBuilder
getServiceAccountDelegationInfoOrBuilder(int index)
The identity delegation history of an authenticated service account that made the request.List<? extends ServiceAccountDelegationInfoOrBuilder>
getServiceAccountDelegationInfoOrBuilderList()
The identity delegation history of an authenticated service account that made the request.String
getServiceAccountKeyName()
The name of the service account key that was used to create or exchange credentials when authenticating the service account that made the request.com.google.protobuf.ByteString
getServiceAccountKeyNameBytes()
The name of the service account key that was used to create or exchange credentials when authenticating the service account that made the request.String
getServiceName()
This is the API service that the service account made a call to, e.g.com.google.protobuf.ByteString
getServiceNameBytes()
This is the API service that the service account made a call to, e.g.String
getUserAgent()
The caller's user agent string associated with the finding.com.google.protobuf.ByteString
getUserAgentBytes()
The caller's user agent string associated with the finding.String
getUserAgentFamily()
Type of user agent associated with the finding.com.google.protobuf.ByteString
getUserAgentFamilyBytes()
Type of user agent associated with the finding.String
getUserName()
A string that represents a username.com.google.protobuf.ByteString
getUserNameBytes()
A string that represents a username.boolean
hasCallerIpGeo()
The caller IP's geolocation, which identifies where the call came from.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Access.Builder
mergeCallerIpGeo(Geolocation value)
The caller IP's geolocation, which identifies where the call came from.Access.Builder
mergeFrom(Access other)
Access.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Access.Builder
mergeFrom(com.google.protobuf.Message other)
Access.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Access.Builder
removeServiceAccountDelegationInfo(int index)
The identity delegation history of an authenticated service account that made the request.Access.Builder
setCallerIp(String value)
Caller's IP address, such as "1.1.1.1".Access.Builder
setCallerIpBytes(com.google.protobuf.ByteString value)
Caller's IP address, such as "1.1.1.1".Access.Builder
setCallerIpGeo(Geolocation value)
The caller IP's geolocation, which identifies where the call came from.Access.Builder
setCallerIpGeo(Geolocation.Builder builderForValue)
The caller IP's geolocation, which identifies where the call came from.Access.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Access.Builder
setMethodName(String value)
The method that the service account called, e.g.Access.Builder
setMethodNameBytes(com.google.protobuf.ByteString value)
The method that the service account called, e.g.Access.Builder
setPrincipalEmail(String value)
Associated email, such as "foo@google.com".Access.Builder
setPrincipalEmailBytes(com.google.protobuf.ByteString value)
Associated email, such as "foo@google.com".Access.Builder
setPrincipalSubject(String value)
A string that represents the principal_subject that is associated with the identity.Access.Builder
setPrincipalSubjectBytes(com.google.protobuf.ByteString value)
A string that represents the principal_subject that is associated with the identity.Access.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Access.Builder
setServiceAccountDelegationInfo(int index, ServiceAccountDelegationInfo value)
The identity delegation history of an authenticated service account that made the request.Access.Builder
setServiceAccountDelegationInfo(int index, ServiceAccountDelegationInfo.Builder builderForValue)
The identity delegation history of an authenticated service account that made the request.Access.Builder
setServiceAccountKeyName(String value)
The name of the service account key that was used to create or exchange credentials when authenticating the service account that made the request.Access.Builder
setServiceAccountKeyNameBytes(com.google.protobuf.ByteString value)
The name of the service account key that was used to create or exchange credentials when authenticating the service account that made the request.Access.Builder
setServiceName(String value)
This is the API service that the service account made a call to, e.g.Access.Builder
setServiceNameBytes(com.google.protobuf.ByteString value)
This is the API service that the service account made a call to, e.g.Access.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Access.Builder
setUserAgent(String value)
The caller's user agent string associated with the finding.Access.Builder
setUserAgentBytes(com.google.protobuf.ByteString value)
The caller's user agent string associated with the finding.Access.Builder
setUserAgentFamily(String value)
Type of user agent associated with the finding.Access.Builder
setUserAgentFamilyBytes(com.google.protobuf.ByteString value)
Type of user agent associated with the finding.Access.Builder
setUserName(String value)
A string that represents a username.Access.Builder
setUserNameBytes(com.google.protobuf.ByteString value)
A string that represents a username.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Access.Builder>
-
clear
public Access.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Access.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Access.Builder>
-
getDefaultInstanceForType
public Access getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Access build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Access buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Access.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Access.Builder>
-
setField
public Access.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Access.Builder>
-
clearField
public Access.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Access.Builder>
-
clearOneof
public Access.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Access.Builder>
-
setRepeatedField
public Access.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Access.Builder>
-
addRepeatedField
public Access.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Access.Builder>
-
mergeFrom
public Access.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Access.Builder>
-
mergeFrom
public Access.Builder mergeFrom(Access other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Access.Builder>
-
mergeFrom
public Access.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Access.Builder>
- Throws:
IOException
-
getPrincipalEmail
public String getPrincipalEmail()
Associated email, such as "foo@google.com". The email address of the authenticated user or a service account acting on behalf of a third party principal making the request. For third party identity callers, the `principal_subject` field is populated instead of this field. For privacy reasons, the principal email address is sometimes redacted. For more information, see [Caller identities in audit logs](https://cloud.google.com/logging/docs/audit#user-id).
string principal_email = 1;
- Specified by:
getPrincipalEmail
in interfaceAccessOrBuilder
- Returns:
- The principalEmail.
-
getPrincipalEmailBytes
public com.google.protobuf.ByteString getPrincipalEmailBytes()
Associated email, such as "foo@google.com". The email address of the authenticated user or a service account acting on behalf of a third party principal making the request. For third party identity callers, the `principal_subject` field is populated instead of this field. For privacy reasons, the principal email address is sometimes redacted. For more information, see [Caller identities in audit logs](https://cloud.google.com/logging/docs/audit#user-id).
string principal_email = 1;
- Specified by:
getPrincipalEmailBytes
in interfaceAccessOrBuilder
- Returns:
- The bytes for principalEmail.
-
setPrincipalEmail
public Access.Builder setPrincipalEmail(String value)
Associated email, such as "foo@google.com". The email address of the authenticated user or a service account acting on behalf of a third party principal making the request. For third party identity callers, the `principal_subject` field is populated instead of this field. For privacy reasons, the principal email address is sometimes redacted. For more information, see [Caller identities in audit logs](https://cloud.google.com/logging/docs/audit#user-id).
string principal_email = 1;
- Parameters:
value
- The principalEmail to set.- Returns:
- This builder for chaining.
-
clearPrincipalEmail
public Access.Builder clearPrincipalEmail()
Associated email, such as "foo@google.com". The email address of the authenticated user or a service account acting on behalf of a third party principal making the request. For third party identity callers, the `principal_subject` field is populated instead of this field. For privacy reasons, the principal email address is sometimes redacted. For more information, see [Caller identities in audit logs](https://cloud.google.com/logging/docs/audit#user-id).
string principal_email = 1;
- Returns:
- This builder for chaining.
-
setPrincipalEmailBytes
public Access.Builder setPrincipalEmailBytes(com.google.protobuf.ByteString value)
Associated email, such as "foo@google.com". The email address of the authenticated user or a service account acting on behalf of a third party principal making the request. For third party identity callers, the `principal_subject` field is populated instead of this field. For privacy reasons, the principal email address is sometimes redacted. For more information, see [Caller identities in audit logs](https://cloud.google.com/logging/docs/audit#user-id).
string principal_email = 1;
- Parameters:
value
- The bytes for principalEmail to set.- Returns:
- This builder for chaining.
-
getCallerIp
public String getCallerIp()
Caller's IP address, such as "1.1.1.1".
string caller_ip = 2;
- Specified by:
getCallerIp
in interfaceAccessOrBuilder
- Returns:
- The callerIp.
-
getCallerIpBytes
public com.google.protobuf.ByteString getCallerIpBytes()
Caller's IP address, such as "1.1.1.1".
string caller_ip = 2;
- Specified by:
getCallerIpBytes
in interfaceAccessOrBuilder
- Returns:
- The bytes for callerIp.
-
setCallerIp
public Access.Builder setCallerIp(String value)
Caller's IP address, such as "1.1.1.1".
string caller_ip = 2;
- Parameters:
value
- The callerIp to set.- Returns:
- This builder for chaining.
-
clearCallerIp
public Access.Builder clearCallerIp()
Caller's IP address, such as "1.1.1.1".
string caller_ip = 2;
- Returns:
- This builder for chaining.
-
setCallerIpBytes
public Access.Builder setCallerIpBytes(com.google.protobuf.ByteString value)
Caller's IP address, such as "1.1.1.1".
string caller_ip = 2;
- Parameters:
value
- The bytes for callerIp to set.- Returns:
- This builder for chaining.
-
hasCallerIpGeo
public boolean hasCallerIpGeo()
The caller IP's geolocation, which identifies where the call came from.
.google.cloud.securitycenter.v1.Geolocation caller_ip_geo = 3;
- Specified by:
hasCallerIpGeo
in interfaceAccessOrBuilder
- Returns:
- Whether the callerIpGeo field is set.
-
getCallerIpGeo
public Geolocation getCallerIpGeo()
The caller IP's geolocation, which identifies where the call came from.
.google.cloud.securitycenter.v1.Geolocation caller_ip_geo = 3;
- Specified by:
getCallerIpGeo
in interfaceAccessOrBuilder
- Returns:
- The callerIpGeo.
-
setCallerIpGeo
public Access.Builder setCallerIpGeo(Geolocation value)
The caller IP's geolocation, which identifies where the call came from.
.google.cloud.securitycenter.v1.Geolocation caller_ip_geo = 3;
-
setCallerIpGeo
public Access.Builder setCallerIpGeo(Geolocation.Builder builderForValue)
The caller IP's geolocation, which identifies where the call came from.
.google.cloud.securitycenter.v1.Geolocation caller_ip_geo = 3;
-
mergeCallerIpGeo
public Access.Builder mergeCallerIpGeo(Geolocation value)
The caller IP's geolocation, which identifies where the call came from.
.google.cloud.securitycenter.v1.Geolocation caller_ip_geo = 3;
-
clearCallerIpGeo
public Access.Builder clearCallerIpGeo()
The caller IP's geolocation, which identifies where the call came from.
.google.cloud.securitycenter.v1.Geolocation caller_ip_geo = 3;
-
getCallerIpGeoBuilder
public Geolocation.Builder getCallerIpGeoBuilder()
The caller IP's geolocation, which identifies where the call came from.
.google.cloud.securitycenter.v1.Geolocation caller_ip_geo = 3;
-
getCallerIpGeoOrBuilder
public GeolocationOrBuilder getCallerIpGeoOrBuilder()
The caller IP's geolocation, which identifies where the call came from.
.google.cloud.securitycenter.v1.Geolocation caller_ip_geo = 3;
- Specified by:
getCallerIpGeoOrBuilder
in interfaceAccessOrBuilder
-
getUserAgentFamily
public String getUserAgentFamily()
Type of user agent associated with the finding. For example, an operating system shell or an embedded or standalone application.
string user_agent_family = 4;
- Specified by:
getUserAgentFamily
in interfaceAccessOrBuilder
- Returns:
- The userAgentFamily.
-
getUserAgentFamilyBytes
public com.google.protobuf.ByteString getUserAgentFamilyBytes()
Type of user agent associated with the finding. For example, an operating system shell or an embedded or standalone application.
string user_agent_family = 4;
- Specified by:
getUserAgentFamilyBytes
in interfaceAccessOrBuilder
- Returns:
- The bytes for userAgentFamily.
-
setUserAgentFamily
public Access.Builder setUserAgentFamily(String value)
Type of user agent associated with the finding. For example, an operating system shell or an embedded or standalone application.
string user_agent_family = 4;
- Parameters:
value
- The userAgentFamily to set.- Returns:
- This builder for chaining.
-
clearUserAgentFamily
public Access.Builder clearUserAgentFamily()
Type of user agent associated with the finding. For example, an operating system shell or an embedded or standalone application.
string user_agent_family = 4;
- Returns:
- This builder for chaining.
-
setUserAgentFamilyBytes
public Access.Builder setUserAgentFamilyBytes(com.google.protobuf.ByteString value)
Type of user agent associated with the finding. For example, an operating system shell or an embedded or standalone application.
string user_agent_family = 4;
- Parameters:
value
- The bytes for userAgentFamily to set.- Returns:
- This builder for chaining.
-
getUserAgent
public String getUserAgent()
The caller's user agent string associated with the finding.
string user_agent = 12;
- Specified by:
getUserAgent
in interfaceAccessOrBuilder
- Returns:
- The userAgent.
-
getUserAgentBytes
public com.google.protobuf.ByteString getUserAgentBytes()
The caller's user agent string associated with the finding.
string user_agent = 12;
- Specified by:
getUserAgentBytes
in interfaceAccessOrBuilder
- Returns:
- The bytes for userAgent.
-
setUserAgent
public Access.Builder setUserAgent(String value)
The caller's user agent string associated with the finding.
string user_agent = 12;
- Parameters:
value
- The userAgent to set.- Returns:
- This builder for chaining.
-
clearUserAgent
public Access.Builder clearUserAgent()
The caller's user agent string associated with the finding.
string user_agent = 12;
- Returns:
- This builder for chaining.
-
setUserAgentBytes
public Access.Builder setUserAgentBytes(com.google.protobuf.ByteString value)
The caller's user agent string associated with the finding.
string user_agent = 12;
- Parameters:
value
- The bytes for userAgent to set.- Returns:
- This builder for chaining.
-
getServiceName
public String getServiceName()
This is the API service that the service account made a call to, e.g. "iam.googleapis.com"
string service_name = 5;
- Specified by:
getServiceName
in interfaceAccessOrBuilder
- Returns:
- The serviceName.
-
getServiceNameBytes
public com.google.protobuf.ByteString getServiceNameBytes()
This is the API service that the service account made a call to, e.g. "iam.googleapis.com"
string service_name = 5;
- Specified by:
getServiceNameBytes
in interfaceAccessOrBuilder
- Returns:
- The bytes for serviceName.
-
setServiceName
public Access.Builder setServiceName(String value)
This is the API service that the service account made a call to, e.g. "iam.googleapis.com"
string service_name = 5;
- Parameters:
value
- The serviceName to set.- Returns:
- This builder for chaining.
-
clearServiceName
public Access.Builder clearServiceName()
This is the API service that the service account made a call to, e.g. "iam.googleapis.com"
string service_name = 5;
- Returns:
- This builder for chaining.
-
setServiceNameBytes
public Access.Builder setServiceNameBytes(com.google.protobuf.ByteString value)
This is the API service that the service account made a call to, e.g. "iam.googleapis.com"
string service_name = 5;
- Parameters:
value
- The bytes for serviceName to set.- Returns:
- This builder for chaining.
-
getMethodName
public String getMethodName()
The method that the service account called, e.g. "SetIamPolicy".
string method_name = 6;
- Specified by:
getMethodName
in interfaceAccessOrBuilder
- Returns:
- The methodName.
-
getMethodNameBytes
public com.google.protobuf.ByteString getMethodNameBytes()
The method that the service account called, e.g. "SetIamPolicy".
string method_name = 6;
- Specified by:
getMethodNameBytes
in interfaceAccessOrBuilder
- Returns:
- The bytes for methodName.
-
setMethodName
public Access.Builder setMethodName(String value)
The method that the service account called, e.g. "SetIamPolicy".
string method_name = 6;
- Parameters:
value
- The methodName to set.- Returns:
- This builder for chaining.
-
clearMethodName
public Access.Builder clearMethodName()
The method that the service account called, e.g. "SetIamPolicy".
string method_name = 6;
- Returns:
- This builder for chaining.
-
setMethodNameBytes
public Access.Builder setMethodNameBytes(com.google.protobuf.ByteString value)
The method that the service account called, e.g. "SetIamPolicy".
string method_name = 6;
- Parameters:
value
- The bytes for methodName to set.- Returns:
- This builder for chaining.
-
getPrincipalSubject
public String getPrincipalSubject()
A string that represents the principal_subject that is associated with the identity. Unlike `principal_email`, `principal_subject` supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format is `principal://iam.googleapis.com/{identity pool name}/subject/{subject}`. Some GKE identities, such as GKE_WORKLOAD, FREEFORM, and GKE_HUB_WORKLOAD, still use the legacy format `serviceAccount:{identity pool name}[{subject}]`.
string principal_subject = 7;
- Specified by:
getPrincipalSubject
in interfaceAccessOrBuilder
- Returns:
- The principalSubject.
-
getPrincipalSubjectBytes
public com.google.protobuf.ByteString getPrincipalSubjectBytes()
A string that represents the principal_subject that is associated with the identity. Unlike `principal_email`, `principal_subject` supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format is `principal://iam.googleapis.com/{identity pool name}/subject/{subject}`. Some GKE identities, such as GKE_WORKLOAD, FREEFORM, and GKE_HUB_WORKLOAD, still use the legacy format `serviceAccount:{identity pool name}[{subject}]`.
string principal_subject = 7;
- Specified by:
getPrincipalSubjectBytes
in interfaceAccessOrBuilder
- Returns:
- The bytes for principalSubject.
-
setPrincipalSubject
public Access.Builder setPrincipalSubject(String value)
A string that represents the principal_subject that is associated with the identity. Unlike `principal_email`, `principal_subject` supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format is `principal://iam.googleapis.com/{identity pool name}/subject/{subject}`. Some GKE identities, such as GKE_WORKLOAD, FREEFORM, and GKE_HUB_WORKLOAD, still use the legacy format `serviceAccount:{identity pool name}[{subject}]`.
string principal_subject = 7;
- Parameters:
value
- The principalSubject to set.- Returns:
- This builder for chaining.
-
clearPrincipalSubject
public Access.Builder clearPrincipalSubject()
A string that represents the principal_subject that is associated with the identity. Unlike `principal_email`, `principal_subject` supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format is `principal://iam.googleapis.com/{identity pool name}/subject/{subject}`. Some GKE identities, such as GKE_WORKLOAD, FREEFORM, and GKE_HUB_WORKLOAD, still use the legacy format `serviceAccount:{identity pool name}[{subject}]`.
string principal_subject = 7;
- Returns:
- This builder for chaining.
-
setPrincipalSubjectBytes
public Access.Builder setPrincipalSubjectBytes(com.google.protobuf.ByteString value)
A string that represents the principal_subject that is associated with the identity. Unlike `principal_email`, `principal_subject` supports principals that aren't associated with email addresses, such as third party principals. For most identities, the format is `principal://iam.googleapis.com/{identity pool name}/subject/{subject}`. Some GKE identities, such as GKE_WORKLOAD, FREEFORM, and GKE_HUB_WORKLOAD, still use the legacy format `serviceAccount:{identity pool name}[{subject}]`.
string principal_subject = 7;
- Parameters:
value
- The bytes for principalSubject to set.- Returns:
- This builder for chaining.
-
getServiceAccountKeyName
public String getServiceAccountKeyName()
The name of the service account key that was used to create or exchange credentials when authenticating the service account that made the request. This is a scheme-less URI full resource name. For example: "//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}".
string service_account_key_name = 8;
- Specified by:
getServiceAccountKeyName
in interfaceAccessOrBuilder
- Returns:
- The serviceAccountKeyName.
-
getServiceAccountKeyNameBytes
public com.google.protobuf.ByteString getServiceAccountKeyNameBytes()
The name of the service account key that was used to create or exchange credentials when authenticating the service account that made the request. This is a scheme-less URI full resource name. For example: "//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}".
string service_account_key_name = 8;
- Specified by:
getServiceAccountKeyNameBytes
in interfaceAccessOrBuilder
- Returns:
- The bytes for serviceAccountKeyName.
-
setServiceAccountKeyName
public Access.Builder setServiceAccountKeyName(String value)
The name of the service account key that was used to create or exchange credentials when authenticating the service account that made the request. This is a scheme-less URI full resource name. For example: "//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}".
string service_account_key_name = 8;
- Parameters:
value
- The serviceAccountKeyName to set.- Returns:
- This builder for chaining.
-
clearServiceAccountKeyName
public Access.Builder clearServiceAccountKeyName()
The name of the service account key that was used to create or exchange credentials when authenticating the service account that made the request. This is a scheme-less URI full resource name. For example: "//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}".
string service_account_key_name = 8;
- Returns:
- This builder for chaining.
-
setServiceAccountKeyNameBytes
public Access.Builder setServiceAccountKeyNameBytes(com.google.protobuf.ByteString value)
The name of the service account key that was used to create or exchange credentials when authenticating the service account that made the request. This is a scheme-less URI full resource name. For example: "//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}".
string service_account_key_name = 8;
- Parameters:
value
- The bytes for serviceAccountKeyName to set.- Returns:
- This builder for chaining.
-
getServiceAccountDelegationInfoList
public List<ServiceAccountDelegationInfo> getServiceAccountDelegationInfoList()
The identity delegation history of an authenticated service account that made the request. The `serviceAccountDelegationInfo[]` object contains information about the real authorities that try to access Google Cloud resources by delegating on a service account. When multiple authorities are present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.
repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
- Specified by:
getServiceAccountDelegationInfoList
in interfaceAccessOrBuilder
-
getServiceAccountDelegationInfoCount
public int getServiceAccountDelegationInfoCount()
The identity delegation history of an authenticated service account that made the request. The `serviceAccountDelegationInfo[]` object contains information about the real authorities that try to access Google Cloud resources by delegating on a service account. When multiple authorities are present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.
repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
- Specified by:
getServiceAccountDelegationInfoCount
in interfaceAccessOrBuilder
-
getServiceAccountDelegationInfo
public ServiceAccountDelegationInfo getServiceAccountDelegationInfo(int index)
The identity delegation history of an authenticated service account that made the request. The `serviceAccountDelegationInfo[]` object contains information about the real authorities that try to access Google Cloud resources by delegating on a service account. When multiple authorities are present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.
repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
- Specified by:
getServiceAccountDelegationInfo
in interfaceAccessOrBuilder
-
setServiceAccountDelegationInfo
public Access.Builder setServiceAccountDelegationInfo(int index, ServiceAccountDelegationInfo value)
The identity delegation history of an authenticated service account that made the request. The `serviceAccountDelegationInfo[]` object contains information about the real authorities that try to access Google Cloud resources by delegating on a service account. When multiple authorities are present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.
repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
-
setServiceAccountDelegationInfo
public Access.Builder setServiceAccountDelegationInfo(int index, ServiceAccountDelegationInfo.Builder builderForValue)
The identity delegation history of an authenticated service account that made the request. The `serviceAccountDelegationInfo[]` object contains information about the real authorities that try to access Google Cloud resources by delegating on a service account. When multiple authorities are present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.
repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
-
addServiceAccountDelegationInfo
public Access.Builder addServiceAccountDelegationInfo(ServiceAccountDelegationInfo value)
The identity delegation history of an authenticated service account that made the request. The `serviceAccountDelegationInfo[]` object contains information about the real authorities that try to access Google Cloud resources by delegating on a service account. When multiple authorities are present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.
repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
-
addServiceAccountDelegationInfo
public Access.Builder addServiceAccountDelegationInfo(int index, ServiceAccountDelegationInfo value)
The identity delegation history of an authenticated service account that made the request. The `serviceAccountDelegationInfo[]` object contains information about the real authorities that try to access Google Cloud resources by delegating on a service account. When multiple authorities are present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.
repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
-
addServiceAccountDelegationInfo
public Access.Builder addServiceAccountDelegationInfo(ServiceAccountDelegationInfo.Builder builderForValue)
The identity delegation history of an authenticated service account that made the request. The `serviceAccountDelegationInfo[]` object contains information about the real authorities that try to access Google Cloud resources by delegating on a service account. When multiple authorities are present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.
repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
-
addServiceAccountDelegationInfo
public Access.Builder addServiceAccountDelegationInfo(int index, ServiceAccountDelegationInfo.Builder builderForValue)
The identity delegation history of an authenticated service account that made the request. The `serviceAccountDelegationInfo[]` object contains information about the real authorities that try to access Google Cloud resources by delegating on a service account. When multiple authorities are present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.
repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
-
addAllServiceAccountDelegationInfo
public Access.Builder addAllServiceAccountDelegationInfo(Iterable<? extends ServiceAccountDelegationInfo> values)
The identity delegation history of an authenticated service account that made the request. The `serviceAccountDelegationInfo[]` object contains information about the real authorities that try to access Google Cloud resources by delegating on a service account. When multiple authorities are present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.
repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
-
clearServiceAccountDelegationInfo
public Access.Builder clearServiceAccountDelegationInfo()
The identity delegation history of an authenticated service account that made the request. The `serviceAccountDelegationInfo[]` object contains information about the real authorities that try to access Google Cloud resources by delegating on a service account. When multiple authorities are present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.
repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
-
removeServiceAccountDelegationInfo
public Access.Builder removeServiceAccountDelegationInfo(int index)
The identity delegation history of an authenticated service account that made the request. The `serviceAccountDelegationInfo[]` object contains information about the real authorities that try to access Google Cloud resources by delegating on a service account. When multiple authorities are present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.
repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
-
getServiceAccountDelegationInfoBuilder
public ServiceAccountDelegationInfo.Builder getServiceAccountDelegationInfoBuilder(int index)
The identity delegation history of an authenticated service account that made the request. The `serviceAccountDelegationInfo[]` object contains information about the real authorities that try to access Google Cloud resources by delegating on a service account. When multiple authorities are present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.
repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
-
getServiceAccountDelegationInfoOrBuilder
public ServiceAccountDelegationInfoOrBuilder getServiceAccountDelegationInfoOrBuilder(int index)
The identity delegation history of an authenticated service account that made the request. The `serviceAccountDelegationInfo[]` object contains information about the real authorities that try to access Google Cloud resources by delegating on a service account. When multiple authorities are present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.
repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
- Specified by:
getServiceAccountDelegationInfoOrBuilder
in interfaceAccessOrBuilder
-
getServiceAccountDelegationInfoOrBuilderList
public List<? extends ServiceAccountDelegationInfoOrBuilder> getServiceAccountDelegationInfoOrBuilderList()
The identity delegation history of an authenticated service account that made the request. The `serviceAccountDelegationInfo[]` object contains information about the real authorities that try to access Google Cloud resources by delegating on a service account. When multiple authorities are present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.
repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
- Specified by:
getServiceAccountDelegationInfoOrBuilderList
in interfaceAccessOrBuilder
-
addServiceAccountDelegationInfoBuilder
public ServiceAccountDelegationInfo.Builder addServiceAccountDelegationInfoBuilder()
The identity delegation history of an authenticated service account that made the request. The `serviceAccountDelegationInfo[]` object contains information about the real authorities that try to access Google Cloud resources by delegating on a service account. When multiple authorities are present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.
repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
-
addServiceAccountDelegationInfoBuilder
public ServiceAccountDelegationInfo.Builder addServiceAccountDelegationInfoBuilder(int index)
The identity delegation history of an authenticated service account that made the request. The `serviceAccountDelegationInfo[]` object contains information about the real authorities that try to access Google Cloud resources by delegating on a service account. When multiple authorities are present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.
repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
-
getServiceAccountDelegationInfoBuilderList
public List<ServiceAccountDelegationInfo.Builder> getServiceAccountDelegationInfoBuilderList()
The identity delegation history of an authenticated service account that made the request. The `serviceAccountDelegationInfo[]` object contains information about the real authorities that try to access Google Cloud resources by delegating on a service account. When multiple authorities are present, they are guaranteed to be sorted based on the original ordering of the identity delegation events.
repeated .google.cloud.securitycenter.v1.ServiceAccountDelegationInfo service_account_delegation_info = 9;
-
getUserName
public String getUserName()
A string that represents a username. The username provided depends on the type of the finding and is likely not an IAM principal. For example, this can be a system username if the finding is related to a virtual machine, or it can be an application login username.
string user_name = 11;
- Specified by:
getUserName
in interfaceAccessOrBuilder
- Returns:
- The userName.
-
getUserNameBytes
public com.google.protobuf.ByteString getUserNameBytes()
A string that represents a username. The username provided depends on the type of the finding and is likely not an IAM principal. For example, this can be a system username if the finding is related to a virtual machine, or it can be an application login username.
string user_name = 11;
- Specified by:
getUserNameBytes
in interfaceAccessOrBuilder
- Returns:
- The bytes for userName.
-
setUserName
public Access.Builder setUserName(String value)
A string that represents a username. The username provided depends on the type of the finding and is likely not an IAM principal. For example, this can be a system username if the finding is related to a virtual machine, or it can be an application login username.
string user_name = 11;
- Parameters:
value
- The userName to set.- Returns:
- This builder for chaining.
-
clearUserName
public Access.Builder clearUserName()
A string that represents a username. The username provided depends on the type of the finding and is likely not an IAM principal. For example, this can be a system username if the finding is related to a virtual machine, or it can be an application login username.
string user_name = 11;
- Returns:
- This builder for chaining.
-
setUserNameBytes
public Access.Builder setUserNameBytes(com.google.protobuf.ByteString value)
A string that represents a username. The username provided depends on the type of the finding and is likely not an IAM principal. For example, this can be a system username if the finding is related to a virtual machine, or it can be an application login username.
string user_name = 11;
- Parameters:
value
- The bytes for userName to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Access.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Access.Builder>
-
mergeUnknownFields
public final Access.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Access.Builder>
-
-