Class RecommendationContent.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RecommendationContent.Builder>
com.google.cloud.recommender.v1beta1.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.GeneratedMessage.Builder<RecommendationContent.Builder>
implements RecommendationContentOrBuilder
Contains what resources are changing and how they are changing.Protobuf type
google.cloud.recommender.v1beta1.RecommendationContent-
Method Summary
Modifier and TypeMethodDescriptionaddAllOperationGroups(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.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.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.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.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.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.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.build()clear()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.Condensed overview information about the recommendation.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetOperationGroups(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.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.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.intOperations 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.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.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.List<? extends OperationGroupOrBuilder>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.StructCondensed overview information about the recommendation.com.google.protobuf.Struct.BuilderCondensed overview information about the recommendation.com.google.protobuf.StructOrBuilderCondensed overview information about the recommendation.booleanCondensed overview information about the recommendation.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(RecommendationContent other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeOverview(com.google.protobuf.Struct value) Condensed overview information about the recommendation.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.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.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.setOverview(com.google.protobuf.Struct value) Condensed overview information about the recommendation.setOverview(com.google.protobuf.Struct.Builder builderForValue) Condensed overview information about the recommendation.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<RecommendationContent.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<RecommendationContent.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RecommendationContent.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.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
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;- 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.v1beta1.OperationGroup operation_groups = 2;- Specified by:
getOperationGroupsCountin interfaceRecommendationContentOrBuilder
-
getOperationGroups
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;- Specified by:
getOperationGroupsin interfaceRecommendationContentOrBuilder
-
setOperationGroups
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; -
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.v1beta1.OperationGroup operation_groups = 2; -
addOperationGroups
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; -
addOperationGroups
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; -
addOperationGroups
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; -
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.v1beta1.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.v1beta1.OperationGroup operation_groups = 2; -
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.v1beta1.OperationGroup operation_groups = 2; -
removeOperationGroups
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; -
getOperationGroupsBuilder
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; -
getOperationGroupsOrBuilder
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;- Specified by:
getOperationGroupsOrBuilderin interfaceRecommendationContentOrBuilder
-
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;- Specified by:
getOperationGroupsOrBuilderListin interfaceRecommendationContentOrBuilder
-
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.v1beta1.OperationGroup operation_groups = 2; -
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.v1beta1.OperationGroup operation_groups = 2; -
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.v1beta1.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
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
Condensed overview information about the recommendation.
.google.protobuf.Struct overview = 3; -
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
-