public static final class OperationGroup.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<OperationGroup.Builder> implements OperationGroupOrBuilder
Group of operations that need to be performed atomically.Protobuf type
google.cloud.recommender.v1.OperationGroup| Modifier and Type | Method and Description |
|---|---|
OperationGroup.Builder |
addAllOperations(Iterable<? extends Operation> values)
List of operations across one or more resources that belong to this group.
|
OperationGroup.Builder |
addOperations(int index,
Operation.Builder builderForValue)
List of operations across one or more resources that belong to this group.
|
OperationGroup.Builder |
addOperations(int index,
Operation value)
List of operations across one or more resources that belong to this group.
|
OperationGroup.Builder |
addOperations(Operation.Builder builderForValue)
List of operations across one or more resources that belong to this group.
|
OperationGroup.Builder |
addOperations(Operation value)
List of operations across one or more resources that belong to this group.
|
Operation.Builder |
addOperationsBuilder()
List of operations across one or more resources that belong to this group.
|
Operation.Builder |
addOperationsBuilder(int index)
List of operations across one or more resources that belong to this group.
|
OperationGroup.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OperationGroup |
build() |
OperationGroup |
buildPartial() |
OperationGroup.Builder |
clear() |
OperationGroup.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
OperationGroup.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
OperationGroup.Builder |
clearOperations()
List of operations across one or more resources that belong to this group.
|
OperationGroup.Builder |
clone() |
OperationGroup |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Operation |
getOperations(int index)
List of operations across one or more resources that belong to this group.
|
Operation.Builder |
getOperationsBuilder(int index)
List of operations across one or more resources that belong to this group.
|
List<Operation.Builder> |
getOperationsBuilderList()
List of operations across one or more resources that belong to this group.
|
int |
getOperationsCount()
List of operations across one or more resources that belong to this group.
|
List<Operation> |
getOperationsList()
List of operations across one or more resources that belong to this group.
|
OperationOrBuilder |
getOperationsOrBuilder(int index)
List of operations across one or more resources that belong to this group.
|
List<? extends OperationOrBuilder> |
getOperationsOrBuilderList()
List of operations across one or more resources that belong to this group.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
OperationGroup.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OperationGroup.Builder |
mergeFrom(com.google.protobuf.Message other) |
OperationGroup.Builder |
mergeFrom(OperationGroup other) |
OperationGroup.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
OperationGroup.Builder |
removeOperations(int index)
List of operations across one or more resources that belong to this group.
|
OperationGroup.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OperationGroup.Builder |
setOperations(int index,
Operation.Builder builderForValue)
List of operations across one or more resources that belong to this group.
|
OperationGroup.Builder |
setOperations(int index,
Operation value)
List of operations across one or more resources that belong to this group.
|
OperationGroup.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
OperationGroup.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<OperationGroup.Builder>public OperationGroup.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<OperationGroup.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<OperationGroup.Builder>public OperationGroup getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic OperationGroup build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic OperationGroup buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic OperationGroup.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<OperationGroup.Builder>public OperationGroup.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<OperationGroup.Builder>public OperationGroup.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<OperationGroup.Builder>public OperationGroup.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<OperationGroup.Builder>public OperationGroup.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OperationGroup.Builder>public OperationGroup.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OperationGroup.Builder>public OperationGroup.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OperationGroup.Builder>public OperationGroup.Builder mergeFrom(OperationGroup other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<OperationGroup.Builder>public OperationGroup.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OperationGroup.Builder>IOExceptionpublic 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;getOperationsList in interface OperationGroupOrBuilderpublic 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;getOperationsCount in interface OperationGroupOrBuilderpublic 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;getOperations in interface OperationGroupOrBuilderpublic 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;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;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;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;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;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;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;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;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;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;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;getOperationsOrBuilder in interface OperationGroupOrBuilderpublic 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;getOperationsOrBuilderList in interface OperationGroupOrBuilderpublic 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;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;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;public final OperationGroup.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OperationGroup.Builder>public final OperationGroup.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OperationGroup.Builder>Copyright © 2020 Google LLC. All rights reserved.