Class ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder>
com.google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder
- All Implemented Interfaces:
ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScopeOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope
public static final class ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder>
implements ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScopeOrBuilder
A scope specifier for check sets.Protobuf type
google.cloud.binaryauthorization.v1beta1.ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Matches all Kubernetes service accounts in the provided namespace, unless a more specific `kubernetes_service_account` scope already matched.Matches a single Kubernetes service account, e.g.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorMatches all Kubernetes service accounts in the provided namespace, unless a more specific `kubernetes_service_account` scope already matched.com.google.protobuf.ByteStringMatches all Kubernetes service accounts in the provided namespace, unless a more specific `kubernetes_service_account` scope already matched.Matches a single Kubernetes service account, e.g.com.google.protobuf.ByteStringMatches a single Kubernetes service account, e.g.booleanMatches all Kubernetes service accounts in the provided namespace, unless a more specific `kubernetes_service_account` scope already matched.booleanMatches a single Kubernetes service account, e.g.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setKubernetesNamespace(String value) Matches all Kubernetes service accounts in the provided namespace, unless a more specific `kubernetes_service_account` scope already matched.setKubernetesNamespaceBytes(com.google.protobuf.ByteString value) Matches all Kubernetes service accounts in the provided namespace, unless a more specific `kubernetes_service_account` scope already matched.Matches a single Kubernetes service account, e.g.setKubernetesServiceAccountBytes(com.google.protobuf.ByteString value) Matches a single Kubernetes service account, e.g.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder>
-
clear
public ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder clear()- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.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.GeneratedMessage.Builder<ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder>
-
getDefaultInstanceForType
public ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope getDefaultInstanceForType()- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope build()- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope buildPartial()- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder>
-
mergeFrom
public ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.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<ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder>- Throws:
IOException
-
getScopeCase
-
clearScope
-
hasKubernetesServiceAccount
public boolean hasKubernetesServiceAccount()Matches a single Kubernetes service account, e.g. 'my-namespace:my-service-account'. `kubernetes_service_account` scope is always more specific than `kubernetes_namespace` scope for the same namespace.
string kubernetes_service_account = 1;- Specified by:
hasKubernetesServiceAccountin interfaceContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScopeOrBuilder- Returns:
- Whether the kubernetesServiceAccount field is set.
-
getKubernetesServiceAccount
Matches a single Kubernetes service account, e.g. 'my-namespace:my-service-account'. `kubernetes_service_account` scope is always more specific than `kubernetes_namespace` scope for the same namespace.
string kubernetes_service_account = 1;- Specified by:
getKubernetesServiceAccountin interfaceContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScopeOrBuilder- Returns:
- The kubernetesServiceAccount.
-
getKubernetesServiceAccountBytes
public com.google.protobuf.ByteString getKubernetesServiceAccountBytes()Matches a single Kubernetes service account, e.g. 'my-namespace:my-service-account'. `kubernetes_service_account` scope is always more specific than `kubernetes_namespace` scope for the same namespace.
string kubernetes_service_account = 1;- Specified by:
getKubernetesServiceAccountBytesin interfaceContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScopeOrBuilder- Returns:
- The bytes for kubernetesServiceAccount.
-
setKubernetesServiceAccount
public ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder setKubernetesServiceAccount(String value) Matches a single Kubernetes service account, e.g. 'my-namespace:my-service-account'. `kubernetes_service_account` scope is always more specific than `kubernetes_namespace` scope for the same namespace.
string kubernetes_service_account = 1;- Parameters:
value- The kubernetesServiceAccount to set.- Returns:
- This builder for chaining.
-
clearKubernetesServiceAccount
public ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder clearKubernetesServiceAccount()Matches a single Kubernetes service account, e.g. 'my-namespace:my-service-account'. `kubernetes_service_account` scope is always more specific than `kubernetes_namespace` scope for the same namespace.
string kubernetes_service_account = 1;- Returns:
- This builder for chaining.
-
setKubernetesServiceAccountBytes
public ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder setKubernetesServiceAccountBytes(com.google.protobuf.ByteString value) Matches a single Kubernetes service account, e.g. 'my-namespace:my-service-account'. `kubernetes_service_account` scope is always more specific than `kubernetes_namespace` scope for the same namespace.
string kubernetes_service_account = 1;- Parameters:
value- The bytes for kubernetesServiceAccount to set.- Returns:
- This builder for chaining.
-
hasKubernetesNamespace
public boolean hasKubernetesNamespace()Matches all Kubernetes service accounts in the provided namespace, unless a more specific `kubernetes_service_account` scope already matched.
string kubernetes_namespace = 2;- Specified by:
hasKubernetesNamespacein interfaceContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScopeOrBuilder- Returns:
- Whether the kubernetesNamespace field is set.
-
getKubernetesNamespace
Matches all Kubernetes service accounts in the provided namespace, unless a more specific `kubernetes_service_account` scope already matched.
string kubernetes_namespace = 2;- Specified by:
getKubernetesNamespacein interfaceContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScopeOrBuilder- Returns:
- The kubernetesNamespace.
-
getKubernetesNamespaceBytes
public com.google.protobuf.ByteString getKubernetesNamespaceBytes()Matches all Kubernetes service accounts in the provided namespace, unless a more specific `kubernetes_service_account` scope already matched.
string kubernetes_namespace = 2;- Specified by:
getKubernetesNamespaceBytesin interfaceContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScopeOrBuilder- Returns:
- The bytes for kubernetesNamespace.
-
setKubernetesNamespace
public ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder setKubernetesNamespace(String value) Matches all Kubernetes service accounts in the provided namespace, unless a more specific `kubernetes_service_account` scope already matched.
string kubernetes_namespace = 2;- Parameters:
value- The kubernetesNamespace to set.- Returns:
- This builder for chaining.
-
clearKubernetesNamespace
public ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder clearKubernetesNamespace()Matches all Kubernetes service accounts in the provided namespace, unless a more specific `kubernetes_service_account` scope already matched.
string kubernetes_namespace = 2;- Returns:
- This builder for chaining.
-
setKubernetesNamespaceBytes
public ContinuousValidationEvent.ContinuousValidationPodEvent.ImageDetails.CheckResult.CheckSetScope.Builder setKubernetesNamespaceBytes(com.google.protobuf.ByteString value) Matches all Kubernetes service accounts in the provided namespace, unless a more specific `kubernetes_service_account` scope already matched.
string kubernetes_namespace = 2;- Parameters:
value- The bytes for kubernetesNamespace to set.- Returns:
- This builder for chaining.
-