Package com.google.cloud.audit
Class ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder>
-
- com.google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder
-
- All Implemented Interfaces:
ServiceAccountDelegationInfo.FirstPartyPrincipalOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ServiceAccountDelegationInfo.FirstPartyPrincipal
public static final class ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder> implements ServiceAccountDelegationInfo.FirstPartyPrincipalOrBuilder
First party identity principal.
Protobuf typegoogle.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceAccountDelegationInfo.FirstPartyPrincipal.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ServiceAccountDelegationInfo.FirstPartyPrincipalbuild()ServiceAccountDelegationInfo.FirstPartyPrincipalbuildPartial()ServiceAccountDelegationInfo.FirstPartyPrincipal.Builderclear()ServiceAccountDelegationInfo.FirstPartyPrincipal.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ServiceAccountDelegationInfo.FirstPartyPrincipal.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ServiceAccountDelegationInfo.FirstPartyPrincipal.BuilderclearPrincipalEmail()The email address of a Google account.ServiceAccountDelegationInfo.FirstPartyPrincipal.BuilderclearServiceMetadata()Metadata about the service that uses the service account.ServiceAccountDelegationInfo.FirstPartyPrincipal.Builderclone()ServiceAccountDelegationInfo.FirstPartyPrincipalgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetPrincipalEmail()The email address of a Google account.com.google.protobuf.ByteStringgetPrincipalEmailBytes()The email address of a Google account.com.google.protobuf.StructgetServiceMetadata()Metadata about the service that uses the service account.com.google.protobuf.Struct.BuildergetServiceMetadataBuilder()Metadata about the service that uses the service account.com.google.protobuf.StructOrBuildergetServiceMetadataOrBuilder()Metadata about the service that uses the service account.booleanhasServiceMetadata()Metadata about the service that uses the service account.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ServiceAccountDelegationInfo.FirstPartyPrincipal.BuildermergeFrom(ServiceAccountDelegationInfo.FirstPartyPrincipal other)ServiceAccountDelegationInfo.FirstPartyPrincipal.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ServiceAccountDelegationInfo.FirstPartyPrincipal.BuildermergeFrom(com.google.protobuf.Message other)ServiceAccountDelegationInfo.FirstPartyPrincipal.BuildermergeServiceMetadata(com.google.protobuf.Struct value)Metadata about the service that uses the service account.ServiceAccountDelegationInfo.FirstPartyPrincipal.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ServiceAccountDelegationInfo.FirstPartyPrincipal.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ServiceAccountDelegationInfo.FirstPartyPrincipal.BuildersetPrincipalEmail(String value)The email address of a Google account.ServiceAccountDelegationInfo.FirstPartyPrincipal.BuildersetPrincipalEmailBytes(com.google.protobuf.ByteString value)The email address of a Google account.ServiceAccountDelegationInfo.FirstPartyPrincipal.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ServiceAccountDelegationInfo.FirstPartyPrincipal.BuildersetServiceMetadata(com.google.protobuf.Struct value)Metadata about the service that uses the service account.ServiceAccountDelegationInfo.FirstPartyPrincipal.BuildersetServiceMetadata(com.google.protobuf.Struct.Builder builderForValue)Metadata about the service that uses the service account.ServiceAccountDelegationInfo.FirstPartyPrincipal.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
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<ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder>
-
clear
public ServiceAccountDelegationInfo.FirstPartyPrincipal.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<ServiceAccountDelegationInfo.FirstPartyPrincipal.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<ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder>
-
getDefaultInstanceForType
public ServiceAccountDelegationInfo.FirstPartyPrincipal getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ServiceAccountDelegationInfo.FirstPartyPrincipal build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ServiceAccountDelegationInfo.FirstPartyPrincipal buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ServiceAccountDelegationInfo.FirstPartyPrincipal.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<ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder>
-
setField
public ServiceAccountDelegationInfo.FirstPartyPrincipal.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<ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder>
-
clearField
public ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder>
-
clearOneof
public ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder>
-
setRepeatedField
public ServiceAccountDelegationInfo.FirstPartyPrincipal.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<ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder>
-
addRepeatedField
public ServiceAccountDelegationInfo.FirstPartyPrincipal.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<ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder>
-
mergeFrom
public ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder>
-
mergeFrom
public ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder mergeFrom(ServiceAccountDelegationInfo.FirstPartyPrincipal other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder>
-
mergeFrom
public ServiceAccountDelegationInfo.FirstPartyPrincipal.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<ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder>- Throws:
IOException
-
getPrincipalEmail
public String getPrincipalEmail()
The email address of a Google account.
string principal_email = 1;- Specified by:
getPrincipalEmailin interfaceServiceAccountDelegationInfo.FirstPartyPrincipalOrBuilder- Returns:
- The principalEmail.
-
getPrincipalEmailBytes
public com.google.protobuf.ByteString getPrincipalEmailBytes()
The email address of a Google account.
string principal_email = 1;- Specified by:
getPrincipalEmailBytesin interfaceServiceAccountDelegationInfo.FirstPartyPrincipalOrBuilder- Returns:
- The bytes for principalEmail.
-
setPrincipalEmail
public ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder setPrincipalEmail(String value)
The email address of a Google account.
string principal_email = 1;- Parameters:
value- The principalEmail to set.- Returns:
- This builder for chaining.
-
clearPrincipalEmail
public ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder clearPrincipalEmail()
The email address of a Google account.
string principal_email = 1;- Returns:
- This builder for chaining.
-
setPrincipalEmailBytes
public ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder setPrincipalEmailBytes(com.google.protobuf.ByteString value)
The email address of a Google account.
string principal_email = 1;- Parameters:
value- The bytes for principalEmail to set.- Returns:
- This builder for chaining.
-
hasServiceMetadata
public boolean hasServiceMetadata()
Metadata about the service that uses the service account.
.google.protobuf.Struct service_metadata = 2;- Specified by:
hasServiceMetadatain interfaceServiceAccountDelegationInfo.FirstPartyPrincipalOrBuilder- Returns:
- Whether the serviceMetadata field is set.
-
getServiceMetadata
public com.google.protobuf.Struct getServiceMetadata()
Metadata about the service that uses the service account.
.google.protobuf.Struct service_metadata = 2;- Specified by:
getServiceMetadatain interfaceServiceAccountDelegationInfo.FirstPartyPrincipalOrBuilder- Returns:
- The serviceMetadata.
-
setServiceMetadata
public ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder setServiceMetadata(com.google.protobuf.Struct value)
Metadata about the service that uses the service account.
.google.protobuf.Struct service_metadata = 2;
-
setServiceMetadata
public ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder setServiceMetadata(com.google.protobuf.Struct.Builder builderForValue)
Metadata about the service that uses the service account.
.google.protobuf.Struct service_metadata = 2;
-
mergeServiceMetadata
public ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder mergeServiceMetadata(com.google.protobuf.Struct value)
Metadata about the service that uses the service account.
.google.protobuf.Struct service_metadata = 2;
-
clearServiceMetadata
public ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder clearServiceMetadata()
Metadata about the service that uses the service account.
.google.protobuf.Struct service_metadata = 2;
-
getServiceMetadataBuilder
public com.google.protobuf.Struct.Builder getServiceMetadataBuilder()
Metadata about the service that uses the service account.
.google.protobuf.Struct service_metadata = 2;
-
getServiceMetadataOrBuilder
public com.google.protobuf.StructOrBuilder getServiceMetadataOrBuilder()
Metadata about the service that uses the service account.
.google.protobuf.Struct service_metadata = 2;- Specified by:
getServiceMetadataOrBuilderin interfaceServiceAccountDelegationInfo.FirstPartyPrincipalOrBuilder
-
setUnknownFields
public final ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder>
-
mergeUnknownFields
public final ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder>
-
-