public static final class RecommendationContent.Builder extends GeneratedMessage.Builder<RecommendationContent.Builder> implements RecommendationContentOrBuilderContains what resources are changing and how they are changing.
Protobuf type google.cloud.recommender.v1.RecommendationContent
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RecommendationContent.BuilderImplements
RecommendationContentOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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> |
| Returns | |
|---|---|
| Type | Description |
RecommendationContent.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
OperationGroup |
| Returns | |
|---|---|
| Type | Description |
RecommendationContent.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
OperationGroup.Builder |
| Returns | |
|---|---|
| Type | Description |
RecommendationContent.Builder |
|
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
OperationGroup |
| Returns | |
|---|---|
| Type | Description |
RecommendationContent.Builder |
|
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
OperationGroup.Builder |
| Returns | |
|---|---|
| Type | Description |
RecommendationContent.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
OperationGroup.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
OperationGroup.Builder |
|
build()
public RecommendationContent build()| Returns | |
|---|---|
| Type | Description |
RecommendationContent |
|
buildPartial()
public RecommendationContent buildPartial()| Returns | |
|---|---|
| Type | Description |
RecommendationContent |
|
clear()
public RecommendationContent.Builder clear()| Returns | |
|---|---|
| Type | Description |
RecommendationContent.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
RecommendationContent.Builder |
|
clearOverview()
public RecommendationContent.Builder clearOverview()Condensed overview information about the recommendation.
.google.protobuf.Struct overview = 3;
| Returns | |
|---|---|
| Type | Description |
RecommendationContent.Builder |
|
getDefaultInstanceForType()
public RecommendationContent getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RecommendationContent |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 |
| Returns | |
|---|---|
| Type | Description |
OperationGroup |
|
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 |
| Returns | |
|---|---|
| Type | Description |
OperationGroup.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
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;
| Returns | |
|---|---|
| Type | Description |
List<OperationGroup> |
|
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 |
| Returns | |
|---|---|
| Type | Description |
OperationGroupOrBuilder |
|
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;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getOverviewOrBuilder()
public StructOrBuilder getOverviewOrBuilder()Condensed overview information about the recommendation.
.google.protobuf.Struct overview = 3;
| Returns | |
|---|---|
| Type | Description |
StructOrBuilder |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RecommendationContent other)
public RecommendationContent.Builder mergeFrom(RecommendationContent other)| Parameter | |
|---|---|
| Name | Description |
other |
RecommendationContent |
| Returns | |
|---|---|
| Type | Description |
RecommendationContent.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RecommendationContent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RecommendationContent.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RecommendationContent.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RecommendationContent.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
RecommendationContent.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
RecommendationContent.Builder |
|
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
OperationGroup |
| Returns | |
|---|---|
| Type | Description |
RecommendationContent.Builder |
|
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
OperationGroup.Builder |
| Returns | |
|---|---|
| Type | Description |
RecommendationContent.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
RecommendationContent.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
RecommendationContent.Builder |
|