public static final class OperationGroup.Builder extends GeneratedMessageV3.Builder<OperationGroup.Builder> implements OperationGroupOrBuilder
Group of operations that need to be performed atomically.
Protobuf type google.cloud.recommender.v1beta1.OperationGroup
Methods
addAllOperations(Iterable<? extends Operation> values)
public OperationGroup.Builder addAllOperations(Iterable<? extends Operation> values)
List of operations across one or more resources that belong to this group.
Loosely based on RFC6902 and should be performed in the order they appear.
repeated .google.cloud.recommender.v1beta1.Operation operations = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.recommender.v1beta1.Operation>
|
Returns
addOperations(Operation value)
public OperationGroup.Builder addOperations(Operation value)
List of operations across one or more resources that belong to this group.
Loosely based on RFC6902 and should be performed in the order they appear.
repeated .google.cloud.recommender.v1beta1.Operation operations = 1;
Parameter
Returns
addOperations(Operation.Builder builderForValue)
public OperationGroup.Builder addOperations(Operation.Builder builderForValue)
List of operations across one or more resources that belong to this group.
Loosely based on RFC6902 and should be performed in the order they appear.
repeated .google.cloud.recommender.v1beta1.Operation operations = 1;
Parameter
Returns
addOperations(int index, Operation value)
public OperationGroup.Builder addOperations(int index, Operation value)
List of operations across one or more resources that belong to this group.
Loosely based on RFC6902 and should be performed in the order they appear.
repeated .google.cloud.recommender.v1beta1.Operation operations = 1;
Parameters
Returns
addOperations(int index, Operation.Builder builderForValue)
public OperationGroup.Builder addOperations(int index, Operation.Builder builderForValue)
List of operations across one or more resources that belong to this group.
Loosely based on RFC6902 and should be performed in the order they appear.
repeated .google.cloud.recommender.v1beta1.Operation operations = 1;
Parameters
Returns
addOperationsBuilder()
public Operation.Builder addOperationsBuilder()
List of operations across one or more resources that belong to this group.
Loosely based on RFC6902 and should be performed in the order they appear.
repeated .google.cloud.recommender.v1beta1.Operation operations = 1;
Returns
addOperationsBuilder(int index)
public Operation.Builder addOperationsBuilder(int index)
List of operations across one or more resources that belong to this group.
Loosely based on RFC6902 and should be performed in the order they appear.
repeated .google.cloud.recommender.v1beta1.Operation operations = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OperationGroup.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public OperationGroup build()
Returns
buildPartial()
public OperationGroup buildPartial()
Returns
clear()
public OperationGroup.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public OperationGroup.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public OperationGroup.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearOperations()
public OperationGroup.Builder clearOperations()
List of operations across one or more resources that belong to this group.
Loosely based on RFC6902 and should be performed in the order they appear.
repeated .google.cloud.recommender.v1beta1.Operation operations = 1;
Returns
clone()
public OperationGroup.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public OperationGroup getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getOperations(int index)
public Operation getOperations(int index)
List of operations across one or more resources that belong to this group.
Loosely based on RFC6902 and should be performed in the order they appear.
repeated .google.cloud.recommender.v1beta1.Operation operations = 1;
Parameter
Returns
getOperationsBuilder(int index)
public Operation.Builder getOperationsBuilder(int index)
List of operations across one or more resources that belong to this group.
Loosely based on RFC6902 and should be performed in the order they appear.
repeated .google.cloud.recommender.v1beta1.Operation operations = 1;
Parameter
Returns
getOperationsBuilderList()
public List<Operation.Builder> getOperationsBuilderList()
List of operations across one or more resources that belong to this group.
Loosely based on RFC6902 and should be performed in the order they appear.
repeated .google.cloud.recommender.v1beta1.Operation operations = 1;
Returns
getOperationsCount()
public int getOperationsCount()
List of operations across one or more resources that belong to this group.
Loosely based on RFC6902 and should be performed in the order they appear.
repeated .google.cloud.recommender.v1beta1.Operation operations = 1;
Returns
getOperationsList()
public List<Operation> getOperationsList()
List of operations across one or more resources that belong to this group.
Loosely based on RFC6902 and should be performed in the order they appear.
repeated .google.cloud.recommender.v1beta1.Operation operations = 1;
Returns
getOperationsOrBuilder(int index)
public OperationOrBuilder getOperationsOrBuilder(int index)
List of operations across one or more resources that belong to this group.
Loosely based on RFC6902 and should be performed in the order they appear.
repeated .google.cloud.recommender.v1beta1.Operation operations = 1;
Parameter
Returns
getOperationsOrBuilderList()
public List<? extends OperationOrBuilder> getOperationsOrBuilderList()
List of operations across one or more resources that belong to this group.
Loosely based on RFC6902 and should be performed in the order they appear.
repeated .google.cloud.recommender.v1beta1.Operation operations = 1;
Returns
Type | Description |
List<? extends com.google.cloud.recommender.v1beta1.OperationOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(OperationGroup other)
public OperationGroup.Builder mergeFrom(OperationGroup other)
Parameter
Returns
public OperationGroup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public OperationGroup.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OperationGroup.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeOperations(int index)
public OperationGroup.Builder removeOperations(int index)
List of operations across one or more resources that belong to this group.
Loosely based on RFC6902 and should be performed in the order they appear.
repeated .google.cloud.recommender.v1beta1.Operation operations = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public OperationGroup.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setOperations(int index, Operation value)
public OperationGroup.Builder setOperations(int index, Operation value)
List of operations across one or more resources that belong to this group.
Loosely based on RFC6902 and should be performed in the order they appear.
repeated .google.cloud.recommender.v1beta1.Operation operations = 1;
Parameters
Returns
setOperations(int index, Operation.Builder builderForValue)
public OperationGroup.Builder setOperations(int index, Operation.Builder builderForValue)
List of operations across one or more resources that belong to this group.
Loosely based on RFC6902 and should be performed in the order they appear.
repeated .google.cloud.recommender.v1beta1.Operation operations = 1;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OperationGroup.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final OperationGroup.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides