Class PerformanceSample (0.40.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.40.0keyboard_arrow_down  
  
 
    
    
    
      
  
  
  
    
public   final   class  PerformanceSample   extends   GeneratedMessageV3   implements   PerformanceSampleOrBuilder  
   Performance data sample.
 Protobuf type google.cloud.migrationcenter.v1.PerformanceSample
    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
   
  
  
    
public   static   final   int   CPU_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   DISK_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   MEMORY_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   NETWORK_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   SAMPLE_TIME_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  
    
public   static   PerformanceSample   getDefaultInstance ()  
  
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  
    
public   static   PerformanceSample . Builder   newBuilder ()  
  
  
    
public   static   PerformanceSample . Builder   newBuilder ( PerformanceSample   prototype )  
  
  
  
    
public   static   PerformanceSample   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   PerformanceSample   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   PerformanceSample   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  
    
public   static   PerformanceSample   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   PerformanceSample   parseFrom ( ByteString   data )  
  
  
  
  
    
public   static   PerformanceSample   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   PerformanceSample   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   PerformanceSample   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   PerformanceSample   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   PerformanceSample   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   PerformanceSample   parseFrom ( ByteBuffer   data )  
  
  
  
  
    
public   static   PerformanceSample   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   Parser<PerformanceSample>   parser ()  
  
  Methods
   
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  
    
public   CpuUsageSample   getCpu ()  
   CPU usage sample.
 .google.cloud.migrationcenter.v1.CpuUsageSample cpu = 3;
    
public   CpuUsageSampleOrBuilder   getCpuOrBuilder ()  
   CPU usage sample.
 .google.cloud.migrationcenter.v1.CpuUsageSample cpu = 3;
    
public   PerformanceSample   getDefaultInstanceForType ()  
  
  
    
public   DiskUsageSample   getDisk ()  
   Disk usage sample.
 .google.cloud.migrationcenter.v1.DiskUsageSample disk = 5;
    
public   DiskUsageSampleOrBuilder   getDiskOrBuilder ()  
   Disk usage sample.
 .google.cloud.migrationcenter.v1.DiskUsageSample disk = 5;
    
public   MemoryUsageSample   getMemory ()  
   Memory usage sample.
 .google.cloud.migrationcenter.v1.MemoryUsageSample memory = 2;
    
public   MemoryUsageSampleOrBuilder   getMemoryOrBuilder ()  
   Memory usage sample.
 .google.cloud.migrationcenter.v1.MemoryUsageSample memory = 2;
    
public   NetworkUsageSample   getNetwork ()  
   Network usage sample.
 .google.cloud.migrationcenter.v1.NetworkUsageSample network = 4;
    
public   NetworkUsageSampleOrBuilder   getNetworkOrBuilder ()  
   Network usage sample.
 .google.cloud.migrationcenter.v1.NetworkUsageSample network = 4;
    
public   Parser<PerformanceSample>   getParserForType ()  
  
  Overrides 
  
  
    
public   Timestamp   getSampleTime ()  
   Time the sample was collected.
 If omitted, the frame report time will be used.
 .google.protobuf.Timestamp sample_time = 1;
    
      
        Returns  
      
        Type Description  
      
        Timestamp The sampleTime.
 
     
  
  
    
public   TimestampOrBuilder   getSampleTimeOrBuilder ()  
   Time the sample was collected.
 If omitted, the frame report time will be used.
 .google.protobuf.Timestamp sample_time = 1;
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
   CPU usage sample.
 .google.cloud.migrationcenter.v1.CpuUsageSample cpu = 3;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the cpu field is set.
 
     
  
   Disk usage sample.
 .google.cloud.migrationcenter.v1.DiskUsageSample disk = 5;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the disk field is set.
 
     
  
  
    
public   boolean   hasMemory ()  
   Memory usage sample.
 .google.cloud.migrationcenter.v1.MemoryUsageSample memory = 2;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the memory field is set.
 
     
  
  
    
public   boolean   hasNetwork ()  
   Network usage sample.
 .google.cloud.migrationcenter.v1.NetworkUsageSample network = 4;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the network field is set.
 
     
  
  
    
public   boolean   hasSampleTime ()  
   Time the sample was collected.
 If omitted, the frame report time will be used.
 .google.protobuf.Timestamp sample_time = 1;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the sampleTime field is set.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  
    
public   PerformanceSample . Builder   newBuilderForType ()  
  
  
    
protected   PerformanceSample . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  
    
public   PerformanceSample . Builder   toBuilder ()  
  
  
    
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 2025-10-11 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 2025-10-11 UTC."],[],[]]