public static final class FeatureSpec.Builder extends GeneratedMessageV3.Builder<FeatureSpec.Builder> implements FeatureSpecOrBuilder
Cloud Audit Logging: Spec for Audit Logging Allowlisting.
Protobuf type google.cloud.gkehub.cloudauditlogging.v1alpha.FeatureSpec
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllAllowlistedServiceAccounts(Iterable<String> values)
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;
Parameter |
---|
Name | Description |
values | Iterable<String>
The allowlistedServiceAccounts to add.
|
addAllowlistedServiceAccounts(String value)
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;
Parameter |
---|
Name | Description |
value | String
The allowlistedServiceAccounts to add.
|
addAllowlistedServiceAccountsBytes(ByteString value)
public FeatureSpec.Builder addAllowlistedServiceAccountsBytes(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;
Parameter |
---|
Name | Description |
value | ByteString
The bytes of the allowlistedServiceAccounts to add.
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FeatureSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public FeatureSpec build()
buildPartial()
public FeatureSpec buildPartial()
clear()
public FeatureSpec.Builder clear()
Overrides
clearAllowlistedServiceAccounts()
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;
clearField(Descriptors.FieldDescriptor field)
public FeatureSpec.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public FeatureSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public FeatureSpec.Builder clone()
Overrides
getAllowlistedServiceAccounts(int index)
public 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;
Parameter |
---|
Name | Description |
index | int
The index of the element to return.
|
Returns |
---|
Type | Description |
String | The allowlistedServiceAccounts at the given index.
|
getAllowlistedServiceAccountsBytes(int index)
public 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;
Parameter |
---|
Name | Description |
index | int
The index of the value to return.
|
Returns |
---|
Type | Description |
ByteString | The bytes of the allowlistedServiceAccounts at the given index.
|
getAllowlistedServiceAccountsCount()
public 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;
Returns |
---|
Type | Description |
int | The count of allowlistedServiceAccounts.
|
getAllowlistedServiceAccountsList()
public 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;
getDefaultInstanceForType()
public FeatureSpec getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(FeatureSpec other)
public FeatureSpec.Builder mergeFrom(FeatureSpec other)
public FeatureSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public FeatureSpec.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FeatureSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAllowlistedServiceAccounts(int index, String value)
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;
Parameters |
---|
Name | Description |
index | int
The index to set the value at.
|
value | String
The allowlistedServiceAccounts to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public FeatureSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FeatureSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final FeatureSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides