- 1.52.0 (latest)
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.8
- 1.0.2
public static final class RolloutRestriction.Builder extends GeneratedMessageV3.Builder<RolloutRestriction.Builder> implements RolloutRestrictionOrBuilder
Rollout restrictions.
Protobuf type google.cloud.deploy.v1.RolloutRestriction
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RolloutRestriction.BuilderImplements
RolloutRestrictionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addActions(RolloutRestriction.RolloutActions value)
public RolloutRestriction.Builder addActions(RolloutRestriction.RolloutActions value)
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 |
value |
RolloutRestriction.RolloutActions The actions to add. |
Returns | |
---|---|
Type | Description |
RolloutRestriction.Builder |
This builder for chaining. |
addActionsValue(int value)
public RolloutRestriction.Builder addActionsValue(int value)
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 |
value |
int The enum numeric value on the wire for actions to add. |
Returns | |
---|---|
Type | Description |
RolloutRestriction.Builder |
This builder for chaining. |
addAllActions(Iterable<? extends RolloutRestriction.RolloutActions> values)
public RolloutRestriction.Builder addAllActions(Iterable<? extends RolloutRestriction.RolloutActions> values)
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 |
values |
Iterable<? extends com.google.cloud.deploy.v1.RolloutRestriction.RolloutActions> The actions to add. |
Returns | |
---|---|
Type | Description |
RolloutRestriction.Builder |
This builder for chaining. |
addAllActionsValue(Iterable<Integer> values)
public RolloutRestriction.Builder addAllActionsValue(Iterable<Integer> values)
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 |
values |
Iterable<Integer> The enum numeric values on the wire for actions to add. |
Returns | |
---|---|
Type | Description |
RolloutRestriction.Builder |
This builder for chaining. |
addAllInvokers(Iterable<? extends DeployPolicy.Invoker> values)
public RolloutRestriction.Builder addAllInvokers(Iterable<? extends DeployPolicy.Invoker> values)
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 |
values |
Iterable<? extends com.google.cloud.deploy.v1.DeployPolicy.Invoker> The invokers to add. |
Returns | |
---|---|
Type | Description |
RolloutRestriction.Builder |
This builder for chaining. |
addAllInvokersValue(Iterable<Integer> values)
public RolloutRestriction.Builder addAllInvokersValue(Iterable<Integer> values)
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 |
values |
Iterable<Integer> The enum numeric values on the wire for invokers to add. |
Returns | |
---|---|
Type | Description |
RolloutRestriction.Builder |
This builder for chaining. |
addInvokers(DeployPolicy.Invoker value)
public RolloutRestriction.Builder addInvokers(DeployPolicy.Invoker value)
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 |
value |
DeployPolicy.Invoker The invokers to add. |
Returns | |
---|---|
Type | Description |
RolloutRestriction.Builder |
This builder for chaining. |
addInvokersValue(int value)
public RolloutRestriction.Builder addInvokersValue(int value)
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 |
value |
int The enum numeric value on the wire for invokers to add. |
Returns | |
---|---|
Type | Description |
RolloutRestriction.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RolloutRestriction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
RolloutRestriction.Builder |
build()
public RolloutRestriction build()
Returns | |
---|---|
Type | Description |
RolloutRestriction |
buildPartial()
public RolloutRestriction buildPartial()
Returns | |
---|---|
Type | Description |
RolloutRestriction |
clear()
public RolloutRestriction.Builder clear()
Returns | |
---|---|
Type | Description |
RolloutRestriction.Builder |
clearActions()
public RolloutRestriction.Builder clearActions()
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 |
RolloutRestriction.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public RolloutRestriction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
RolloutRestriction.Builder |
clearId()
public RolloutRestriction.Builder clearId()
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 |
RolloutRestriction.Builder |
This builder for chaining. |
clearInvokers()
public RolloutRestriction.Builder clearInvokers()
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 |
RolloutRestriction.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public RolloutRestriction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
RolloutRestriction.Builder |
clearTimeWindows()
public RolloutRestriction.Builder clearTimeWindows()
Required. Time window within which actions are restricted.
.google.cloud.deploy.v1.TimeWindows time_windows = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
RolloutRestriction.Builder |
clone()
public RolloutRestriction.Builder clone()
Returns | |
---|---|
Type | Description |
RolloutRestriction.Builder |
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. |
Returns | |
---|---|
Type | Description |
RolloutRestriction.RolloutActions |
The actions at the given index. |
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];
Returns | |
---|---|
Type | Description |
List<RolloutActions> |
A list containing the actions. |
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()
Returns | |
---|---|
Type | Description |
RolloutRestriction |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getId()
public String 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. |
Returns | |
---|---|
Type | Description |
DeployPolicy.Invoker |
The invokers at the given index. |
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. |
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];
Returns | |
---|---|
Type | Description |
TimeWindows |
The timeWindows. |
getTimeWindowsBuilder()
public TimeWindows.Builder getTimeWindowsBuilder()
Required. Time window within which actions are restricted.
.google.cloud.deploy.v1.TimeWindows time_windows = 4 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
TimeWindows.Builder |
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];
Returns | |
---|---|
Type | Description |
TimeWindowsOrBuilder |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(RolloutRestriction other)
public RolloutRestriction.Builder mergeFrom(RolloutRestriction other)
Parameter | |
---|---|
Name | Description |
other |
RolloutRestriction |
Returns | |
---|---|
Type | Description |
RolloutRestriction.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RolloutRestriction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RolloutRestriction.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public RolloutRestriction.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
RolloutRestriction.Builder |
mergeTimeWindows(TimeWindows value)
public RolloutRestriction.Builder mergeTimeWindows(TimeWindows value)
Required. Time window within which actions are restricted.
.google.cloud.deploy.v1.TimeWindows time_windows = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
TimeWindows |
Returns | |
---|---|
Type | Description |
RolloutRestriction.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RolloutRestriction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RolloutRestriction.Builder |
setActions(int index, RolloutRestriction.RolloutActions value)
public RolloutRestriction.Builder setActions(int index, RolloutRestriction.RolloutActions value)
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 | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
RolloutRestriction.RolloutActions The actions to set. |
Returns | |
---|---|
Type | Description |
RolloutRestriction.Builder |
This builder for chaining. |
setActionsValue(int index, int value)
public RolloutRestriction.Builder setActionsValue(int index, int value)
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 | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
int The enum numeric value on the wire for actions to set. |
Returns | |
---|---|
Type | Description |
RolloutRestriction.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public RolloutRestriction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
RolloutRestriction.Builder |
setId(String value)
public RolloutRestriction.Builder setId(String value)
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];
Parameter | |
---|---|
Name | Description |
value |
String The id to set. |
Returns | |
---|---|
Type | Description |
RolloutRestriction.Builder |
This builder for chaining. |
setIdBytes(ByteString value)
public RolloutRestriction.Builder setIdBytes(ByteString value)
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for id to set. |
Returns | |
---|---|
Type | Description |
RolloutRestriction.Builder |
This builder for chaining. |
setInvokers(int index, DeployPolicy.Invoker value)
public RolloutRestriction.Builder setInvokers(int index, DeployPolicy.Invoker value)
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 | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
DeployPolicy.Invoker The invokers to set. |
Returns | |
---|---|
Type | Description |
RolloutRestriction.Builder |
This builder for chaining. |
setInvokersValue(int index, int value)
public RolloutRestriction.Builder setInvokersValue(int index, int value)
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 | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
int The enum numeric value on the wire for invokers to set. |
Returns | |
---|---|
Type | Description |
RolloutRestriction.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RolloutRestriction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
RolloutRestriction.Builder |
setTimeWindows(TimeWindows value)
public RolloutRestriction.Builder setTimeWindows(TimeWindows value)
Required. Time window within which actions are restricted.
.google.cloud.deploy.v1.TimeWindows time_windows = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
TimeWindows |
Returns | |
---|---|
Type | Description |
RolloutRestriction.Builder |
setTimeWindows(TimeWindows.Builder builderForValue)
public RolloutRestriction.Builder setTimeWindows(TimeWindows.Builder builderForValue)
Required. Time window within which actions are restricted.
.google.cloud.deploy.v1.TimeWindows time_windows = 4 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
TimeWindows.Builder |
Returns | |
---|---|
Type | Description |
RolloutRestriction.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final RolloutRestriction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RolloutRestriction.Builder |