Package io.kubernetes.client.proto
Class V1Authorization.NonResourceRule.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.NonResourceRule.Builder>
io.kubernetes.client.proto.V1Authorization.NonResourceRule.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1Authorization.NonResourceRuleOrBuilder,Cloneable
- Enclosing class:
- V1Authorization.NonResourceRule
public static final class V1Authorization.NonResourceRule.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.NonResourceRule.Builder>
implements V1Authorization.NonResourceRuleOrBuilder
NonResourceRule holds information that describes a rule for the non-resourceProtobuf type
k8s.io.api.authorization.v1.NonResourceRule-
Method Summary
Modifier and TypeMethodDescriptionaddAllNonResourceURLs(Iterable<String> values) NonResourceURLs is a set of partial urls that a user should have access to.addAllVerbs(Iterable<String> values) Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options.addNonResourceURLs(String value) NonResourceURLs is a set of partial urls that a user should have access to.addNonResourceURLsBytes(com.google.protobuf.ByteString value) NonResourceURLs is a set of partial urls that a user should have access to.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options.addVerbsBytes(com.google.protobuf.ByteString value) Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options.build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) NonResourceURLs is a set of partial urls that a user should have access to.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetNonResourceURLs(int index) NonResourceURLs is a set of partial urls that a user should have access to.com.google.protobuf.ByteStringgetNonResourceURLsBytes(int index) NonResourceURLs is a set of partial urls that a user should have access to.intNonResourceURLs is a set of partial urls that a user should have access to.com.google.protobuf.ProtocolStringListNonResourceURLs is a set of partial urls that a user should have access to.getVerbs(int index) Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options.com.google.protobuf.ByteStringgetVerbsBytes(int index) Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options.intVerb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options.com.google.protobuf.ProtocolStringListVerb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setNonResourceURLs(int index, String value) NonResourceURLs is a set of partial urls that a user should have access to.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.NonResourceRule.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.NonResourceRule.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.NonResourceRule.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.NonResourceRule.Builder>
-
setField
public V1Authorization.NonResourceRule.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.NonResourceRule.Builder>
-
clearField
public V1Authorization.NonResourceRule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.NonResourceRule.Builder>
-
clearOneof
public V1Authorization.NonResourceRule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.NonResourceRule.Builder>
-
setRepeatedField
public V1Authorization.NonResourceRule.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.NonResourceRule.Builder>
-
addRepeatedField
public V1Authorization.NonResourceRule.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.NonResourceRule.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1Authorization.NonResourceRule.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.NonResourceRule.Builder>
-
mergeFrom
public V1Authorization.NonResourceRule.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1Authorization.NonResourceRule.Builder>- Throws:
IOException
-
getVerbsList
public com.google.protobuf.ProtocolStringList getVerbsList()Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. "*" means all.
repeated string verbs = 1;- Specified by:
getVerbsListin interfaceV1Authorization.NonResourceRuleOrBuilder
-
getVerbsCount
public int getVerbsCount()Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. "*" means all.
repeated string verbs = 1;- Specified by:
getVerbsCountin interfaceV1Authorization.NonResourceRuleOrBuilder
-
getVerbs
Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. "*" means all.
repeated string verbs = 1;- Specified by:
getVerbsin interfaceV1Authorization.NonResourceRuleOrBuilder
-
getVerbsBytes
public com.google.protobuf.ByteString getVerbsBytes(int index) Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. "*" means all.
repeated string verbs = 1;- Specified by:
getVerbsBytesin interfaceV1Authorization.NonResourceRuleOrBuilder
-
setVerbs
Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. "*" means all.
repeated string verbs = 1; -
addVerbs
Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. "*" means all.
repeated string verbs = 1; -
addAllVerbs
Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. "*" means all.
repeated string verbs = 1; -
clearVerbs
Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. "*" means all.
repeated string verbs = 1; -
addVerbsBytes
Verb is a list of kubernetes non-resource API verbs, like: get, post, put, delete, patch, head, options. "*" means all.
repeated string verbs = 1; -
getNonResourceURLsList
public com.google.protobuf.ProtocolStringList getNonResourceURLsList()NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. "*" means all. +optional
repeated string nonResourceURLs = 2;- Specified by:
getNonResourceURLsListin interfaceV1Authorization.NonResourceRuleOrBuilder
-
getNonResourceURLsCount
public int getNonResourceURLsCount()NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. "*" means all. +optional
repeated string nonResourceURLs = 2;- Specified by:
getNonResourceURLsCountin interfaceV1Authorization.NonResourceRuleOrBuilder
-
getNonResourceURLs
NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. "*" means all. +optional
repeated string nonResourceURLs = 2;- Specified by:
getNonResourceURLsin interfaceV1Authorization.NonResourceRuleOrBuilder
-
getNonResourceURLsBytes
public com.google.protobuf.ByteString getNonResourceURLsBytes(int index) NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. "*" means all. +optional
repeated string nonResourceURLs = 2;- Specified by:
getNonResourceURLsBytesin interfaceV1Authorization.NonResourceRuleOrBuilder
-
setNonResourceURLs
NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. "*" means all. +optional
repeated string nonResourceURLs = 2; -
addNonResourceURLs
NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. "*" means all. +optional
repeated string nonResourceURLs = 2; -
addAllNonResourceURLs
NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. "*" means all. +optional
repeated string nonResourceURLs = 2; -
clearNonResourceURLs
NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. "*" means all. +optional
repeated string nonResourceURLs = 2; -
addNonResourceURLsBytes
public V1Authorization.NonResourceRule.Builder addNonResourceURLsBytes(com.google.protobuf.ByteString value) NonResourceURLs is a set of partial urls that a user should have access to. *s are allowed, but only as the full, final step in the path. "*" means all. +optional
repeated string nonResourceURLs = 2; -
setUnknownFields
public final V1Authorization.NonResourceRule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.NonResourceRule.Builder>
-
mergeUnknownFields
public final V1Authorization.NonResourceRule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authorization.NonResourceRule.Builder>
-