public static final class CalendarModeAdviceResponse.Builder extends GeneratedMessage.Builder<CalendarModeAdviceResponse.Builder> implements CalendarModeAdviceResponseOrBuilder
A response containing the recommended way of creating the specified resources
in the future. It contains (will contain) multiple recommendations that can
be analyzed by the customer and the best one can be picked.
Protobuf type google.cloud.compute.v1.CalendarModeAdviceResponse
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllRecommendations(Iterable<? extends CalendarModeRecommendation> values)
public CalendarModeAdviceResponse.Builder addAllRecommendations(Iterable<? extends CalendarModeRecommendation> values)
Recommendations where, how and when to create the requested resources
in order to maximize their obtainability and minimize cost.
repeated .google.cloud.compute.v1.CalendarModeRecommendation recommendations = 324515802;
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.compute.v1.CalendarModeRecommendation>
|
addRecommendations(CalendarModeRecommendation value)
public CalendarModeAdviceResponse.Builder addRecommendations(CalendarModeRecommendation value)
Recommendations where, how and when to create the requested resources
in order to maximize their obtainability and minimize cost.
repeated .google.cloud.compute.v1.CalendarModeRecommendation recommendations = 324515802;
addRecommendations(CalendarModeRecommendation.Builder builderForValue)
public CalendarModeAdviceResponse.Builder addRecommendations(CalendarModeRecommendation.Builder builderForValue)
Recommendations where, how and when to create the requested resources
in order to maximize their obtainability and minimize cost.
repeated .google.cloud.compute.v1.CalendarModeRecommendation recommendations = 324515802;
addRecommendations(int index, CalendarModeRecommendation value)
public CalendarModeAdviceResponse.Builder addRecommendations(int index, CalendarModeRecommendation value)
Recommendations where, how and when to create the requested resources
in order to maximize their obtainability and minimize cost.
repeated .google.cloud.compute.v1.CalendarModeRecommendation recommendations = 324515802;
addRecommendations(int index, CalendarModeRecommendation.Builder builderForValue)
public CalendarModeAdviceResponse.Builder addRecommendations(int index, CalendarModeRecommendation.Builder builderForValue)
Recommendations where, how and when to create the requested resources
in order to maximize their obtainability and minimize cost.
repeated .google.cloud.compute.v1.CalendarModeRecommendation recommendations = 324515802;
addRecommendationsBuilder()
public CalendarModeRecommendation.Builder addRecommendationsBuilder()
Recommendations where, how and when to create the requested resources
in order to maximize their obtainability and minimize cost.
repeated .google.cloud.compute.v1.CalendarModeRecommendation recommendations = 324515802;
addRecommendationsBuilder(int index)
public CalendarModeRecommendation.Builder addRecommendationsBuilder(int index)
Recommendations where, how and when to create the requested resources
in order to maximize their obtainability and minimize cost.
repeated .google.cloud.compute.v1.CalendarModeRecommendation recommendations = 324515802;
| Parameter |
| Name |
Description |
index |
int
|
build()
public CalendarModeAdviceResponse build()
buildPartial()
public CalendarModeAdviceResponse buildPartial()
clear()
public CalendarModeAdviceResponse.Builder clear()
Overrides
clearRecommendations()
public CalendarModeAdviceResponse.Builder clearRecommendations()
Recommendations where, how and when to create the requested resources
in order to maximize their obtainability and minimize cost.
repeated .google.cloud.compute.v1.CalendarModeRecommendation recommendations = 324515802;
getDefaultInstanceForType()
public CalendarModeAdviceResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getRecommendations(int index)
public CalendarModeRecommendation getRecommendations(int index)
Recommendations where, how and when to create the requested resources
in order to maximize their obtainability and minimize cost.
repeated .google.cloud.compute.v1.CalendarModeRecommendation recommendations = 324515802;
| Parameter |
| Name |
Description |
index |
int
|
getRecommendationsBuilder(int index)
public CalendarModeRecommendation.Builder getRecommendationsBuilder(int index)
Recommendations where, how and when to create the requested resources
in order to maximize their obtainability and minimize cost.
repeated .google.cloud.compute.v1.CalendarModeRecommendation recommendations = 324515802;
| Parameter |
| Name |
Description |
index |
int
|
getRecommendationsBuilderList()
public List<CalendarModeRecommendation.Builder> getRecommendationsBuilderList()
Recommendations where, how and when to create the requested resources
in order to maximize their obtainability and minimize cost.
repeated .google.cloud.compute.v1.CalendarModeRecommendation recommendations = 324515802;
getRecommendationsCount()
public int getRecommendationsCount()
Recommendations where, how and when to create the requested resources
in order to maximize their obtainability and minimize cost.
repeated .google.cloud.compute.v1.CalendarModeRecommendation recommendations = 324515802;
| Returns |
| Type |
Description |
int |
|
getRecommendationsList()
public List<CalendarModeRecommendation> getRecommendationsList()
Recommendations where, how and when to create the requested resources
in order to maximize their obtainability and minimize cost.
repeated .google.cloud.compute.v1.CalendarModeRecommendation recommendations = 324515802;
getRecommendationsOrBuilder(int index)
public CalendarModeRecommendationOrBuilder getRecommendationsOrBuilder(int index)
Recommendations where, how and when to create the requested resources
in order to maximize their obtainability and minimize cost.
repeated .google.cloud.compute.v1.CalendarModeRecommendation recommendations = 324515802;
| Parameter |
| Name |
Description |
index |
int
|
getRecommendationsOrBuilderList()
public List<? extends CalendarModeRecommendationOrBuilder> getRecommendationsOrBuilderList()
Recommendations where, how and when to create the requested resources
in order to maximize their obtainability and minimize cost.
repeated .google.cloud.compute.v1.CalendarModeRecommendation recommendations = 324515802;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.compute.v1.CalendarModeRecommendationOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CalendarModeAdviceResponse other)
public CalendarModeAdviceResponse.Builder mergeFrom(CalendarModeAdviceResponse other)
public CalendarModeAdviceResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CalendarModeAdviceResponse.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
removeRecommendations(int index)
public CalendarModeAdviceResponse.Builder removeRecommendations(int index)
Recommendations where, how and when to create the requested resources
in order to maximize their obtainability and minimize cost.
repeated .google.cloud.compute.v1.CalendarModeRecommendation recommendations = 324515802;
| Parameter |
| Name |
Description |
index |
int
|
setRecommendations(int index, CalendarModeRecommendation value)
public CalendarModeAdviceResponse.Builder setRecommendations(int index, CalendarModeRecommendation value)
Recommendations where, how and when to create the requested resources
in order to maximize their obtainability and minimize cost.
repeated .google.cloud.compute.v1.CalendarModeRecommendation recommendations = 324515802;
setRecommendations(int index, CalendarModeRecommendation.Builder builderForValue)
public CalendarModeAdviceResponse.Builder setRecommendations(int index, CalendarModeRecommendation.Builder builderForValue)
Recommendations where, how and when to create the requested resources
in order to maximize their obtainability and minimize cost.
repeated .google.cloud.compute.v1.CalendarModeRecommendation recommendations = 324515802;