public static final class ContainerdConfig.RegistryHostConfig.HostConfig extends GeneratedMessage implements ContainerdConfig.RegistryHostConfig.HostConfigOrBuilder
HostConfig configures the registry host under a given Server.
Protobuf type google.container.v1.ContainerdConfig.RegistryHostConfig.HostConfig
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
CAPABILITIES_FIELD_NUMBER
public static final int CAPABILITIES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CA_FIELD_NUMBER
public static final int CA_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CLIENT_FIELD_NUMBER
public static final int CLIENT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DIAL_TIMEOUT_FIELD_NUMBER
public static final int DIAL_TIMEOUT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int HEADER_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
HOST_FIELD_NUMBER
public static final int HOST_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
OVERRIDE_PATH_FIELD_NUMBER
public static final int OVERRIDE_PATH_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ContainerdConfig.RegistryHostConfig.HostConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ContainerdConfig.RegistryHostConfig.HostConfig.Builder newBuilder()
newBuilder(ContainerdConfig.RegistryHostConfig.HostConfig prototype)
public static ContainerdConfig.RegistryHostConfig.HostConfig.Builder newBuilder(ContainerdConfig.RegistryHostConfig.HostConfig prototype)
public static ContainerdConfig.RegistryHostConfig.HostConfig parseDelimitedFrom(InputStream input)
public static ContainerdConfig.RegistryHostConfig.HostConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ContainerdConfig.RegistryHostConfig.HostConfig parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ContainerdConfig.RegistryHostConfig.HostConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ContainerdConfig.RegistryHostConfig.HostConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ContainerdConfig.RegistryHostConfig.HostConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ContainerdConfig.RegistryHostConfig.HostConfig parseFrom(CodedInputStream input)
public static ContainerdConfig.RegistryHostConfig.HostConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ContainerdConfig.RegistryHostConfig.HostConfig parseFrom(InputStream input)
public static ContainerdConfig.RegistryHostConfig.HostConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ContainerdConfig.RegistryHostConfig.HostConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ContainerdConfig.RegistryHostConfig.HostConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ContainerdConfig.RegistryHostConfig.HostConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getCa(int index)
public ContainerdConfig.RegistryHostConfig.CertificateConfig getCa(int index)
CA configures the registry host certificate.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.CertificateConfig ca = 5;
| Parameter |
| Name |
Description |
index |
int
|
getCaCount()
CA configures the registry host certificate.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.CertificateConfig ca = 5;
| Returns |
| Type |
Description |
int |
|
getCaList()
public List<ContainerdConfig.RegistryHostConfig.CertificateConfig> getCaList()
CA configures the registry host certificate.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.CertificateConfig ca = 5;
getCaOrBuilder(int index)
public ContainerdConfig.RegistryHostConfig.CertificateConfigOrBuilder getCaOrBuilder(int index)
CA configures the registry host certificate.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.CertificateConfig ca = 5;
| Parameter |
| Name |
Description |
index |
int
|
getCaOrBuilderList()
public List<? extends ContainerdConfig.RegistryHostConfig.CertificateConfigOrBuilder> getCaOrBuilderList()
CA configures the registry host certificate.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.CertificateConfig ca = 5;
| Returns |
| Type |
Description |
List<? extends com.google.container.v1.ContainerdConfig.RegistryHostConfig.CertificateConfigOrBuilder> |
|
getCapabilities(int index)
public ContainerdConfig.RegistryHostConfig.HostCapability getCapabilities(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;
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
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;
| Returns |
| Type |
Description |
int |
The count of capabilities.
|
getCapabilitiesList()
public List<ContainerdConfig.RegistryHostConfig.HostCapability> 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;
getCapabilitiesValue(int index)
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;
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire of capabilities at the given index.
|
getCapabilitiesValueList()
public List<Integer> 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;
| Returns |
| Type |
Description |
List<Integer> |
A list containing the enum numeric values on the wire for capabilities.
|
getClient(int index)
public ContainerdConfig.RegistryHostConfig.CertificateConfigPair getClient(int index)
Client configures the registry host client certificate and key.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.CertificateConfigPair client = 6;
| Parameter |
| Name |
Description |
index |
int
|
getClientCount()
public int getClientCount()
Client configures the registry host client certificate and key.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.CertificateConfigPair client = 6;
| Returns |
| Type |
Description |
int |
|
getClientList()
public List<ContainerdConfig.RegistryHostConfig.CertificateConfigPair> getClientList()
Client configures the registry host client certificate and key.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.CertificateConfigPair client = 6;
getClientOrBuilder(int index)
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;
| Parameter |
| Name |
Description |
index |
int
|
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;
| Returns |
| Type |
Description |
List<? extends com.google.container.v1.ContainerdConfig.RegistryHostConfig.CertificateConfigPairOrBuilder> |
|
getDefaultInstanceForType()
public ContainerdConfig.RegistryHostConfig.HostConfig getDefaultInstanceForType()
getDialTimeout()
public 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;
| Returns |
| Type |
Description |
Duration |
The dialTimeout.
|
getDialTimeoutOrBuilder()
public 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;
public ContainerdConfig.RegistryHostConfig.RegistryHeader getHeader(int index)
Header configures the registry host headers.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.RegistryHeader header = 4;
| Parameter |
| Name |
Description |
index |
int
|
public int getHeaderCount()
Header configures the registry host headers.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.RegistryHeader header = 4;
| Returns |
| Type |
Description |
int |
|
public List<ContainerdConfig.RegistryHostConfig.RegistryHeader> getHeaderList()
Header configures the registry host headers.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.RegistryHeader header = 4;
public ContainerdConfig.RegistryHostConfig.RegistryHeaderOrBuilder getHeaderOrBuilder(int index)
Header configures the registry host headers.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.RegistryHeader header = 4;
| Parameter |
| Name |
Description |
index |
int
|
public List<? extends ContainerdConfig.RegistryHostConfig.RegistryHeaderOrBuilder> getHeaderOrBuilderList()
Header configures the registry host headers.
repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.RegistryHeader header = 4;
| Returns |
| Type |
Description |
List<? extends com.google.container.v1.ContainerdConfig.RegistryHostConfig.RegistryHeaderOrBuilder> |
|
getHost()
Host configures the registry host/mirror.
It supports fully qualified domain names (FQDN) and IP addresses:
Specifying port is supported.
Wildcards are NOT supported.
Examples:
- my.customdomain.com
- 10.0.1.2:5000
string host = 1;
| Returns |
| Type |
Description |
String |
The host.
|
getHostBytes()
public ByteString getHostBytes()
Host configures the registry host/mirror.
It supports fully qualified domain names (FQDN) and IP addresses:
Specifying port is supported.
Wildcards are NOT supported.
Examples:
- my.customdomain.com
- 10.0.1.2:5000
string host = 1;
| Returns |
| Type |
Description |
ByteString |
The bytes for host.
|
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;
| Returns |
| Type |
Description |
boolean |
The overridePath.
|
getParserForType()
public Parser<ContainerdConfig.RegistryHostConfig.HostConfig> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
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;
| Returns |
| Type |
Description |
boolean |
Whether the dialTimeout field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ContainerdConfig.RegistryHostConfig.HostConfig.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ContainerdConfig.RegistryHostConfig.HostConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public ContainerdConfig.RegistryHostConfig.HostConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides