Class CustomCanaryDeployment.PhaseConfig

    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance 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
      • getPhaseId

        public String getPhaseId()
         Required. The ID to assign to the `Rollout` phase.
         This value must consist of lower-case letters, numbers, and hyphens,
         start with a letter and end with a letter or a number, and have a max
         length of 63 characters. In other words, it must match the following
         regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
         
        string phase_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getPhaseId in interface CustomCanaryDeployment.PhaseConfigOrBuilder
        Returns:
        The phaseId.
      • getPhaseIdBytes

        public com.google.protobuf.ByteString getPhaseIdBytes()
         Required. The ID to assign to the `Rollout` phase.
         This value must consist of lower-case letters, numbers, and hyphens,
         start with a letter and end with a letter or a number, and have a max
         length of 63 characters. In other words, it must match the following
         regex: `^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$`.
         
        string phase_id = 1 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getPhaseIdBytes in interface CustomCanaryDeployment.PhaseConfigOrBuilder
        Returns:
        The bytes for phaseId.
      • getProfilesList

        public com.google.protobuf.ProtocolStringList getProfilesList()
         Skaffold profiles to use when rendering the manifest for this phase.
         These are in addition to the profiles list specified in the
         `DeliveryPipeline` stage.
         
        repeated string profiles = 3;
        Specified by:
        getProfilesList in interface CustomCanaryDeployment.PhaseConfigOrBuilder
        Returns:
        A list containing the profiles.
      • getProfilesCount

        public int getProfilesCount()
         Skaffold profiles to use when rendering the manifest for this phase.
         These are in addition to the profiles list specified in the
         `DeliveryPipeline` stage.
         
        repeated string profiles = 3;
        Specified by:
        getProfilesCount in interface CustomCanaryDeployment.PhaseConfigOrBuilder
        Returns:
        The count of profiles.
      • getProfiles

        public String getProfiles​(int index)
         Skaffold profiles to use when rendering the manifest for this phase.
         These are in addition to the profiles list specified in the
         `DeliveryPipeline` stage.
         
        repeated string profiles = 3;
        Specified by:
        getProfiles in interface CustomCanaryDeployment.PhaseConfigOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The profiles at the given index.
      • getProfilesBytes

        public com.google.protobuf.ByteString getProfilesBytes​(int index)
         Skaffold profiles to use when rendering the manifest for this phase.
         These are in addition to the profiles list specified in the
         `DeliveryPipeline` stage.
         
        repeated string profiles = 3;
        Specified by:
        getProfilesBytes in interface CustomCanaryDeployment.PhaseConfigOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the profiles at the given index.
      • hasPredeploy

        public boolean hasPredeploy()
         Optional. Configuration for the predeploy job of this phase. If this is
         not configured, predeploy job will not be present for this phase.
         
        .google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasPredeploy in interface CustomCanaryDeployment.PhaseConfigOrBuilder
        Returns:
        Whether the predeploy field is set.
      • getPredeploy

        public Predeploy getPredeploy()
         Optional. Configuration for the predeploy job of this phase. If this is
         not configured, predeploy job will not be present for this phase.
         
        .google.cloud.deploy.v1.Predeploy predeploy = 5 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getPredeploy in interface CustomCanaryDeployment.PhaseConfigOrBuilder
        Returns:
        The predeploy.
      • hasPostdeploy

        public boolean hasPostdeploy()
         Optional. Configuration for the postdeploy job of this phase. If this is
         not configured, postdeploy job will not be present for this phase.
         
        .google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        hasPostdeploy in interface CustomCanaryDeployment.PhaseConfigOrBuilder
        Returns:
        Whether the postdeploy field is set.
      • getPostdeploy

        public Postdeploy getPostdeploy()
         Optional. Configuration for the postdeploy job of this phase. If this is
         not configured, postdeploy job will not be present for this phase.
         
        .google.cloud.deploy.v1.Postdeploy postdeploy = 6 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getPostdeploy in interface CustomCanaryDeployment.PhaseConfigOrBuilder
        Returns:
        The postdeploy.
      • 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 CustomCanaryDeployment.PhaseConfig parseFrom​(ByteBuffer data,
                                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                            throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

        protected CustomCanaryDeployment.PhaseConfig.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<CustomCanaryDeployment.PhaseConfig> 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 CustomCanaryDeployment.PhaseConfig getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder