- 2.63.0 (latest)
- 2.62.0
- 2.61.0
- 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.Binding.Builder extends GeneratedMessageV3.Builder<Kubernetes.Binding.Builder> implements Kubernetes.BindingOrBuilder
Represents a Kubernetes RoleBinding or ClusterRoleBinding.
Protobuf type google.cloud.securitycenter.v1.Kubernetes.Binding
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Kubernetes.Binding.BuilderImplements
Kubernetes.BindingOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllSubjects(Iterable<? extends Kubernetes.Subject> values)
public Kubernetes.Binding.Builder addAllSubjects(Iterable<? extends Kubernetes.Subject> values)
Represents one or more subjects that are bound to the role. Not always available for PATCH requests.
repeated .google.cloud.securitycenter.v1.Kubernetes.Subject subjects = 4;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.securitycenter.v1.Kubernetes.Subject> |
Returns | |
---|---|
Type | Description |
Kubernetes.Binding.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Kubernetes.Binding.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Kubernetes.Binding.Builder |
addSubjects(Kubernetes.Subject value)
public Kubernetes.Binding.Builder addSubjects(Kubernetes.Subject value)
Represents one or more subjects that are bound to the role. Not always available for PATCH requests.
repeated .google.cloud.securitycenter.v1.Kubernetes.Subject subjects = 4;
Parameter | |
---|---|
Name | Description |
value | Kubernetes.Subject |
Returns | |
---|---|
Type | Description |
Kubernetes.Binding.Builder |
addSubjects(Kubernetes.Subject.Builder builderForValue)
public Kubernetes.Binding.Builder addSubjects(Kubernetes.Subject.Builder builderForValue)
Represents one or more subjects that are bound to the role. Not always available for PATCH requests.
repeated .google.cloud.securitycenter.v1.Kubernetes.Subject subjects = 4;
Parameter | |
---|---|
Name | Description |
builderForValue | Kubernetes.Subject.Builder |
Returns | |
---|---|
Type | Description |
Kubernetes.Binding.Builder |
addSubjects(int index, Kubernetes.Subject value)
public Kubernetes.Binding.Builder addSubjects(int index, Kubernetes.Subject value)
Represents one or more subjects that are bound to the role. Not always available for PATCH requests.
repeated .google.cloud.securitycenter.v1.Kubernetes.Subject subjects = 4;
Parameters | |
---|---|
Name | Description |
index | int |
value | Kubernetes.Subject |
Returns | |
---|---|
Type | Description |
Kubernetes.Binding.Builder |
addSubjects(int index, Kubernetes.Subject.Builder builderForValue)
public Kubernetes.Binding.Builder addSubjects(int index, Kubernetes.Subject.Builder builderForValue)
Represents one or more subjects that are bound to the role. Not always available for PATCH requests.
repeated .google.cloud.securitycenter.v1.Kubernetes.Subject subjects = 4;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | Kubernetes.Subject.Builder |
Returns | |
---|---|
Type | Description |
Kubernetes.Binding.Builder |
addSubjectsBuilder()
public Kubernetes.Subject.Builder addSubjectsBuilder()
Represents one or more subjects that are bound to the role. Not always available for PATCH requests.
repeated .google.cloud.securitycenter.v1.Kubernetes.Subject subjects = 4;
Returns | |
---|---|
Type | Description |
Kubernetes.Subject.Builder |
addSubjectsBuilder(int index)
public Kubernetes.Subject.Builder addSubjectsBuilder(int index)
Represents one or more subjects that are bound to the role. Not always available for PATCH requests.
repeated .google.cloud.securitycenter.v1.Kubernetes.Subject subjects = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Kubernetes.Subject.Builder |
build()
public Kubernetes.Binding build()
Returns | |
---|---|
Type | Description |
Kubernetes.Binding |
buildPartial()
public Kubernetes.Binding buildPartial()
Returns | |
---|---|
Type | Description |
Kubernetes.Binding |
clear()
public Kubernetes.Binding.Builder clear()
Returns | |
---|---|
Type | Description |
Kubernetes.Binding.Builder |
clearField(Descriptors.FieldDescriptor field)
public Kubernetes.Binding.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
Kubernetes.Binding.Builder |
clearName()
public Kubernetes.Binding.Builder clearName()
Name for the binding.
string name = 2;
Returns | |
---|---|
Type | Description |
Kubernetes.Binding.Builder | This builder for chaining. |
clearNs()
public Kubernetes.Binding.Builder clearNs()
Namespace for the binding.
string ns = 1;
Returns | |
---|---|
Type | Description |
Kubernetes.Binding.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Kubernetes.Binding.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
Kubernetes.Binding.Builder |
clearRole()
public Kubernetes.Binding.Builder clearRole()
The Role or ClusterRole referenced by the binding.
.google.cloud.securitycenter.v1.Kubernetes.Role role = 3;
Returns | |
---|---|
Type | Description |
Kubernetes.Binding.Builder |
clearSubjects()
public Kubernetes.Binding.Builder clearSubjects()
Represents one or more subjects that are bound to the role. Not always available for PATCH requests.
repeated .google.cloud.securitycenter.v1.Kubernetes.Subject subjects = 4;
Returns | |
---|---|
Type | Description |
Kubernetes.Binding.Builder |
clone()
public Kubernetes.Binding.Builder clone()
Returns | |
---|---|
Type | Description |
Kubernetes.Binding.Builder |
getDefaultInstanceForType()
public Kubernetes.Binding getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Kubernetes.Binding |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getName()
public String getName()
Name for the binding.
string name = 2;
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Name for the binding.
string name = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getNs()
public String getNs()
Namespace for the binding.
string ns = 1;
Returns | |
---|---|
Type | Description |
String | The ns. |
getNsBytes()
public ByteString getNsBytes()
Namespace for the binding.
string ns = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for ns. |
getRole()
public Kubernetes.Role getRole()
The Role or ClusterRole referenced by the binding.
.google.cloud.securitycenter.v1.Kubernetes.Role role = 3;
Returns | |
---|---|
Type | Description |
Kubernetes.Role | The role. |
getRoleBuilder()
public Kubernetes.Role.Builder getRoleBuilder()
The Role or ClusterRole referenced by the binding.
.google.cloud.securitycenter.v1.Kubernetes.Role role = 3;
Returns | |
---|---|
Type | Description |
Kubernetes.Role.Builder |
getRoleOrBuilder()
public Kubernetes.RoleOrBuilder getRoleOrBuilder()
The Role or ClusterRole referenced by the binding.
.google.cloud.securitycenter.v1.Kubernetes.Role role = 3;
Returns | |
---|---|
Type | Description |
Kubernetes.RoleOrBuilder |
getSubjects(int index)
public Kubernetes.Subject getSubjects(int index)
Represents one or more subjects that are bound to the role. Not always available for PATCH requests.
repeated .google.cloud.securitycenter.v1.Kubernetes.Subject subjects = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Kubernetes.Subject |
getSubjectsBuilder(int index)
public Kubernetes.Subject.Builder getSubjectsBuilder(int index)
Represents one or more subjects that are bound to the role. Not always available for PATCH requests.
repeated .google.cloud.securitycenter.v1.Kubernetes.Subject subjects = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Kubernetes.Subject.Builder |
getSubjectsBuilderList()
public List<Kubernetes.Subject.Builder> getSubjectsBuilderList()
Represents one or more subjects that are bound to the role. Not always available for PATCH requests.
repeated .google.cloud.securitycenter.v1.Kubernetes.Subject subjects = 4;
Returns | |
---|---|
Type | Description |
List<Builder> |
getSubjectsCount()
public int getSubjectsCount()
Represents one or more subjects that are bound to the role. Not always available for PATCH requests.
repeated .google.cloud.securitycenter.v1.Kubernetes.Subject subjects = 4;
Returns | |
---|---|
Type | Description |
int |
getSubjectsList()
public List<Kubernetes.Subject> getSubjectsList()
Represents one or more subjects that are bound to the role. Not always available for PATCH requests.
repeated .google.cloud.securitycenter.v1.Kubernetes.Subject subjects = 4;
Returns | |
---|---|
Type | Description |
List<Subject> |
getSubjectsOrBuilder(int index)
public Kubernetes.SubjectOrBuilder getSubjectsOrBuilder(int index)
Represents one or more subjects that are bound to the role. Not always available for PATCH requests.
repeated .google.cloud.securitycenter.v1.Kubernetes.Subject subjects = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Kubernetes.SubjectOrBuilder |
getSubjectsOrBuilderList()
public List<? extends Kubernetes.SubjectOrBuilder> getSubjectsOrBuilderList()
Represents one or more subjects that are bound to the role. Not always available for PATCH requests.
repeated .google.cloud.securitycenter.v1.Kubernetes.Subject subjects = 4;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.securitycenter.v1.Kubernetes.SubjectOrBuilder> |
hasRole()
public boolean hasRole()
The Role or ClusterRole referenced by the binding.
.google.cloud.securitycenter.v1.Kubernetes.Role role = 3;
Returns | |
---|---|
Type | Description |
boolean | Whether the role field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Kubernetes.Binding other)
public Kubernetes.Binding.Builder mergeFrom(Kubernetes.Binding other)
Parameter | |
---|---|
Name | Description |
other | Kubernetes.Binding |
Returns | |
---|---|
Type | Description |
Kubernetes.Binding.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Kubernetes.Binding.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Kubernetes.Binding.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Kubernetes.Binding.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
Kubernetes.Binding.Builder |
mergeRole(Kubernetes.Role value)
public Kubernetes.Binding.Builder mergeRole(Kubernetes.Role value)
The Role or ClusterRole referenced by the binding.
.google.cloud.securitycenter.v1.Kubernetes.Role role = 3;
Parameter | |
---|---|
Name | Description |
value | Kubernetes.Role |
Returns | |
---|---|
Type | Description |
Kubernetes.Binding.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Kubernetes.Binding.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Kubernetes.Binding.Builder |
removeSubjects(int index)
public Kubernetes.Binding.Builder removeSubjects(int index)
Represents one or more subjects that are bound to the role. Not always available for PATCH requests.
repeated .google.cloud.securitycenter.v1.Kubernetes.Subject subjects = 4;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Kubernetes.Binding.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Kubernetes.Binding.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Kubernetes.Binding.Builder |
setName(String value)
public Kubernetes.Binding.Builder setName(String value)
Name for the binding.
string name = 2;
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
Kubernetes.Binding.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Kubernetes.Binding.Builder setNameBytes(ByteString value)
Name for the binding.
string name = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Kubernetes.Binding.Builder | This builder for chaining. |
setNs(String value)
public Kubernetes.Binding.Builder setNs(String value)
Namespace for the binding.
string ns = 1;
Parameter | |
---|---|
Name | Description |
value | String The ns to set. |
Returns | |
---|---|
Type | Description |
Kubernetes.Binding.Builder | This builder for chaining. |
setNsBytes(ByteString value)
public Kubernetes.Binding.Builder setNsBytes(ByteString value)
Namespace for the binding.
string ns = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for ns to set. |
Returns | |
---|---|
Type | Description |
Kubernetes.Binding.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Kubernetes.Binding.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
Kubernetes.Binding.Builder |
setRole(Kubernetes.Role value)
public Kubernetes.Binding.Builder setRole(Kubernetes.Role value)
The Role or ClusterRole referenced by the binding.
.google.cloud.securitycenter.v1.Kubernetes.Role role = 3;
Parameter | |
---|---|
Name | Description |
value | Kubernetes.Role |
Returns | |
---|---|
Type | Description |
Kubernetes.Binding.Builder |
setRole(Kubernetes.Role.Builder builderForValue)
public Kubernetes.Binding.Builder setRole(Kubernetes.Role.Builder builderForValue)
The Role or ClusterRole referenced by the binding.
.google.cloud.securitycenter.v1.Kubernetes.Role role = 3;
Parameter | |
---|---|
Name | Description |
builderForValue | Kubernetes.Role.Builder |
Returns | |
---|---|
Type | Description |
Kubernetes.Binding.Builder |
setSubjects(int index, Kubernetes.Subject value)
public Kubernetes.Binding.Builder setSubjects(int index, Kubernetes.Subject value)
Represents one or more subjects that are bound to the role. Not always available for PATCH requests.
repeated .google.cloud.securitycenter.v1.Kubernetes.Subject subjects = 4;
Parameters | |
---|---|
Name | Description |
index | int |
value | Kubernetes.Subject |
Returns | |
---|---|
Type | Description |
Kubernetes.Binding.Builder |
setSubjects(int index, Kubernetes.Subject.Builder builderForValue)
public Kubernetes.Binding.Builder setSubjects(int index, Kubernetes.Subject.Builder builderForValue)
Represents one or more subjects that are bound to the role. Not always available for PATCH requests.
repeated .google.cloud.securitycenter.v1.Kubernetes.Subject subjects = 4;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | Kubernetes.Subject.Builder |
Returns | |
---|---|
Type | Description |
Kubernetes.Binding.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Kubernetes.Binding.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Kubernetes.Binding.Builder |