Class CalendarModeAdviceResponse (1.92.0)
Version latestkeyboard_arrow_down
public final class CalendarModeAdviceResponse extends GeneratedMessageV3 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.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
RECOMMENDATIONS_FIELD_NUMBER
public static final int RECOMMENDATIONS_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static CalendarModeAdviceResponse getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static CalendarModeAdviceResponse . Builder newBuilder ()
newBuilder(CalendarModeAdviceResponse prototype)
public static CalendarModeAdviceResponse . Builder newBuilder ( CalendarModeAdviceResponse prototype )
public static CalendarModeAdviceResponse parseDelimitedFrom ( InputStream input )
public static CalendarModeAdviceResponse parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static CalendarModeAdviceResponse parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CalendarModeAdviceResponse parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static CalendarModeAdviceResponse parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CalendarModeAdviceResponse parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static CalendarModeAdviceResponse parseFrom ( CodedInputStream input )
public static CalendarModeAdviceResponse parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static CalendarModeAdviceResponse parseFrom ( InputStream input )
public static CalendarModeAdviceResponse parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static CalendarModeAdviceResponse parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CalendarModeAdviceResponse parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<CalendarModeAdviceResponse> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public CalendarModeAdviceResponse getDefaultInstanceForType ()
getParserForType()
public Parser<CalendarModeAdviceResponse> getParserForType ()
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
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 >
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public CalendarModeAdviceResponse . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CalendarModeAdviceResponse . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public CalendarModeAdviceResponse . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-24 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-01-24 UTC."],[],[]]