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.BuilderaddAllServiceAccountDelegationInfo(Iterable<? extends ServiceAccountDelegationInfo> values)The identity delegation history of an authenticated service account that made the request.Access.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Access.BuilderaddServiceAccountDelegationInfo(int index, ServiceAccountDelegationInfo value)The identity delegation history of an authenticated service account that made the request.Access.BuilderaddServiceAccountDelegationInfo(int index, ServiceAccountDelegationInfo.Builder builderForValue)The identity delegation history of an authenticated service account that made the request.Access.BuilderaddServiceAccountDelegationInfo(ServiceAccountDelegationInfo value)The identity delegation history of an authenticated service account that made the request.Access.BuilderaddServiceAccountDelegationInfo(ServiceAccountDelegationInfo.Builder builderForValue)The identity delegation history of an authenticated service account that made the request.ServiceAccountDelegationInfo.BuilderaddServiceAccountDelegationInfoBuilder()The identity delegation history of an authenticated service account that made the request.ServiceAccountDelegationInfo.BuilderaddServiceAccountDelegationInfoBuilder(int index)The identity delegation history of an authenticated service account that made the request.Accessbuild()AccessbuildPartial()Access.Builderclear()Access.BuilderclearCallerIp()Caller's IP address, such as "1.1.1.1".Access.BuilderclearCallerIpGeo()The caller IP's geolocation, which identifies where the call came from.Access.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Access.BuilderclearMethodName()The method that the service account called, e.g.Access.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Access.BuilderclearPrincipalEmail()Associated email, such as "foo@google.com".Access.BuilderclearPrincipalSubject()A string that represents the principal_subject that is associated with the identity.Access.BuilderclearServiceAccountDelegationInfo()The identity delegation history of an authenticated service account that made the request.Access.BuilderclearServiceAccountKeyName()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.BuilderclearServiceName()This is the API service that the service account made a call to, e.g.Access.BuilderclearUserAgent()The caller's user agent string associated with the finding.Access.BuilderclearUserAgentFamily()Type of user agent associated with the finding.Access.BuilderclearUserName()A string that represents a username.Access.Builderclone()StringgetCallerIp()Caller's IP address, such as "1.1.1.1".com.google.protobuf.ByteStringgetCallerIpBytes()Caller's IP address, such as "1.1.1.1".GeolocationgetCallerIpGeo()The caller IP's geolocation, which identifies where the call came from.Geolocation.BuildergetCallerIpGeoBuilder()The caller IP's geolocation, which identifies where the call came from.GeolocationOrBuildergetCallerIpGeoOrBuilder()The caller IP's geolocation, which identifies where the call came from.AccessgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetMethodName()The method that the service account called, e.g.com.google.protobuf.ByteStringgetMethodNameBytes()The method that the service account called, e.g.StringgetPrincipalEmail()Associated email, such as "foo@google.com".com.google.protobuf.ByteStringgetPrincipalEmailBytes()Associated email, such as "foo@google.com".StringgetPrincipalSubject()A string that represents the principal_subject that is associated with the identity.com.google.protobuf.ByteStringgetPrincipalSubjectBytes()A string that represents the principal_subject that is associated with the identity.ServiceAccountDelegationInfogetServiceAccountDelegationInfo(int index)The identity delegation history of an authenticated service account that made the request.ServiceAccountDelegationInfo.BuildergetServiceAccountDelegationInfoBuilder(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.intgetServiceAccountDelegationInfoCount()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.ServiceAccountDelegationInfoOrBuildergetServiceAccountDelegationInfoOrBuilder(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.StringgetServiceAccountKeyName()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.ByteStringgetServiceAccountKeyNameBytes()The name of the service account key that was used to create or exchange credentials when authenticating the service account that made the request.StringgetServiceName()This is the API service that the service account made a call to, e.g.com.google.protobuf.ByteStringgetServiceNameBytes()This is the API service that the service account made a call to, e.g.StringgetUserAgent()The caller's user agent string associated with the finding.com.google.protobuf.ByteStringgetUserAgentBytes()The caller's user agent string associated with the finding.StringgetUserAgentFamily()Type of user agent associated with the finding.com.google.protobuf.ByteStringgetUserAgentFamilyBytes()Type of user agent associated with the finding.StringgetUserName()A string that represents a username.com.google.protobuf.ByteStringgetUserNameBytes()A string that represents a username.booleanhasCallerIpGeo()The caller IP's geolocation, which identifies where the call came from.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Access.BuildermergeCallerIpGeo(Geolocation value)The caller IP's geolocation, which identifies where the call came from.Access.BuildermergeFrom(Access other)Access.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Access.BuildermergeFrom(com.google.protobuf.Message other)Access.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Access.BuilderremoveServiceAccountDelegationInfo(int index)The identity delegation history of an authenticated service account that made the request.Access.BuildersetCallerIp(String value)Caller's IP address, such as "1.1.1.1".Access.BuildersetCallerIpBytes(com.google.protobuf.ByteString value)Caller's IP address, such as "1.1.1.1".Access.BuildersetCallerIpGeo(Geolocation value)The caller IP's geolocation, which identifies where the call came from.Access.BuildersetCallerIpGeo(Geolocation.Builder builderForValue)The caller IP's geolocation, which identifies where the call came from.Access.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Access.BuildersetMethodName(String value)The method that the service account called, e.g.Access.BuildersetMethodNameBytes(com.google.protobuf.ByteString value)The method that the service account called, e.g.Access.BuildersetPrincipalEmail(String value)Associated email, such as "foo@google.com".Access.BuildersetPrincipalEmailBytes(com.google.protobuf.ByteString value)Associated email, such as "foo@google.com".Access.BuildersetPrincipalSubject(String value)A string that represents the principal_subject that is associated with the identity.Access.BuildersetPrincipalSubjectBytes(com.google.protobuf.ByteString value)A string that represents the principal_subject that is associated with the identity.Access.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Access.BuildersetServiceAccountDelegationInfo(int index, ServiceAccountDelegationInfo value)The identity delegation history of an authenticated service account that made the request.Access.BuildersetServiceAccountDelegationInfo(int index, ServiceAccountDelegationInfo.Builder builderForValue)The identity delegation history of an authenticated service account that made the request.Access.BuildersetServiceAccountKeyName(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.BuildersetServiceAccountKeyNameBytes(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.BuildersetServiceName(String value)This is the API service that the service account made a call to, e.g.Access.BuildersetServiceNameBytes(com.google.protobuf.ByteString value)This is the API service that the service account made a call to, e.g.Access.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Access.BuildersetUserAgent(String value)The caller's user agent string associated with the finding.Access.BuildersetUserAgentBytes(com.google.protobuf.ByteString value)The caller's user agent string associated with the finding.Access.BuildersetUserAgentFamily(String value)Type of user agent associated with the finding.Access.BuildersetUserAgentFamilyBytes(com.google.protobuf.ByteString value)Type of user agent associated with the finding.Access.BuildersetUserName(String value)A string that represents a username.Access.BuildersetUserNameBytes(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Access.Builder>
-
clear
public Access.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Access.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Access.Builder>
-
getDefaultInstanceForType
public Access getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Access build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Access buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Access.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Access.Builder>
-
setField
public Access.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Access.Builder>
-
clearField
public Access.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Access.Builder>
-
clearOneof
public Access.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Access.Builder>
-
setRepeatedField
public Access.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Access.Builder>
-
addRepeatedField
public Access.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Access.Builder>
-
mergeFrom
public Access.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Access.Builder>
-
mergeFrom
public Access.Builder mergeFrom(Access other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getPrincipalEmailin 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:
getPrincipalEmailBytesin 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:
getCallerIpin 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:
getCallerIpBytesin 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:
hasCallerIpGeoin 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:
getCallerIpGeoin 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:
getCallerIpGeoOrBuilderin 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:
getUserAgentFamilyin 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:
getUserAgentFamilyBytesin 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:
getUserAgentin 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:
getUserAgentBytesin 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:
getServiceNamein 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:
getServiceNameBytesin 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:
getMethodNamein 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:
getMethodNameBytesin 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:
getPrincipalSubjectin 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:
getPrincipalSubjectBytesin 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:
getServiceAccountKeyNamein 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:
getServiceAccountKeyNameBytesin 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:
getServiceAccountDelegationInfoListin 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:
getServiceAccountDelegationInfoCountin 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:
getServiceAccountDelegationInfoin 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:
getServiceAccountDelegationInfoOrBuilderin 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:
getServiceAccountDelegationInfoOrBuilderListin 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:
getUserNamein 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:
getUserNameBytesin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Access.Builder>
-
mergeUnknownFields
public final Access.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Access.Builder>
-
-