public static final class Kubernetes.AccessReview extends GeneratedMessageV3 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
Static Fields
GROUP_FIELD_NUMBER
public static final int GROUP_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
NS_FIELD_NUMBER
public static final int NS_FIELD_NUMBER
Field Value
RESOURCE_FIELD_NUMBER
public static final int RESOURCE_FIELD_NUMBER
Field Value
SUBRESOURCE_FIELD_NUMBER
public static final int SUBRESOURCE_FIELD_NUMBER
Field Value
VERB_FIELD_NUMBER
public static final int VERB_FIELD_NUMBER
Field Value
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Kubernetes.AccessReview getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Kubernetes.AccessReview.Builder newBuilder()
Returns
newBuilder(Kubernetes.AccessReview prototype)
public static Kubernetes.AccessReview.Builder newBuilder(Kubernetes.AccessReview prototype)
Parameter
Returns
public static Kubernetes.AccessReview parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Kubernetes.AccessReview parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Kubernetes.AccessReview parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Kubernetes.AccessReview parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Kubernetes.AccessReview parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Kubernetes.AccessReview parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Kubernetes.AccessReview parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Kubernetes.AccessReview parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Kubernetes.AccessReview parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Kubernetes.AccessReview parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Kubernetes.AccessReview parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Kubernetes.AccessReview parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Kubernetes.AccessReview> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public Kubernetes.AccessReview getDefaultInstanceForType()
Returns
getGroup()
Group is the API Group of the Resource. "*" means all.
string group = 1;
Returns
Type | Description |
String | The group.
|
getGroupBytes()
public ByteString getGroupBytes()
Group is the API Group of the Resource. "*" means all.
string group = 1;
Returns
getName()
Name is the name of the resource being requested. Empty means all.
string name = 3;
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Name is the name of the resource being requested. Empty means all.
string name = 3;
Returns
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;
Returns
getNsBytes()
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;
Returns
getParserForType()
public Parser<Kubernetes.AccessReview> getParserForType()
Returns
Overrides
getResource()
public String getResource()
Resource is the optional resource type requested. "*" means all.
string resource = 4;
Returns
Type | Description |
String | The resource.
|
getResourceBytes()
public ByteString getResourceBytes()
Resource is the optional resource type requested. "*" means all.
string resource = 4;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getSubresource()
public String getSubresource()
Subresource is the optional subresource type.
string subresource = 5;
Returns
Type | Description |
String | The subresource.
|
getSubresourceBytes()
public ByteString getSubresourceBytes()
Subresource is the optional subresource type.
string subresource = 5;
Returns
Type | Description |
ByteString | The bytes for subresource.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getVerb()
Verb is a Kubernetes resource API verb, like: get, list, watch, create,
update, delete, proxy. "*" means all.
string verb = 6;
Returns
Type | Description |
String | The verb.
|
getVerbBytes()
public ByteString getVerbBytes()
Verb is a Kubernetes resource API verb, like: get, list, watch, create,
update, delete, proxy. "*" means all.
string verb = 6;
Returns
getVersion()
public String getVersion()
Version is the API Version of the Resource. "*" means all.
string version = 7;
Returns
Type | Description |
String | The version.
|
getVersionBytes()
public ByteString getVersionBytes()
Version is the API Version of the Resource. "*" means all.
string version = 7;
Returns
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Kubernetes.AccessReview.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Kubernetes.AccessReview.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Kubernetes.AccessReview.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions