Class AccessApprovalSettings.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AccessApprovalSettings.Builder>
-
- com.google.cloud.accessapproval.v1.AccessApprovalSettings.Builder
-
- All Implemented Interfaces:
AccessApprovalSettingsOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- AccessApprovalSettings
public static final class AccessApprovalSettings.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AccessApprovalSettings.Builder> implements AccessApprovalSettingsOrBuilder
Settings on a Project/Folder/Organization related to Access Approval.
Protobuf typegoogle.cloud.accessapproval.v1.AccessApprovalSettings
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessApprovalSettings.Builder
addAllEnrolledServices(Iterable<? extends EnrolledService> values)
A list of Google Cloud Services for which the given resource has Access Approval enrolled.AccessApprovalSettings.Builder
addAllNotificationEmails(Iterable<String> values)
A list of email addresses to which notifications relating to approval requests should be sent.AccessApprovalSettings.Builder
addEnrolledServices(int index, EnrolledService value)
A list of Google Cloud Services for which the given resource has Access Approval enrolled.AccessApprovalSettings.Builder
addEnrolledServices(int index, EnrolledService.Builder builderForValue)
A list of Google Cloud Services for which the given resource has Access Approval enrolled.AccessApprovalSettings.Builder
addEnrolledServices(EnrolledService value)
A list of Google Cloud Services for which the given resource has Access Approval enrolled.AccessApprovalSettings.Builder
addEnrolledServices(EnrolledService.Builder builderForValue)
A list of Google Cloud Services for which the given resource has Access Approval enrolled.EnrolledService.Builder
addEnrolledServicesBuilder()
A list of Google Cloud Services for which the given resource has Access Approval enrolled.EnrolledService.Builder
addEnrolledServicesBuilder(int index)
A list of Google Cloud Services for which the given resource has Access Approval enrolled.AccessApprovalSettings.Builder
addNotificationEmails(String value)
A list of email addresses to which notifications relating to approval requests should be sent.AccessApprovalSettings.Builder
addNotificationEmailsBytes(com.google.protobuf.ByteString value)
A list of email addresses to which notifications relating to approval requests should be sent.AccessApprovalSettings.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AccessApprovalSettings
build()
AccessApprovalSettings
buildPartial()
AccessApprovalSettings.Builder
clear()
AccessApprovalSettings.Builder
clearActiveKeyVersion()
The asymmetric crypto key version to use for signing approval requests.AccessApprovalSettings.Builder
clearAncestorHasActiveKeyVersion()
Output only.AccessApprovalSettings.Builder
clearEnrolledAncestor()
Output only.AccessApprovalSettings.Builder
clearEnrolledServices()
A list of Google Cloud Services for which the given resource has Access Approval enrolled.AccessApprovalSettings.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
AccessApprovalSettings.Builder
clearInvalidKeyVersion()
Output only.AccessApprovalSettings.Builder
clearName()
The resource name of the settings.AccessApprovalSettings.Builder
clearNotificationEmails()
A list of email addresses to which notifications relating to approval requests should be sent.AccessApprovalSettings.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
AccessApprovalSettings.Builder
clone()
String
getActiveKeyVersion()
The asymmetric crypto key version to use for signing approval requests.com.google.protobuf.ByteString
getActiveKeyVersionBytes()
The asymmetric crypto key version to use for signing approval requests.boolean
getAncestorHasActiveKeyVersion()
Output only.AccessApprovalSettings
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
boolean
getEnrolledAncestor()
Output only.EnrolledService
getEnrolledServices(int index)
A list of Google Cloud Services for which the given resource has Access Approval enrolled.EnrolledService.Builder
getEnrolledServicesBuilder(int index)
A list of Google Cloud Services for which the given resource has Access Approval enrolled.List<EnrolledService.Builder>
getEnrolledServicesBuilderList()
A list of Google Cloud Services for which the given resource has Access Approval enrolled.int
getEnrolledServicesCount()
A list of Google Cloud Services for which the given resource has Access Approval enrolled.List<EnrolledService>
getEnrolledServicesList()
A list of Google Cloud Services for which the given resource has Access Approval enrolled.EnrolledServiceOrBuilder
getEnrolledServicesOrBuilder(int index)
A list of Google Cloud Services for which the given resource has Access Approval enrolled.List<? extends EnrolledServiceOrBuilder>
getEnrolledServicesOrBuilderList()
A list of Google Cloud Services for which the given resource has Access Approval enrolled.boolean
getInvalidKeyVersion()
Output only.String
getName()
The resource name of the settings.com.google.protobuf.ByteString
getNameBytes()
The resource name of the settings.String
getNotificationEmails(int index)
A list of email addresses to which notifications relating to approval requests should be sent.com.google.protobuf.ByteString
getNotificationEmailsBytes(int index)
A list of email addresses to which notifications relating to approval requests should be sent.int
getNotificationEmailsCount()
A list of email addresses to which notifications relating to approval requests should be sent.com.google.protobuf.ProtocolStringList
getNotificationEmailsList()
A list of email addresses to which notifications relating to approval requests should be sent.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
AccessApprovalSettings.Builder
mergeFrom(AccessApprovalSettings other)
AccessApprovalSettings.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AccessApprovalSettings.Builder
mergeFrom(com.google.protobuf.Message other)
AccessApprovalSettings.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AccessApprovalSettings.Builder
removeEnrolledServices(int index)
A list of Google Cloud Services for which the given resource has Access Approval enrolled.AccessApprovalSettings.Builder
setActiveKeyVersion(String value)
The asymmetric crypto key version to use for signing approval requests.AccessApprovalSettings.Builder
setActiveKeyVersionBytes(com.google.protobuf.ByteString value)
The asymmetric crypto key version to use for signing approval requests.AccessApprovalSettings.Builder
setAncestorHasActiveKeyVersion(boolean value)
Output only.AccessApprovalSettings.Builder
setEnrolledAncestor(boolean value)
Output only.AccessApprovalSettings.Builder
setEnrolledServices(int index, EnrolledService value)
A list of Google Cloud Services for which the given resource has Access Approval enrolled.AccessApprovalSettings.Builder
setEnrolledServices(int index, EnrolledService.Builder builderForValue)
A list of Google Cloud Services for which the given resource has Access Approval enrolled.AccessApprovalSettings.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AccessApprovalSettings.Builder
setInvalidKeyVersion(boolean value)
Output only.AccessApprovalSettings.Builder
setName(String value)
The resource name of the settings.AccessApprovalSettings.Builder
setNameBytes(com.google.protobuf.ByteString value)
The resource name of the settings.AccessApprovalSettings.Builder
setNotificationEmails(int index, String value)
A list of email addresses to which notifications relating to approval requests should be sent.AccessApprovalSettings.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
AccessApprovalSettings.Builder
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, 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<AccessApprovalSettings.Builder>
-
clear
public AccessApprovalSettings.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<AccessApprovalSettings.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<AccessApprovalSettings.Builder>
-
getDefaultInstanceForType
public AccessApprovalSettings getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AccessApprovalSettings build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AccessApprovalSettings buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AccessApprovalSettings.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<AccessApprovalSettings.Builder>
-
setField
public AccessApprovalSettings.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<AccessApprovalSettings.Builder>
-
clearField
public AccessApprovalSettings.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<AccessApprovalSettings.Builder>
-
clearOneof
public AccessApprovalSettings.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<AccessApprovalSettings.Builder>
-
setRepeatedField
public AccessApprovalSettings.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<AccessApprovalSettings.Builder>
-
addRepeatedField
public AccessApprovalSettings.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<AccessApprovalSettings.Builder>
-
mergeFrom
public AccessApprovalSettings.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AccessApprovalSettings.Builder>
-
mergeFrom
public AccessApprovalSettings.Builder mergeFrom(AccessApprovalSettings other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AccessApprovalSettings.Builder>
-
mergeFrom
public AccessApprovalSettings.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<AccessApprovalSettings.Builder>
- Throws:
IOException
-
getName
public String getName()
The resource name of the settings. Format is one of: * "projects/{project}/accessApprovalSettings" * "folders/{folder}/accessApprovalSettings" * "organizations/{organization}/accessApprovalSettings"
string name = 1 [(.google.api.resource_reference) = { ... }
- Specified by:
getName
in interfaceAccessApprovalSettingsOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The resource name of the settings. Format is one of: * "projects/{project}/accessApprovalSettings" * "folders/{folder}/accessApprovalSettings" * "organizations/{organization}/accessApprovalSettings"
string name = 1 [(.google.api.resource_reference) = { ... }
- Specified by:
getNameBytes
in interfaceAccessApprovalSettingsOrBuilder
- Returns:
- The bytes for name.
-
setName
public AccessApprovalSettings.Builder setName(String value)
The resource name of the settings. Format is one of: * "projects/{project}/accessApprovalSettings" * "folders/{folder}/accessApprovalSettings" * "organizations/{organization}/accessApprovalSettings"
string name = 1 [(.google.api.resource_reference) = { ... }
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public AccessApprovalSettings.Builder clearName()
The resource name of the settings. Format is one of: * "projects/{project}/accessApprovalSettings" * "folders/{folder}/accessApprovalSettings" * "organizations/{organization}/accessApprovalSettings"
string name = 1 [(.google.api.resource_reference) = { ... }
- Returns:
- This builder for chaining.
-
setNameBytes
public AccessApprovalSettings.Builder setNameBytes(com.google.protobuf.ByteString value)
The resource name of the settings. Format is one of: * "projects/{project}/accessApprovalSettings" * "folders/{folder}/accessApprovalSettings" * "organizations/{organization}/accessApprovalSettings"
string name = 1 [(.google.api.resource_reference) = { ... }
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getNotificationEmailsList
public com.google.protobuf.ProtocolStringList getNotificationEmailsList()
A list of email addresses to which notifications relating to approval requests should be sent. Notifications relating to a resource will be sent to all emails in the settings of ancestor resources of that resource. A maximum of 50 email addresses are allowed.
repeated string notification_emails = 2;
- Specified by:
getNotificationEmailsList
in interfaceAccessApprovalSettingsOrBuilder
- Returns:
- A list containing the notificationEmails.
-
getNotificationEmailsCount
public int getNotificationEmailsCount()
A list of email addresses to which notifications relating to approval requests should be sent. Notifications relating to a resource will be sent to all emails in the settings of ancestor resources of that resource. A maximum of 50 email addresses are allowed.
repeated string notification_emails = 2;
- Specified by:
getNotificationEmailsCount
in interfaceAccessApprovalSettingsOrBuilder
- Returns:
- The count of notificationEmails.
-
getNotificationEmails
public String getNotificationEmails(int index)
A list of email addresses to which notifications relating to approval requests should be sent. Notifications relating to a resource will be sent to all emails in the settings of ancestor resources of that resource. A maximum of 50 email addresses are allowed.
repeated string notification_emails = 2;
- Specified by:
getNotificationEmails
in interfaceAccessApprovalSettingsOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The notificationEmails at the given index.
-
getNotificationEmailsBytes
public com.google.protobuf.ByteString getNotificationEmailsBytes(int index)
A list of email addresses to which notifications relating to approval requests should be sent. Notifications relating to a resource will be sent to all emails in the settings of ancestor resources of that resource. A maximum of 50 email addresses are allowed.
repeated string notification_emails = 2;
- Specified by:
getNotificationEmailsBytes
in interfaceAccessApprovalSettingsOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the notificationEmails at the given index.
-
setNotificationEmails
public AccessApprovalSettings.Builder setNotificationEmails(int index, String value)
A list of email addresses to which notifications relating to approval requests should be sent. Notifications relating to a resource will be sent to all emails in the settings of ancestor resources of that resource. A maximum of 50 email addresses are allowed.
repeated string notification_emails = 2;
- Parameters:
index
- The index to set the value at.value
- The notificationEmails to set.- Returns:
- This builder for chaining.
-
addNotificationEmails
public AccessApprovalSettings.Builder addNotificationEmails(String value)
A list of email addresses to which notifications relating to approval requests should be sent. Notifications relating to a resource will be sent to all emails in the settings of ancestor resources of that resource. A maximum of 50 email addresses are allowed.
repeated string notification_emails = 2;
- Parameters:
value
- The notificationEmails to add.- Returns:
- This builder for chaining.
-
addAllNotificationEmails
public AccessApprovalSettings.Builder addAllNotificationEmails(Iterable<String> values)
A list of email addresses to which notifications relating to approval requests should be sent. Notifications relating to a resource will be sent to all emails in the settings of ancestor resources of that resource. A maximum of 50 email addresses are allowed.
repeated string notification_emails = 2;
- Parameters:
values
- The notificationEmails to add.- Returns:
- This builder for chaining.
-
clearNotificationEmails
public AccessApprovalSettings.Builder clearNotificationEmails()
A list of email addresses to which notifications relating to approval requests should be sent. Notifications relating to a resource will be sent to all emails in the settings of ancestor resources of that resource. A maximum of 50 email addresses are allowed.
repeated string notification_emails = 2;
- Returns:
- This builder for chaining.
-
addNotificationEmailsBytes
public AccessApprovalSettings.Builder addNotificationEmailsBytes(com.google.protobuf.ByteString value)
A list of email addresses to which notifications relating to approval requests should be sent. Notifications relating to a resource will be sent to all emails in the settings of ancestor resources of that resource. A maximum of 50 email addresses are allowed.
repeated string notification_emails = 2;
- Parameters:
value
- The bytes of the notificationEmails to add.- Returns:
- This builder for chaining.
-
getEnrolledServicesList
public List<EnrolledService> getEnrolledServicesList()
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. If name refers to an organization, enrollment can be done for individual services. If name refers to a folder or project, enrollment can only be done on an all or nothing basis. If a cloud_product is repeated in this list, the first entry will be honored and all following entries will be discarded. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
- Specified by:
getEnrolledServicesList
in interfaceAccessApprovalSettingsOrBuilder
-
getEnrolledServicesCount
public int getEnrolledServicesCount()
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. If name refers to an organization, enrollment can be done for individual services. If name refers to a folder or project, enrollment can only be done on an all or nothing basis. If a cloud_product is repeated in this list, the first entry will be honored and all following entries will be discarded. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
- Specified by:
getEnrolledServicesCount
in interfaceAccessApprovalSettingsOrBuilder
-
getEnrolledServices
public EnrolledService getEnrolledServices(int index)
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. If name refers to an organization, enrollment can be done for individual services. If name refers to a folder or project, enrollment can only be done on an all or nothing basis. If a cloud_product is repeated in this list, the first entry will be honored and all following entries will be discarded. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
- Specified by:
getEnrolledServices
in interfaceAccessApprovalSettingsOrBuilder
-
setEnrolledServices
public AccessApprovalSettings.Builder setEnrolledServices(int index, EnrolledService value)
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. If name refers to an organization, enrollment can be done for individual services. If name refers to a folder or project, enrollment can only be done on an all or nothing basis. If a cloud_product is repeated in this list, the first entry will be honored and all following entries will be discarded. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
-
setEnrolledServices
public AccessApprovalSettings.Builder setEnrolledServices(int index, EnrolledService.Builder builderForValue)
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. If name refers to an organization, enrollment can be done for individual services. If name refers to a folder or project, enrollment can only be done on an all or nothing basis. If a cloud_product is repeated in this list, the first entry will be honored and all following entries will be discarded. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
-
addEnrolledServices
public AccessApprovalSettings.Builder addEnrolledServices(EnrolledService value)
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. If name refers to an organization, enrollment can be done for individual services. If name refers to a folder or project, enrollment can only be done on an all or nothing basis. If a cloud_product is repeated in this list, the first entry will be honored and all following entries will be discarded. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
-
addEnrolledServices
public AccessApprovalSettings.Builder addEnrolledServices(int index, EnrolledService value)
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. If name refers to an organization, enrollment can be done for individual services. If name refers to a folder or project, enrollment can only be done on an all or nothing basis. If a cloud_product is repeated in this list, the first entry will be honored and all following entries will be discarded. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
-
addEnrolledServices
public AccessApprovalSettings.Builder addEnrolledServices(EnrolledService.Builder builderForValue)
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. If name refers to an organization, enrollment can be done for individual services. If name refers to a folder or project, enrollment can only be done on an all or nothing basis. If a cloud_product is repeated in this list, the first entry will be honored and all following entries will be discarded. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
-
addEnrolledServices
public AccessApprovalSettings.Builder addEnrolledServices(int index, EnrolledService.Builder builderForValue)
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. If name refers to an organization, enrollment can be done for individual services. If name refers to a folder or project, enrollment can only be done on an all or nothing basis. If a cloud_product is repeated in this list, the first entry will be honored and all following entries will be discarded. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
-
addAllEnrolledServices
public AccessApprovalSettings.Builder addAllEnrolledServices(Iterable<? extends EnrolledService> values)
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. If name refers to an organization, enrollment can be done for individual services. If name refers to a folder or project, enrollment can only be done on an all or nothing basis. If a cloud_product is repeated in this list, the first entry will be honored and all following entries will be discarded. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
-
clearEnrolledServices
public AccessApprovalSettings.Builder clearEnrolledServices()
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. If name refers to an organization, enrollment can be done for individual services. If name refers to a folder or project, enrollment can only be done on an all or nothing basis. If a cloud_product is repeated in this list, the first entry will be honored and all following entries will be discarded. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
-
removeEnrolledServices
public AccessApprovalSettings.Builder removeEnrolledServices(int index)
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. If name refers to an organization, enrollment can be done for individual services. If name refers to a folder or project, enrollment can only be done on an all or nothing basis. If a cloud_product is repeated in this list, the first entry will be honored and all following entries will be discarded. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
-
getEnrolledServicesBuilder
public EnrolledService.Builder getEnrolledServicesBuilder(int index)
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. If name refers to an organization, enrollment can be done for individual services. If name refers to a folder or project, enrollment can only be done on an all or nothing basis. If a cloud_product is repeated in this list, the first entry will be honored and all following entries will be discarded. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
-
getEnrolledServicesOrBuilder
public EnrolledServiceOrBuilder getEnrolledServicesOrBuilder(int index)
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. If name refers to an organization, enrollment can be done for individual services. If name refers to a folder or project, enrollment can only be done on an all or nothing basis. If a cloud_product is repeated in this list, the first entry will be honored and all following entries will be discarded. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
- Specified by:
getEnrolledServicesOrBuilder
in interfaceAccessApprovalSettingsOrBuilder
-
getEnrolledServicesOrBuilderList
public List<? extends EnrolledServiceOrBuilder> getEnrolledServicesOrBuilderList()
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. If name refers to an organization, enrollment can be done for individual services. If name refers to a folder or project, enrollment can only be done on an all or nothing basis. If a cloud_product is repeated in this list, the first entry will be honored and all following entries will be discarded. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
- Specified by:
getEnrolledServicesOrBuilderList
in interfaceAccessApprovalSettingsOrBuilder
-
addEnrolledServicesBuilder
public EnrolledService.Builder addEnrolledServicesBuilder()
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. If name refers to an organization, enrollment can be done for individual services. If name refers to a folder or project, enrollment can only be done on an all or nothing basis. If a cloud_product is repeated in this list, the first entry will be honored and all following entries will be discarded. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
-
addEnrolledServicesBuilder
public EnrolledService.Builder addEnrolledServicesBuilder(int index)
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. If name refers to an organization, enrollment can be done for individual services. If name refers to a folder or project, enrollment can only be done on an all or nothing basis. If a cloud_product is repeated in this list, the first entry will be honored and all following entries will be discarded. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
-
getEnrolledServicesBuilderList
public List<EnrolledService.Builder> getEnrolledServicesBuilderList()
A list of Google Cloud Services for which the given resource has Access Approval enrolled. Access requests for the resource given by name against any of these services contained here will be required to have explicit approval. If name refers to an organization, enrollment can be done for individual services. If name refers to a folder or project, enrollment can only be done on an all or nothing basis. If a cloud_product is repeated in this list, the first entry will be honored and all following entries will be discarded. A maximum of 10 enrolled services will be enforced, to be expanded as the set of supported services is expanded.
repeated .google.cloud.accessapproval.v1.EnrolledService enrolled_services = 3;
-
getEnrolledAncestor
public boolean getEnrolledAncestor()
Output only. This field is read only (not settable via UpdateAccessApprovalSettings method). If the field is true, that indicates that at least one service is enrolled for Access Approval in one or more ancestors of the Project or Folder (this field will always be unset for the organization since organizations do not have ancestors).
bool enrolled_ancestor = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getEnrolledAncestor
in interfaceAccessApprovalSettingsOrBuilder
- Returns:
- The enrolledAncestor.
-
setEnrolledAncestor
public AccessApprovalSettings.Builder setEnrolledAncestor(boolean value)
Output only. This field is read only (not settable via UpdateAccessApprovalSettings method). If the field is true, that indicates that at least one service is enrolled for Access Approval in one or more ancestors of the Project or Folder (this field will always be unset for the organization since organizations do not have ancestors).
bool enrolled_ancestor = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The enrolledAncestor to set.- Returns:
- This builder for chaining.
-
clearEnrolledAncestor
public AccessApprovalSettings.Builder clearEnrolledAncestor()
Output only. This field is read only (not settable via UpdateAccessApprovalSettings method). If the field is true, that indicates that at least one service is enrolled for Access Approval in one or more ancestors of the Project or Folder (this field will always be unset for the organization since organizations do not have ancestors).
bool enrolled_ancestor = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getActiveKeyVersion
public String getActiveKeyVersion()
The asymmetric crypto key version to use for signing approval requests. Empty active_key_version indicates that a Google-managed key should be used for signing. This property will be ignored if set by an ancestor of this resource, and new non-empty values may not be set.
string active_key_version = 6;
- Specified by:
getActiveKeyVersion
in interfaceAccessApprovalSettingsOrBuilder
- Returns:
- The activeKeyVersion.
-
getActiveKeyVersionBytes
public com.google.protobuf.ByteString getActiveKeyVersionBytes()
The asymmetric crypto key version to use for signing approval requests. Empty active_key_version indicates that a Google-managed key should be used for signing. This property will be ignored if set by an ancestor of this resource, and new non-empty values may not be set.
string active_key_version = 6;
- Specified by:
getActiveKeyVersionBytes
in interfaceAccessApprovalSettingsOrBuilder
- Returns:
- The bytes for activeKeyVersion.
-
setActiveKeyVersion
public AccessApprovalSettings.Builder setActiveKeyVersion(String value)
The asymmetric crypto key version to use for signing approval requests. Empty active_key_version indicates that a Google-managed key should be used for signing. This property will be ignored if set by an ancestor of this resource, and new non-empty values may not be set.
string active_key_version = 6;
- Parameters:
value
- The activeKeyVersion to set.- Returns:
- This builder for chaining.
-
clearActiveKeyVersion
public AccessApprovalSettings.Builder clearActiveKeyVersion()
The asymmetric crypto key version to use for signing approval requests. Empty active_key_version indicates that a Google-managed key should be used for signing. This property will be ignored if set by an ancestor of this resource, and new non-empty values may not be set.
string active_key_version = 6;
- Returns:
- This builder for chaining.
-
setActiveKeyVersionBytes
public AccessApprovalSettings.Builder setActiveKeyVersionBytes(com.google.protobuf.ByteString value)
The asymmetric crypto key version to use for signing approval requests. Empty active_key_version indicates that a Google-managed key should be used for signing. This property will be ignored if set by an ancestor of this resource, and new non-empty values may not be set.
string active_key_version = 6;
- Parameters:
value
- The bytes for activeKeyVersion to set.- Returns:
- This builder for chaining.
-
getAncestorHasActiveKeyVersion
public boolean getAncestorHasActiveKeyVersion()
Output only. This field is read only (not settable via UpdateAccessApprovalSettings method). If the field is true, that indicates that an ancestor of this Project or Folder has set active_key_version (this field will always be unset for the organization since organizations do not have ancestors).
bool ancestor_has_active_key_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getAncestorHasActiveKeyVersion
in interfaceAccessApprovalSettingsOrBuilder
- Returns:
- The ancestorHasActiveKeyVersion.
-
setAncestorHasActiveKeyVersion
public AccessApprovalSettings.Builder setAncestorHasActiveKeyVersion(boolean value)
Output only. This field is read only (not settable via UpdateAccessApprovalSettings method). If the field is true, that indicates that an ancestor of this Project or Folder has set active_key_version (this field will always be unset for the organization since organizations do not have ancestors).
bool ancestor_has_active_key_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The ancestorHasActiveKeyVersion to set.- Returns:
- This builder for chaining.
-
clearAncestorHasActiveKeyVersion
public AccessApprovalSettings.Builder clearAncestorHasActiveKeyVersion()
Output only. This field is read only (not settable via UpdateAccessApprovalSettings method). If the field is true, that indicates that an ancestor of this Project or Folder has set active_key_version (this field will always be unset for the organization since organizations do not have ancestors).
bool ancestor_has_active_key_version = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getInvalidKeyVersion
public boolean getInvalidKeyVersion()
Output only. This field is read only (not settable via UpdateAccessApprovalSettings method). If the field is true, that indicates that there is some configuration issue with the active_key_version configured at this level in the resource hierarchy (e.g. it doesn't exist or the Access Approval service account doesn't have the correct permissions on it, etc.) This key version is not necessarily the effective key version at this level, as key versions are inherited top-down.
bool invalid_key_version = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getInvalidKeyVersion
in interfaceAccessApprovalSettingsOrBuilder
- Returns:
- The invalidKeyVersion.
-
setInvalidKeyVersion
public AccessApprovalSettings.Builder setInvalidKeyVersion(boolean value)
Output only. This field is read only (not settable via UpdateAccessApprovalSettings method). If the field is true, that indicates that there is some configuration issue with the active_key_version configured at this level in the resource hierarchy (e.g. it doesn't exist or the Access Approval service account doesn't have the correct permissions on it, etc.) This key version is not necessarily the effective key version at this level, as key versions are inherited top-down.
bool invalid_key_version = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The invalidKeyVersion to set.- Returns:
- This builder for chaining.
-
clearInvalidKeyVersion
public AccessApprovalSettings.Builder clearInvalidKeyVersion()
Output only. This field is read only (not settable via UpdateAccessApprovalSettings method). If the field is true, that indicates that there is some configuration issue with the active_key_version configured at this level in the resource hierarchy (e.g. it doesn't exist or the Access Approval service account doesn't have the correct permissions on it, etc.) This key version is not necessarily the effective key version at this level, as key versions are inherited top-down.
bool invalid_key_version = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setUnknownFields
public final AccessApprovalSettings.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AccessApprovalSettings.Builder>
-
mergeUnknownFields
public final AccessApprovalSettings.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AccessApprovalSettings.Builder>
-
-