Send feedback
Class ContainerStartedEvent (0.38.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.38.0 keyboard_arrow_down
public final class ContainerStartedEvent extends GeneratedMessageV3 implements ContainerStartedEventOrBuilder
An event generated when a container starts.
Protobuf type google.cloud.lifesciences.v2beta.ContainerStartedEvent
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static 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 ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static ContainerStartedEvent . Builder newBuilder ()
newBuilder(ContainerStartedEvent prototype)
public static ContainerStartedEvent . Builder newBuilder ( ContainerStartedEvent prototype )
public static ContainerStartedEvent parseDelimitedFrom ( InputStream input )
public static ContainerStartedEvent parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static ContainerStartedEvent parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ContainerStartedEvent parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static ContainerStartedEvent parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ContainerStartedEvent parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static ContainerStartedEvent parseFrom ( CodedInputStream input )
public static ContainerStartedEvent parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static ContainerStartedEvent parseFrom ( InputStream input )
public static ContainerStartedEvent parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static ContainerStartedEvent parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ContainerStartedEvent parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<ContainerStartedEvent> parser ()
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
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
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 ()
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 ()
Overrides
getPortMappings() (deprecated)
public Map<Integer , Integer > getPortMappings ()
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
Overrides
hashCode()
Returns Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection ( int number )
Parameter Name Description number
int
Returns Type Description com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public ContainerStartedEvent . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ContainerStartedEvent . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public ContainerStartedEvent . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]