Class FutureResourcesRecommendationOtherLocation.Builder (1.91.0)
Version 1.91.0keyboard_arrow_down
public static final class FutureResourcesRecommendationOtherLocation . Builder extends GeneratedMessageV3 . Builder<FutureResourcesRecommendationOtherLocation . Builder > implements FutureResourcesRecommendationOtherLocationOrBuilder
Information about recommendation status for locations
that were allowed but not used by the response.
Protobuf type google.cloud.compute.v1.FutureResourcesRecommendationOtherLocation
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FutureResourcesRecommendationOtherLocation . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public FutureResourcesRecommendationOtherLocation build ()
buildPartial()
public FutureResourcesRecommendationOtherLocation buildPartial ()
clear()
public FutureResourcesRecommendationOtherLocation . Builder clear ()
Overrides
clearDetails()
public FutureResourcesRecommendationOtherLocation . Builder clearDetails ()
Details (human readable) describing the situation.
For example, if status is CONDITION_NOT_MET, then
details contain information about the parameters of the time window
that did not meet the required conditions.
optional string details = 483979842;
clearField(Descriptors.FieldDescriptor field)
public FutureResourcesRecommendationOtherLocation . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public FutureResourcesRecommendationOtherLocation . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearStatus()
public FutureResourcesRecommendationOtherLocation . Builder clearStatus ()
Status of recommendation in this location.
Check the Status enum for the list of possible values.
optional string status = 181260274;
clone()
public FutureResourcesRecommendationOtherLocation . Builder clone ()
Overrides
getDefaultInstanceForType()
public FutureResourcesRecommendationOtherLocation getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getDetails()
public String getDetails ()
Details (human readable) describing the situation.
For example, if status is CONDITION_NOT_MET, then
details contain information about the parameters of the time window
that did not meet the required conditions.
optional string details = 483979842;
Returns
Type
Description
String
The details.
getDetailsBytes()
public ByteString getDetailsBytes ()
Details (human readable) describing the situation.
For example, if status is CONDITION_NOT_MET, then
details contain information about the parameters of the time window
that did not meet the required conditions.
optional string details = 483979842;
Returns
Type
Description
ByteString
The bytes for details.
getStatus()
public String getStatus ()
Status of recommendation in this location.
Check the Status enum for the list of possible values.
optional string status = 181260274;
Returns
Type
Description
String
The status.
getStatusBytes()
public ByteString getStatusBytes ()
Status of recommendation in this location.
Check the Status enum for the list of possible values.
optional string status = 181260274;
Returns
Type
Description
ByteString
The bytes for status.
hasDetails()
public boolean hasDetails ()
Details (human readable) describing the situation.
For example, if status is CONDITION_NOT_MET, then
details contain information about the parameters of the time window
that did not meet the required conditions.
optional string details = 483979842;
Returns
Type
Description
boolean
Whether the details field is set.
hasStatus()
public boolean hasStatus ()
Status of recommendation in this location.
Check the Status enum for the list of possible values.
optional string status = 181260274;
Returns
Type
Description
boolean
Whether the status field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(FutureResourcesRecommendationOtherLocation other)
public FutureResourcesRecommendationOtherLocation . Builder mergeFrom ( FutureResourcesRecommendationOtherLocation other )
public FutureResourcesRecommendationOtherLocation . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public FutureResourcesRecommendationOtherLocation . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FutureResourcesRecommendationOtherLocation . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setDetails(String value)
public FutureResourcesRecommendationOtherLocation . Builder setDetails ( String value )
Details (human readable) describing the situation.
For example, if status is CONDITION_NOT_MET, then
details contain information about the parameters of the time window
that did not meet the required conditions.
optional string details = 483979842;
Parameter
Name
Description
value
String The details to set.
setDetailsBytes(ByteString value)
public FutureResourcesRecommendationOtherLocation . Builder setDetailsBytes ( ByteString value )
Details (human readable) describing the situation.
For example, if status is CONDITION_NOT_MET, then
details contain information about the parameters of the time window
that did not meet the required conditions.
optional string details = 483979842;
Parameter
Name
Description
value
ByteString The bytes for details to set.
setField(Descriptors.FieldDescriptor field, Object value)
public FutureResourcesRecommendationOtherLocation . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FutureResourcesRecommendationOtherLocation . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setStatus(String value)
public FutureResourcesRecommendationOtherLocation . Builder setStatus ( String value )
Status of recommendation in this location.
Check the Status enum for the list of possible values.
optional string status = 181260274;
Parameter
Name
Description
value
String The status to set.
setStatusBytes(ByteString value)
public FutureResourcesRecommendationOtherLocation . Builder setStatusBytes ( ByteString value )
Status of recommendation in this location.
Check the Status enum for the list of possible values.
optional string status = 181260274;
Parameter
Name
Description
value
ByteString The bytes for status to set.
setUnknownFields(UnknownFieldSet unknownFields)
public final FutureResourcesRecommendationOtherLocation . Builder setUnknownFields ( UnknownFieldSet unknownFields )
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."],[],[]]