Class Recommendation
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.recommender.v1beta1.Recommendation
-
- All Implemented Interfaces:
RecommendationOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class Recommendation extends com.google.protobuf.GeneratedMessageV3 implements RecommendationOrBuilder
A recommendation along with a suggested action. E.g., a rightsizing recommendation for an underutilized VM, IAM role recommendations, etc
Protobuf typegoogle.cloud.recommender.v1beta1.Recommendation
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Recommendation.Builder
A recommendation along with a suggested action.static class
Recommendation.InsightReference
Reference to an associated insight.static interface
Recommendation.InsightReferenceOrBuilder
static class
Recommendation.Priority
Recommendation priority levels.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ADDITIONAL_IMPACT_FIELD_NUMBER
static int
ASSOCIATED_INSIGHTS_FIELD_NUMBER
static int
CONTENT_FIELD_NUMBER
static int
DESCRIPTION_FIELD_NUMBER
static int
ETAG_FIELD_NUMBER
static int
LAST_REFRESH_TIME_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
PRIMARY_IMPACT_FIELD_NUMBER
static int
PRIORITY_FIELD_NUMBER
static int
RECOMMENDER_SUBTYPE_FIELD_NUMBER
static int
STATE_INFO_FIELD_NUMBER
static int
XOR_GROUP_ID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Impact
getAdditionalImpact(int index)
Optional set of additional impact that this recommendation may have when trying to optimize for the primary category.int
getAdditionalImpactCount()
Optional set of additional impact that this recommendation may have when trying to optimize for the primary category.List<Impact>
getAdditionalImpactList()
Optional set of additional impact that this recommendation may have when trying to optimize for the primary category.ImpactOrBuilder
getAdditionalImpactOrBuilder(int index)
Optional set of additional impact that this recommendation may have when trying to optimize for the primary category.List<? extends ImpactOrBuilder>
getAdditionalImpactOrBuilderList()
Optional set of additional impact that this recommendation may have when trying to optimize for the primary category.Recommendation.InsightReference
getAssociatedInsights(int index)
Insights that led to this recommendation.int
getAssociatedInsightsCount()
Insights that led to this recommendation.List<Recommendation.InsightReference>
getAssociatedInsightsList()
Insights that led to this recommendation.Recommendation.InsightReferenceOrBuilder
getAssociatedInsightsOrBuilder(int index)
Insights that led to this recommendation.List<? extends Recommendation.InsightReferenceOrBuilder>
getAssociatedInsightsOrBuilderList()
Insights that led to this recommendation.RecommendationContent
getContent()
Content of the recommendation describing recommended changes to resources.RecommendationContentOrBuilder
getContentOrBuilder()
Content of the recommendation describing recommended changes to resources.static Recommendation
getDefaultInstance()
Recommendation
getDefaultInstanceForType()
String
getDescription()
Free-form human readable summary in English.com.google.protobuf.ByteString
getDescriptionBytes()
Free-form human readable summary in English.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getEtag()
Fingerprint of the Recommendation.com.google.protobuf.ByteString
getEtagBytes()
Fingerprint of the Recommendation.com.google.protobuf.Timestamp
getLastRefreshTime()
Last time this recommendation was refreshed by the system that created it in the first place.com.google.protobuf.TimestampOrBuilder
getLastRefreshTimeOrBuilder()
Last time this recommendation was refreshed by the system that created it in the first place.String
getName()
Name of recommendation.com.google.protobuf.ByteString
getNameBytes()
Name of recommendation.com.google.protobuf.Parser<Recommendation>
getParserForType()
Impact
getPrimaryImpact()
The primary impact that this recommendation can have while trying to optimize for one category.ImpactOrBuilder
getPrimaryImpactOrBuilder()
The primary impact that this recommendation can have while trying to optimize for one category.Recommendation.Priority
getPriority()
Recommendation's priority.int
getPriorityValue()
Recommendation's priority.String
getRecommenderSubtype()
Contains an identifier for a subtype of recommendations produced for the same recommender.com.google.protobuf.ByteString
getRecommenderSubtypeBytes()
Contains an identifier for a subtype of recommendations produced for the same recommender.int
getSerializedSize()
RecommendationStateInfo
getStateInfo()
Information for state.RecommendationStateInfoOrBuilder
getStateInfoOrBuilder()
Information for state.String
getXorGroupId()
Corresponds to a mutually exclusive group ID within a recommender.com.google.protobuf.ByteString
getXorGroupIdBytes()
Corresponds to a mutually exclusive group ID within a recommender.boolean
hasContent()
Content of the recommendation describing recommended changes to resources.int
hashCode()
boolean
hasLastRefreshTime()
Last time this recommendation was refreshed by the system that created it in the first place.boolean
hasPrimaryImpact()
The primary impact that this recommendation can have while trying to optimize for one category.boolean
hasStateInfo()
Information for state.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Recommendation.Builder
newBuilder()
static Recommendation.Builder
newBuilder(Recommendation prototype)
Recommendation.Builder
newBuilderForType()
protected Recommendation.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Recommendation
parseDelimitedFrom(InputStream input)
static Recommendation
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Recommendation
parseFrom(byte[] data)
static Recommendation
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Recommendation
parseFrom(com.google.protobuf.ByteString data)
static Recommendation
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Recommendation
parseFrom(com.google.protobuf.CodedInputStream input)
static Recommendation
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Recommendation
parseFrom(InputStream input)
static Recommendation
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Recommendation
parseFrom(ByteBuffer data)
static Recommendation
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Recommendation>
parser()
Recommendation.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RECOMMENDER_SUBTYPE_FIELD_NUMBER
public static final int RECOMMENDER_SUBTYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LAST_REFRESH_TIME_FIELD_NUMBER
public static final int LAST_REFRESH_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRIMARY_IMPACT_FIELD_NUMBER
public static final int PRIMARY_IMPACT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ADDITIONAL_IMPACT_FIELD_NUMBER
public static final int ADDITIONAL_IMPACT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRIORITY_FIELD_NUMBER
public static final int PRIORITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONTENT_FIELD_NUMBER
public static final int CONTENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_INFO_FIELD_NUMBER
public static final int STATE_INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ETAG_FIELD_NUMBER
public static final int ETAG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ASSOCIATED_INSIGHTS_FIELD_NUMBER
public static final int ASSOCIATED_INSIGHTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
XOR_GROUP_ID_FIELD_NUMBER
public static final int XOR_GROUP_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getName
public String getName()
Name of recommendation.
string name = 1;
- Specified by:
getName
in interfaceRecommendationOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Name of recommendation.
string name = 1;
- Specified by:
getNameBytes
in interfaceRecommendationOrBuilder
- Returns:
- The bytes for name.
-
getDescription
public String getDescription()
Free-form human readable summary in English. The maximum length is 500 characters.
string description = 2;
- Specified by:
getDescription
in interfaceRecommendationOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Free-form human readable summary in English. The maximum length is 500 characters.
string description = 2;
- Specified by:
getDescriptionBytes
in interfaceRecommendationOrBuilder
- Returns:
- The bytes for description.
-
getRecommenderSubtype
public String getRecommenderSubtype()
Contains an identifier for a subtype of recommendations produced for the same recommender. Subtype is a function of content and impact, meaning a new subtype might be added when significant changes to `content` or `primary_impact.category` are introduced. See the Recommenders section to see a list of subtypes for a given Recommender. Examples: For recommender = "google.iam.policy.Recommender", recommender_subtype can be one of "REMOVE_ROLE"/"REPLACE_ROLE"
string recommender_subtype = 12;
- Specified by:
getRecommenderSubtype
in interfaceRecommendationOrBuilder
- Returns:
- The recommenderSubtype.
-
getRecommenderSubtypeBytes
public com.google.protobuf.ByteString getRecommenderSubtypeBytes()
Contains an identifier for a subtype of recommendations produced for the same recommender. Subtype is a function of content and impact, meaning a new subtype might be added when significant changes to `content` or `primary_impact.category` are introduced. See the Recommenders section to see a list of subtypes for a given Recommender. Examples: For recommender = "google.iam.policy.Recommender", recommender_subtype can be one of "REMOVE_ROLE"/"REPLACE_ROLE"
string recommender_subtype = 12;
- Specified by:
getRecommenderSubtypeBytes
in interfaceRecommendationOrBuilder
- Returns:
- The bytes for recommenderSubtype.
-
hasLastRefreshTime
public boolean hasLastRefreshTime()
Last time this recommendation was refreshed by the system that created it in the first place.
.google.protobuf.Timestamp last_refresh_time = 4;
- Specified by:
hasLastRefreshTime
in interfaceRecommendationOrBuilder
- Returns:
- Whether the lastRefreshTime field is set.
-
getLastRefreshTime
public com.google.protobuf.Timestamp getLastRefreshTime()
Last time this recommendation was refreshed by the system that created it in the first place.
.google.protobuf.Timestamp last_refresh_time = 4;
- Specified by:
getLastRefreshTime
in interfaceRecommendationOrBuilder
- Returns:
- The lastRefreshTime.
-
getLastRefreshTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getLastRefreshTimeOrBuilder()
Last time this recommendation was refreshed by the system that created it in the first place.
.google.protobuf.Timestamp last_refresh_time = 4;
- Specified by:
getLastRefreshTimeOrBuilder
in interfaceRecommendationOrBuilder
-
hasPrimaryImpact
public boolean hasPrimaryImpact()
The primary impact that this recommendation can have while trying to optimize for one category.
.google.cloud.recommender.v1beta1.Impact primary_impact = 5;
- Specified by:
hasPrimaryImpact
in interfaceRecommendationOrBuilder
- Returns:
- Whether the primaryImpact field is set.
-
getPrimaryImpact
public Impact getPrimaryImpact()
The primary impact that this recommendation can have while trying to optimize for one category.
.google.cloud.recommender.v1beta1.Impact primary_impact = 5;
- Specified by:
getPrimaryImpact
in interfaceRecommendationOrBuilder
- Returns:
- The primaryImpact.
-
getPrimaryImpactOrBuilder
public ImpactOrBuilder getPrimaryImpactOrBuilder()
The primary impact that this recommendation can have while trying to optimize for one category.
.google.cloud.recommender.v1beta1.Impact primary_impact = 5;
- Specified by:
getPrimaryImpactOrBuilder
in interfaceRecommendationOrBuilder
-
getAdditionalImpactList
public List<Impact> getAdditionalImpactList()
Optional set of additional impact that this recommendation may have when trying to optimize for the primary category. These may be positive or negative.
repeated .google.cloud.recommender.v1beta1.Impact additional_impact = 6;
- Specified by:
getAdditionalImpactList
in interfaceRecommendationOrBuilder
-
getAdditionalImpactOrBuilderList
public List<? extends ImpactOrBuilder> getAdditionalImpactOrBuilderList()
Optional set of additional impact that this recommendation may have when trying to optimize for the primary category. These may be positive or negative.
repeated .google.cloud.recommender.v1beta1.Impact additional_impact = 6;
- Specified by:
getAdditionalImpactOrBuilderList
in interfaceRecommendationOrBuilder
-
getAdditionalImpactCount
public int getAdditionalImpactCount()
Optional set of additional impact that this recommendation may have when trying to optimize for the primary category. These may be positive or negative.
repeated .google.cloud.recommender.v1beta1.Impact additional_impact = 6;
- Specified by:
getAdditionalImpactCount
in interfaceRecommendationOrBuilder
-
getAdditionalImpact
public Impact getAdditionalImpact(int index)
Optional set of additional impact that this recommendation may have when trying to optimize for the primary category. These may be positive or negative.
repeated .google.cloud.recommender.v1beta1.Impact additional_impact = 6;
- Specified by:
getAdditionalImpact
in interfaceRecommendationOrBuilder
-
getAdditionalImpactOrBuilder
public ImpactOrBuilder getAdditionalImpactOrBuilder(int index)
Optional set of additional impact that this recommendation may have when trying to optimize for the primary category. These may be positive or negative.
repeated .google.cloud.recommender.v1beta1.Impact additional_impact = 6;
- Specified by:
getAdditionalImpactOrBuilder
in interfaceRecommendationOrBuilder
-
getPriorityValue
public int getPriorityValue()
Recommendation's priority.
.google.cloud.recommender.v1beta1.Recommendation.Priority priority = 17;
- Specified by:
getPriorityValue
in interfaceRecommendationOrBuilder
- Returns:
- The enum numeric value on the wire for priority.
-
getPriority
public Recommendation.Priority getPriority()
Recommendation's priority.
.google.cloud.recommender.v1beta1.Recommendation.Priority priority = 17;
- Specified by:
getPriority
in interfaceRecommendationOrBuilder
- Returns:
- The priority.
-
hasContent
public boolean hasContent()
Content of the recommendation describing recommended changes to resources.
.google.cloud.recommender.v1beta1.RecommendationContent content = 7;
- Specified by:
hasContent
in interfaceRecommendationOrBuilder
- Returns:
- Whether the content field is set.
-
getContent
public RecommendationContent getContent()
Content of the recommendation describing recommended changes to resources.
.google.cloud.recommender.v1beta1.RecommendationContent content = 7;
- Specified by:
getContent
in interfaceRecommendationOrBuilder
- Returns:
- The content.
-
getContentOrBuilder
public RecommendationContentOrBuilder getContentOrBuilder()
Content of the recommendation describing recommended changes to resources.
.google.cloud.recommender.v1beta1.RecommendationContent content = 7;
- Specified by:
getContentOrBuilder
in interfaceRecommendationOrBuilder
-
hasStateInfo
public boolean hasStateInfo()
Information for state. Contains state and metadata.
.google.cloud.recommender.v1beta1.RecommendationStateInfo state_info = 10;
- Specified by:
hasStateInfo
in interfaceRecommendationOrBuilder
- Returns:
- Whether the stateInfo field is set.
-
getStateInfo
public RecommendationStateInfo getStateInfo()
Information for state. Contains state and metadata.
.google.cloud.recommender.v1beta1.RecommendationStateInfo state_info = 10;
- Specified by:
getStateInfo
in interfaceRecommendationOrBuilder
- Returns:
- The stateInfo.
-
getStateInfoOrBuilder
public RecommendationStateInfoOrBuilder getStateInfoOrBuilder()
Information for state. Contains state and metadata.
.google.cloud.recommender.v1beta1.RecommendationStateInfo state_info = 10;
- Specified by:
getStateInfoOrBuilder
in interfaceRecommendationOrBuilder
-
getEtag
public String getEtag()
Fingerprint of the Recommendation. Provides optimistic locking when updating states.
string etag = 11;
- Specified by:
getEtag
in interfaceRecommendationOrBuilder
- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()
Fingerprint of the Recommendation. Provides optimistic locking when updating states.
string etag = 11;
- Specified by:
getEtagBytes
in interfaceRecommendationOrBuilder
- Returns:
- The bytes for etag.
-
getAssociatedInsightsList
public List<Recommendation.InsightReference> getAssociatedInsightsList()
Insights that led to this recommendation.
repeated .google.cloud.recommender.v1beta1.Recommendation.InsightReference associated_insights = 14;
- Specified by:
getAssociatedInsightsList
in interfaceRecommendationOrBuilder
-
getAssociatedInsightsOrBuilderList
public List<? extends Recommendation.InsightReferenceOrBuilder> getAssociatedInsightsOrBuilderList()
Insights that led to this recommendation.
repeated .google.cloud.recommender.v1beta1.Recommendation.InsightReference associated_insights = 14;
- Specified by:
getAssociatedInsightsOrBuilderList
in interfaceRecommendationOrBuilder
-
getAssociatedInsightsCount
public int getAssociatedInsightsCount()
Insights that led to this recommendation.
repeated .google.cloud.recommender.v1beta1.Recommendation.InsightReference associated_insights = 14;
- Specified by:
getAssociatedInsightsCount
in interfaceRecommendationOrBuilder
-
getAssociatedInsights
public Recommendation.InsightReference getAssociatedInsights(int index)
Insights that led to this recommendation.
repeated .google.cloud.recommender.v1beta1.Recommendation.InsightReference associated_insights = 14;
- Specified by:
getAssociatedInsights
in interfaceRecommendationOrBuilder
-
getAssociatedInsightsOrBuilder
public Recommendation.InsightReferenceOrBuilder getAssociatedInsightsOrBuilder(int index)
Insights that led to this recommendation.
repeated .google.cloud.recommender.v1beta1.Recommendation.InsightReference associated_insights = 14;
- Specified by:
getAssociatedInsightsOrBuilder
in interfaceRecommendationOrBuilder
-
getXorGroupId
public String getXorGroupId()
Corresponds to a mutually exclusive group ID within a recommender. A non-empty ID indicates that the recommendation belongs to a mutually exclusive group. This means that only one recommendation within the group is suggested to be applied.
string xor_group_id = 18;
- Specified by:
getXorGroupId
in interfaceRecommendationOrBuilder
- Returns:
- The xorGroupId.
-
getXorGroupIdBytes
public com.google.protobuf.ByteString getXorGroupIdBytes()
Corresponds to a mutually exclusive group ID within a recommender. A non-empty ID indicates that the recommendation belongs to a mutually exclusive group. This means that only one recommendation within the group is suggested to be applied.
string xor_group_id = 18;
- Specified by:
getXorGroupIdBytes
in interfaceRecommendationOrBuilder
- Returns:
- The bytes for xorGroupId.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Recommendation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Recommendation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Recommendation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Recommendation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Recommendation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Recommendation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Recommendation parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Recommendation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Recommendation parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Recommendation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Recommendation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Recommendation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Recommendation.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Recommendation.Builder newBuilder()
-
newBuilder
public static Recommendation.Builder newBuilder(Recommendation prototype)
-
toBuilder
public Recommendation.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Recommendation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Recommendation getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Recommendation> parser()
-
getParserForType
public com.google.protobuf.Parser<Recommendation> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Recommendation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-