Class FutureResourcesRecommendationOtherLocation.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FutureResourcesRecommendationOtherLocation.Builder>
com.google.cloud.compute.v1.FutureResourcesRecommendationOtherLocation.Builder
All Implemented Interfaces:
FutureResourcesRecommendationOtherLocationOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
FutureResourcesRecommendationOtherLocation

public static final class FutureResourcesRecommendationOtherLocation.Builder extends com.google.protobuf.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
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<FutureResourcesRecommendationOtherLocation.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<FutureResourcesRecommendationOtherLocation.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<FutureResourcesRecommendationOtherLocation.Builder>
    • getDefaultInstanceForType

      public FutureResourcesRecommendationOtherLocation getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public FutureResourcesRecommendationOtherLocation.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FutureResourcesRecommendationOtherLocation.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<FutureResourcesRecommendationOtherLocation.Builder>
    • mergeFrom

      public FutureResourcesRecommendationOtherLocation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<FutureResourcesRecommendationOtherLocation.Builder>
      Throws:
      IOException
    • 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;
      Specified by:
      hasDetails in interface FutureResourcesRecommendationOtherLocationOrBuilder
      Returns:
      Whether the details field is set.
    • 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;
      Specified by:
      getDetails in interface FutureResourcesRecommendationOtherLocationOrBuilder
      Returns:
      The details.
    • getDetailsBytes

      public com.google.protobuf.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;
      Specified by:
      getDetailsBytes in interface FutureResourcesRecommendationOtherLocationOrBuilder
      Returns:
      The bytes for details.
    • setDetails

       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;
      Parameters:
      value - The details to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.
    • setDetailsBytes

      public FutureResourcesRecommendationOtherLocation.Builder setDetailsBytes(com.google.protobuf.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;
      Parameters:
      value - The bytes for details to set.
      Returns:
      This builder for chaining.
    • hasStatus

      public boolean hasStatus()
       Status of recommendation in this location.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Specified by:
      hasStatus in interface FutureResourcesRecommendationOtherLocationOrBuilder
      Returns:
      Whether the status field is set.
    • getStatus

      public String getStatus()
       Status of recommendation in this location.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Specified by:
      getStatus in interface FutureResourcesRecommendationOtherLocationOrBuilder
      Returns:
      The status.
    • getStatusBytes

      public com.google.protobuf.ByteString getStatusBytes()
       Status of recommendation in this location.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Specified by:
      getStatusBytes in interface FutureResourcesRecommendationOtherLocationOrBuilder
      Returns:
      The bytes for status.
    • setStatus

       Status of recommendation in this location.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Parameters:
      value - The status to set.
      Returns:
      This builder for chaining.
    • clearStatus

       Status of recommendation in this location.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Returns:
      This builder for chaining.
    • setStatusBytes

      public FutureResourcesRecommendationOtherLocation.Builder setStatusBytes(com.google.protobuf.ByteString value)
       Status of recommendation in this location.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Parameters:
      value - The bytes for status to set.
      Returns:
      This builder for chaining.