Class ContainerdConfig.RegistryHostConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.container.v1.ContainerdConfig.RegistryHostConfig
All Implemented Interfaces:
ContainerdConfig.RegistryHostConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
ContainerdConfig

public static final class ContainerdConfig.RegistryHostConfig extends com.google.protobuf.GeneratedMessage implements ContainerdConfig.RegistryHostConfigOrBuilder
 RegistryHostConfig configures the top-level structure for a single
 containerd registry server's configuration, which represents one hosts.toml
 file on the node. It will override the same fqdns in
 PrivateRegistryAccessConfig.
 
Protobuf type google.container.v1.ContainerdConfig.RegistryHostConfig
See Also:
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getServer

      public String getServer()
       Defines the host name of the registry server, which will be used to
       create configuration file as /etc/containerd/hosts.d/<server>/hosts.toml.
       It supports fully qualified domain names (FQDN) and IP addresses:
       Specifying port is supported, while scheme and path are NOT supported.
       Wildcards are NOT supported.
       Examples:
       - `my.customdomain.com`
       - `10.0.1.2:5000`
       
      string server = 1;
      Specified by:
      getServer in interface ContainerdConfig.RegistryHostConfigOrBuilder
      Returns:
      The server.
    • getServerBytes

      public com.google.protobuf.ByteString getServerBytes()
       Defines the host name of the registry server, which will be used to
       create configuration file as /etc/containerd/hosts.d/<server>/hosts.toml.
       It supports fully qualified domain names (FQDN) and IP addresses:
       Specifying port is supported, while scheme and path are NOT supported.
       Wildcards are NOT supported.
       Examples:
       - `my.customdomain.com`
       - `10.0.1.2:5000`
       
      string server = 1;
      Specified by:
      getServerBytes in interface ContainerdConfig.RegistryHostConfigOrBuilder
      Returns:
      The bytes for server.
    • getHostsList

       HostConfig configures a list of host-specific configurations for the
       server.
       Each server can have at most 10 host configurations.
       
      repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.HostConfig hosts = 2;
      Specified by:
      getHostsList in interface ContainerdConfig.RegistryHostConfigOrBuilder
    • getHostsOrBuilderList

      public List<? extends ContainerdConfig.RegistryHostConfig.HostConfigOrBuilder> getHostsOrBuilderList()
       HostConfig configures a list of host-specific configurations for the
       server.
       Each server can have at most 10 host configurations.
       
      repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.HostConfig hosts = 2;
      Specified by:
      getHostsOrBuilderList in interface ContainerdConfig.RegistryHostConfigOrBuilder
    • getHostsCount

      public int getHostsCount()
       HostConfig configures a list of host-specific configurations for the
       server.
       Each server can have at most 10 host configurations.
       
      repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.HostConfig hosts = 2;
      Specified by:
      getHostsCount in interface ContainerdConfig.RegistryHostConfigOrBuilder
    • getHosts

       HostConfig configures a list of host-specific configurations for the
       server.
       Each server can have at most 10 host configurations.
       
      repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.HostConfig hosts = 2;
      Specified by:
      getHosts in interface ContainerdConfig.RegistryHostConfigOrBuilder
    • getHostsOrBuilder

      public ContainerdConfig.RegistryHostConfig.HostConfigOrBuilder getHostsOrBuilder(int index)
       HostConfig configures a list of host-specific configurations for the
       server.
       Each server can have at most 10 host configurations.
       
      repeated .google.container.v1.ContainerdConfig.RegistryHostConfig.HostConfig hosts = 2;
      Specified by:
      getHostsOrBuilder in interface ContainerdConfig.RegistryHostConfigOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ContainerdConfig.RegistryHostConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ContainerdConfig.RegistryHostConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ContainerdConfig.RegistryHostConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ContainerdConfig.RegistryHostConfig 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 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ContainerdConfig.RegistryHostConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ContainerdConfig.RegistryHostConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ContainerdConfig.RegistryHostConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ContainerdConfig.RegistryHostConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ContainerdConfig.RegistryHostConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ContainerdConfig.RegistryHostConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ContainerdConfig.RegistryHostConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ContainerdConfig.RegistryHostConfig.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ContainerdConfig.RegistryHostConfig.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ContainerdConfig.RegistryHostConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ContainerdConfig.RegistryHostConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ContainerdConfig.RegistryHostConfig> parser()
    • getParserForType

      public com.google.protobuf.Parser<ContainerdConfig.RegistryHostConfig> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public ContainerdConfig.RegistryHostConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder