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.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.GeneratedMessageV3.Builder<RecommendationContent.Builder> implements RecommendationContentOrBuilder
Contains what resources are changing and how they are changing.
Protobuf typegoogle.cloud.recommender.v1beta1.RecommendationContent
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.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.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.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.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.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.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.RecommendationContent.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RecommendationContent
build()
RecommendationContent
buildPartial()
RecommendationContent.Builder
clear()
RecommendationContent.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
RecommendationContent.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
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.RecommendationContent.Builder
clearOverview()
Condensed overview information about the recommendation.RecommendationContent.Builder
clone()
RecommendationContent
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
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.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.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.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.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.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.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.Struct
getOverview()
Condensed overview information about the recommendation.com.google.protobuf.Struct.Builder
getOverviewBuilder()
Condensed overview information about the recommendation.com.google.protobuf.StructOrBuilder
getOverviewOrBuilder()
Condensed overview information about the recommendation.boolean
hasOverview()
Condensed overview information about the recommendation.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
RecommendationContent.Builder
mergeFrom(RecommendationContent other)
RecommendationContent.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RecommendationContent.Builder
mergeFrom(com.google.protobuf.Message other)
RecommendationContent.Builder
mergeOverview(com.google.protobuf.Struct value)
Condensed overview information about the recommendation.RecommendationContent.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
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.RecommendationContent.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
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.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.RecommendationContent.Builder
setOverview(com.google.protobuf.Struct value)
Condensed overview information about the recommendation.RecommendationContent.Builder
setOverview(com.google.protobuf.Struct.Builder builderForValue)
Condensed overview information about the recommendation.RecommendationContent.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
RecommendationContent.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<RecommendationContent.Builder>
-
clear
public RecommendationContent.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<RecommendationContent.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<RecommendationContent.Builder>
-
getDefaultInstanceForType
public RecommendationContent getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public RecommendationContent build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RecommendationContent buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RecommendationContent.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<RecommendationContent.Builder>
-
setField
public RecommendationContent.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RecommendationContent.Builder>
-
clearField
public RecommendationContent.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RecommendationContent.Builder>
-
clearOneof
public RecommendationContent.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<RecommendationContent.Builder>
-
setRepeatedField
public RecommendationContent.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RecommendationContent.Builder>
-
addRepeatedField
public RecommendationContent.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RecommendationContent.Builder>
-
mergeFrom
public RecommendationContent.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RecommendationContent.Builder>
-
mergeFrom
public RecommendationContent.Builder mergeFrom(RecommendationContent other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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.v1beta1.OperationGroup operation_groups = 2;
- Specified by:
getOperationGroupsList
in 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:
getOperationGroupsCount
in 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.v1beta1.OperationGroup operation_groups = 2;
- Specified by:
getOperationGroups
in 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.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
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.v1beta1.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.v1beta1.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.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
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.v1beta1.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.v1beta1.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.v1beta1.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.v1beta1.OperationGroup operation_groups = 2;
- Specified by:
getOperationGroupsOrBuilder
in 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.v1beta1.OperationGroup operation_groups = 2;
- Specified by:
getOperationGroupsOrBuilderList
in 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.v1beta1.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.v1beta1.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.v1beta1.OperationGroup operation_groups = 2;
-
hasOverview
public boolean hasOverview()
Condensed overview information about the recommendation.
.google.protobuf.Struct overview = 3;
- Specified by:
hasOverview
in 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:
getOverview
in 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:
getOverviewOrBuilder
in interfaceRecommendationContentOrBuilder
-
setUnknownFields
public final RecommendationContent.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RecommendationContent.Builder>
-
mergeUnknownFields
public final RecommendationContent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RecommendationContent.Builder>
-
-