Class CloudRunConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.deploy.v1.CloudRunConfig
All Implemented Interfaces:
CloudRunConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class CloudRunConfig extends com.google.protobuf.GeneratedMessage implements CloudRunConfigOrBuilder
 CloudRunConfig contains the Cloud Run runtime configuration.
 
Protobuf type google.cloud.deploy.v1.CloudRunConfig
See Also:
  • Field Details

    • AUTOMATIC_TRAFFIC_CONTROL_FIELD_NUMBER

      public static final int AUTOMATIC_TRAFFIC_CONTROL_FIELD_NUMBER
      See Also:
    • CANARY_REVISION_TAGS_FIELD_NUMBER

      public static final int CANARY_REVISION_TAGS_FIELD_NUMBER
      See Also:
    • PRIOR_REVISION_TAGS_FIELD_NUMBER

      public static final int PRIOR_REVISION_TAGS_FIELD_NUMBER
      See Also:
    • STABLE_REVISION_TAGS_FIELD_NUMBER

      public static final int STABLE_REVISION_TAGS_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getAutomaticTrafficControl

      public boolean getAutomaticTrafficControl()
       Optional. Whether Cloud Deploy should update the traffic stanza in a Cloud
       Run Service on the user's behalf to facilitate traffic splitting. This is
       required to be true for CanaryDeployments, but optional for
       CustomCanaryDeployments.
       
      bool automatic_traffic_control = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAutomaticTrafficControl in interface CloudRunConfigOrBuilder
      Returns:
      The automaticTrafficControl.
    • getCanaryRevisionTagsList

      public com.google.protobuf.ProtocolStringList getCanaryRevisionTagsList()
       Optional. A list of tags that are added to the canary revision while the
       canary phase is in progress.
       
      repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCanaryRevisionTagsList in interface CloudRunConfigOrBuilder
      Returns:
      A list containing the canaryRevisionTags.
    • getCanaryRevisionTagsCount

      public int getCanaryRevisionTagsCount()
       Optional. A list of tags that are added to the canary revision while the
       canary phase is in progress.
       
      repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCanaryRevisionTagsCount in interface CloudRunConfigOrBuilder
      Returns:
      The count of canaryRevisionTags.
    • getCanaryRevisionTags

      public String getCanaryRevisionTags(int index)
       Optional. A list of tags that are added to the canary revision while the
       canary phase is in progress.
       
      repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCanaryRevisionTags in interface CloudRunConfigOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The canaryRevisionTags at the given index.
    • getCanaryRevisionTagsBytes

      public com.google.protobuf.ByteString getCanaryRevisionTagsBytes(int index)
       Optional. A list of tags that are added to the canary revision while the
       canary phase is in progress.
       
      repeated string canary_revision_tags = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCanaryRevisionTagsBytes in interface CloudRunConfigOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the canaryRevisionTags at the given index.
    • getPriorRevisionTagsList

      public com.google.protobuf.ProtocolStringList getPriorRevisionTagsList()
       Optional. A list of tags that are added to the prior revision while the
       canary phase is in progress.
       
      repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPriorRevisionTagsList in interface CloudRunConfigOrBuilder
      Returns:
      A list containing the priorRevisionTags.
    • getPriorRevisionTagsCount

      public int getPriorRevisionTagsCount()
       Optional. A list of tags that are added to the prior revision while the
       canary phase is in progress.
       
      repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPriorRevisionTagsCount in interface CloudRunConfigOrBuilder
      Returns:
      The count of priorRevisionTags.
    • getPriorRevisionTags

      public String getPriorRevisionTags(int index)
       Optional. A list of tags that are added to the prior revision while the
       canary phase is in progress.
       
      repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPriorRevisionTags in interface CloudRunConfigOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The priorRevisionTags at the given index.
    • getPriorRevisionTagsBytes

      public com.google.protobuf.ByteString getPriorRevisionTagsBytes(int index)
       Optional. A list of tags that are added to the prior revision while the
       canary phase is in progress.
       
      repeated string prior_revision_tags = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPriorRevisionTagsBytes in interface CloudRunConfigOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the priorRevisionTags at the given index.
    • getStableRevisionTagsList

      public com.google.protobuf.ProtocolStringList getStableRevisionTagsList()
       Optional. A list of tags that are added to the final stable revision when
       the stable phase is applied.
       
      repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStableRevisionTagsList in interface CloudRunConfigOrBuilder
      Returns:
      A list containing the stableRevisionTags.
    • getStableRevisionTagsCount

      public int getStableRevisionTagsCount()
       Optional. A list of tags that are added to the final stable revision when
       the stable phase is applied.
       
      repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStableRevisionTagsCount in interface CloudRunConfigOrBuilder
      Returns:
      The count of stableRevisionTags.
    • getStableRevisionTags

      public String getStableRevisionTags(int index)
       Optional. A list of tags that are added to the final stable revision when
       the stable phase is applied.
       
      repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStableRevisionTags in interface CloudRunConfigOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The stableRevisionTags at the given index.
    • getStableRevisionTagsBytes

      public com.google.protobuf.ByteString getStableRevisionTagsBytes(int index)
       Optional. A list of tags that are added to the final stable revision when
       the stable phase is applied.
       
      repeated string stable_revision_tags = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getStableRevisionTagsBytes in interface CloudRunConfigOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the stableRevisionTags at the given index.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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 CloudRunConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static CloudRunConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CloudRunConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CloudRunConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static CloudRunConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static CloudRunConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

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

      public static CloudRunConfig.Builder newBuilder()
    • newBuilder

      public static CloudRunConfig.Builder newBuilder(CloudRunConfig prototype)
    • toBuilder

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

      protected CloudRunConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static CloudRunConfig getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<CloudRunConfig> 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.GeneratedMessage
    • getDefaultInstanceForType

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