- 0.57.0 (latest)
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.3.8
public final class ContainerStartedEvent extends GeneratedMessageV3 implements ContainerStartedEventOrBuilder
An event generated when a container starts.
Protobuf type google.cloud.lifesciences.v2beta.ContainerStartedEvent
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ContainerStartedEventImplements
ContainerStartedEventOrBuilderStatic Fields
ACTION_ID_FIELD_NUMBER
public static final int ACTION_ID_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
IP_ADDRESS_FIELD_NUMBER
public static final int IP_ADDRESS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
PORT_MAPPINGS_FIELD_NUMBER
public static final int PORT_MAPPINGS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ContainerStartedEvent getDefaultInstance()
Returns | |
---|---|
Type | Description |
ContainerStartedEvent |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static ContainerStartedEvent.Builder newBuilder()
Returns | |
---|---|
Type | Description |
ContainerStartedEvent.Builder |
newBuilder(ContainerStartedEvent prototype)
public static ContainerStartedEvent.Builder newBuilder(ContainerStartedEvent prototype)
Parameter | |
---|---|
Name | Description |
prototype | ContainerStartedEvent |
Returns | |
---|---|
Type | Description |
ContainerStartedEvent.Builder |
parseDelimitedFrom(InputStream input)
public static ContainerStartedEvent parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
ContainerStartedEvent |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ContainerStartedEvent parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ContainerStartedEvent |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static ContainerStartedEvent parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
ContainerStartedEvent |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ContainerStartedEvent parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ContainerStartedEvent |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ContainerStartedEvent parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
ContainerStartedEvent |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ContainerStartedEvent parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ContainerStartedEvent |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ContainerStartedEvent parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
ContainerStartedEvent |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ContainerStartedEvent parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ContainerStartedEvent |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static ContainerStartedEvent parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
ContainerStartedEvent |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ContainerStartedEvent parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ContainerStartedEvent |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ContainerStartedEvent parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
ContainerStartedEvent |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ContainerStartedEvent parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ContainerStartedEvent |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ContainerStartedEvent> parser()
Returns | |
---|---|
Type | Description |
Parser<ContainerStartedEvent> |
Methods
containsPortMappings(int key)
public 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;
Parameter | |
---|---|
Name | Description |
key | int |
Returns | |
---|---|
Type | Description |
boolean |
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getActionId()
public int getActionId()
The numeric ID of the action that started this container.
int32 action_id = 1;
Returns | |
---|---|
Type | Description |
int | The actionId. |
getDefaultInstanceForType()
public ContainerStartedEvent getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ContainerStartedEvent |
getIpAddress()
public 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 | |
---|---|
Type | Description |
String | The ipAddress. |
getIpAddressBytes()
public 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 | |
---|---|
Type | Description |
ByteString | The bytes for ipAddress. |
getParserForType()
public Parser<ContainerStartedEvent> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<ContainerStartedEvent> |
getPortMappings() (deprecated)
public Map<Integer,Integer> getPortMappings()
Use #getPortMappingsMap() instead.
Returns | |
---|---|
Type | Description |
Map<java.lang.Integer,java.lang.Integer> |
getPortMappingsCount()
public 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;
Returns | |
---|---|
Type | Description |
int |
getPortMappingsMap()
public 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;
Returns | |
---|---|
Type | Description |
Map<java.lang.Integer,java.lang.Integer> |
getPortMappingsOrDefault(int key, int defaultValue)
public 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;
Parameters | |
---|---|
Name | Description |
key | int |
defaultValue | int |
Returns | |
---|---|
Type | Description |
int |
getPortMappingsOrThrow(int key)
public 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;
Parameter | |
---|---|
Name | Description |
key | int |
Returns | |
---|---|
Type | Description |
int |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public ContainerStartedEvent.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
ContainerStartedEvent.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ContainerStartedEvent.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
ContainerStartedEvent.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public ContainerStartedEvent.Builder toBuilder()
Returns | |
---|---|
Type | Description |
ContainerStartedEvent.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |