Interface ContainerStartedEventOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ContainerStartedEvent
,ContainerStartedEvent.Builder
public interface ContainerStartedEventOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsPortMappings(int key)
The container-to-host port mappings installed for this container.int
getActionId()
The numeric ID of the action that started this container.String
getIpAddress()
The public IP address that can be used to connect to the container.com.google.protobuf.ByteString
getIpAddressBytes()
The public IP address that can be used to connect to the container.Map<Integer,Integer>
getPortMappings()
Deprecated.int
getPortMappingsCount()
The container-to-host port mappings installed for this container.Map<Integer,Integer>
getPortMappingsMap()
The container-to-host port mappings installed for this container.int
getPortMappingsOrDefault(int key, int defaultValue)
The container-to-host port mappings installed for this container.int
getPortMappingsOrThrow(int key)
The container-to-host port mappings installed for this container.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getActionId
int getActionId()
The numeric ID of the action that started this container.
int32 action_id = 1;
- Returns:
- The actionId.
-
getPortMappingsCount
int getPortMappingsCount()
The container-to-host port mappings installed for this container. This set will contain any ports exposed using the `PUBLISH_EXPOSED_PORTS` flag as well as any specified in the `Action` definition.
map<int32, int32> port_mappings = 2;
-
containsPortMappings
boolean containsPortMappings(int key)
The container-to-host port mappings installed for this container. This set will contain any ports exposed using the `PUBLISH_EXPOSED_PORTS` flag as well as any specified in the `Action` definition.
map<int32, int32> port_mappings = 2;
-
getPortMappings
@Deprecated Map<Integer,Integer> getPortMappings()
Deprecated.UsegetPortMappingsMap()
instead.
-
getPortMappingsMap
Map<Integer,Integer> getPortMappingsMap()
The container-to-host port mappings installed for this container. This set will contain any ports exposed using the `PUBLISH_EXPOSED_PORTS` flag as well as any specified in the `Action` definition.
map<int32, int32> port_mappings = 2;
-
getPortMappingsOrDefault
int getPortMappingsOrDefault(int key, int defaultValue)
The container-to-host port mappings installed for this container. This set will contain any ports exposed using the `PUBLISH_EXPOSED_PORTS` flag as well as any specified in the `Action` definition.
map<int32, int32> port_mappings = 2;
-
getPortMappingsOrThrow
int getPortMappingsOrThrow(int key)
The container-to-host port mappings installed for this container. This set will contain any ports exposed using the `PUBLISH_EXPOSED_PORTS` flag as well as any specified in the `Action` definition.
map<int32, int32> port_mappings = 2;
-
getIpAddress
String getIpAddress()
The public IP address that can be used to connect to the container. This field is only populated when at least one port mapping is present. If the instance was created with a private address, this field will be empty even if port mappings exist.
string ip_address = 3;
- Returns:
- The ipAddress.
-
getIpAddressBytes
com.google.protobuf.ByteString getIpAddressBytes()
The public IP address that can be used to connect to the container. This field is only populated when at least one port mapping is present. If the instance was created with a private address, this field will be empty even if port mappings exist.
string ip_address = 3;
- Returns:
- The bytes for ipAddress.
-
-