Package io.kubernetes.client.proto
Class V1Authentication.BoundObjectReference.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.BoundObjectReference.Builder>
io.kubernetes.client.proto.V1Authentication.BoundObjectReference.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1Authentication.BoundObjectReferenceOrBuilder,Cloneable
- Enclosing class:
- V1Authentication.BoundObjectReference
public static final class V1Authentication.BoundObjectReference.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.BoundObjectReference.Builder>
implements V1Authentication.BoundObjectReferenceOrBuilder
BoundObjectReference is a reference to an object that a token is bound to.Protobuf type
k8s.io.api.authentication.v1.BoundObjectReference-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()API version of the referent.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Kind of the referent.Name of the referent.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) clearUID()UID of the referent.clone()API version of the referent.com.google.protobuf.ByteStringAPI version of the referent.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetKind()Kind of the referent.com.google.protobuf.ByteStringKind of the referent.getName()Name of the referent.com.google.protobuf.ByteStringName of the referent.getUID()UID of the referent.com.google.protobuf.ByteStringUID of the referent.booleanAPI version of the referent.booleanhasKind()Kind of the referent.booleanhasName()Name of the referent.booleanhasUID()UID of the referent.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) setApiVersion(String value) API version of the referent.setApiVersionBytes(com.google.protobuf.ByteString value) API version of the referent.Kind of the referent.setKindBytes(com.google.protobuf.ByteString value) Kind of the referent.Name of the referent.setNameBytes(com.google.protobuf.ByteString value) Name of the referent.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) UID of the referent.setUIDBytes(com.google.protobuf.ByteString value) UID of the referent.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 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<V1Authentication.BoundObjectReference.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<V1Authentication.BoundObjectReference.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<V1Authentication.BoundObjectReference.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<V1Authentication.BoundObjectReference.Builder>
-
setField
public V1Authentication.BoundObjectReference.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<V1Authentication.BoundObjectReference.Builder>
-
clearField
public V1Authentication.BoundObjectReference.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.BoundObjectReference.Builder>
-
clearOneof
public V1Authentication.BoundObjectReference.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.BoundObjectReference.Builder>
-
setRepeatedField
public V1Authentication.BoundObjectReference.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<V1Authentication.BoundObjectReference.Builder>
-
addRepeatedField
public V1Authentication.BoundObjectReference.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<V1Authentication.BoundObjectReference.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1Authentication.BoundObjectReference.Builder>
-
mergeFrom
public V1Authentication.BoundObjectReference.Builder mergeFrom(V1Authentication.BoundObjectReference other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.BoundObjectReference.Builder>
-
mergeFrom
public V1Authentication.BoundObjectReference.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<V1Authentication.BoundObjectReference.Builder>- Throws:
IOException
-
hasKind
public boolean hasKind()Kind of the referent. Valid kinds are 'Pod' and 'Secret'. +optional
optional string kind = 1;- Specified by:
hasKindin interfaceV1Authentication.BoundObjectReferenceOrBuilder
-
getKind
Kind of the referent. Valid kinds are 'Pod' and 'Secret'. +optional
optional string kind = 1;- Specified by:
getKindin interfaceV1Authentication.BoundObjectReferenceOrBuilder
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()Kind of the referent. Valid kinds are 'Pod' and 'Secret'. +optional
optional string kind = 1;- Specified by:
getKindBytesin interfaceV1Authentication.BoundObjectReferenceOrBuilder
-
setKind
Kind of the referent. Valid kinds are 'Pod' and 'Secret'. +optional
optional string kind = 1; -
clearKind
Kind of the referent. Valid kinds are 'Pod' and 'Secret'. +optional
optional string kind = 1; -
setKindBytes
public V1Authentication.BoundObjectReference.Builder setKindBytes(com.google.protobuf.ByteString value) Kind of the referent. Valid kinds are 'Pod' and 'Secret'. +optional
optional string kind = 1; -
hasApiVersion
public boolean hasApiVersion()API version of the referent. +optional
optional string apiVersion = 2;- Specified by:
hasApiVersionin interfaceV1Authentication.BoundObjectReferenceOrBuilder
-
getApiVersion
API version of the referent. +optional
optional string apiVersion = 2;- Specified by:
getApiVersionin interfaceV1Authentication.BoundObjectReferenceOrBuilder
-
getApiVersionBytes
public com.google.protobuf.ByteString getApiVersionBytes()API version of the referent. +optional
optional string apiVersion = 2;- Specified by:
getApiVersionBytesin interfaceV1Authentication.BoundObjectReferenceOrBuilder
-
setApiVersion
API version of the referent. +optional
optional string apiVersion = 2; -
clearApiVersion
API version of the referent. +optional
optional string apiVersion = 2; -
setApiVersionBytes
public V1Authentication.BoundObjectReference.Builder setApiVersionBytes(com.google.protobuf.ByteString value) API version of the referent. +optional
optional string apiVersion = 2; -
hasName
public boolean hasName()Name of the referent. +optional
optional string name = 3;- Specified by:
hasNamein interfaceV1Authentication.BoundObjectReferenceOrBuilder
-
getName
Name of the referent. +optional
optional string name = 3;- Specified by:
getNamein interfaceV1Authentication.BoundObjectReferenceOrBuilder
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name of the referent. +optional
optional string name = 3;- Specified by:
getNameBytesin interfaceV1Authentication.BoundObjectReferenceOrBuilder
-
setName
Name of the referent. +optional
optional string name = 3; -
clearName
Name of the referent. +optional
optional string name = 3; -
setNameBytes
public V1Authentication.BoundObjectReference.Builder setNameBytes(com.google.protobuf.ByteString value) Name of the referent. +optional
optional string name = 3; -
hasUID
public boolean hasUID()UID of the referent. +optional
optional string uID = 4;- Specified by:
hasUIDin interfaceV1Authentication.BoundObjectReferenceOrBuilder
-
getUID
UID of the referent. +optional
optional string uID = 4;- Specified by:
getUIDin interfaceV1Authentication.BoundObjectReferenceOrBuilder
-
getUIDBytes
public com.google.protobuf.ByteString getUIDBytes()UID of the referent. +optional
optional string uID = 4;- Specified by:
getUIDBytesin interfaceV1Authentication.BoundObjectReferenceOrBuilder
-
setUID
UID of the referent. +optional
optional string uID = 4; -
clearUID
UID of the referent. +optional
optional string uID = 4; -
setUIDBytes
public V1Authentication.BoundObjectReference.Builder setUIDBytes(com.google.protobuf.ByteString value) UID of the referent. +optional
optional string uID = 4; -
setUnknownFields
public final V1Authentication.BoundObjectReference.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.BoundObjectReference.Builder>
-
mergeUnknownFields
public final V1Authentication.BoundObjectReference.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Authentication.BoundObjectReference.Builder>
-