Class Deployment

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, DeploymentOrBuilder, Serializable

    public final class Deployment
    extends com.google.protobuf.GeneratedMessageV3
    implements DeploymentOrBuilder
     The period during which some deployable was active in a runtime.
     
    Protobuf type grafeas.v1beta1.deployment.Deployment
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Deployment.Builder
      The period during which some deployable was active in a runtime.
      static class  Deployment.Platform
      Types of platforms.
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

        com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,​BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,​BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getUserEmail

        public String getUserEmail()
         Identity of the user that triggered this deployment.
         
        string user_email = 1;
        Specified by:
        getUserEmail in interface DeploymentOrBuilder
        Returns:
        The userEmail.
      • getUserEmailBytes

        public com.google.protobuf.ByteString getUserEmailBytes()
         Identity of the user that triggered this deployment.
         
        string user_email = 1;
        Specified by:
        getUserEmailBytes in interface DeploymentOrBuilder
        Returns:
        The bytes for userEmail.
      • hasDeployTime

        public boolean hasDeployTime()
         Required. Beginning of the lifetime of this deployment.
         
        .google.protobuf.Timestamp deploy_time = 2;
        Specified by:
        hasDeployTime in interface DeploymentOrBuilder
        Returns:
        Whether the deployTime field is set.
      • getDeployTime

        public com.google.protobuf.Timestamp getDeployTime()
         Required. Beginning of the lifetime of this deployment.
         
        .google.protobuf.Timestamp deploy_time = 2;
        Specified by:
        getDeployTime in interface DeploymentOrBuilder
        Returns:
        The deployTime.
      • getDeployTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getDeployTimeOrBuilder()
         Required. Beginning of the lifetime of this deployment.
         
        .google.protobuf.Timestamp deploy_time = 2;
        Specified by:
        getDeployTimeOrBuilder in interface DeploymentOrBuilder
      • hasUndeployTime

        public boolean hasUndeployTime()
         End of the lifetime of this deployment.
         
        .google.protobuf.Timestamp undeploy_time = 3;
        Specified by:
        hasUndeployTime in interface DeploymentOrBuilder
        Returns:
        Whether the undeployTime field is set.
      • getUndeployTime

        public com.google.protobuf.Timestamp getUndeployTime()
         End of the lifetime of this deployment.
         
        .google.protobuf.Timestamp undeploy_time = 3;
        Specified by:
        getUndeployTime in interface DeploymentOrBuilder
        Returns:
        The undeployTime.
      • getUndeployTimeOrBuilder

        public com.google.protobuf.TimestampOrBuilder getUndeployTimeOrBuilder()
         End of the lifetime of this deployment.
         
        .google.protobuf.Timestamp undeploy_time = 3;
        Specified by:
        getUndeployTimeOrBuilder in interface DeploymentOrBuilder
      • getConfig

        public String getConfig()
         Configuration used to create this deployment.
         
        string config = 4;
        Specified by:
        getConfig in interface DeploymentOrBuilder
        Returns:
        The config.
      • getConfigBytes

        public com.google.protobuf.ByteString getConfigBytes()
         Configuration used to create this deployment.
         
        string config = 4;
        Specified by:
        getConfigBytes in interface DeploymentOrBuilder
        Returns:
        The bytes for config.
      • getAddress

        public String getAddress()
         Address of the runtime element hosting this deployment.
         
        string address = 5;
        Specified by:
        getAddress in interface DeploymentOrBuilder
        Returns:
        The address.
      • getAddressBytes

        public com.google.protobuf.ByteString getAddressBytes()
         Address of the runtime element hosting this deployment.
         
        string address = 5;
        Specified by:
        getAddressBytes in interface DeploymentOrBuilder
        Returns:
        The bytes for address.
      • getResourceUriList

        public com.google.protobuf.ProtocolStringList getResourceUriList()
         Output only. Resource URI for the artifact being deployed taken from
         the deployable field with the same name.
         
        repeated string resource_uri = 6;
        Specified by:
        getResourceUriList in interface DeploymentOrBuilder
        Returns:
        A list containing the resourceUri.
      • getResourceUriCount

        public int getResourceUriCount()
         Output only. Resource URI for the artifact being deployed taken from
         the deployable field with the same name.
         
        repeated string resource_uri = 6;
        Specified by:
        getResourceUriCount in interface DeploymentOrBuilder
        Returns:
        The count of resourceUri.
      • getResourceUri

        public String getResourceUri​(int index)
         Output only. Resource URI for the artifact being deployed taken from
         the deployable field with the same name.
         
        repeated string resource_uri = 6;
        Specified by:
        getResourceUri in interface DeploymentOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The resourceUri at the given index.
      • getResourceUriBytes

        public com.google.protobuf.ByteString getResourceUriBytes​(int index)
         Output only. Resource URI for the artifact being deployed taken from
         the deployable field with the same name.
         
        repeated string resource_uri = 6;
        Specified by:
        getResourceUriBytes in interface DeploymentOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the resourceUri at the given index.
      • getPlatformValue

        public int getPlatformValue()
         Platform hosting this deployment.
         
        .grafeas.v1beta1.deployment.Deployment.Platform platform = 7;
        Specified by:
        getPlatformValue in interface DeploymentOrBuilder
        Returns:
        The enum numeric value on the wire for platform.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Deployment parseFrom​(ByteBuffer data)
                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Deployment parseFrom​(ByteBuffer data,
                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Deployment parseFrom​(com.google.protobuf.ByteString data)
                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Deployment parseFrom​(com.google.protobuf.ByteString data,
                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Deployment parseFrom​(byte[] data)
                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Deployment parseFrom​(byte[] data,
                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                    throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Deployment parseFrom​(com.google.protobuf.CodedInputStream input,
                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                    throws IOException
        Throws:
        IOException
      • newBuilderForType

        public Deployment.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Deployment.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Deployment.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstance

        public static Deployment getDefaultInstance()
      • parser

        public static com.google.protobuf.Parser<Deployment> parser()
      • getParserForType

        public com.google.protobuf.Parser<Deployment> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public Deployment getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder