public final class RolloutRestriction extends GeneratedMessageV3 implements RolloutRestrictionOrBuilder
Rollout restrictions.
Protobuf type google.cloud.deploy.v1.RolloutRestriction
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ACTIONS_FIELD_NUMBER
public static final int ACTIONS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
INVOKERS_FIELD_NUMBER
public static final int INVOKERS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
TIME_WINDOWS_FIELD_NUMBER
public static final int TIME_WINDOWS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static RolloutRestriction getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static RolloutRestriction.Builder newBuilder()
newBuilder(RolloutRestriction prototype)
public static RolloutRestriction.Builder newBuilder(RolloutRestriction prototype)
public static RolloutRestriction parseDelimitedFrom(InputStream input)
public static RolloutRestriction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static RolloutRestriction parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RolloutRestriction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static RolloutRestriction parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RolloutRestriction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RolloutRestriction parseFrom(CodedInputStream input)
public static RolloutRestriction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RolloutRestriction parseFrom(InputStream input)
public static RolloutRestriction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static RolloutRestriction parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RolloutRestriction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<RolloutRestriction> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getActions(int index)
public 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];
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
getActionsCount()
public 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 |
Type |
Description |
int |
The count of actions.
|
getActionsList()
public List<RolloutRestriction.RolloutActions> 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];
getActionsValue(int index)
public 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];
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
int |
The enum numeric value on the wire of actions at the given index.
|
getActionsValueList()
public 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 |
Type |
Description |
List<Integer> |
A list containing the enum numeric values on the wire for actions.
|
getDefaultInstanceForType()
public RolloutRestriction getDefaultInstanceForType()
getId()
Required. Restriction rule ID. Required and must be unique within a
DeployPolicy. The format is a-z?
.
string id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
String |
The id.
|
getIdBytes()
public ByteString getIdBytes()
Required. Restriction rule ID. Required and must be unique within a
DeployPolicy. The format is a-z?
.
string id = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for id.
|
getInvokers(int index)
public 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];
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
getInvokersCount()
public 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 |
Type |
Description |
int |
The count of invokers.
|
getInvokersList()
public 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 |
Type |
Description |
List<Invoker> |
A list containing the invokers.
|
getInvokersValue(int index)
public 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];
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
int |
The enum numeric value on the wire of invokers at the given index.
|
getInvokersValueList()
public 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 |
Type |
Description |
List<Integer> |
A list containing the enum numeric values on the wire for invokers.
|
getParserForType()
public Parser<RolloutRestriction> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getTimeWindows()
public TimeWindows getTimeWindows()
Required. Time window within which actions are restricted.
.google.cloud.deploy.v1.TimeWindows time_windows = 4 [(.google.api.field_behavior) = REQUIRED];
getTimeWindowsOrBuilder()
public TimeWindowsOrBuilder getTimeWindowsOrBuilder()
Required. Time window within which actions are restricted.
.google.cloud.deploy.v1.TimeWindows time_windows = 4 [(.google.api.field_behavior) = REQUIRED];
hasTimeWindows()
public boolean hasTimeWindows()
Required. Time window within which actions are restricted.
.google.cloud.deploy.v1.TimeWindows time_windows = 4 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the timeWindows field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public RolloutRestriction.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RolloutRestriction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public RolloutRestriction.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides