Class OperationGroup (2.44.0)

public final class OperationGroup extends GeneratedMessageV3 implements OperationGroupOrBuilder

Group of operations that need to be performed atomically.

Protobuf type google.cloud.recommender.v1.OperationGroup

Static Fields

OPERATIONS_FIELD_NUMBER

public static final int OPERATIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static OperationGroup getDefaultInstance()
Returns
Type Description
OperationGroup

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static OperationGroup.Builder newBuilder()
Returns
Type Description
OperationGroup.Builder

newBuilder(OperationGroup prototype)

public static OperationGroup.Builder newBuilder(OperationGroup prototype)
Parameter
Name Description
prototype OperationGroup
Returns
Type Description
OperationGroup.Builder

parseDelimitedFrom(InputStream input)

public static OperationGroup parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OperationGroup
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OperationGroup parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperationGroup
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static OperationGroup parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
OperationGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static OperationGroup parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperationGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static OperationGroup parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
OperationGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static OperationGroup parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperationGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static OperationGroup parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
OperationGroup
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static OperationGroup parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperationGroup
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static OperationGroup parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OperationGroup
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OperationGroup parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperationGroup
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static OperationGroup parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
OperationGroup
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static OperationGroup parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OperationGroup
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<OperationGroup> parser()
Returns
Type Description
Parser<OperationGroup>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public OperationGroup getDefaultInstanceForType()
Returns
Type Description
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.v1.Operation operations = 1;

Parameter
Name Description
index int
Returns
Type Description
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.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;

Returns
Type Description
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.v1.Operation operations = 1;

Parameter
Name Description
index int
Returns
Type Description
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.v1.Operation operations = 1;

Returns
Type Description
List<? extends com.google.cloud.recommender.v1.OperationOrBuilder>

getParserForType()

public Parser<OperationGroup> getParserForType()
Returns
Type Description
Parser<OperationGroup>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public OperationGroup.Builder newBuilderForType()
Returns
Type Description
OperationGroup.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected OperationGroup.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
OperationGroup.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public OperationGroup.Builder toBuilder()
Returns
Type Description
OperationGroup.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException