public static final class Kubernetes.AccessReview.Builder extends GeneratedMessageV3.Builder<Kubernetes.AccessReview.Builder> implements Kubernetes.AccessReviewOrBuilder
Conveys information about a Kubernetes access review (e.g. kubectl auth can-i ...) that was involved in a finding.Protobuf type
google.cloud.securitycenter.v1.Kubernetes.AccessReview
Modifier and Type | Method and Description |
---|---|
Kubernetes.AccessReview.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
Kubernetes.AccessReview |
build() |
Kubernetes.AccessReview |
buildPartial() |
Kubernetes.AccessReview.Builder |
clear() |
Kubernetes.AccessReview.Builder |
clearField(Descriptors.FieldDescriptor field) |
Kubernetes.AccessReview.Builder |
clearGroup()
Group is the API Group of the Resource.
|
Kubernetes.AccessReview.Builder |
clearName()
Name is the name of the resource being requested.
|
Kubernetes.AccessReview.Builder |
clearNs()
Namespace of the action being requested.
|
Kubernetes.AccessReview.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
Kubernetes.AccessReview.Builder |
clearResource()
Resource is the optional resource type requested.
|
Kubernetes.AccessReview.Builder |
clearSubresource()
Subresource is the optional subresource type.
|
Kubernetes.AccessReview.Builder |
clearVerb()
Verb is a Kubernetes resource API verb, like: get, list, watch, create,
update, delete, proxy.
|
Kubernetes.AccessReview.Builder |
clearVersion()
Version is the API Version of the Resource.
|
Kubernetes.AccessReview.Builder |
clone() |
Kubernetes.AccessReview |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
String |
getGroup()
Group is the API Group of the Resource.
|
ByteString |
getGroupBytes()
Group is the API Group of the Resource.
|
String |
getName()
Name is the name of the resource being requested.
|
ByteString |
getNameBytes()
Name is the name of the resource being requested.
|
String |
getNs()
Namespace of the action being requested.
|
ByteString |
getNsBytes()
Namespace of the action being requested.
|
String |
getResource()
Resource is the optional resource type requested.
|
ByteString |
getResourceBytes()
Resource is the optional resource type requested.
|
String |
getSubresource()
Subresource is the optional subresource type.
|
ByteString |
getSubresourceBytes()
Subresource is the optional subresource type.
|
String |
getVerb()
Verb is a Kubernetes resource API verb, like: get, list, watch, create,
update, delete, proxy.
|
ByteString |
getVerbBytes()
Verb is a Kubernetes resource API verb, like: get, list, watch, create,
update, delete, proxy.
|
String |
getVersion()
Version is the API Version of the Resource.
|
ByteString |
getVersionBytes()
Version is the API Version of the Resource.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Kubernetes.AccessReview.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
Kubernetes.AccessReview.Builder |
mergeFrom(Kubernetes.AccessReview other) |
Kubernetes.AccessReview.Builder |
mergeFrom(Message other) |
Kubernetes.AccessReview.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
Kubernetes.AccessReview.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
Kubernetes.AccessReview.Builder |
setGroup(String value)
Group is the API Group of the Resource.
|
Kubernetes.AccessReview.Builder |
setGroupBytes(ByteString value)
Group is the API Group of the Resource.
|
Kubernetes.AccessReview.Builder |
setName(String value)
Name is the name of the resource being requested.
|
Kubernetes.AccessReview.Builder |
setNameBytes(ByteString value)
Name is the name of the resource being requested.
|
Kubernetes.AccessReview.Builder |
setNs(String value)
Namespace of the action being requested.
|
Kubernetes.AccessReview.Builder |
setNsBytes(ByteString value)
Namespace of the action being requested.
|
Kubernetes.AccessReview.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
Kubernetes.AccessReview.Builder |
setResource(String value)
Resource is the optional resource type requested.
|
Kubernetes.AccessReview.Builder |
setResourceBytes(ByteString value)
Resource is the optional resource type requested.
|
Kubernetes.AccessReview.Builder |
setSubresource(String value)
Subresource is the optional subresource type.
|
Kubernetes.AccessReview.Builder |
setSubresourceBytes(ByteString value)
Subresource is the optional subresource type.
|
Kubernetes.AccessReview.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
Kubernetes.AccessReview.Builder |
setVerb(String value)
Verb is a Kubernetes resource API verb, like: get, list, watch, create,
update, delete, proxy.
|
Kubernetes.AccessReview.Builder |
setVerbBytes(ByteString value)
Verb is a Kubernetes resource API verb, like: get, list, watch, create,
update, delete, proxy.
|
Kubernetes.AccessReview.Builder |
setVersion(String value)
Version is the API Version of the Resource.
|
Kubernetes.AccessReview.Builder |
setVersionBytes(ByteString value)
Version is the API Version of the Resource.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Kubernetes.AccessReview.Builder>
public Kubernetes.AccessReview.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Kubernetes.AccessReview.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Kubernetes.AccessReview.Builder>
public Kubernetes.AccessReview getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Kubernetes.AccessReview build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Kubernetes.AccessReview buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Kubernetes.AccessReview.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Kubernetes.AccessReview.Builder>
public Kubernetes.AccessReview.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Kubernetes.AccessReview.Builder>
public Kubernetes.AccessReview.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Kubernetes.AccessReview.Builder>
public Kubernetes.AccessReview.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Kubernetes.AccessReview.Builder>
public Kubernetes.AccessReview.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Kubernetes.AccessReview.Builder>
public Kubernetes.AccessReview.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Kubernetes.AccessReview.Builder>
public Kubernetes.AccessReview.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Kubernetes.AccessReview.Builder>
public Kubernetes.AccessReview.Builder mergeFrom(Kubernetes.AccessReview other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Kubernetes.AccessReview.Builder>
public Kubernetes.AccessReview.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Kubernetes.AccessReview.Builder>
IOException
public String getGroup()
Group is the API Group of the Resource. "*" means all.
string group = 1;
getGroup
in interface Kubernetes.AccessReviewOrBuilder
public ByteString getGroupBytes()
Group is the API Group of the Resource. "*" means all.
string group = 1;
getGroupBytes
in interface Kubernetes.AccessReviewOrBuilder
public Kubernetes.AccessReview.Builder setGroup(String value)
Group is the API Group of the Resource. "*" means all.
string group = 1;
value
- The group to set.public Kubernetes.AccessReview.Builder clearGroup()
Group is the API Group of the Resource. "*" means all.
string group = 1;
public Kubernetes.AccessReview.Builder setGroupBytes(ByteString value)
Group is the API Group of the Resource. "*" means all.
string group = 1;
value
- The bytes for group to set.public String getNs()
Namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces. Both are represented by "" (empty).
string ns = 2;
getNs
in interface Kubernetes.AccessReviewOrBuilder
public ByteString getNsBytes()
Namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces. Both are represented by "" (empty).
string ns = 2;
getNsBytes
in interface Kubernetes.AccessReviewOrBuilder
public Kubernetes.AccessReview.Builder setNs(String value)
Namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces. Both are represented by "" (empty).
string ns = 2;
value
- The ns to set.public Kubernetes.AccessReview.Builder clearNs()
Namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces. Both are represented by "" (empty).
string ns = 2;
public Kubernetes.AccessReview.Builder setNsBytes(ByteString value)
Namespace of the action being requested. Currently, there is no distinction between no namespace and all namespaces. Both are represented by "" (empty).
string ns = 2;
value
- The bytes for ns to set.public String getName()
Name is the name of the resource being requested. Empty means all.
string name = 3;
getName
in interface Kubernetes.AccessReviewOrBuilder
public ByteString getNameBytes()
Name is the name of the resource being requested. Empty means all.
string name = 3;
getNameBytes
in interface Kubernetes.AccessReviewOrBuilder
public Kubernetes.AccessReview.Builder setName(String value)
Name is the name of the resource being requested. Empty means all.
string name = 3;
value
- The name to set.public Kubernetes.AccessReview.Builder clearName()
Name is the name of the resource being requested. Empty means all.
string name = 3;
public Kubernetes.AccessReview.Builder setNameBytes(ByteString value)
Name is the name of the resource being requested. Empty means all.
string name = 3;
value
- The bytes for name to set.public String getResource()
Resource is the optional resource type requested. "*" means all.
string resource = 4;
getResource
in interface Kubernetes.AccessReviewOrBuilder
public ByteString getResourceBytes()
Resource is the optional resource type requested. "*" means all.
string resource = 4;
getResourceBytes
in interface Kubernetes.AccessReviewOrBuilder
public Kubernetes.AccessReview.Builder setResource(String value)
Resource is the optional resource type requested. "*" means all.
string resource = 4;
value
- The resource to set.public Kubernetes.AccessReview.Builder clearResource()
Resource is the optional resource type requested. "*" means all.
string resource = 4;
public Kubernetes.AccessReview.Builder setResourceBytes(ByteString value)
Resource is the optional resource type requested. "*" means all.
string resource = 4;
value
- The bytes for resource to set.public String getSubresource()
Subresource is the optional subresource type.
string subresource = 5;
getSubresource
in interface Kubernetes.AccessReviewOrBuilder
public ByteString getSubresourceBytes()
Subresource is the optional subresource type.
string subresource = 5;
getSubresourceBytes
in interface Kubernetes.AccessReviewOrBuilder
public Kubernetes.AccessReview.Builder setSubresource(String value)
Subresource is the optional subresource type.
string subresource = 5;
value
- The subresource to set.public Kubernetes.AccessReview.Builder clearSubresource()
Subresource is the optional subresource type.
string subresource = 5;
public Kubernetes.AccessReview.Builder setSubresourceBytes(ByteString value)
Subresource is the optional subresource type.
string subresource = 5;
value
- The bytes for subresource to set.public String getVerb()
Verb is a Kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. "*" means all.
string verb = 6;
getVerb
in interface Kubernetes.AccessReviewOrBuilder
public ByteString getVerbBytes()
Verb is a Kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. "*" means all.
string verb = 6;
getVerbBytes
in interface Kubernetes.AccessReviewOrBuilder
public Kubernetes.AccessReview.Builder setVerb(String value)
Verb is a Kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. "*" means all.
string verb = 6;
value
- The verb to set.public Kubernetes.AccessReview.Builder clearVerb()
Verb is a Kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. "*" means all.
string verb = 6;
public Kubernetes.AccessReview.Builder setVerbBytes(ByteString value)
Verb is a Kubernetes resource API verb, like: get, list, watch, create, update, delete, proxy. "*" means all.
string verb = 6;
value
- The bytes for verb to set.public String getVersion()
Version is the API Version of the Resource. "*" means all.
string version = 7;
getVersion
in interface Kubernetes.AccessReviewOrBuilder
public ByteString getVersionBytes()
Version is the API Version of the Resource. "*" means all.
string version = 7;
getVersionBytes
in interface Kubernetes.AccessReviewOrBuilder
public Kubernetes.AccessReview.Builder setVersion(String value)
Version is the API Version of the Resource. "*" means all.
string version = 7;
value
- The version to set.public Kubernetes.AccessReview.Builder clearVersion()
Version is the API Version of the Resource. "*" means all.
string version = 7;
public Kubernetes.AccessReview.Builder setVersionBytes(ByteString value)
Version is the API Version of the Resource. "*" means all.
string version = 7;
value
- The bytes for version to set.public final Kubernetes.AccessReview.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Kubernetes.AccessReview.Builder>
public final Kubernetes.AccessReview.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Kubernetes.AccessReview.Builder>
Copyright © 2022 Google LLC. All rights reserved.