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.v1.OperationGroup
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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.v1.Operation operations = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.recommender.v1.Operation>
|
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.v1.Operation operations = 1;
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.v1.Operation operations = 1;
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.v1.Operation operations = 1;
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.v1.Operation operations = 1;
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.v1.Operation operations = 1;
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.v1.Operation operations = 1;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OperationGroup.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public OperationGroup build()
buildPartial()
public OperationGroup buildPartial()
clear()
public OperationGroup.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public OperationGroup.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public OperationGroup.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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.v1.Operation operations = 1;
clone()
public OperationGroup.Builder clone()
Overrides
getDefaultInstanceForType()
public OperationGroup getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.v1.Operation operations = 1;
Parameter |
---|
Name | Description |
index | int
|
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.v1.Operation operations = 1;
Parameter |
---|
Name | Description |
index | int
|
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.v1.Operation operations = 1;
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.v1.Operation operations = 1;
Returns |
---|
Type | Description |
int | |
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.v1.Operation operations = 1;
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.v1.Operation operations = 1;
Parameter |
---|
Name | Description |
index | int
|
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.v1.Operation operations = 1;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.recommender.v1.OperationOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(OperationGroup other)
public OperationGroup.Builder mergeFrom(OperationGroup other)
public OperationGroup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public OperationGroup.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OperationGroup.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.v1.Operation operations = 1;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public OperationGroup.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.v1.Operation operations = 1;
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.v1.Operation operations = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OperationGroup.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final OperationGroup.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides