Class RecommendationContent (2.48.0)

public final class RecommendationContent extends GeneratedMessageV3 implements RecommendationContentOrBuilder

Contains what resources are changing and how they are changing.

Protobuf type google.cloud.recommender.v1beta1.RecommendationContent

Static Fields

OPERATION_GROUPS_FIELD_NUMBER

public static final int OPERATION_GROUPS_FIELD_NUMBER
Field Value
Type Description
int

OVERVIEW_FIELD_NUMBER

public static final int OVERVIEW_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RecommendationContent getDefaultInstance()
Returns
Type Description
RecommendationContent

getDescriptor()

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

newBuilder()

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

newBuilder(RecommendationContent prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public RecommendationContent getDefaultInstanceForType()
Returns
Type Description
RecommendationContent

getOperationGroups(int index)

public OperationGroup getOperationGroups(int index)

Operations to one or more Google Cloud resources grouped in such a way that, all operations within one group are expected to be performed atomically and in an order.

repeated .google.cloud.recommender.v1beta1.OperationGroup operation_groups = 2;

Parameter
Name Description
index int
Returns
Type Description
OperationGroup

getOperationGroupsCount()

public int getOperationGroupsCount()

Operations to one or more Google Cloud resources grouped in such a way that, all operations within one group are expected to be performed atomically and in an order.

repeated .google.cloud.recommender.v1beta1.OperationGroup operation_groups = 2;

Returns
Type Description
int

getOperationGroupsList()

public List<OperationGroup> getOperationGroupsList()

Operations to one or more Google Cloud resources grouped in such a way that, all operations within one group are expected to be performed atomically and in an order.

repeated .google.cloud.recommender.v1beta1.OperationGroup operation_groups = 2;

Returns
Type Description
List<OperationGroup>

getOperationGroupsOrBuilder(int index)

public OperationGroupOrBuilder getOperationGroupsOrBuilder(int index)

Operations to one or more Google Cloud resources grouped in such a way that, all operations within one group are expected to be performed atomically and in an order.

repeated .google.cloud.recommender.v1beta1.OperationGroup operation_groups = 2;

Parameter
Name Description
index int
Returns
Type Description
OperationGroupOrBuilder

getOperationGroupsOrBuilderList()

public List<? extends OperationGroupOrBuilder> getOperationGroupsOrBuilderList()

Operations to one or more Google Cloud resources grouped in such a way that, all operations within one group are expected to be performed atomically and in an order.

repeated .google.cloud.recommender.v1beta1.OperationGroup operation_groups = 2;

Returns
Type Description
List<? extends com.google.cloud.recommender.v1beta1.OperationGroupOrBuilder>

getOverview()

public Struct getOverview()

Condensed overview information about the recommendation.

.google.protobuf.Struct overview = 3;

Returns
Type Description
Struct

The overview.

getOverviewOrBuilder()

public StructOrBuilder getOverviewOrBuilder()

Condensed overview information about the recommendation.

.google.protobuf.Struct overview = 3;

Returns
Type Description
StructOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasOverview()

public boolean hasOverview()

Condensed overview information about the recommendation.

.google.protobuf.Struct overview = 3;

Returns
Type Description
boolean

Whether the overview field is set.

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 RecommendationContent.Builder newBuilderForType()
Returns
Type Description
RecommendationContent.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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