Interface RolloutRestrictionOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
RolloutRestriction, RolloutRestriction.Builder

@Generated public interface RolloutRestrictionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getId

      String getId()
       Required. Restriction rule ID. Required and must be unique within a
       DeployPolicy. The format is `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.
       
      string id = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The id.
    • getIdBytes

      com.google.protobuf.ByteString getIdBytes()
       Required. Restriction rule ID. Required and must be unique within a
       DeployPolicy. The format is `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`.
       
      string id = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for id.
    • getInvokersList

      List<DeployPolicy.Invoker> getInvokersList()
       Optional. What invoked the action. If left empty, all invoker types will be
       restricted.
       
      repeated .google.cloud.deploy.v1.DeployPolicy.Invoker invokers = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the invokers.
    • getInvokersCount

      int getInvokersCount()
       Optional. What invoked the action. If left empty, all invoker types will be
       restricted.
       
      repeated .google.cloud.deploy.v1.DeployPolicy.Invoker invokers = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The count of invokers.
    • getInvokers

      DeployPolicy.Invoker getInvokers(int index)
       Optional. What invoked the action. If left empty, all invoker types will be
       restricted.
       
      repeated .google.cloud.deploy.v1.DeployPolicy.Invoker invokers = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the element to return.
      Returns:
      The invokers at the given index.
    • getInvokersValueList

      List<Integer> getInvokersValueList()
       Optional. What invoked the action. If left empty, all invoker types will be
       restricted.
       
      repeated .google.cloud.deploy.v1.DeployPolicy.Invoker invokers = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the enum numeric values on the wire for invokers.
    • getInvokersValue

      int getInvokersValue(int index)
       Optional. What invoked the action. If left empty, all invoker types will be
       restricted.
       
      repeated .google.cloud.deploy.v1.DeployPolicy.Invoker invokers = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of invokers at the given index.
    • getActionsList

       Optional. Rollout actions to be restricted as part of the policy. If left
       empty, all actions will be restricted.
       
      repeated .google.cloud.deploy.v1.RolloutRestriction.RolloutActions actions = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the actions.
    • getActionsCount

      int getActionsCount()
       Optional. Rollout actions to be restricted as part of the policy. If left
       empty, all actions will be restricted.
       
      repeated .google.cloud.deploy.v1.RolloutRestriction.RolloutActions actions = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The count of actions.
    • getActions

      RolloutRestriction.RolloutActions getActions(int index)
       Optional. Rollout actions to be restricted as part of the policy. If left
       empty, all actions will be restricted.
       
      repeated .google.cloud.deploy.v1.RolloutRestriction.RolloutActions actions = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the element to return.
      Returns:
      The actions at the given index.
    • getActionsValueList

      List<Integer> getActionsValueList()
       Optional. Rollout actions to be restricted as part of the policy. If left
       empty, all actions will be restricted.
       
      repeated .google.cloud.deploy.v1.RolloutRestriction.RolloutActions actions = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the enum numeric values on the wire for actions.
    • getActionsValue

      int getActionsValue(int index)
       Optional. Rollout actions to be restricted as part of the policy. If left
       empty, all actions will be restricted.
       
      repeated .google.cloud.deploy.v1.RolloutRestriction.RolloutActions actions = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of actions at the given index.
    • hasTimeWindows

      boolean hasTimeWindows()
       Required. Time window within which actions are restricted.
       
      .google.cloud.deploy.v1.TimeWindows time_windows = 4 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the timeWindows field is set.
    • getTimeWindows

      TimeWindows getTimeWindows()
       Required. Time window within which actions are restricted.
       
      .google.cloud.deploy.v1.TimeWindows time_windows = 4 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The timeWindows.
    • getTimeWindowsOrBuilder

      TimeWindowsOrBuilder getTimeWindowsOrBuilder()
       Required. Time window within which actions are restricted.
       
      .google.cloud.deploy.v1.TimeWindows time_windows = 4 [(.google.api.field_behavior) = REQUIRED];