public static final class RecommendationContent.Builder extends GeneratedMessageV3.Builder<RecommendationContent.Builder> implements RecommendationContentOrBuilder
Contains what resources are changing and how they are changing.
Protobuf type google.cloud.recommender.v1.RecommendationContent
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
addAllOperationGroups(Iterable<? extends OperationGroup> values)
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;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.recommender.v1.OperationGroup>
|
addOperationGroups(OperationGroup value)
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(OperationGroup.Builder builderForValue)
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(int index, OperationGroup value)
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(int index, OperationGroup.Builder builderForValue)
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;
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(int index)
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;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RecommendationContent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RecommendationContent build()
buildPartial()
public RecommendationContent buildPartial()
clear()
public RecommendationContent.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public RecommendationContent.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RecommendationContent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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;
clearOverview()
public RecommendationContent.Builder clearOverview()
Condensed overview information about the recommendation.
.google.protobuf.Struct overview = 3;
clone()
public RecommendationContent.Builder clone()
Overrides
getDefaultInstanceForType()
public RecommendationContent getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getOperationGroups(int index)
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;
Parameter |
---|
Name | Description |
index | int
|
getOperationGroupsBuilder(int index)
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;
Parameter |
---|
Name | Description |
index | int
|
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;
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;
Returns |
---|
Type | Description |
int | |
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;
getOperationGroupsOrBuilder(int index)
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;
Parameter |
---|
Name | Description |
index | int
|
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;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.recommender.v1.OperationGroupOrBuilder> | |
getOverview()
public Struct getOverview()
Condensed overview information about the recommendation.
.google.protobuf.Struct overview = 3;
Returns |
---|
Type | Description |
Struct | The overview.
|
getOverviewBuilder()
public Struct.Builder getOverviewBuilder()
Condensed overview information about the recommendation.
.google.protobuf.Struct overview = 3;
getOverviewOrBuilder()
public StructOrBuilder getOverviewOrBuilder()
Condensed overview information about the recommendation.
.google.protobuf.Struct overview = 3;
hasOverview()
public boolean hasOverview()
Condensed overview information about the recommendation.
.google.protobuf.Struct overview = 3;
Returns |
---|
Type | Description |
boolean | Whether the overview field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(RecommendationContent other)
public RecommendationContent.Builder mergeFrom(RecommendationContent other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RecommendationContent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RecommendationContent.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeOverview(Struct value)
public RecommendationContent.Builder mergeOverview(Struct value)
Condensed overview information about the recommendation.
.google.protobuf.Struct overview = 3;
Parameter |
---|
Name | Description |
value | Struct
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RecommendationContent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeOperationGroups(int index)
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;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public RecommendationContent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setOperationGroups(int index, OperationGroup value)
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(int index, OperationGroup.Builder builderForValue)
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;
setOverview(Struct value)
public RecommendationContent.Builder setOverview(Struct value)
Condensed overview information about the recommendation.
.google.protobuf.Struct overview = 3;
Parameter |
---|
Name | Description |
value | Struct
|
setOverview(Struct.Builder builderForValue)
public RecommendationContent.Builder setOverview(Struct.Builder builderForValue)
Condensed overview information about the recommendation.
.google.protobuf.Struct overview = 3;
Parameter |
---|
Name | Description |
builderForValue | Builder
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RecommendationContent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RecommendationContent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides