public static final class CapacityAdviceResponse.Builder extends GeneratedMessage.Builder<CapacityAdviceResponse.Builder> implements CapacityAdviceResponseOrBuilder
A response contains scoring recommendations.
Protobuf type google.cloud.compute.v1.CapacityAdviceResponse
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 CapacityAdviceResponseRecommendation> values)
public CapacityAdviceResponse.Builder addAllRecommendations(Iterable<? extends CapacityAdviceResponseRecommendation> values)
Initially the API will provide one recommendation which balances the
individual scores according to the service provider's preference.
repeated .google.cloud.compute.v1.CapacityAdviceResponseRecommendation recommendations = 324515802;
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.compute.v1.CapacityAdviceResponseRecommendation>
|
addRecommendations(CapacityAdviceResponseRecommendation value)
public CapacityAdviceResponse.Builder addRecommendations(CapacityAdviceResponseRecommendation value)
Initially the API will provide one recommendation which balances the
individual scores according to the service provider's preference.
repeated .google.cloud.compute.v1.CapacityAdviceResponseRecommendation recommendations = 324515802;
addRecommendations(CapacityAdviceResponseRecommendation.Builder builderForValue)
public CapacityAdviceResponse.Builder addRecommendations(CapacityAdviceResponseRecommendation.Builder builderForValue)
Initially the API will provide one recommendation which balances the
individual scores according to the service provider's preference.
repeated .google.cloud.compute.v1.CapacityAdviceResponseRecommendation recommendations = 324515802;
addRecommendations(int index, CapacityAdviceResponseRecommendation value)
public CapacityAdviceResponse.Builder addRecommendations(int index, CapacityAdviceResponseRecommendation value)
Initially the API will provide one recommendation which balances the
individual scores according to the service provider's preference.
repeated .google.cloud.compute.v1.CapacityAdviceResponseRecommendation recommendations = 324515802;
addRecommendations(int index, CapacityAdviceResponseRecommendation.Builder builderForValue)
public CapacityAdviceResponse.Builder addRecommendations(int index, CapacityAdviceResponseRecommendation.Builder builderForValue)
Initially the API will provide one recommendation which balances the
individual scores according to the service provider's preference.
repeated .google.cloud.compute.v1.CapacityAdviceResponseRecommendation recommendations = 324515802;
addRecommendationsBuilder()
public CapacityAdviceResponseRecommendation.Builder addRecommendationsBuilder()
Initially the API will provide one recommendation which balances the
individual scores according to the service provider's preference.
repeated .google.cloud.compute.v1.CapacityAdviceResponseRecommendation recommendations = 324515802;
addRecommendationsBuilder(int index)
public CapacityAdviceResponseRecommendation.Builder addRecommendationsBuilder(int index)
Initially the API will provide one recommendation which balances the
individual scores according to the service provider's preference.
repeated .google.cloud.compute.v1.CapacityAdviceResponseRecommendation recommendations = 324515802;
| Parameter |
| Name |
Description |
index |
int
|
build()
public CapacityAdviceResponse build()
buildPartial()
public CapacityAdviceResponse buildPartial()
clear()
public CapacityAdviceResponse.Builder clear()
Overrides
clearRecommendations()
public CapacityAdviceResponse.Builder clearRecommendations()
Initially the API will provide one recommendation which balances the
individual scores according to the service provider's preference.
repeated .google.cloud.compute.v1.CapacityAdviceResponseRecommendation recommendations = 324515802;
getDefaultInstanceForType()
public CapacityAdviceResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getRecommendations(int index)
public CapacityAdviceResponseRecommendation getRecommendations(int index)
Initially the API will provide one recommendation which balances the
individual scores according to the service provider's preference.
repeated .google.cloud.compute.v1.CapacityAdviceResponseRecommendation recommendations = 324515802;
| Parameter |
| Name |
Description |
index |
int
|
getRecommendationsBuilder(int index)
public CapacityAdviceResponseRecommendation.Builder getRecommendationsBuilder(int index)
Initially the API will provide one recommendation which balances the
individual scores according to the service provider's preference.
repeated .google.cloud.compute.v1.CapacityAdviceResponseRecommendation recommendations = 324515802;
| Parameter |
| Name |
Description |
index |
int
|
getRecommendationsBuilderList()
public List<CapacityAdviceResponseRecommendation.Builder> getRecommendationsBuilderList()
Initially the API will provide one recommendation which balances the
individual scores according to the service provider's preference.
repeated .google.cloud.compute.v1.CapacityAdviceResponseRecommendation recommendations = 324515802;
getRecommendationsCount()
public int getRecommendationsCount()
Initially the API will provide one recommendation which balances the
individual scores according to the service provider's preference.
repeated .google.cloud.compute.v1.CapacityAdviceResponseRecommendation recommendations = 324515802;
| Returns |
| Type |
Description |
int |
|
getRecommendationsList()
public List<CapacityAdviceResponseRecommendation> getRecommendationsList()
Initially the API will provide one recommendation which balances the
individual scores according to the service provider's preference.
repeated .google.cloud.compute.v1.CapacityAdviceResponseRecommendation recommendations = 324515802;
getRecommendationsOrBuilder(int index)
public CapacityAdviceResponseRecommendationOrBuilder getRecommendationsOrBuilder(int index)
Initially the API will provide one recommendation which balances the
individual scores according to the service provider's preference.
repeated .google.cloud.compute.v1.CapacityAdviceResponseRecommendation recommendations = 324515802;
| Parameter |
| Name |
Description |
index |
int
|
getRecommendationsOrBuilderList()
public List<? extends CapacityAdviceResponseRecommendationOrBuilder> getRecommendationsOrBuilderList()
Initially the API will provide one recommendation which balances the
individual scores according to the service provider's preference.
repeated .google.cloud.compute.v1.CapacityAdviceResponseRecommendation recommendations = 324515802;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.compute.v1.CapacityAdviceResponseRecommendationOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CapacityAdviceResponse other)
public CapacityAdviceResponse.Builder mergeFrom(CapacityAdviceResponse other)
public CapacityAdviceResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CapacityAdviceResponse.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
removeRecommendations(int index)
public CapacityAdviceResponse.Builder removeRecommendations(int index)
Initially the API will provide one recommendation which balances the
individual scores according to the service provider's preference.
repeated .google.cloud.compute.v1.CapacityAdviceResponseRecommendation recommendations = 324515802;
| Parameter |
| Name |
Description |
index |
int
|
setRecommendations(int index, CapacityAdviceResponseRecommendation value)
public CapacityAdviceResponse.Builder setRecommendations(int index, CapacityAdviceResponseRecommendation value)
Initially the API will provide one recommendation which balances the
individual scores according to the service provider's preference.
repeated .google.cloud.compute.v1.CapacityAdviceResponseRecommendation recommendations = 324515802;
setRecommendations(int index, CapacityAdviceResponseRecommendation.Builder builderForValue)
public CapacityAdviceResponse.Builder setRecommendations(int index, CapacityAdviceResponseRecommendation.Builder builderForValue)
Initially the API will provide one recommendation which balances the
individual scores according to the service provider's preference.
repeated .google.cloud.compute.v1.CapacityAdviceResponseRecommendation recommendations = 324515802;