public static final class FeatureSpec.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FeatureSpec.Builder> implements FeatureSpecOrBuilder
**Cloud Audit Logging**: Spec for Audit Logging Allowlisting.Protobuf type
google.cloud.gkehub.cloudauditlogging.v1alpha.FeatureSpec| Modifier and Type | Method and Description |
|---|---|
FeatureSpec.Builder |
addAllAllowlistedServiceAccounts(Iterable<String> values)
Service account that should be allowlisted to send the audit logs; eg
cloudauditlogging@gcp-project.iam.gserviceaccount.com.
|
FeatureSpec.Builder |
addAllowlistedServiceAccounts(String value)
Service account that should be allowlisted to send the audit logs; eg
cloudauditlogging@gcp-project.iam.gserviceaccount.com.
|
FeatureSpec.Builder |
addAllowlistedServiceAccountsBytes(com.google.protobuf.ByteString value)
Service account that should be allowlisted to send the audit logs; eg
cloudauditlogging@gcp-project.iam.gserviceaccount.com.
|
FeatureSpec.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FeatureSpec |
build() |
FeatureSpec |
buildPartial() |
FeatureSpec.Builder |
clear() |
FeatureSpec.Builder |
clearAllowlistedServiceAccounts()
Service account that should be allowlisted to send the audit logs; eg
cloudauditlogging@gcp-project.iam.gserviceaccount.com.
|
FeatureSpec.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
FeatureSpec.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
FeatureSpec.Builder |
clone() |
String |
getAllowlistedServiceAccounts(int index)
Service account that should be allowlisted to send the audit logs; eg
cloudauditlogging@gcp-project.iam.gserviceaccount.com.
|
com.google.protobuf.ByteString |
getAllowlistedServiceAccountsBytes(int index)
Service account that should be allowlisted to send the audit logs; eg
cloudauditlogging@gcp-project.iam.gserviceaccount.com.
|
int |
getAllowlistedServiceAccountsCount()
Service account that should be allowlisted to send the audit logs; eg
cloudauditlogging@gcp-project.iam.gserviceaccount.com.
|
com.google.protobuf.ProtocolStringList |
getAllowlistedServiceAccountsList()
Service account that should be allowlisted to send the audit logs; eg
cloudauditlogging@gcp-project.iam.gserviceaccount.com.
|
FeatureSpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
FeatureSpec.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
FeatureSpec.Builder |
mergeFrom(FeatureSpec other) |
FeatureSpec.Builder |
mergeFrom(com.google.protobuf.Message other) |
FeatureSpec.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
FeatureSpec.Builder |
setAllowlistedServiceAccounts(int index,
String value)
Service account that should be allowlisted to send the audit logs; eg
cloudauditlogging@gcp-project.iam.gserviceaccount.com.
|
FeatureSpec.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
FeatureSpec.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
FeatureSpec.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureSpec.Builder>public FeatureSpec.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureSpec.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureSpec.Builder>public FeatureSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic FeatureSpec build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic FeatureSpec buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic FeatureSpec.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureSpec.Builder>public FeatureSpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureSpec.Builder>public FeatureSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureSpec.Builder>public FeatureSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureSpec.Builder>public FeatureSpec.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureSpec.Builder>public FeatureSpec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureSpec.Builder>public FeatureSpec.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FeatureSpec.Builder>public FeatureSpec.Builder mergeFrom(FeatureSpec other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureSpec.Builder>public FeatureSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<FeatureSpec.Builder>IOExceptionpublic com.google.protobuf.ProtocolStringList getAllowlistedServiceAccountsList()
Service account that should be allowlisted to send the audit logs; eg cloudauditlogging@gcp-project.iam.gserviceaccount.com. These accounts must already exist, but do not need to have any permissions granted to them. The customer's entitlements will be checked prior to allowlisting (i.e. the customer must be an Anthos customer.)
repeated string allowlisted_service_accounts = 1;getAllowlistedServiceAccountsList in interface FeatureSpecOrBuilderpublic int getAllowlistedServiceAccountsCount()
Service account that should be allowlisted to send the audit logs; eg cloudauditlogging@gcp-project.iam.gserviceaccount.com. These accounts must already exist, but do not need to have any permissions granted to them. The customer's entitlements will be checked prior to allowlisting (i.e. the customer must be an Anthos customer.)
repeated string allowlisted_service_accounts = 1;getAllowlistedServiceAccountsCount in interface FeatureSpecOrBuilderpublic String getAllowlistedServiceAccounts(int index)
Service account that should be allowlisted to send the audit logs; eg cloudauditlogging@gcp-project.iam.gserviceaccount.com. These accounts must already exist, but do not need to have any permissions granted to them. The customer's entitlements will be checked prior to allowlisting (i.e. the customer must be an Anthos customer.)
repeated string allowlisted_service_accounts = 1;getAllowlistedServiceAccounts in interface FeatureSpecOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getAllowlistedServiceAccountsBytes(int index)
Service account that should be allowlisted to send the audit logs; eg cloudauditlogging@gcp-project.iam.gserviceaccount.com. These accounts must already exist, but do not need to have any permissions granted to them. The customer's entitlements will be checked prior to allowlisting (i.e. the customer must be an Anthos customer.)
repeated string allowlisted_service_accounts = 1;getAllowlistedServiceAccountsBytes in interface FeatureSpecOrBuilderindex - The index of the value to return.public FeatureSpec.Builder setAllowlistedServiceAccounts(int index, String value)
Service account that should be allowlisted to send the audit logs; eg cloudauditlogging@gcp-project.iam.gserviceaccount.com. These accounts must already exist, but do not need to have any permissions granted to them. The customer's entitlements will be checked prior to allowlisting (i.e. the customer must be an Anthos customer.)
repeated string allowlisted_service_accounts = 1;index - The index to set the value at.value - The allowlistedServiceAccounts to set.public FeatureSpec.Builder addAllowlistedServiceAccounts(String value)
Service account that should be allowlisted to send the audit logs; eg cloudauditlogging@gcp-project.iam.gserviceaccount.com. These accounts must already exist, but do not need to have any permissions granted to them. The customer's entitlements will be checked prior to allowlisting (i.e. the customer must be an Anthos customer.)
repeated string allowlisted_service_accounts = 1;value - The allowlistedServiceAccounts to add.public FeatureSpec.Builder addAllAllowlistedServiceAccounts(Iterable<String> values)
Service account that should be allowlisted to send the audit logs; eg cloudauditlogging@gcp-project.iam.gserviceaccount.com. These accounts must already exist, but do not need to have any permissions granted to them. The customer's entitlements will be checked prior to allowlisting (i.e. the customer must be an Anthos customer.)
repeated string allowlisted_service_accounts = 1;values - The allowlistedServiceAccounts to add.public FeatureSpec.Builder clearAllowlistedServiceAccounts()
Service account that should be allowlisted to send the audit logs; eg cloudauditlogging@gcp-project.iam.gserviceaccount.com. These accounts must already exist, but do not need to have any permissions granted to them. The customer's entitlements will be checked prior to allowlisting (i.e. the customer must be an Anthos customer.)
repeated string allowlisted_service_accounts = 1;public FeatureSpec.Builder addAllowlistedServiceAccountsBytes(com.google.protobuf.ByteString value)
Service account that should be allowlisted to send the audit logs; eg cloudauditlogging@gcp-project.iam.gserviceaccount.com. These accounts must already exist, but do not need to have any permissions granted to them. The customer's entitlements will be checked prior to allowlisting (i.e. the customer must be an Anthos customer.)
repeated string allowlisted_service_accounts = 1;value - The bytes of the allowlistedServiceAccounts to add.public final FeatureSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureSpec.Builder>public final FeatureSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<FeatureSpec.Builder>Copyright © 2024 Google LLC. All rights reserved.