Package com.google.container.v1
Class ContainerdConfig.RegistryHostConfig.HostConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.container.v1.ContainerdConfig.RegistryHostConfig.HostConfig
- All Implemented Interfaces:
ContainerdConfig.RegistryHostConfig.HostConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- ContainerdConfig.RegistryHostConfig
public static final class ContainerdConfig.RegistryHostConfig.HostConfig
extends com.google.protobuf.GeneratedMessage
implements ContainerdConfig.RegistryHostConfig.HostConfigOrBuilder
HostConfig configures the registry host under a given Server.Protobuf type
google.container.v1.ContainerdConfig.RegistryHostConfig.HostConfig- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classHostConfig configures the registry host under a given Server.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetCa(int index) CA configures the registry host certificate.intCA configures the registry host certificate.CA configures the registry host certificate.getCaOrBuilder(int index) CA configures the registry host certificate.CA configures the registry host certificate.getCapabilities(int index) Capabilities represent the capabilities of the registry host, specifying what operations a host is capable of performing.intCapabilities represent the capabilities of the registry host, specifying what operations a host is capable of performing.Capabilities represent the capabilities of the registry host, specifying what operations a host is capable of performing.intgetCapabilitiesValue(int index) Capabilities represent the capabilities of the registry host, specifying what operations a host is capable of performing.Capabilities represent the capabilities of the registry host, specifying what operations a host is capable of performing.getClient(int index) Client configures the registry host client certificate and key.intClient configures the registry host client certificate and key.Client configures the registry host client certificate and key.getClientOrBuilder(int index) Client configures the registry host client certificate and key.Client configures the registry host client certificate and key.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.DurationSpecifies the maximum duration allowed for a connection attempt to complete.com.google.protobuf.DurationOrBuilderSpecifies the maximum duration allowed for a connection attempt to complete.getHeader(int index) Header configures the registry host headers.intHeader configures the registry host headers.Header configures the registry host headers.getHeaderOrBuilder(int index) Header configures the registry host headers.Header configures the registry host headers.getHost()Host configures the registry host/mirror.com.google.protobuf.ByteStringHost configures the registry host/mirror.booleanOverridePath is used to indicate the host's API root endpoint is defined in the URL path rather than by the API specification.com.google.protobuf.Parser<ContainerdConfig.RegistryHostConfig.HostConfig>intbooleanSpecifies the maximum duration allowed for a connection attempt to complete.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ContainerdConfig.RegistryHostConfig.HostConfig>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
HOST_FIELD_NUMBER
public static final int HOST_FIELD_NUMBER- See Also:
-
CAPABILITIES_FIELD_NUMBER
public static final int CAPABILITIES_FIELD_NUMBER- See Also:
-
OVERRIDE_PATH_FIELD_NUMBER
public static final int OVERRIDE_PATH_FIELD_NUMBER- See Also:
-
HEADER_FIELD_NUMBER
public static final int HEADER_FIELD_NUMBER- See Also:
-
CA_FIELD_NUMBER
public static final int CA_FIELD_NUMBER- See Also:
-
CLIENT_FIELD_NUMBER
public static final int CLIENT_FIELD_NUMBER- See Also:
-
DIAL_TIMEOUT_FIELD_NUMBER
public static final int DIAL_TIMEOUT_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getHost
Host configures the registry host/mirror. It supports fully qualified domain names (FQDNs) and IP addresses. Specifying scheme, port or path is supported. Scheme can only be http or https. Wildcards are NOT supported. Examples: - `my.customdomain.com` - `https://my.customdomain.com/path` - `10.0.1.2:5000`
string host = 1;- Specified by:
getHostin interfaceContainerdConfig.RegistryHostConfig.HostConfigOrBuilder- Returns:
- The host.
-
getHostBytes
public com.google.protobuf.ByteString getHostBytes()Host configures the registry host/mirror. It supports fully qualified domain names (FQDNs) and IP addresses. Specifying scheme, port or path is supported. Scheme can only be http or https. Wildcards are NOT supported. Examples: - `my.customdomain.com` - `https://my.customdomain.com/path` - `10.0.1.2:5000`
string host = 1;- Specified by:
getHostBytesin interfaceContainerdConfig.RegistryHostConfig.HostConfigOrBuilder- Returns:
- The bytes for host.
-
getCapabilitiesList
Capabilities represent the capabilities of the registry host, specifying what operations a host is capable of performing. If not set, containerd enables all capabilities by default.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.HostCapability capabilities = 2;- Specified by:
getCapabilitiesListin interfaceContainerdConfig.RegistryHostConfig.HostConfigOrBuilder- Returns:
- A list containing the capabilities.
-
getCapabilitiesCount
public int getCapabilitiesCount()Capabilities represent the capabilities of the registry host, specifying what operations a host is capable of performing. If not set, containerd enables all capabilities by default.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.HostCapability capabilities = 2;- Specified by:
getCapabilitiesCountin interfaceContainerdConfig.RegistryHostConfig.HostConfigOrBuilder- Returns:
- The count of capabilities.
-
getCapabilities
Capabilities represent the capabilities of the registry host, specifying what operations a host is capable of performing. If not set, containerd enables all capabilities by default.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.HostCapability capabilities = 2;- Specified by:
getCapabilitiesin interfaceContainerdConfig.RegistryHostConfig.HostConfigOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The capabilities at the given index.
-
getCapabilitiesValueList
Capabilities represent the capabilities of the registry host, specifying what operations a host is capable of performing. If not set, containerd enables all capabilities by default.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.HostCapability capabilities = 2;- Specified by:
getCapabilitiesValueListin interfaceContainerdConfig.RegistryHostConfig.HostConfigOrBuilder- Returns:
- A list containing the enum numeric values on the wire for capabilities.
-
getCapabilitiesValue
public int getCapabilitiesValue(int index) Capabilities represent the capabilities of the registry host, specifying what operations a host is capable of performing. If not set, containerd enables all capabilities by default.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.HostCapability capabilities = 2;- Specified by:
getCapabilitiesValuein interfaceContainerdConfig.RegistryHostConfig.HostConfigOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of capabilities at the given index.
-
getOverridePath
public boolean getOverridePath()OverridePath is used to indicate the host's API root endpoint is defined in the URL path rather than by the API specification. This may be used with non-compliant OCI registries which are missing the /v2 prefix. If not set, containerd sets default false.
bool override_path = 3;- Specified by:
getOverridePathin interfaceContainerdConfig.RegistryHostConfig.HostConfigOrBuilder- Returns:
- The overridePath.
-
getHeaderList
Header configures the registry host headers.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.RegistryHeader header = 4;- Specified by:
getHeaderListin interfaceContainerdConfig.RegistryHostConfig.HostConfigOrBuilder
-
getHeaderOrBuilderList
public List<? extends ContainerdConfig.RegistryHostConfig.RegistryHeaderOrBuilder> getHeaderOrBuilderList()Header configures the registry host headers.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.RegistryHeader header = 4;- Specified by:
getHeaderOrBuilderListin interfaceContainerdConfig.RegistryHostConfig.HostConfigOrBuilder
-
getHeaderCount
public int getHeaderCount()Header configures the registry host headers.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.RegistryHeader header = 4;- Specified by:
getHeaderCountin interfaceContainerdConfig.RegistryHostConfig.HostConfigOrBuilder
-
getHeader
Header configures the registry host headers.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.RegistryHeader header = 4;- Specified by:
getHeaderin interfaceContainerdConfig.RegistryHostConfig.HostConfigOrBuilder
-
getHeaderOrBuilder
Header configures the registry host headers.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.RegistryHeader header = 4;- Specified by:
getHeaderOrBuilderin interfaceContainerdConfig.RegistryHostConfig.HostConfigOrBuilder
-
getCaList
CA configures the registry host certificate.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.CertificateConfig ca = 5;- Specified by:
getCaListin interfaceContainerdConfig.RegistryHostConfig.HostConfigOrBuilder
-
getCaOrBuilderList
public List<? extends ContainerdConfig.RegistryHostConfig.CertificateConfigOrBuilder> getCaOrBuilderList()CA configures the registry host certificate.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.CertificateConfig ca = 5;- Specified by:
getCaOrBuilderListin interfaceContainerdConfig.RegistryHostConfig.HostConfigOrBuilder
-
getCaCount
public int getCaCount()CA configures the registry host certificate.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.CertificateConfig ca = 5;- Specified by:
getCaCountin interfaceContainerdConfig.RegistryHostConfig.HostConfigOrBuilder
-
getCa
CA configures the registry host certificate.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.CertificateConfig ca = 5;- Specified by:
getCain interfaceContainerdConfig.RegistryHostConfig.HostConfigOrBuilder
-
getCaOrBuilder
CA configures the registry host certificate.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.CertificateConfig ca = 5;- Specified by:
getCaOrBuilderin interfaceContainerdConfig.RegistryHostConfig.HostConfigOrBuilder
-
getClientList
Client configures the registry host client certificate and key.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.CertificateConfigPair client = 6;- Specified by:
getClientListin interfaceContainerdConfig.RegistryHostConfig.HostConfigOrBuilder
-
getClientOrBuilderList
public List<? extends ContainerdConfig.RegistryHostConfig.CertificateConfigPairOrBuilder> getClientOrBuilderList()Client configures the registry host client certificate and key.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.CertificateConfigPair client = 6;- Specified by:
getClientOrBuilderListin interfaceContainerdConfig.RegistryHostConfig.HostConfigOrBuilder
-
getClientCount
public int getClientCount()Client configures the registry host client certificate and key.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.CertificateConfigPair client = 6;- Specified by:
getClientCountin interfaceContainerdConfig.RegistryHostConfig.HostConfigOrBuilder
-
getClient
Client configures the registry host client certificate and key.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.CertificateConfigPair client = 6;- Specified by:
getClientin interfaceContainerdConfig.RegistryHostConfig.HostConfigOrBuilder
-
getClientOrBuilder
public ContainerdConfig.RegistryHostConfig.CertificateConfigPairOrBuilder getClientOrBuilder(int index) Client configures the registry host client certificate and key.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.CertificateConfigPair client = 6;- Specified by:
getClientOrBuilderin interfaceContainerdConfig.RegistryHostConfig.HostConfigOrBuilder
-
hasDialTimeout
public boolean hasDialTimeout()Specifies the maximum duration allowed for a connection attempt to complete. A shorter timeout helps reduce delays when falling back to the original registry if the mirror is unreachable. Maximum allowed value is 180s. If not set, containerd sets default 30s. The value should be a decimal number of seconds with an `s` suffix.
.google.protobuf.Duration dial_timeout = 7;- Specified by:
hasDialTimeoutin interfaceContainerdConfig.RegistryHostConfig.HostConfigOrBuilder- Returns:
- Whether the dialTimeout field is set.
-
getDialTimeout
public com.google.protobuf.Duration getDialTimeout()Specifies the maximum duration allowed for a connection attempt to complete. A shorter timeout helps reduce delays when falling back to the original registry if the mirror is unreachable. Maximum allowed value is 180s. If not set, containerd sets default 30s. The value should be a decimal number of seconds with an `s` suffix.
.google.protobuf.Duration dial_timeout = 7;- Specified by:
getDialTimeoutin interfaceContainerdConfig.RegistryHostConfig.HostConfigOrBuilder- Returns:
- The dialTimeout.
-
getDialTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getDialTimeoutOrBuilder()Specifies the maximum duration allowed for a connection attempt to complete. A shorter timeout helps reduce delays when falling back to the original registry if the mirror is unreachable. Maximum allowed value is 180s. If not set, containerd sets default 30s. The value should be a decimal number of seconds with an `s` suffix.
.google.protobuf.Duration dial_timeout = 7;- Specified by:
getDialTimeoutOrBuilderin interfaceContainerdConfig.RegistryHostConfig.HostConfigOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ContainerdConfig.RegistryHostConfig.HostConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ContainerdConfig.RegistryHostConfig.HostConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ContainerdConfig.RegistryHostConfig.HostConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ContainerdConfig.RegistryHostConfig.HostConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ContainerdConfig.RegistryHostConfig.HostConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ContainerdConfig.RegistryHostConfig.HostConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ContainerdConfig.RegistryHostConfig.HostConfig parseFrom(InputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ContainerdConfig.RegistryHostConfig.HostConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static ContainerdConfig.RegistryHostConfig.HostConfig parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static ContainerdConfig.RegistryHostConfig.HostConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ContainerdConfig.RegistryHostConfig.HostConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ContainerdConfig.RegistryHostConfig.HostConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static ContainerdConfig.RegistryHostConfig.HostConfig.Builder newBuilder(ContainerdConfig.RegistryHostConfig.HostConfig prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ContainerdConfig.RegistryHostConfig.HostConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
public com.google.protobuf.Parser<ContainerdConfig.RegistryHostConfig.HostConfig> getParserForType()- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-