Class ContainerStartedEvent.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetMapField

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<ContainerStartedEvent.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<ContainerStartedEvent.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ContainerStartedEvent.Builder>
      • clear

        public ContainerStartedEvent.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<ContainerStartedEvent.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ContainerStartedEvent.Builder>
      • getDefaultInstanceForType

        public ContainerStartedEvent getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public ContainerStartedEvent build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ContainerStartedEvent buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public ContainerStartedEvent.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ContainerStartedEvent.Builder>
      • clearField

        public ContainerStartedEvent.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ContainerStartedEvent.Builder>
      • clearOneof

        public ContainerStartedEvent.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ContainerStartedEvent.Builder>
      • setRepeatedField

        public ContainerStartedEvent.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              int index,
                                                              Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ContainerStartedEvent.Builder>
      • addRepeatedField

        public ContainerStartedEvent.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ContainerStartedEvent.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ContainerStartedEvent.Builder>
      • mergeFrom

        public ContainerStartedEvent.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ContainerStartedEvent.Builder>
        Throws:
        IOException
      • getActionId

        public int getActionId()
         The numeric ID of the action that started this container.
         
        int32 action_id = 1;
        Specified by:
        getActionId in interface ContainerStartedEventOrBuilder
        Returns:
        The actionId.
      • setActionId

        public ContainerStartedEvent.Builder setActionId​(int value)
         The numeric ID of the action that started this container.
         
        int32 action_id = 1;
        Parameters:
        value - The actionId to set.
        Returns:
        This builder for chaining.
      • clearActionId

        public ContainerStartedEvent.Builder clearActionId()
         The numeric ID of the action that started this container.
         
        int32 action_id = 1;
        Returns:
        This builder for chaining.
      • getPortMappingsCount

        public int getPortMappingsCount()
        Description copied from interface: ContainerStartedEventOrBuilder
         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;
        Specified by:
        getPortMappingsCount in interface ContainerStartedEventOrBuilder
      • containsPortMappings

        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;
        Specified by:
        containsPortMappings in interface ContainerStartedEventOrBuilder
      • 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;
        Specified by:
        getPortMappingsMap in interface ContainerStartedEventOrBuilder
      • getPortMappingsOrDefault

        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;
        Specified by:
        getPortMappingsOrDefault in interface ContainerStartedEventOrBuilder
      • getPortMappingsOrThrow

        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;
        Specified by:
        getPortMappingsOrThrow in interface ContainerStartedEventOrBuilder
      • removePortMappings

        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;
      • getMutablePortMappings

        @Deprecated
        public Map<Integer,​Integer> getMutablePortMappings()
        Deprecated.
        Use alternate mutation accessors instead.
      • putPortMappings

        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;
      • putAllPortMappings

        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;
      • 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;
        Specified by:
        getIpAddress in interface ContainerStartedEventOrBuilder
        Returns:
        The ipAddress.
      • getIpAddressBytes

        public 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;
        Specified by:
        getIpAddressBytes in interface ContainerStartedEventOrBuilder
        Returns:
        The bytes for ipAddress.
      • setIpAddress

        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;
        Parameters:
        value - The ipAddress to set.
        Returns:
        This builder for chaining.
      • 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:
        This builder for chaining.
      • setIpAddressBytes

        public ContainerStartedEvent.Builder setIpAddressBytes​(com.google.protobuf.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;
        Parameters:
        value - The bytes for ipAddress to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final ContainerStartedEvent.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ContainerStartedEvent.Builder>
      • mergeUnknownFields

        public final ContainerStartedEvent.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ContainerStartedEvent.Builder>