public static final class CalendarModeAdviceResponse.Builder extends GeneratedMessageV3.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.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CalendarModeAdviceResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CalendarModeAdviceResponse build()
buildPartial()
public CalendarModeAdviceResponse buildPartial()
clear()
public CalendarModeAdviceResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CalendarModeAdviceResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CalendarModeAdviceResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public CalendarModeAdviceResponse.Builder clone()
Overrides
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 GeneratedMessageV3.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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CalendarModeAdviceResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public CalendarModeAdviceResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CalendarModeAdviceResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CalendarModeAdviceResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides