Interface Kubernetes.BindingOrBuilder (2.51.0)

public static interface Kubernetes.BindingOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Name for the binding.

string name = 2;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Name for the binding.

string name = 2;

Returns
Type Description
ByteString

The bytes for name.

getNs()

public abstract String getNs()

Namespace for the binding.

string ns = 1;

Returns
Type Description
String

The ns.

getNsBytes()

public abstract ByteString getNsBytes()

Namespace for the binding.

string ns = 1;

Returns
Type Description
ByteString

The bytes for ns.

getRole()

public abstract Kubernetes.Role getRole()

The Role or ClusterRole referenced by the binding.

.google.cloud.securitycenter.v2.Kubernetes.Role role = 3;

Returns
Type Description
Kubernetes.Role

The role.

getRoleOrBuilder()

public abstract Kubernetes.RoleOrBuilder getRoleOrBuilder()

The Role or ClusterRole referenced by the binding.

.google.cloud.securitycenter.v2.Kubernetes.Role role = 3;

Returns
Type Description
Kubernetes.RoleOrBuilder

getSubjects(int index)

public abstract 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.v2.Kubernetes.Subject subjects = 4;

Parameter
Name Description
index int
Returns
Type Description
Kubernetes.Subject

getSubjectsCount()

public abstract int getSubjectsCount()

Represents one or more subjects that are bound to the role. Not always available for PATCH requests.

repeated .google.cloud.securitycenter.v2.Kubernetes.Subject subjects = 4;

Returns
Type Description
int

getSubjectsList()

public abstract 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.v2.Kubernetes.Subject subjects = 4;

Returns
Type Description
List<Subject>

getSubjectsOrBuilder(int index)

public abstract 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.v2.Kubernetes.Subject subjects = 4;

Parameter
Name Description
index int
Returns
Type Description
Kubernetes.SubjectOrBuilder

getSubjectsOrBuilderList()

public abstract 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.v2.Kubernetes.Subject subjects = 4;

Returns
Type Description
List<? extends com.google.cloud.securitycenter.v2.Kubernetes.SubjectOrBuilder>

hasRole()

public abstract boolean hasRole()

The Role or ClusterRole referenced by the binding.

.google.cloud.securitycenter.v2.Kubernetes.Role role = 3;

Returns
Type Description
boolean

Whether the role field is set.