- 2.61.0 (latest)
- 2.60.0
- 2.59.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.1
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.1
- 2.6.0
- 2.5.6
- 2.3.2
public static final class Kubernetes.AccessReview.Builder extends GeneratedMessageV3.Builder<Kubernetes.AccessReview.Builder> 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.v2.Kubernetes.AccessReview
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Kubernetes.AccessReview.BuilderImplements
Kubernetes.AccessReviewOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Kubernetes.AccessReview.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Kubernetes.AccessReview.Builder |
build()
public Kubernetes.AccessReview build()
Returns | |
---|---|
Type | Description |
Kubernetes.AccessReview |
buildPartial()
public Kubernetes.AccessReview buildPartial()
Returns | |
---|---|
Type | Description |
Kubernetes.AccessReview |
clear()
public Kubernetes.AccessReview.Builder clear()
Returns | |
---|---|
Type | Description |
Kubernetes.AccessReview.Builder |
clearField(Descriptors.FieldDescriptor field)
public Kubernetes.AccessReview.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
Kubernetes.AccessReview.Builder |
clearGroup()
public Kubernetes.AccessReview.Builder clearGroup()
The API group of the resource. "*" means all.
string group = 1;
Returns | |
---|---|
Type | Description |
Kubernetes.AccessReview.Builder | This builder for chaining. |
clearName()
public Kubernetes.AccessReview.Builder clearName()
The name of the resource being requested. Empty means all.
string name = 3;
Returns | |
---|---|
Type | Description |
Kubernetes.AccessReview.Builder | This builder for chaining. |
clearNs()
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;
Returns | |
---|---|
Type | Description |
Kubernetes.AccessReview.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Kubernetes.AccessReview.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Kubernetes.AccessReview.Builder |
clearResource()
public Kubernetes.AccessReview.Builder clearResource()
The optional resource type requested. "*" means all.
string resource = 4;
Returns | |
---|---|
Type | Description |
Kubernetes.AccessReview.Builder | This builder for chaining. |
clearSubresource()
public Kubernetes.AccessReview.Builder clearSubresource()
The optional subresource type.
string subresource = 5;
Returns | |
---|---|
Type | Description |
Kubernetes.AccessReview.Builder | This builder for chaining. |
clearVerb()
public Kubernetes.AccessReview.Builder clearVerb()
A Kubernetes resource API verb, like get, list, watch, create, update, delete, proxy. "*" means all.
string verb = 6;
Returns | |
---|---|
Type | Description |
Kubernetes.AccessReview.Builder | This builder for chaining. |
clearVersion()
public Kubernetes.AccessReview.Builder clearVersion()
The API version of the resource. "*" means all.
string version = 7;
Returns | |
---|---|
Type | Description |
Kubernetes.AccessReview.Builder | This builder for chaining. |
clone()
public Kubernetes.AccessReview.Builder clone()
Returns | |
---|---|
Type | Description |
Kubernetes.AccessReview.Builder |
getDefaultInstanceForType()
public Kubernetes.AccessReview getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Kubernetes.AccessReview |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getGroup()
public String 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()
public String 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()
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;
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;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for ns. |
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. |
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()
public String 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Kubernetes.AccessReview other)
public Kubernetes.AccessReview.Builder mergeFrom(Kubernetes.AccessReview other)
Parameter | |
---|---|
Name | Description |
other | Kubernetes.AccessReview |
Returns | |
---|---|
Type | Description |
Kubernetes.AccessReview.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Kubernetes.AccessReview.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Kubernetes.AccessReview.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Kubernetes.AccessReview.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
Kubernetes.AccessReview.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Kubernetes.AccessReview.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Kubernetes.AccessReview.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Kubernetes.AccessReview.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Kubernetes.AccessReview.Builder |
setGroup(String value)
public Kubernetes.AccessReview.Builder setGroup(String value)
The API group of the resource. "*" means all.
string group = 1;
Parameter | |
---|---|
Name | Description |
value | String The group to set. |
Returns | |
---|---|
Type | Description |
Kubernetes.AccessReview.Builder | This builder for chaining. |
setGroupBytes(ByteString value)
public Kubernetes.AccessReview.Builder setGroupBytes(ByteString value)
The API group of the resource. "*" means all.
string group = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for group to set. |
Returns | |
---|---|
Type | Description |
Kubernetes.AccessReview.Builder | This builder for chaining. |
setName(String value)
public Kubernetes.AccessReview.Builder setName(String value)
The name of the resource being requested. Empty means all.
string name = 3;
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
Kubernetes.AccessReview.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Kubernetes.AccessReview.Builder setNameBytes(ByteString value)
The name of the resource being requested. Empty means all.
string name = 3;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Kubernetes.AccessReview.Builder | This builder for chaining. |
setNs(String value)
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;
Parameter | |
---|---|
Name | Description |
value | String The ns to set. |
Returns | |
---|---|
Type | Description |
Kubernetes.AccessReview.Builder | This builder for chaining. |
setNsBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for ns to set. |
Returns | |
---|---|
Type | Description |
Kubernetes.AccessReview.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Kubernetes.AccessReview.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
Kubernetes.AccessReview.Builder |
setResource(String value)
public Kubernetes.AccessReview.Builder setResource(String value)
The optional resource type requested. "*" means all.
string resource = 4;
Parameter | |
---|---|
Name | Description |
value | String The resource to set. |
Returns | |
---|---|
Type | Description |
Kubernetes.AccessReview.Builder | This builder for chaining. |
setResourceBytes(ByteString value)
public Kubernetes.AccessReview.Builder setResourceBytes(ByteString value)
The optional resource type requested. "*" means all.
string resource = 4;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for resource to set. |
Returns | |
---|---|
Type | Description |
Kubernetes.AccessReview.Builder | This builder for chaining. |
setSubresource(String value)
public Kubernetes.AccessReview.Builder setSubresource(String value)
The optional subresource type.
string subresource = 5;
Parameter | |
---|---|
Name | Description |
value | String The subresource to set. |
Returns | |
---|---|
Type | Description |
Kubernetes.AccessReview.Builder | This builder for chaining. |
setSubresourceBytes(ByteString value)
public Kubernetes.AccessReview.Builder setSubresourceBytes(ByteString value)
The optional subresource type.
string subresource = 5;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for subresource to set. |
Returns | |
---|---|
Type | Description |
Kubernetes.AccessReview.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Kubernetes.AccessReview.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Kubernetes.AccessReview.Builder |
setVerb(String value)
public Kubernetes.AccessReview.Builder setVerb(String value)
A Kubernetes resource API verb, like get, list, watch, create, update, delete, proxy. "*" means all.
string verb = 6;
Parameter | |
---|---|
Name | Description |
value | String The verb to set. |
Returns | |
---|---|
Type | Description |
Kubernetes.AccessReview.Builder | This builder for chaining. |
setVerbBytes(ByteString value)
public Kubernetes.AccessReview.Builder setVerbBytes(ByteString value)
A Kubernetes resource API verb, like get, list, watch, create, update, delete, proxy. "*" means all.
string verb = 6;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for verb to set. |
Returns | |
---|---|
Type | Description |
Kubernetes.AccessReview.Builder | This builder for chaining. |
setVersion(String value)
public Kubernetes.AccessReview.Builder setVersion(String value)
The API version of the resource. "*" means all.
string version = 7;
Parameter | |
---|---|
Name | Description |
value | String The version to set. |
Returns | |
---|---|
Type | Description |
Kubernetes.AccessReview.Builder | This builder for chaining. |
setVersionBytes(ByteString value)
public Kubernetes.AccessReview.Builder setVersionBytes(ByteString value)
The API version of the resource. "*" means all.
string version = 7;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for version to set. |
Returns | |
---|---|
Type | Description |
Kubernetes.AccessReview.Builder | This builder for chaining. |