Class RolloutStats.Builder (0.2.0)

public static final class RolloutStats.Builder extends GeneratedMessageV3.Builder<RolloutStats.Builder> implements RolloutStatsOrBuilder

RolloutStats contains information about the progress of a rollout.

Protobuf type google.cloud.saasplatform.saasservicemgmt.v1beta1.RolloutStats

Static 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)

Output only. 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];

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)

Output only. 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];

Parameter
Name Description
value Aggregate
Returns
Type Description
RolloutStats.Builder

addOperationsByState(Aggregate.Builder builderForValue)

public RolloutStats.Builder addOperationsByState(Aggregate.Builder builderForValue)

Output only. 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];

Parameter
Name Description
builderForValue Aggregate.Builder
Returns
Type Description
RolloutStats.Builder

addOperationsByState(int index, Aggregate value)

public RolloutStats.Builder addOperationsByState(int index, Aggregate value)

Output only. 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];

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)

Output only. 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];

Parameters
Name Description
index int
builderForValue Aggregate.Builder
Returns
Type Description
RolloutStats.Builder

addOperationsByStateBuilder()

public Aggregate.Builder addOperationsByStateBuilder()

Output only. 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];

Returns
Type Description
Aggregate.Builder

addOperationsByStateBuilder(int index)

public Aggregate.Builder addOperationsByStateBuilder(int index)

Output only. 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];

Parameter
Name Description
index int
Returns
Type Description
Aggregate.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RolloutStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RolloutStats.Builder
Overrides

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
Overrides

clearField(Descriptors.FieldDescriptor field)

public RolloutStats.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RolloutStats.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RolloutStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RolloutStats.Builder
Overrides

clearOperationsByState()

public RolloutStats.Builder clearOperationsByState()

Output only. 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];

Returns
Type Description
RolloutStats.Builder

clone()

public RolloutStats.Builder clone()
Returns
Type Description
RolloutStats.Builder
Overrides

getDefaultInstanceForType()

public RolloutStats getDefaultInstanceForType()
Returns
Type Description
RolloutStats

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getOperationsByState(int index)

public Aggregate getOperationsByState(int index)

Output only. 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];

Parameter
Name Description
index int
Returns
Type Description
Aggregate

getOperationsByStateBuilder(int index)

public Aggregate.Builder getOperationsByStateBuilder(int index)

Output only. 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];

Parameter
Name Description
index int
Returns
Type Description
Aggregate.Builder

getOperationsByStateBuilderList()

public List<Aggregate.Builder> getOperationsByStateBuilderList()

Output only. 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];

Returns
Type Description
List<Builder>

getOperationsByStateCount()

public int getOperationsByStateCount()

Output only. 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];

Returns
Type Description
int

getOperationsByStateList()

public List<Aggregate> getOperationsByStateList()

Output only. 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];

Returns
Type Description
List<Aggregate>

getOperationsByStateOrBuilder(int index)

public AggregateOrBuilder getOperationsByStateOrBuilder(int index)

Output only. 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];

Parameter
Name Description
index int
Returns
Type Description
AggregateOrBuilder

getOperationsByStateOrBuilderList()

public List<? extends AggregateOrBuilder> getOperationsByStateOrBuilderList()

Output only. 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];

Returns
Type Description
List<? extends com.google.cloud.saasplatform.saasservicemgmt.v1beta1.AggregateOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RolloutStats.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RolloutStats.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RolloutStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RolloutStats.Builder
Overrides

removeOperationsByState(int index)

public RolloutStats.Builder removeOperationsByState(int index)

Output only. 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];

Parameter
Name Description
index int
Returns
Type Description
RolloutStats.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public RolloutStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RolloutStats.Builder
Overrides

setOperationsByState(int index, Aggregate value)

public RolloutStats.Builder setOperationsByState(int index, Aggregate value)

Output only. 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];

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)

Output only. 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];

Parameters
Name Description
index int
builderForValue Aggregate.Builder
Returns
Type Description
RolloutStats.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RolloutStats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RolloutStats.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RolloutStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RolloutStats.Builder
Overrides