Class FutureResourcesRecommendationOtherLocation.Builder (1.93.0)

public static final class FutureResourcesRecommendationOtherLocation.Builder extends GeneratedMessage.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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public FutureResourcesRecommendationOtherLocation build()
Returns
Type Description
FutureResourcesRecommendationOtherLocation

buildPartial()

public FutureResourcesRecommendationOtherLocation buildPartial()
Returns
Type Description
FutureResourcesRecommendationOtherLocation

clear()

public FutureResourcesRecommendationOtherLocation.Builder clear()
Returns
Type Description
FutureResourcesRecommendationOtherLocation.Builder
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;

Returns
Type Description
FutureResourcesRecommendationOtherLocation.Builder

This builder for chaining.

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;

Returns
Type Description
FutureResourcesRecommendationOtherLocation.Builder

This builder for chaining.

getDefaultInstanceForType()

public FutureResourcesRecommendationOtherLocation getDefaultInstanceForType()
Returns
Type Description
FutureResourcesRecommendationOtherLocation

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FutureResourcesRecommendationOtherLocation other)

public FutureResourcesRecommendationOtherLocation.Builder mergeFrom(FutureResourcesRecommendationOtherLocation other)
Parameter
Name Description
other FutureResourcesRecommendationOtherLocation
Returns
Type Description
FutureResourcesRecommendationOtherLocation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FutureResourcesRecommendationOtherLocation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FutureResourcesRecommendationOtherLocation.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FutureResourcesRecommendationOtherLocation.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FutureResourcesRecommendationOtherLocation.Builder
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.

Returns
Type Description
FutureResourcesRecommendationOtherLocation.Builder

This builder for chaining.

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.

Returns
Type Description
FutureResourcesRecommendationOtherLocation.Builder

This builder for chaining.

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.

Returns
Type Description
FutureResourcesRecommendationOtherLocation.Builder

This builder for chaining.

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.

Returns
Type Description
FutureResourcesRecommendationOtherLocation.Builder

This builder for chaining.