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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ContainerStartedEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ContainerStartedEvent build()
buildPartial()
public ContainerStartedEvent buildPartial()
clear()
public ContainerStartedEvent.Builder clear()
Overrides
clearActionId()
public ContainerStartedEvent.Builder clearActionId()
The numeric ID of the action that started this container.
int32 action_id = 1;
clearField(Descriptors.FieldDescriptor field)
public ContainerStartedEvent.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ContainerStartedEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPortMappings()
public ContainerStartedEvent.Builder clearPortMappings()
clone()
public ContainerStartedEvent.Builder clone()
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 |
---|
Name | Description |
key | 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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
ByteString | The bytes for ipAddress.
|
getMutablePortMappings() (deprecated)
public Map<Integer,Integer> getMutablePortMappings()
Use alternate mutation accessors instead.
Returns |
---|
Type | Description |
Map<java.lang.Integer,java.lang.Integer> | |
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 | |
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.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter |
---|
Name | Description |
number | int
|
Returns |
---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor | |
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ContainerStartedEvent other)
public ContainerStartedEvent.Builder mergeFrom(ContainerStartedEvent other)
public ContainerStartedEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ContainerStartedEvent.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ContainerStartedEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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>
|
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 |
---|
Name | Description |
key | int
|
value | int
|
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 |
---|
Name | Description |
key | int
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public ContainerStartedEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ContainerStartedEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ContainerStartedEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides