public static final class RolloutStats.Builder extends GeneratedMessage.Builder<RolloutStats.Builder> implements RolloutStatsOrBuilderRolloutStats contains information about the progress of a rollout.
Protobuf type google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutStats
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RolloutStats.BuilderImplements
RolloutStatsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllOperationsByState(Iterable<? extends Aggregate> values)
public RolloutStats.Builder addAllOperationsByState(Iterable<? extends Aggregate> values)Optional. Output only. Unordered list. A breakdown of the progress of operations triggered by the rollout. Provides a count of Operations by their state. This can be used to determine the number of units which have been updated, or are scheduled to be updated.
There will be at most one entry per group. Possible values for operation groups are:
- "SCHEDULED"
- "PENDING"
- "RUNNING"
- "SUCCEEDED"
- "FAILED"
- "CANCELLED"
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Aggregate operations_by_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.saasplatform.saasservicemgmt.v1beta1.Aggregate> |
| Returns | |
|---|---|
| Type | Description |
RolloutStats.Builder |
|
addOperationsByState(Aggregate value)
public RolloutStats.Builder addOperationsByState(Aggregate value)Optional. Output only. Unordered list. A breakdown of the progress of operations triggered by the rollout. Provides a count of Operations by their state. This can be used to determine the number of units which have been updated, or are scheduled to be updated.
There will be at most one entry per group. Possible values for operation groups are:
- "SCHEDULED"
- "PENDING"
- "RUNNING"
- "SUCCEEDED"
- "FAILED"
- "CANCELLED"
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Aggregate operations_by_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
value |
Aggregate |
| Returns | |
|---|---|
| Type | Description |
RolloutStats.Builder |
|
addOperationsByState(Aggregate.Builder builderForValue)
public RolloutStats.Builder addOperationsByState(Aggregate.Builder builderForValue)Optional. Output only. Unordered list. A breakdown of the progress of operations triggered by the rollout. Provides a count of Operations by their state. This can be used to determine the number of units which have been updated, or are scheduled to be updated.
There will be at most one entry per group. Possible values for operation groups are:
- "SCHEDULED"
- "PENDING"
- "RUNNING"
- "SUCCEEDED"
- "FAILED"
- "CANCELLED"
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Aggregate operations_by_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Aggregate.Builder |
| Returns | |
|---|---|
| Type | Description |
RolloutStats.Builder |
|
addOperationsByState(int index, Aggregate value)
public RolloutStats.Builder addOperationsByState(int index, Aggregate value)Optional. Output only. Unordered list. A breakdown of the progress of operations triggered by the rollout. Provides a count of Operations by their state. This can be used to determine the number of units which have been updated, or are scheduled to be updated.
There will be at most one entry per group. Possible values for operation groups are:
- "SCHEDULED"
- "PENDING"
- "RUNNING"
- "SUCCEEDED"
- "FAILED"
- "CANCELLED"
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Aggregate operations_by_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = UNORDERED_LIST];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Aggregate |
| Returns | |
|---|---|
| Type | Description |
RolloutStats.Builder |
|
addOperationsByState(int index, Aggregate.Builder builderForValue)
public RolloutStats.Builder addOperationsByState(int index, Aggregate.Builder builderForValue)Optional. Output only. Unordered list. A breakdown of the progress of operations triggered by the rollout. Provides a count of Operations by their state. This can be used to determine the number of units which have been updated, or are scheduled to be updated.
There will be at most one entry per group. Possible values for operation groups are:
- "SCHEDULED"
- "PENDING"
- "RUNNING"
- "SUCCEEDED"
- "FAILED"
- "CANCELLED"
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Aggregate operations_by_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = UNORDERED_LIST];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Aggregate.Builder |
| Returns | |
|---|---|
| Type | Description |
RolloutStats.Builder |
|
addOperationsByStateBuilder()
public Aggregate.Builder addOperationsByStateBuilder()Optional. Output only. Unordered list. A breakdown of the progress of operations triggered by the rollout. Provides a count of Operations by their state. This can be used to determine the number of units which have been updated, or are scheduled to be updated.
There will be at most one entry per group. Possible values for operation groups are:
- "SCHEDULED"
- "PENDING"
- "RUNNING"
- "SUCCEEDED"
- "FAILED"
- "CANCELLED"
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Aggregate operations_by_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = UNORDERED_LIST];
| Returns | |
|---|---|
| Type | Description |
Aggregate.Builder |
|
addOperationsByStateBuilder(int index)
public Aggregate.Builder addOperationsByStateBuilder(int index)Optional. Output only. Unordered list. A breakdown of the progress of operations triggered by the rollout. Provides a count of Operations by their state. This can be used to determine the number of units which have been updated, or are scheduled to be updated.
There will be at most one entry per group. Possible values for operation groups are:
- "SCHEDULED"
- "PENDING"
- "RUNNING"
- "SUCCEEDED"
- "FAILED"
- "CANCELLED"
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Aggregate operations_by_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Aggregate.Builder |
|
build()
public RolloutStats build()| Returns | |
|---|---|
| Type | Description |
RolloutStats |
|
buildPartial()
public RolloutStats buildPartial()| Returns | |
|---|---|
| Type | Description |
RolloutStats |
|
clear()
public RolloutStats.Builder clear()| Returns | |
|---|---|
| Type | Description |
RolloutStats.Builder |
|
clearEstimatedTotalUnitCount()
public RolloutStats.Builder clearEstimatedTotalUnitCount()Optional. Output only. Estimated number of units based. The estimation is computed upon creation of the rollout.
optional int64 estimated_total_unit_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
RolloutStats.Builder |
This builder for chaining. |
clearOperationsByState()
public RolloutStats.Builder clearOperationsByState()Optional. Output only. Unordered list. A breakdown of the progress of operations triggered by the rollout. Provides a count of Operations by their state. This can be used to determine the number of units which have been updated, or are scheduled to be updated.
There will be at most one entry per group. Possible values for operation groups are:
- "SCHEDULED"
- "PENDING"
- "RUNNING"
- "SUCCEEDED"
- "FAILED"
- "CANCELLED"
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Aggregate operations_by_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = UNORDERED_LIST];
| Returns | |
|---|---|
| Type | Description |
RolloutStats.Builder |
|
getDefaultInstanceForType()
public RolloutStats getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RolloutStats |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEstimatedTotalUnitCount()
public long getEstimatedTotalUnitCount()Optional. Output only. Estimated number of units based. The estimation is computed upon creation of the rollout.
optional int64 estimated_total_unit_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
long |
The estimatedTotalUnitCount. |
getOperationsByState(int index)
public Aggregate getOperationsByState(int index)Optional. Output only. Unordered list. A breakdown of the progress of operations triggered by the rollout. Provides a count of Operations by their state. This can be used to determine the number of units which have been updated, or are scheduled to be updated.
There will be at most one entry per group. Possible values for operation groups are:
- "SCHEDULED"
- "PENDING"
- "RUNNING"
- "SUCCEEDED"
- "FAILED"
- "CANCELLED"
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Aggregate operations_by_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Aggregate |
|
getOperationsByStateBuilder(int index)
public Aggregate.Builder getOperationsByStateBuilder(int index)Optional. Output only. Unordered list. A breakdown of the progress of operations triggered by the rollout. Provides a count of Operations by their state. This can be used to determine the number of units which have been updated, or are scheduled to be updated.
There will be at most one entry per group. Possible values for operation groups are:
- "SCHEDULED"
- "PENDING"
- "RUNNING"
- "SUCCEEDED"
- "FAILED"
- "CANCELLED"
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Aggregate operations_by_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Aggregate.Builder |
|
getOperationsByStateBuilderList()
public List<Aggregate.Builder> getOperationsByStateBuilderList()Optional. Output only. Unordered list. A breakdown of the progress of operations triggered by the rollout. Provides a count of Operations by their state. This can be used to determine the number of units which have been updated, or are scheduled to be updated.
There will be at most one entry per group. Possible values for operation groups are:
- "SCHEDULED"
- "PENDING"
- "RUNNING"
- "SUCCEEDED"
- "FAILED"
- "CANCELLED"
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Aggregate operations_by_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = UNORDERED_LIST];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getOperationsByStateCount()
public int getOperationsByStateCount()Optional. Output only. Unordered list. A breakdown of the progress of operations triggered by the rollout. Provides a count of Operations by their state. This can be used to determine the number of units which have been updated, or are scheduled to be updated.
There will be at most one entry per group. Possible values for operation groups are:
- "SCHEDULED"
- "PENDING"
- "RUNNING"
- "SUCCEEDED"
- "FAILED"
- "CANCELLED"
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Aggregate operations_by_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = UNORDERED_LIST];
| Returns | |
|---|---|
| Type | Description |
int |
|
getOperationsByStateList()
public List<Aggregate> getOperationsByStateList()Optional. Output only. Unordered list. A breakdown of the progress of operations triggered by the rollout. Provides a count of Operations by their state. This can be used to determine the number of units which have been updated, or are scheduled to be updated.
There will be at most one entry per group. Possible values for operation groups are:
- "SCHEDULED"
- "PENDING"
- "RUNNING"
- "SUCCEEDED"
- "FAILED"
- "CANCELLED"
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Aggregate operations_by_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = UNORDERED_LIST];
| Returns | |
|---|---|
| Type | Description |
List<Aggregate> |
|
getOperationsByStateOrBuilder(int index)
public AggregateOrBuilder getOperationsByStateOrBuilder(int index)Optional. Output only. Unordered list. A breakdown of the progress of operations triggered by the rollout. Provides a count of Operations by their state. This can be used to determine the number of units which have been updated, or are scheduled to be updated.
There will be at most one entry per group. Possible values for operation groups are:
- "SCHEDULED"
- "PENDING"
- "RUNNING"
- "SUCCEEDED"
- "FAILED"
- "CANCELLED"
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Aggregate operations_by_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AggregateOrBuilder |
|
getOperationsByStateOrBuilderList()
public List<? extends AggregateOrBuilder> getOperationsByStateOrBuilderList()Optional. Output only. Unordered list. A breakdown of the progress of operations triggered by the rollout. Provides a count of Operations by their state. This can be used to determine the number of units which have been updated, or are scheduled to be updated.
There will be at most one entry per group. Possible values for operation groups are:
- "SCHEDULED"
- "PENDING"
- "RUNNING"
- "SUCCEEDED"
- "FAILED"
- "CANCELLED"
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Aggregate operations_by_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = UNORDERED_LIST];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.saasplatform.saasservicemgmt.v1beta1.AggregateOrBuilder> |
|
hasEstimatedTotalUnitCount()
public boolean hasEstimatedTotalUnitCount()Optional. Output only. Estimated number of units based. The estimation is computed upon creation of the rollout.
optional int64 estimated_total_unit_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the estimatedTotalUnitCount field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RolloutStats other)
public RolloutStats.Builder mergeFrom(RolloutStats other)| Parameter | |
|---|---|
| Name | Description |
other |
RolloutStats |
| Returns | |
|---|---|
| Type | Description |
RolloutStats.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RolloutStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RolloutStats.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RolloutStats.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RolloutStats.Builder |
|
removeOperationsByState(int index)
public RolloutStats.Builder removeOperationsByState(int index)Optional. Output only. Unordered list. A breakdown of the progress of operations triggered by the rollout. Provides a count of Operations by their state. This can be used to determine the number of units which have been updated, or are scheduled to be updated.
There will be at most one entry per group. Possible values for operation groups are:
- "SCHEDULED"
- "PENDING"
- "RUNNING"
- "SUCCEEDED"
- "FAILED"
- "CANCELLED"
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Aggregate operations_by_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
RolloutStats.Builder |
|
setEstimatedTotalUnitCount(long value)
public RolloutStats.Builder setEstimatedTotalUnitCount(long value)Optional. Output only. Estimated number of units based. The estimation is computed upon creation of the rollout.
optional int64 estimated_total_unit_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe estimatedTotalUnitCount to set. |
| Returns | |
|---|---|
| Type | Description |
RolloutStats.Builder |
This builder for chaining. |
setOperationsByState(int index, Aggregate value)
public RolloutStats.Builder setOperationsByState(int index, Aggregate value)Optional. Output only. Unordered list. A breakdown of the progress of operations triggered by the rollout. Provides a count of Operations by their state. This can be used to determine the number of units which have been updated, or are scheduled to be updated.
There will be at most one entry per group. Possible values for operation groups are:
- "SCHEDULED"
- "PENDING"
- "RUNNING"
- "SUCCEEDED"
- "FAILED"
- "CANCELLED"
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Aggregate operations_by_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = UNORDERED_LIST];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Aggregate |
| Returns | |
|---|---|
| Type | Description |
RolloutStats.Builder |
|
setOperationsByState(int index, Aggregate.Builder builderForValue)
public RolloutStats.Builder setOperationsByState(int index, Aggregate.Builder builderForValue)Optional. Output only. Unordered list. A breakdown of the progress of operations triggered by the rollout. Provides a count of Operations by their state. This can be used to determine the number of units which have been updated, or are scheduled to be updated.
There will be at most one entry per group. Possible values for operation groups are:
- "SCHEDULED"
- "PENDING"
- "RUNNING"
- "SUCCEEDED"
- "FAILED"
- "CANCELLED"
repeated .google.cloud.saasplatform.saasservicemgmt.v1beta1.Aggregate operations_by_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = UNORDERED_LIST];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Aggregate.Builder |
| Returns | |
|---|---|
| Type | Description |
RolloutStats.Builder |
|