public static final class Kubernetes.AccessReview extends GeneratedMessageV3 implements Kubernetes.AccessReviewOrBuilder
Conveys information about a Kubernetes access review (such as one returned
by a kubectl auth
can-i
command) that was involved in a finding.
Protobuf type google.cloud.securitycenter.v1.Kubernetes.AccessReview
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
GROUP_FIELD_NUMBER
public static final int GROUP_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NS_FIELD_NUMBER
public static final int NS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
RESOURCE_FIELD_NUMBER
public static final int RESOURCE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SUBRESOURCE_FIELD_NUMBER
public static final int SUBRESOURCE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
VERB_FIELD_NUMBER
public static final int VERB_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Kubernetes.AccessReview getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Kubernetes.AccessReview.Builder newBuilder()
newBuilder(Kubernetes.AccessReview prototype)
public static Kubernetes.AccessReview.Builder newBuilder(Kubernetes.AccessReview prototype)
public static Kubernetes.AccessReview parseDelimitedFrom(InputStream input)
public static Kubernetes.AccessReview parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Kubernetes.AccessReview parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Kubernetes.AccessReview parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Kubernetes.AccessReview parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Kubernetes.AccessReview parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Kubernetes.AccessReview parseFrom(CodedInputStream input)
public static Kubernetes.AccessReview parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Kubernetes.AccessReview parseFrom(InputStream input)
public static Kubernetes.AccessReview parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Kubernetes.AccessReview parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Kubernetes.AccessReview parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Kubernetes.AccessReview> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public Kubernetes.AccessReview getDefaultInstanceForType()
getGroup()
The API group of the resource. "*" means all.
string group = 1;
Returns |
---|
Type | Description |
String | The group.
|
getGroupBytes()
public ByteString getGroupBytes()
The API group of the resource. "*" means all.
string group = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for group.
|
getName()
The name of the resource being requested. Empty means all.
string name = 3;
Returns |
---|
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
The name of the resource being requested. Empty means all.
string name = 3;
Returns |
---|
Type | Description |
ByteString | The bytes for name.
|
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 |
---|
Type | Description |
String | The ns.
|
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;
getParserForType()
public Parser<Kubernetes.AccessReview> getParserForType()
Overrides
getResource()
public String getResource()
The optional resource type requested. "*" means all.
string resource = 4;
Returns |
---|
Type | Description |
String | The resource.
|
getResourceBytes()
public ByteString getResourceBytes()
The optional resource type requested. "*" means all.
string resource = 4;
Returns |
---|
Type | Description |
ByteString | The bytes for resource.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getSubresource()
public String getSubresource()
The optional subresource type.
string subresource = 5;
Returns |
---|
Type | Description |
String | The subresource.
|
getSubresourceBytes()
public ByteString getSubresourceBytes()
The optional subresource type.
string subresource = 5;
Returns |
---|
Type | Description |
ByteString | The bytes for subresource.
|
getVerb()
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()
A Kubernetes resource API verb, like get, list, watch, create, update,
delete, proxy. "*" means all.
string verb = 6;
Returns |
---|
Type | Description |
ByteString | The bytes for verb.
|
getVersion()
public String getVersion()
The API version of the resource. "*" means all.
string version = 7;
Returns |
---|
Type | Description |
String | The version.
|
getVersionBytes()
public ByteString getVersionBytes()
The API version of the resource. "*" means all.
string version = 7;
Returns |
---|
Type | Description |
ByteString | The bytes for version.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Kubernetes.AccessReview.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Kubernetes.AccessReview.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Kubernetes.AccessReview.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides