Class Rollout

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.api.servicemanagement.v1.Rollout
All Implemented Interfaces:
RolloutOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class Rollout extends com.google.protobuf.GeneratedMessage implements RolloutOrBuilder
 A rollout resource that defines how service configuration versions are pushed
 to control plane systems. Typically, you create a new version of the
 service config, and then create a Rollout to push the service config.
 
Protobuf type google.api.servicemanagement.v1.Rollout
See Also:
  • Field Details

    • ROLLOUT_ID_FIELD_NUMBER

      public static final int ROLLOUT_ID_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
    • CREATED_BY_FIELD_NUMBER

      public static final int CREATED_BY_FIELD_NUMBER
      See Also:
    • STATUS_FIELD_NUMBER

      public static final int STATUS_FIELD_NUMBER
      See Also:
    • TRAFFIC_PERCENT_STRATEGY_FIELD_NUMBER

      public static final int TRAFFIC_PERCENT_STRATEGY_FIELD_NUMBER
      See Also:
    • DELETE_SERVICE_STRATEGY_FIELD_NUMBER

      public static final int DELETE_SERVICE_STRATEGY_FIELD_NUMBER
      See Also:
    • SERVICE_NAME_FIELD_NUMBER

      public static final int SERVICE_NAME_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
    • getStrategyCase

      public Rollout.StrategyCase getStrategyCase()
      Specified by:
      getStrategyCase in interface RolloutOrBuilder
    • getRolloutId

      public String getRolloutId()
       Optional. Unique identifier of this Rollout. Must be no longer than 63
       characters and only lower case letters, digits, '.', '_' and '-' are
       allowed.
      
       If not specified by client, the server will generate one. The generated id
       will have the form of <date><revision number>, where "date" is the create
       date in ISO 8601 format.  "revision number" is a monotonically increasing
       positive number that is reset every day for each service.
       An example of the generated rollout_id is '2016-02-16r1'
       
      string rollout_id = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRolloutId in interface RolloutOrBuilder
      Returns:
      The rolloutId.
    • getRolloutIdBytes

      public com.google.protobuf.ByteString getRolloutIdBytes()
       Optional. Unique identifier of this Rollout. Must be no longer than 63
       characters and only lower case letters, digits, '.', '_' and '-' are
       allowed.
      
       If not specified by client, the server will generate one. The generated id
       will have the form of <date><revision number>, where "date" is the create
       date in ISO 8601 format.  "revision number" is a monotonically increasing
       positive number that is reset every day for each service.
       An example of the generated rollout_id is '2016-02-16r1'
       
      string rollout_id = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRolloutIdBytes in interface RolloutOrBuilder
      Returns:
      The bytes for rolloutId.
    • hasCreateTime

      public boolean hasCreateTime()
       Creation time of the rollout. Readonly.
       
      .google.protobuf.Timestamp create_time = 2;
      Specified by:
      hasCreateTime in interface RolloutOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Creation time of the rollout. Readonly.
       
      .google.protobuf.Timestamp create_time = 2;
      Specified by:
      getCreateTime in interface RolloutOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Creation time of the rollout. Readonly.
       
      .google.protobuf.Timestamp create_time = 2;
      Specified by:
      getCreateTimeOrBuilder in interface RolloutOrBuilder
    • getCreatedBy

      public String getCreatedBy()
       The user who created the Rollout. Readonly.
       
      string created_by = 3;
      Specified by:
      getCreatedBy in interface RolloutOrBuilder
      Returns:
      The createdBy.
    • getCreatedByBytes

      public com.google.protobuf.ByteString getCreatedByBytes()
       The user who created the Rollout. Readonly.
       
      string created_by = 3;
      Specified by:
      getCreatedByBytes in interface RolloutOrBuilder
      Returns:
      The bytes for createdBy.
    • getStatusValue

      public int getStatusValue()
       The status of this rollout. Readonly. In case of a failed rollout,
       the system will automatically rollback to the current Rollout
       version. Readonly.
       
      .google.api.servicemanagement.v1.Rollout.RolloutStatus status = 4;
      Specified by:
      getStatusValue in interface RolloutOrBuilder
      Returns:
      The enum numeric value on the wire for status.
    • getStatus

      public Rollout.RolloutStatus getStatus()
       The status of this rollout. Readonly. In case of a failed rollout,
       the system will automatically rollback to the current Rollout
       version. Readonly.
       
      .google.api.servicemanagement.v1.Rollout.RolloutStatus status = 4;
      Specified by:
      getStatus in interface RolloutOrBuilder
      Returns:
      The status.
    • hasTrafficPercentStrategy

      public boolean hasTrafficPercentStrategy()
       Google Service Control selects service configurations based on
       traffic percentage.
       
      .google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5;
      Specified by:
      hasTrafficPercentStrategy in interface RolloutOrBuilder
      Returns:
      Whether the trafficPercentStrategy field is set.
    • getTrafficPercentStrategy

      public Rollout.TrafficPercentStrategy getTrafficPercentStrategy()
       Google Service Control selects service configurations based on
       traffic percentage.
       
      .google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5;
      Specified by:
      getTrafficPercentStrategy in interface RolloutOrBuilder
      Returns:
      The trafficPercentStrategy.
    • getTrafficPercentStrategyOrBuilder

      public Rollout.TrafficPercentStrategyOrBuilder getTrafficPercentStrategyOrBuilder()
       Google Service Control selects service configurations based on
       traffic percentage.
       
      .google.api.servicemanagement.v1.Rollout.TrafficPercentStrategy traffic_percent_strategy = 5;
      Specified by:
      getTrafficPercentStrategyOrBuilder in interface RolloutOrBuilder
    • hasDeleteServiceStrategy

      public boolean hasDeleteServiceStrategy()
       The strategy associated with a rollout to delete a `ManagedService`.
       Readonly.
       
      .google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200;
      Specified by:
      hasDeleteServiceStrategy in interface RolloutOrBuilder
      Returns:
      Whether the deleteServiceStrategy field is set.
    • getDeleteServiceStrategy

      public Rollout.DeleteServiceStrategy getDeleteServiceStrategy()
       The strategy associated with a rollout to delete a `ManagedService`.
       Readonly.
       
      .google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200;
      Specified by:
      getDeleteServiceStrategy in interface RolloutOrBuilder
      Returns:
      The deleteServiceStrategy.
    • getDeleteServiceStrategyOrBuilder

      public Rollout.DeleteServiceStrategyOrBuilder getDeleteServiceStrategyOrBuilder()
       The strategy associated with a rollout to delete a `ManagedService`.
       Readonly.
       
      .google.api.servicemanagement.v1.Rollout.DeleteServiceStrategy delete_service_strategy = 200;
      Specified by:
      getDeleteServiceStrategyOrBuilder in interface RolloutOrBuilder
    • getServiceName

      public String getServiceName()
       The name of the service associated with this Rollout.
       
      string service_name = 8;
      Specified by:
      getServiceName in interface RolloutOrBuilder
      Returns:
      The serviceName.
    • getServiceNameBytes

      public com.google.protobuf.ByteString getServiceNameBytes()
       The name of the service associated with this Rollout.
       
      string service_name = 8;
      Specified by:
      getServiceNameBytes in interface RolloutOrBuilder
      Returns:
      The bytes for serviceName.
    • 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 Rollout parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static Rollout.Builder newBuilder()
    • newBuilder

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

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

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

      public static Rollout getDefaultInstance()
    • parser

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

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