Interface Kubernetes.BindingOrBuilder (2.49.0)

public static interface Kubernetes.BindingOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Name for the binding.

string name = 2;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Name for the binding.

string name = 2;

Returns
TypeDescription
ByteString

The bytes for name.

getNs()

public abstract String getNs()

Namespace for the binding.

string ns = 1;

Returns
TypeDescription
String

The ns.

getNsBytes()

public abstract ByteString getNsBytes()

Namespace for the binding.

string ns = 1;

Returns
TypeDescription
ByteString

The bytes for ns.

getRole()

public abstract Kubernetes.Role getRole()

The Role or ClusterRole referenced by the binding.

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

Returns
TypeDescription
Kubernetes.Role

The role.

getRoleOrBuilder()

public abstract Kubernetes.RoleOrBuilder getRoleOrBuilder()

The Role or ClusterRole referenced by the binding.

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

Returns
TypeDescription
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.v1.Kubernetes.Subject subjects = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1.Kubernetes.Subject subjects = 4;

Returns
TypeDescription
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.v1.Kubernetes.Subject subjects = 4;

Returns
TypeDescription
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.v1.Kubernetes.Subject subjects = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
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.v1.Kubernetes.Subject subjects = 4;

Returns
TypeDescription
List<? extends com.google.cloud.securitycenter.v1.Kubernetes.SubjectOrBuilder>

hasRole()

public abstract boolean hasRole()

The Role or ClusterRole referenced by the binding.

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

Returns
TypeDescription
boolean

Whether the role field is set.