public static final class Recommendation.InsightReference.Builder extends GeneratedMessageV3.Builder<Recommendation.InsightReference.Builder> implements Recommendation.InsightReferenceOrBuilder
Reference to an associated insight.
Protobuf type google.cloud.recommender.v1beta1.Recommendation.InsightReference
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Recommendation.InsightReference.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Recommendation.InsightReference build()
buildPartial()
public Recommendation.InsightReference buildPartial()
clear()
public Recommendation.InsightReference.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Recommendation.InsightReference.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearInsight()
public Recommendation.InsightReference.Builder clearInsight()
Insight resource name, e.g.
projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/insights/[INSIGHT_ID]
string insight = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public Recommendation.InsightReference.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Recommendation.InsightReference.Builder clone()
Overrides
getDefaultInstanceForType()
public Recommendation.InsightReference getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 |
---|
Type | Description |
ByteString | The bytes for insight.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Recommendation.InsightReference other)
public Recommendation.InsightReference.Builder mergeFrom(Recommendation.InsightReference other)
public Recommendation.InsightReference.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Recommendation.InsightReference.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Recommendation.InsightReference.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Recommendation.InsightReference.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setInsight(String value)
public Recommendation.InsightReference.Builder setInsight(String value)
Insight resource name, e.g.
projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/insights/[INSIGHT_ID]
string insight = 1;
Parameter |
---|
Name | Description |
value | String
The insight to set.
|
setInsightBytes(ByteString value)
public Recommendation.InsightReference.Builder setInsightBytes(ByteString value)
Insight resource name, e.g.
projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]/insights/[INSIGHT_ID]
string insight = 1;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for insight to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Recommendation.InsightReference.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Recommendation.InsightReference.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides