public static interface ContainerdConfig.RegistryHostConfig.RegistryHeaderOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getKey()
public abstract String getKey()Key configures the header key.
string key = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The key. |
getKeyBytes()
public abstract ByteString getKeyBytes()Key configures the header key.
string key = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for key. |
getValue(int index)
public abstract String getValue(int index)Value configures the header value.
repeated string value = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The value at the given index. |
getValueBytes(int index)
public abstract ByteString getValueBytes(int index)Value configures the header value.
repeated string value = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the value at the given index. |
getValueCount()
public abstract int getValueCount()Value configures the header value.
repeated string value = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The count of value. |
getValueList()
public abstract List<String> getValueList()Value configures the header value.
repeated string value = 2;
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the value. |