public static final class Recommendation.InsightReference extends GeneratedMessageV3 implements Recommendation.InsightReferenceOrBuilder
Reference to an associated insight.
Protobuf type google.cloud.recommender.v1.Recommendation.InsightReference
Fields
INSIGHT_FIELD_NUMBER
public static final int INSIGHT_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static Recommendation.InsightReference getDefaultInstance()
Returns
getDefaultInstanceForType()
public Recommendation.InsightReference getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getInsight()
public String getInsight()
Insight resource name, e.g.
projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/insights/[INSIGHT_ID]
string insight = 1;
Returns
Type | Description |
String | The insight.
|
getInsightBytes()
public ByteString getInsightBytes()
Insight resource name, e.g.
projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/insights/[INSIGHT_ID]
string insight = 1;
Returns
getParserForType()
public Parser<Recommendation.InsightReference> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static Recommendation.InsightReference.Builder newBuilder()
Returns
newBuilder(Recommendation.InsightReference prototype)
public static Recommendation.InsightReference.Builder newBuilder(Recommendation.InsightReference prototype)
Parameter
Returns
newBuilderForType()
public Recommendation.InsightReference.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Recommendation.InsightReference.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static Recommendation.InsightReference parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Recommendation.InsightReference parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Recommendation.InsightReference parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Recommendation.InsightReference parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Recommendation.InsightReference parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Recommendation.InsightReference parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Recommendation.InsightReference parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Recommendation.InsightReference parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Recommendation.InsightReference parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Recommendation.InsightReference parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Recommendation.InsightReference parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Recommendation.InsightReference parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Recommendation.InsightReference> parser()
Returns
toBuilder()
public Recommendation.InsightReference.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions