public static final class ContainerStartedEvent.Builder extends GeneratedMessageV3.Builder<ContainerStartedEvent.Builder> implements ContainerStartedEventOrBuilder
An event generated when a container starts.
Protobuf type google.cloud.lifesciences.v2beta.ContainerStartedEvent
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ContainerStartedEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ContainerStartedEvent build()
Returns
buildPartial()
public ContainerStartedEvent buildPartial()
Returns
clear()
public ContainerStartedEvent.Builder clear()
Returns
Overrides
clearActionId()
public ContainerStartedEvent.Builder clearActionId()
The numeric ID of the action that started this container.
int32 action_id = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public ContainerStartedEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearIpAddress()
public ContainerStartedEvent.Builder clearIpAddress()
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ContainerStartedEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPortMappings()
public ContainerStartedEvent.Builder clearPortMappings()
Returns
clone()
public ContainerStartedEvent.Builder clone()
Returns
Overrides
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
Returns
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
getMutablePortMappings()
public Map<Integer,Integer> getMutablePortMappings()
Use alternate mutation accessors instead.
Returns
Type | Description |
Map<java.lang.Integer,java.lang.Integer> | |
getPortMappings()
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
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
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
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ContainerStartedEvent other)
public ContainerStartedEvent.Builder mergeFrom(ContainerStartedEvent other)
Parameter
Returns
public ContainerStartedEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ContainerStartedEvent.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ContainerStartedEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
putAllPortMappings(Map<Integer,Integer> values)
public ContainerStartedEvent.Builder putAllPortMappings(Map<Integer,Integer> values)
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 |
values | Map<java.lang.Integer,java.lang.Integer>
|
Returns
putPortMappings(int key, int value)
public ContainerStartedEvent.Builder putPortMappings(int key, int value)
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
Returns
removePortMappings(int key)
public ContainerStartedEvent.Builder removePortMappings(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
Returns
setActionId(int value)
public ContainerStartedEvent.Builder setActionId(int value)
The numeric ID of the action that started this container.
int32 action_id = 1;
Parameter
Name | Description |
value | int
The actionId to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ContainerStartedEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setIpAddress(String value)
public ContainerStartedEvent.Builder setIpAddress(String value)
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;
Parameter
Name | Description |
value | String
The ipAddress to set.
|
Returns
setIpAddressBytes(ByteString value)
public ContainerStartedEvent.Builder setIpAddressBytes(ByteString value)
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;
Parameter
Name | Description |
value | ByteString
The bytes for ipAddress to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ContainerStartedEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ContainerStartedEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides