Class ComputeEngineMigrationTarget.Builder

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

public static final class ComputeEngineMigrationTarget.Builder extends com.google.protobuf.GeneratedMessage.Builder<ComputeEngineMigrationTarget.Builder> implements ComputeEngineMigrationTargetOrBuilder
 Compute engine migration target.
 
Protobuf type google.cloud.migrationcenter.v1.ComputeEngineMigrationTarget
  • 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<ComputeEngineMigrationTarget.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<ComputeEngineMigrationTarget.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<ComputeEngineMigrationTarget.Builder>
    • getDefaultInstanceForType

      public ComputeEngineMigrationTarget 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

      public ComputeEngineMigrationTarget buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public ComputeEngineMigrationTarget.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<ComputeEngineMigrationTarget.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<ComputeEngineMigrationTarget.Builder>
    • mergeFrom

      public ComputeEngineMigrationTarget.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<ComputeEngineMigrationTarget.Builder>
      Throws:
      IOException
    • hasShape

      public boolean hasShape()
       Description of the suggested shape for the migration target.
       
      .google.cloud.migrationcenter.v1.ComputeEngineShapeDescriptor shape = 1;
      Specified by:
      hasShape in interface ComputeEngineMigrationTargetOrBuilder
      Returns:
      Whether the shape field is set.
    • getShape

      public ComputeEngineShapeDescriptor getShape()
       Description of the suggested shape for the migration target.
       
      .google.cloud.migrationcenter.v1.ComputeEngineShapeDescriptor shape = 1;
      Specified by:
      getShape in interface ComputeEngineMigrationTargetOrBuilder
      Returns:
      The shape.
    • setShape

       Description of the suggested shape for the migration target.
       
      .google.cloud.migrationcenter.v1.ComputeEngineShapeDescriptor shape = 1;
    • setShape

       Description of the suggested shape for the migration target.
       
      .google.cloud.migrationcenter.v1.ComputeEngineShapeDescriptor shape = 1;
    • mergeShape

       Description of the suggested shape for the migration target.
       
      .google.cloud.migrationcenter.v1.ComputeEngineShapeDescriptor shape = 1;
    • clearShape

       Description of the suggested shape for the migration target.
       
      .google.cloud.migrationcenter.v1.ComputeEngineShapeDescriptor shape = 1;
    • getShapeBuilder

      public ComputeEngineShapeDescriptor.Builder getShapeBuilder()
       Description of the suggested shape for the migration target.
       
      .google.cloud.migrationcenter.v1.ComputeEngineShapeDescriptor shape = 1;
    • getShapeOrBuilder

      public ComputeEngineShapeDescriptorOrBuilder getShapeOrBuilder()
       Description of the suggested shape for the migration target.
       
      .google.cloud.migrationcenter.v1.ComputeEngineShapeDescriptor shape = 1;
      Specified by:
      getShapeOrBuilder in interface ComputeEngineMigrationTargetOrBuilder