Package k8s.io.api.networking.v1
Class Generated.IngressTLS.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Generated.IngressTLS.Builder>
-
- k8s.io.api.networking.v1.Generated.IngressTLS.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Generated.IngressTLSOrBuilder
- Enclosing class:
- Generated.IngressTLS
public static final class Generated.IngressTLS.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Generated.IngressTLS.Builder> implements Generated.IngressTLSOrBuilder
IngressTLS describes the transport layer security associated with an ingress.
Protobuf typek8s.io.api.networking.v1.IngressTLS
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Generated.IngressTLS.BuilderaddAllHosts(Iterable<String> values)hosts is a list of hosts included in the TLS certificate.Generated.IngressTLS.BuilderaddHosts(String value)hosts is a list of hosts included in the TLS certificate.Generated.IngressTLS.BuilderaddHostsBytes(com.google.protobuf.ByteString value)hosts is a list of hosts included in the TLS certificate.Generated.IngressTLS.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.IngressTLSbuild()Generated.IngressTLSbuildPartial()Generated.IngressTLS.Builderclear()Generated.IngressTLS.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Generated.IngressTLS.BuilderclearHosts()hosts is a list of hosts included in the TLS certificate.Generated.IngressTLS.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Generated.IngressTLS.BuilderclearSecretName()secretName is the name of the secret used to terminate TLS traffic on port 443.Generated.IngressTLS.Builderclone()Generated.IngressTLSgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetHosts(int index)hosts is a list of hosts included in the TLS certificate.com.google.protobuf.ByteStringgetHostsBytes(int index)hosts is a list of hosts included in the TLS certificate.intgetHostsCount()hosts is a list of hosts included in the TLS certificate.com.google.protobuf.ProtocolStringListgetHostsList()hosts is a list of hosts included in the TLS certificate.StringgetSecretName()secretName is the name of the secret used to terminate TLS traffic on port 443.com.google.protobuf.ByteStringgetSecretNameBytes()secretName is the name of the secret used to terminate TLS traffic on port 443.booleanhasSecretName()secretName is the name of the secret used to terminate TLS traffic on port 443.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Generated.IngressTLS.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Generated.IngressTLS.BuildermergeFrom(com.google.protobuf.Message other)Generated.IngressTLS.BuildermergeFrom(Generated.IngressTLS other)Generated.IngressTLS.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.IngressTLS.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.IngressTLS.BuildersetHosts(int index, String value)hosts is a list of hosts included in the TLS certificate.Generated.IngressTLS.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Generated.IngressTLS.BuildersetSecretName(String value)secretName is the name of the secret used to terminate TLS traffic on port 443.Generated.IngressTLS.BuildersetSecretNameBytes(com.google.protobuf.ByteString value)secretName is the name of the secret used to terminate TLS traffic on port 443.Generated.IngressTLS.BuildersetUnknownFields(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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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<Generated.IngressTLS.Builder>
-
clear
public Generated.IngressTLS.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<Generated.IngressTLS.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<Generated.IngressTLS.Builder>
-
getDefaultInstanceForType
public Generated.IngressTLS getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Generated.IngressTLS build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Generated.IngressTLS buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Generated.IngressTLS.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<Generated.IngressTLS.Builder>
-
setField
public Generated.IngressTLS.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<Generated.IngressTLS.Builder>
-
clearField
public Generated.IngressTLS.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.IngressTLS.Builder>
-
clearOneof
public Generated.IngressTLS.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.IngressTLS.Builder>
-
setRepeatedField
public Generated.IngressTLS.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<Generated.IngressTLS.Builder>
-
addRepeatedField
public Generated.IngressTLS.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<Generated.IngressTLS.Builder>
-
mergeFrom
public Generated.IngressTLS.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.IngressTLS.Builder>
-
mergeFrom
public Generated.IngressTLS.Builder mergeFrom(Generated.IngressTLS other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.IngressTLS.Builder>
-
mergeFrom
public Generated.IngressTLS.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<Generated.IngressTLS.Builder>- Throws:
IOException
-
getHostsList
public com.google.protobuf.ProtocolStringList getHostsList()
hosts is a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified. +listType=atomic +optional
repeated string hosts = 1;- Specified by:
getHostsListin interfaceGenerated.IngressTLSOrBuilder- Returns:
- A list containing the hosts.
-
getHostsCount
public int getHostsCount()
hosts is a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified. +listType=atomic +optional
repeated string hosts = 1;- Specified by:
getHostsCountin interfaceGenerated.IngressTLSOrBuilder- Returns:
- The count of hosts.
-
getHosts
public String getHosts(int index)
hosts is a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified. +listType=atomic +optional
repeated string hosts = 1;- Specified by:
getHostsin interfaceGenerated.IngressTLSOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The hosts at the given index.
-
getHostsBytes
public com.google.protobuf.ByteString getHostsBytes(int index)
hosts is a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified. +listType=atomic +optional
repeated string hosts = 1;- Specified by:
getHostsBytesin interfaceGenerated.IngressTLSOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the hosts at the given index.
-
setHosts
public Generated.IngressTLS.Builder setHosts(int index, String value)
hosts is a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified. +listType=atomic +optional
repeated string hosts = 1;- Parameters:
index- The index to set the value at.value- The hosts to set.- Returns:
- This builder for chaining.
-
addHosts
public Generated.IngressTLS.Builder addHosts(String value)
hosts is a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified. +listType=atomic +optional
repeated string hosts = 1;- Parameters:
value- The hosts to add.- Returns:
- This builder for chaining.
-
addAllHosts
public Generated.IngressTLS.Builder addAllHosts(Iterable<String> values)
hosts is a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified. +listType=atomic +optional
repeated string hosts = 1;- Parameters:
values- The hosts to add.- Returns:
- This builder for chaining.
-
clearHosts
public Generated.IngressTLS.Builder clearHosts()
hosts is a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified. +listType=atomic +optional
repeated string hosts = 1;- Returns:
- This builder for chaining.
-
addHostsBytes
public Generated.IngressTLS.Builder addHostsBytes(com.google.protobuf.ByteString value)
hosts is a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified. +listType=atomic +optional
repeated string hosts = 1;- Parameters:
value- The bytes of the hosts to add.- Returns:
- This builder for chaining.
-
hasSecretName
public boolean hasSecretName()
secretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the "Host" header field used by an IngressRule, the SNI host is used for termination and value of the "Host" header is used for routing. +optional
optional string secretName = 2;- Specified by:
hasSecretNamein interfaceGenerated.IngressTLSOrBuilder- Returns:
- Whether the secretName field is set.
-
getSecretName
public String getSecretName()
secretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the "Host" header field used by an IngressRule, the SNI host is used for termination and value of the "Host" header is used for routing. +optional
optional string secretName = 2;- Specified by:
getSecretNamein interfaceGenerated.IngressTLSOrBuilder- Returns:
- The secretName.
-
getSecretNameBytes
public com.google.protobuf.ByteString getSecretNameBytes()
secretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the "Host" header field used by an IngressRule, the SNI host is used for termination and value of the "Host" header is used for routing. +optional
optional string secretName = 2;- Specified by:
getSecretNameBytesin interfaceGenerated.IngressTLSOrBuilder- Returns:
- The bytes for secretName.
-
setSecretName
public Generated.IngressTLS.Builder setSecretName(String value)
secretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the "Host" header field used by an IngressRule, the SNI host is used for termination and value of the "Host" header is used for routing. +optional
optional string secretName = 2;- Parameters:
value- The secretName to set.- Returns:
- This builder for chaining.
-
clearSecretName
public Generated.IngressTLS.Builder clearSecretName()
secretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the "Host" header field used by an IngressRule, the SNI host is used for termination and value of the "Host" header is used for routing. +optional
optional string secretName = 2;- Returns:
- This builder for chaining.
-
setSecretNameBytes
public Generated.IngressTLS.Builder setSecretNameBytes(com.google.protobuf.ByteString value)
secretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the "Host" header field used by an IngressRule, the SNI host is used for termination and value of the "Host" header is used for routing. +optional
optional string secretName = 2;- Parameters:
value- The bytes for secretName to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Generated.IngressTLS.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.IngressTLS.Builder>
-
mergeUnknownFields
public final Generated.IngressTLS.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.IngressTLS.Builder>
-
-