Class RecommendationContent (2.6.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
TypeDescription
int

OVERVIEW_FIELD_NUMBER

public static final int OVERVIEW_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RecommendationContent getDefaultInstance()
Returns
TypeDescription
RecommendationContent

getDescriptor()

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

newBuilder()

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

newBuilder(RecommendationContent prototype)

public static RecommendationContent.Builder newBuilder(RecommendationContent prototype)
Parameter
NameDescription
prototypeRecommendationContent
Returns
TypeDescription
RecommendationContent.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public RecommendationContent getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.recommender.v1beta1.OperationGroupOrBuilder>

getOverview()

public Struct getOverview()

Condensed overview information about the recommendation.

.google.protobuf.Struct overview = 3;

Returns
TypeDescription
Struct

The overview.

getOverviewOrBuilder()

public StructOrBuilder getOverviewOrBuilder()

Condensed overview information about the recommendation.

.google.protobuf.Struct overview = 3;

Returns
TypeDescription
StructOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasOverview()

public boolean hasOverview()

Condensed overview information about the recommendation.

.google.protobuf.Struct overview = 3;

Returns
TypeDescription
boolean

Whether the overview field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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