public static final class Kubernetes.Role.Builder extends GeneratedMessageV3.Builder<Kubernetes.Role.Builder> implements Kubernetes.RoleOrBuilder
Kubernetes Role or ClusterRole.Protobuf type
google.cloud.securitycenter.v1.Kubernetes.Role
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Kubernetes.Role.Builder>
public Kubernetes.Role.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Kubernetes.Role.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Kubernetes.Role.Builder>
public Kubernetes.Role getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Kubernetes.Role build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Kubernetes.Role buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Kubernetes.Role.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Kubernetes.Role.Builder>
public Kubernetes.Role.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Kubernetes.Role.Builder>
public Kubernetes.Role.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Kubernetes.Role.Builder>
public Kubernetes.Role.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Kubernetes.Role.Builder>
public Kubernetes.Role.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Kubernetes.Role.Builder>
public Kubernetes.Role.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Kubernetes.Role.Builder>
public Kubernetes.Role.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Kubernetes.Role.Builder>
public Kubernetes.Role.Builder mergeFrom(Kubernetes.Role other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Kubernetes.Role.Builder>
public Kubernetes.Role.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Kubernetes.Role.Builder>
IOException
public int getKindValue()
Role type.
.google.cloud.securitycenter.v1.Kubernetes.Role.Kind kind = 1;
getKindValue
in interface Kubernetes.RoleOrBuilder
public Kubernetes.Role.Builder setKindValue(int value)
Role type.
.google.cloud.securitycenter.v1.Kubernetes.Role.Kind kind = 1;
value
- The enum numeric value on the wire for kind to set.public Kubernetes.Role.Kind getKind()
Role type.
.google.cloud.securitycenter.v1.Kubernetes.Role.Kind kind = 1;
getKind
in interface Kubernetes.RoleOrBuilder
public Kubernetes.Role.Builder setKind(Kubernetes.Role.Kind value)
Role type.
.google.cloud.securitycenter.v1.Kubernetes.Role.Kind kind = 1;
value
- The kind to set.public Kubernetes.Role.Builder clearKind()
Role type.
.google.cloud.securitycenter.v1.Kubernetes.Role.Kind kind = 1;
public String getNs()
Role namespace.
string ns = 2;
getNs
in interface Kubernetes.RoleOrBuilder
public ByteString getNsBytes()
Role namespace.
string ns = 2;
getNsBytes
in interface Kubernetes.RoleOrBuilder
public Kubernetes.Role.Builder setNs(String value)
Role namespace.
string ns = 2;
value
- The ns to set.public Kubernetes.Role.Builder clearNs()
Role namespace.
string ns = 2;
public Kubernetes.Role.Builder setNsBytes(ByteString value)
Role namespace.
string ns = 2;
value
- The bytes for ns to set.public String getName()
Role name.
string name = 3;
getName
in interface Kubernetes.RoleOrBuilder
public ByteString getNameBytes()
Role name.
string name = 3;
getNameBytes
in interface Kubernetes.RoleOrBuilder
public Kubernetes.Role.Builder setName(String value)
Role name.
string name = 3;
value
- The name to set.public Kubernetes.Role.Builder clearName()
Role name.
string name = 3;
public Kubernetes.Role.Builder setNameBytes(ByteString value)
Role name.
string name = 3;
value
- The bytes for name to set.public final Kubernetes.Role.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Kubernetes.Role.Builder>
public final Kubernetes.Role.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Kubernetes.Role.Builder>
Copyright © 2022 Google LLC. All rights reserved.