Class Deployment.Builder

  • All Implemented Interfaces:
    com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, DeploymentOrBuilder, Cloneable
    Enclosing class:
    Deployment

    public static final class Deployment.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Deployment.Builder>
    implements DeploymentOrBuilder
     The period during which some deployable was active in a runtime.
     
    Protobuf type grafeas.v1beta1.deployment.Deployment
    • Method Detail

      • 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.Builder<Deployment.Builder>
      • clear

        public Deployment.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<Deployment.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<Deployment.Builder>
      • getDefaultInstanceForType

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

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

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

        public Deployment.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<Deployment.Builder>
      • setField

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

        public Deployment.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<Deployment.Builder>
      • clearOneof

        public Deployment.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<Deployment.Builder>
      • setRepeatedField

        public Deployment.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<Deployment.Builder>
      • addRepeatedField

        public Deployment.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<Deployment.Builder>
      • mergeFrom

        public Deployment.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Deployment.Builder>
      • isInitialized

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

        public Deployment.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<Deployment.Builder>
        Throws:
        IOException
      • 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.
      • setUserEmail

        public Deployment.Builder setUserEmail​(String value)
         Identity of the user that triggered this deployment.
         
        string user_email = 1;
        Parameters:
        value - The userEmail to set.
        Returns:
        This builder for chaining.
      • clearUserEmail

        public Deployment.Builder clearUserEmail()
         Identity of the user that triggered this deployment.
         
        string user_email = 1;
        Returns:
        This builder for chaining.
      • setUserEmailBytes

        public Deployment.Builder setUserEmailBytes​(com.google.protobuf.ByteString value)
         Identity of the user that triggered this deployment.
         
        string user_email = 1;
        Parameters:
        value - The bytes for userEmail to set.
        Returns:
        This builder for chaining.
      • 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.
      • setDeployTime

        public Deployment.Builder setDeployTime​(com.google.protobuf.Timestamp value)
         Required. Beginning of the lifetime of this deployment.
         
        .google.protobuf.Timestamp deploy_time = 2;
      • setDeployTime

        public Deployment.Builder setDeployTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Required. Beginning of the lifetime of this deployment.
         
        .google.protobuf.Timestamp deploy_time = 2;
      • mergeDeployTime

        public Deployment.Builder mergeDeployTime​(com.google.protobuf.Timestamp value)
         Required. Beginning of the lifetime of this deployment.
         
        .google.protobuf.Timestamp deploy_time = 2;
      • clearDeployTime

        public Deployment.Builder clearDeployTime()
         Required. Beginning of the lifetime of this deployment.
         
        .google.protobuf.Timestamp deploy_time = 2;
      • getDeployTimeBuilder

        public com.google.protobuf.Timestamp.Builder getDeployTimeBuilder()
         Required. Beginning of the lifetime of this deployment.
         
        .google.protobuf.Timestamp deploy_time = 2;
      • 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.
      • setUndeployTime

        public Deployment.Builder setUndeployTime​(com.google.protobuf.Timestamp value)
         End of the lifetime of this deployment.
         
        .google.protobuf.Timestamp undeploy_time = 3;
      • setUndeployTime

        public Deployment.Builder setUndeployTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         End of the lifetime of this deployment.
         
        .google.protobuf.Timestamp undeploy_time = 3;
      • mergeUndeployTime

        public Deployment.Builder mergeUndeployTime​(com.google.protobuf.Timestamp value)
         End of the lifetime of this deployment.
         
        .google.protobuf.Timestamp undeploy_time = 3;
      • clearUndeployTime

        public Deployment.Builder clearUndeployTime()
         End of the lifetime of this deployment.
         
        .google.protobuf.Timestamp undeploy_time = 3;
      • getUndeployTimeBuilder

        public com.google.protobuf.Timestamp.Builder getUndeployTimeBuilder()
         End of the lifetime of this deployment.
         
        .google.protobuf.Timestamp undeploy_time = 3;
      • 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.
      • setConfig

        public Deployment.Builder setConfig​(String value)
         Configuration used to create this deployment.
         
        string config = 4;
        Parameters:
        value - The config to set.
        Returns:
        This builder for chaining.
      • clearConfig

        public Deployment.Builder clearConfig()
         Configuration used to create this deployment.
         
        string config = 4;
        Returns:
        This builder for chaining.
      • setConfigBytes

        public Deployment.Builder setConfigBytes​(com.google.protobuf.ByteString value)
         Configuration used to create this deployment.
         
        string config = 4;
        Parameters:
        value - The bytes for config to set.
        Returns:
        This builder for chaining.
      • 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.
      • setAddress

        public Deployment.Builder setAddress​(String value)
         Address of the runtime element hosting this deployment.
         
        string address = 5;
        Parameters:
        value - The address to set.
        Returns:
        This builder for chaining.
      • clearAddress

        public Deployment.Builder clearAddress()
         Address of the runtime element hosting this deployment.
         
        string address = 5;
        Returns:
        This builder for chaining.
      • setAddressBytes

        public Deployment.Builder setAddressBytes​(com.google.protobuf.ByteString value)
         Address of the runtime element hosting this deployment.
         
        string address = 5;
        Parameters:
        value - The bytes for address to set.
        Returns:
        This builder for chaining.
      • 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.
      • setResourceUri

        public Deployment.Builder setResourceUri​(int index,
                                                 String value)
         Output only. Resource URI for the artifact being deployed taken from
         the deployable field with the same name.
         
        repeated string resource_uri = 6;
        Parameters:
        index - The index to set the value at.
        value - The resourceUri to set.
        Returns:
        This builder for chaining.
      • addResourceUri

        public Deployment.Builder addResourceUri​(String value)
         Output only. Resource URI for the artifact being deployed taken from
         the deployable field with the same name.
         
        repeated string resource_uri = 6;
        Parameters:
        value - The resourceUri to add.
        Returns:
        This builder for chaining.
      • addAllResourceUri

        public Deployment.Builder addAllResourceUri​(Iterable<String> values)
         Output only. Resource URI for the artifact being deployed taken from
         the deployable field with the same name.
         
        repeated string resource_uri = 6;
        Parameters:
        values - The resourceUri to add.
        Returns:
        This builder for chaining.
      • clearResourceUri

        public Deployment.Builder clearResourceUri()
         Output only. Resource URI for the artifact being deployed taken from
         the deployable field with the same name.
         
        repeated string resource_uri = 6;
        Returns:
        This builder for chaining.
      • addResourceUriBytes

        public Deployment.Builder addResourceUriBytes​(com.google.protobuf.ByteString value)
         Output only. Resource URI for the artifact being deployed taken from
         the deployable field with the same name.
         
        repeated string resource_uri = 6;
        Parameters:
        value - The bytes of the resourceUri to add.
        Returns:
        This builder for chaining.
      • 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.
      • setPlatformValue

        public Deployment.Builder setPlatformValue​(int value)
         Platform hosting this deployment.
         
        .grafeas.v1beta1.deployment.Deployment.Platform platform = 7;
        Parameters:
        value - The enum numeric value on the wire for platform to set.
        Returns:
        This builder for chaining.
      • setPlatform

        public Deployment.Builder setPlatform​(Deployment.Platform value)
         Platform hosting this deployment.
         
        .grafeas.v1beta1.deployment.Deployment.Platform platform = 7;
        Parameters:
        value - The platform to set.
        Returns:
        This builder for chaining.
      • clearPlatform

        public Deployment.Builder clearPlatform()
         Platform hosting this deployment.
         
        .grafeas.v1beta1.deployment.Deployment.Platform platform = 7;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final Deployment.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<Deployment.Builder>
      • mergeUnknownFields

        public final Deployment.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<Deployment.Builder>