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 type
google.cloud.audit.ServiceAccountDelegationInfo.FirstPartyPrincipal
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) The email address of a Google account.Metadata about the service that uses the service account.clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
The email address of a Google account.com.google.protobuf.ByteString
The email address of a Google account.Metadata about the service that uses the service account.Metadata about the service that uses the service account.Metadata about the service that uses the service account.boolean
Metadata about the service that uses the service account.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeServiceMetadata
(Struct value) Metadata about the service that uses the service account.mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setPrincipalEmail
(String value) The email address of a Google account.setPrincipalEmailBytes
(com.google.protobuf.ByteString value) The email address of a Google account.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setServiceMetadata
(Struct value) Metadata about the service that uses the service account.setServiceMetadata
(Struct.Builder builderForValue) Metadata about the service that uses the service account.setUnknownFields
(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, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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<ServiceAccountDelegationInfo.FirstPartyPrincipal.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<ServiceAccountDelegationInfo.FirstPartyPrincipal.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<ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.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<ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder>
-
setField
public ServiceAccountDelegationInfo.FirstPartyPrincipal.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<ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder>
-
clearField
public ServiceAccountDelegationInfo.FirstPartyPrincipal.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<ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder>
-
clearOneof
public ServiceAccountDelegationInfo.FirstPartyPrincipal.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<ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder>
-
setRepeatedField
public ServiceAccountDelegationInfo.FirstPartyPrincipal.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<ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder>
-
addRepeatedField
public ServiceAccountDelegationInfo.FirstPartyPrincipal.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<ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder>
-
mergeFrom
public ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder>
- Throws:
IOException
-
getPrincipalEmail
The email address of a Google account.
string principal_email = 1;
- Specified by:
getPrincipalEmail
in 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:
getPrincipalEmailBytes
in interfaceServiceAccountDelegationInfo.FirstPartyPrincipalOrBuilder
- Returns:
- The bytes for principalEmail.
-
setPrincipalEmail
The email address of a Google account.
string principal_email = 1;
- Parameters:
value
- The principalEmail to set.- Returns:
- This builder for chaining.
-
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:
hasServiceMetadata
in interfaceServiceAccountDelegationInfo.FirstPartyPrincipalOrBuilder
- Returns:
- Whether the serviceMetadata field is set.
-
getServiceMetadata
Metadata about the service that uses the service account.
.google.protobuf.Struct service_metadata = 2;
- Specified by:
getServiceMetadata
in interfaceServiceAccountDelegationInfo.FirstPartyPrincipalOrBuilder
- Returns:
- The serviceMetadata.
-
setServiceMetadata
Metadata about the service that uses the service account.
.google.protobuf.Struct service_metadata = 2;
-
setServiceMetadata
public ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder setServiceMetadata(Struct.Builder builderForValue) Metadata about the service that uses the service account.
.google.protobuf.Struct service_metadata = 2;
-
mergeServiceMetadata
Metadata about the service that uses the service account.
.google.protobuf.Struct service_metadata = 2;
-
clearServiceMetadata
Metadata about the service that uses the service account.
.google.protobuf.Struct service_metadata = 2;
-
getServiceMetadataBuilder
Metadata about the service that uses the service account.
.google.protobuf.Struct service_metadata = 2;
-
getServiceMetadataOrBuilder
Metadata about the service that uses the service account.
.google.protobuf.Struct service_metadata = 2;
- Specified by:
getServiceMetadataOrBuilder
in interfaceServiceAccountDelegationInfo.FirstPartyPrincipalOrBuilder
-
setUnknownFields
public final ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder>
-
mergeUnknownFields
public final ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ServiceAccountDelegationInfo.FirstPartyPrincipal.Builder>
-