Interface Kubernetes.BindingOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Kubernetes.Binding
,Kubernetes.Binding.Builder
- Enclosing class:
- Kubernetes
public static interface Kubernetes.BindingOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getName()
Name for the binding.com.google.protobuf.ByteString
getNameBytes()
Name for the binding.String
getNs()
Namespace for the binding.com.google.protobuf.ByteString
getNsBytes()
Namespace for the binding.Kubernetes.Role
getRole()
The Role or ClusterRole referenced by the binding.Kubernetes.RoleOrBuilder
getRoleOrBuilder()
The Role or ClusterRole referenced by the binding.Kubernetes.Subject
getSubjects(int index)
Represents one or more subjects that are bound to the role.int
getSubjectsCount()
Represents one or more subjects that are bound to the role.List<Kubernetes.Subject>
getSubjectsList()
Represents one or more subjects that are bound to the role.Kubernetes.SubjectOrBuilder
getSubjectsOrBuilder(int index)
Represents one or more subjects that are bound to the role.List<? extends Kubernetes.SubjectOrBuilder>
getSubjectsOrBuilderList()
Represents one or more subjects that are bound to the role.boolean
hasRole()
The Role or ClusterRole referenced by the binding.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getNs
String getNs()
Namespace for the binding.
string ns = 1;
- Returns:
- The ns.
-
getNsBytes
com.google.protobuf.ByteString getNsBytes()
Namespace for the binding.
string ns = 1;
- Returns:
- The bytes for ns.
-
getName
String getName()
Name for the binding.
string name = 2;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Name for the binding.
string name = 2;
- Returns:
- The bytes for name.
-
hasRole
boolean hasRole()
The Role or ClusterRole referenced by the binding.
.google.cloud.securitycenter.v1.Kubernetes.Role role = 3;
- Returns:
- Whether the role field is set.
-
getRole
Kubernetes.Role getRole()
The Role or ClusterRole referenced by the binding.
.google.cloud.securitycenter.v1.Kubernetes.Role role = 3;
- Returns:
- The role.
-
getRoleOrBuilder
Kubernetes.RoleOrBuilder getRoleOrBuilder()
The Role or ClusterRole referenced by the binding.
.google.cloud.securitycenter.v1.Kubernetes.Role role = 3;
-
getSubjectsList
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;
-
getSubjects
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;
-
getSubjectsCount
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;
-
getSubjectsOrBuilderList
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;
-
getSubjectsOrBuilder
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;
-
-