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.v1beta1.RecommendationContent
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.v1beta1.OperationGroup operation_groups = 2;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.recommender.v1beta1.OperationGroup>
|
Returns
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.v1beta1.OperationGroup operation_groups = 2;
Parameter
Returns
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.v1beta1.OperationGroup operation_groups = 2;
Parameter
Returns
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.v1beta1.OperationGroup operation_groups = 2;
Parameters
Returns
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.v1beta1.OperationGroup operation_groups = 2;
Parameters
Returns
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;
Returns
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.v1beta1.OperationGroup operation_groups = 2;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RecommendationContent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public RecommendationContent build()
Returns
buildPartial()
public RecommendationContent buildPartial()
Returns
clear()
public RecommendationContent.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public RecommendationContent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RecommendationContent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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.v1beta1.OperationGroup operation_groups = 2;
Returns
clone()
public RecommendationContent.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public RecommendationContent getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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.v1beta1.OperationGroup operation_groups = 2;
Parameter
Returns
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.v1beta1.OperationGroup operation_groups = 2;
Parameter
Returns
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;
Returns
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;
Returns
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;
Returns
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.v1beta1.OperationGroup operation_groups = 2;
Parameter
Returns
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;
Returns
Type | Description |
List<? extends com.google.cloud.recommender.v1beta1.OperationGroupOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(RecommendationContent other)
public RecommendationContent.Builder mergeFrom(RecommendationContent other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RecommendationContent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RecommendationContent.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RecommendationContent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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.v1beta1.OperationGroup operation_groups = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public RecommendationContent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.v1beta1.OperationGroup operation_groups = 2;
Parameters
Returns
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.v1beta1.OperationGroup operation_groups = 2;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RecommendationContent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RecommendationContent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides