Package com.google.cloud.recommender.v1
Class RecommendationContent.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<RecommendationContent.Builder>
-
- com.google.cloud.recommender.v1.RecommendationContent.Builder
-
- All Implemented Interfaces:
RecommendationContentOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RecommendationContent
public static final class RecommendationContent.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RecommendationContent.Builder> implements RecommendationContentOrBuilder
Contains what resources are changing and how they are changing.
Protobuf typegoogle.cloud.recommender.v1.RecommendationContent
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RecommendationContent.BuilderaddAllOperationGroups(Iterable<? extends OperationGroup> values)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.RecommendationContent.BuilderaddOperationGroups(int index, OperationGroup value)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.RecommendationContent.BuilderaddOperationGroups(int index, OperationGroup.Builder builderForValue)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.RecommendationContent.BuilderaddOperationGroups(OperationGroup value)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.RecommendationContent.BuilderaddOperationGroups(OperationGroup.Builder builderForValue)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.OperationGroup.BuilderaddOperationGroupsBuilder()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.OperationGroup.BuilderaddOperationGroupsBuilder(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.RecommendationContent.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RecommendationContentbuild()RecommendationContentbuildPartial()RecommendationContent.Builderclear()RecommendationContent.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)RecommendationContent.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)RecommendationContent.BuilderclearOperationGroups()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.RecommendationContent.BuilderclearOverview()Condensed overview information about the recommendation.RecommendationContent.Builderclone()RecommendationContentgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()OperationGroupgetOperationGroups(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.OperationGroup.BuildergetOperationGroupsBuilder(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.List<OperationGroup.Builder>getOperationGroupsBuilderList()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.intgetOperationGroupsCount()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.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.OperationGroupOrBuildergetOperationGroupsOrBuilder(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.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.com.google.protobuf.StructgetOverview()Condensed overview information about the recommendation.com.google.protobuf.Struct.BuildergetOverviewBuilder()Condensed overview information about the recommendation.com.google.protobuf.StructOrBuildergetOverviewOrBuilder()Condensed overview information about the recommendation.booleanhasOverview()Condensed overview information about the recommendation.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()RecommendationContent.BuildermergeFrom(RecommendationContent other)RecommendationContent.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)RecommendationContent.BuildermergeFrom(com.google.protobuf.Message other)RecommendationContent.BuildermergeOverview(com.google.protobuf.Struct value)Condensed overview information about the recommendation.RecommendationContent.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)RecommendationContent.BuilderremoveOperationGroups(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.RecommendationContent.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RecommendationContent.BuildersetOperationGroups(int index, OperationGroup value)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.RecommendationContent.BuildersetOperationGroups(int index, OperationGroup.Builder builderForValue)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.RecommendationContent.BuildersetOverview(com.google.protobuf.Struct value)Condensed overview information about the recommendation.RecommendationContent.BuildersetOverview(com.google.protobuf.Struct.Builder builderForValue)Condensed overview information about the recommendation.RecommendationContent.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)RecommendationContent.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<RecommendationContent.Builder>
-
clear
public RecommendationContent.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<RecommendationContent.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<RecommendationContent.Builder>
-
getDefaultInstanceForType
public RecommendationContent getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public RecommendationContent build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RecommendationContent buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RecommendationContent.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<RecommendationContent.Builder>
-
setField
public RecommendationContent.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RecommendationContent.Builder>
-
clearField
public RecommendationContent.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RecommendationContent.Builder>
-
clearOneof
public RecommendationContent.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RecommendationContent.Builder>
-
setRepeatedField
public RecommendationContent.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RecommendationContent.Builder>
-
addRepeatedField
public RecommendationContent.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RecommendationContent.Builder>
-
mergeFrom
public RecommendationContent.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RecommendationContent.Builder>
-
mergeFrom
public RecommendationContent.Builder mergeFrom(RecommendationContent other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<RecommendationContent.Builder>
-
mergeFrom
public RecommendationContent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RecommendationContent.Builder>- Throws:
IOException
-
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.v1.OperationGroup operation_groups = 2;- Specified by:
getOperationGroupsListin interfaceRecommendationContentOrBuilder
-
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.v1.OperationGroup operation_groups = 2;- Specified by:
getOperationGroupsCountin interfaceRecommendationContentOrBuilder
-
getOperationGroups
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.v1.OperationGroup operation_groups = 2;- Specified by:
getOperationGroupsin interfaceRecommendationContentOrBuilder
-
setOperationGroups
public RecommendationContent.Builder setOperationGroups(int index, OperationGroup value)
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.v1.OperationGroup operation_groups = 2;
-
setOperationGroups
public RecommendationContent.Builder setOperationGroups(int index, OperationGroup.Builder builderForValue)
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.v1.OperationGroup operation_groups = 2;
-
addOperationGroups
public RecommendationContent.Builder addOperationGroups(OperationGroup value)
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.v1.OperationGroup operation_groups = 2;
-
addOperationGroups
public RecommendationContent.Builder addOperationGroups(int index, OperationGroup value)
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.v1.OperationGroup operation_groups = 2;
-
addOperationGroups
public RecommendationContent.Builder addOperationGroups(OperationGroup.Builder builderForValue)
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.v1.OperationGroup operation_groups = 2;
-
addOperationGroups
public RecommendationContent.Builder addOperationGroups(int index, OperationGroup.Builder builderForValue)
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.v1.OperationGroup operation_groups = 2;
-
addAllOperationGroups
public RecommendationContent.Builder addAllOperationGroups(Iterable<? extends OperationGroup> values)
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.v1.OperationGroup operation_groups = 2;
-
clearOperationGroups
public RecommendationContent.Builder clearOperationGroups()
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.v1.OperationGroup operation_groups = 2;
-
removeOperationGroups
public RecommendationContent.Builder removeOperationGroups(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.v1.OperationGroup operation_groups = 2;
-
getOperationGroupsBuilder
public OperationGroup.Builder getOperationGroupsBuilder(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.v1.OperationGroup operation_groups = 2;
-
getOperationGroupsOrBuilder
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.v1.OperationGroup operation_groups = 2;- Specified by:
getOperationGroupsOrBuilderin interfaceRecommendationContentOrBuilder
-
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.v1.OperationGroup operation_groups = 2;- Specified by:
getOperationGroupsOrBuilderListin interfaceRecommendationContentOrBuilder
-
addOperationGroupsBuilder
public OperationGroup.Builder addOperationGroupsBuilder()
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.v1.OperationGroup operation_groups = 2;
-
addOperationGroupsBuilder
public OperationGroup.Builder addOperationGroupsBuilder(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.v1.OperationGroup operation_groups = 2;
-
getOperationGroupsBuilderList
public List<OperationGroup.Builder> getOperationGroupsBuilderList()
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.v1.OperationGroup operation_groups = 2;
-
hasOverview
public boolean hasOverview()
Condensed overview information about the recommendation.
.google.protobuf.Struct overview = 3;- Specified by:
hasOverviewin interfaceRecommendationContentOrBuilder- Returns:
- Whether the overview field is set.
-
getOverview
public com.google.protobuf.Struct getOverview()
Condensed overview information about the recommendation.
.google.protobuf.Struct overview = 3;- Specified by:
getOverviewin interfaceRecommendationContentOrBuilder- Returns:
- The overview.
-
setOverview
public RecommendationContent.Builder setOverview(com.google.protobuf.Struct value)
Condensed overview information about the recommendation.
.google.protobuf.Struct overview = 3;
-
setOverview
public RecommendationContent.Builder setOverview(com.google.protobuf.Struct.Builder builderForValue)
Condensed overview information about the recommendation.
.google.protobuf.Struct overview = 3;
-
mergeOverview
public RecommendationContent.Builder mergeOverview(com.google.protobuf.Struct value)
Condensed overview information about the recommendation.
.google.protobuf.Struct overview = 3;
-
clearOverview
public RecommendationContent.Builder clearOverview()
Condensed overview information about the recommendation.
.google.protobuf.Struct overview = 3;
-
getOverviewBuilder
public com.google.protobuf.Struct.Builder getOverviewBuilder()
Condensed overview information about the recommendation.
.google.protobuf.Struct overview = 3;
-
getOverviewOrBuilder
public com.google.protobuf.StructOrBuilder getOverviewOrBuilder()
Condensed overview information about the recommendation.
.google.protobuf.Struct overview = 3;- Specified by:
getOverviewOrBuilderin interfaceRecommendationContentOrBuilder
-
setUnknownFields
public final RecommendationContent.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RecommendationContent.Builder>
-
mergeUnknownFields
public final RecommendationContent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RecommendationContent.Builder>
-
-