Class OperationGroup (2.4.1)

public final class OperationGroup extends GeneratedMessageV3 implements OperationGroupOrBuilder

Group of operations that need to be performed atomically.

Protobuf type google.cloud.recommender.v1beta1.OperationGroup

Static Fields

OPERATIONS_FIELD_NUMBER

public static final int OPERATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static OperationGroup getDefaultInstance()
Returns
TypeDescription
OperationGroup

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static OperationGroup.Builder newBuilder()
Returns
TypeDescription
OperationGroup.Builder

newBuilder(OperationGroup prototype)

public static OperationGroup.Builder newBuilder(OperationGroup prototype)
Parameter
NameDescription
prototypeOperationGroup
Returns
TypeDescription
OperationGroup.Builder

parseDelimitedFrom(InputStream input)

public static OperationGroup parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
OperationGroup
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OperationGroup parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OperationGroup
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static OperationGroup parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
OperationGroup
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static OperationGroup parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OperationGroup
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static OperationGroup parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
OperationGroup
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static OperationGroup parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OperationGroup
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static OperationGroup parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
OperationGroup
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static OperationGroup parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OperationGroup
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static OperationGroup parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
OperationGroup
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OperationGroup parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OperationGroup
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static OperationGroup parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
OperationGroup
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static OperationGroup parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OperationGroup
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<OperationGroup> parser()
Returns
TypeDescription
Parser<OperationGroup>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public OperationGroup getDefaultInstanceForType()
Returns
TypeDescription
OperationGroup

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
NameDescription
indexint
Returns
TypeDescription
Operation

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
TypeDescription
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.v1beta1.Operation operations = 1;

Returns
TypeDescription
List<Operation>

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
NameDescription
indexint
Returns
TypeDescription
OperationOrBuilder

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
TypeDescription
List<? extends com.google.cloud.recommender.v1beta1.OperationOrBuilder>

getParserForType()

public Parser<OperationGroup> getParserForType()
Returns
TypeDescription
Parser<OperationGroup>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public OperationGroup.Builder newBuilderForType()
Returns
TypeDescription
OperationGroup.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected OperationGroup.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
OperationGroup.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public OperationGroup.Builder toBuilder()
Returns
TypeDescription
OperationGroup.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException