public final class UtilizationReport extends GeneratedMessageV3 implements UtilizationReportOrBuilder
Utilization report details the utilization (CPU, memory, etc.) of selected
source VMs.
Protobuf type google.cloud.vmmigration.v1.UtilizationReport
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>)
Static Fields
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
FRAME_END_TIME_FIELD_NUMBER
public static final int FRAME_END_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
STATE_TIME_FIELD_NUMBER
public static final int STATE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TIME_FRAME_FIELD_NUMBER
public static final int TIME_FRAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
VMS_FIELD_NUMBER
public static final int VMS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
VM_COUNT_FIELD_NUMBER
public static final int VM_COUNT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static UtilizationReport getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static UtilizationReport.Builder newBuilder()
newBuilder(UtilizationReport prototype)
public static UtilizationReport.Builder newBuilder(UtilizationReport prototype)
public static UtilizationReport parseDelimitedFrom(InputStream input)
public static UtilizationReport parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static UtilizationReport parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UtilizationReport parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static UtilizationReport parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UtilizationReport parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UtilizationReport parseFrom(CodedInputStream input)
public static UtilizationReport parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UtilizationReport parseFrom(InputStream input)
public static UtilizationReport parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static UtilizationReport parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static UtilizationReport parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<UtilizationReport> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getCreateTime()
public Timestamp getCreateTime()
Output only. The time the report was created (this refers to the time of
the request, not the time the report creation completed).
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
Timestamp | The createTime.
|
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time the report was created (this refers to the time of
the request, not the time the report creation completed).
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getDefaultInstanceForType()
public UtilizationReport getDefaultInstanceForType()
getDisplayName()
public String getDisplayName()
The report display name, as assigned by the user.
string display_name = 2;
Returns |
---|
Type | Description |
String | The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
The report display name, as assigned by the user.
string display_name = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for displayName.
|
getError()
Output only. Provides details on the state of the report in case of an
error.
.google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
com.google.rpc.Status | The error.
|
getErrorOrBuilder()
public StatusOrBuilder getErrorOrBuilder()
Output only. Provides details on the state of the report in case of an
error.
.google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
com.google.rpc.StatusOrBuilder | |
getFrameEndTime()
public Timestamp getFrameEndTime()
Output only. The point in time when the time frame ends. Notice that the
time frame is counted backwards. For instance if the "frame_end_time" value
is 2021/01/20 and the time frame is WEEK then the report covers the week
between 2021/01/20 and 2021/01/14.
.google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
Timestamp | The frameEndTime.
|
getFrameEndTimeOrBuilder()
public TimestampOrBuilder getFrameEndTimeOrBuilder()
Output only. The point in time when the time frame ends. Notice that the
time frame is counted backwards. For instance if the "frame_end_time" value
is 2021/01/20 and the time frame is WEEK then the report covers the week
between 2021/01/20 and 2021/01/14.
.google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getName()
Output only. The report unique name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Output only. The report unique name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
ByteString | The bytes for name.
|
getParserForType()
public Parser<UtilizationReport> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getState()
public UtilizationReport.State getState()
Output only. Current state of the report.
.google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateTime()
public Timestamp getStateTime()
Output only. The time the state was last set.
.google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
Timestamp | The stateTime.
|
getStateTimeOrBuilder()
public TimestampOrBuilder getStateTimeOrBuilder()
Output only. The time the state was last set.
.google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue()
public int getStateValue()
Output only. Current state of the report.
.google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for state.
|
getTimeFrame()
public UtilizationReport.TimeFrame getTimeFrame()
Time frame of the report.
.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7;
getTimeFrameValue()
public int getTimeFrameValue()
Time frame of the report.
.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for timeFrame.
|
getVmCount()
Output only. Total number of VMs included in the report.
int32 vm_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
int | The vmCount.
|
getVms(int index)
public VmUtilizationInfo getVms(int index)
List of utilization information per VM.
When sent as part of the request, the "vm_id" field is used in order to
specify which VMs to include in the report. In that case all other fields
are ignored.
repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
Parameter |
---|
Name | Description |
index | int
|
getVmsCount()
List of utilization information per VM.
When sent as part of the request, the "vm_id" field is used in order to
specify which VMs to include in the report. In that case all other fields
are ignored.
repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
Returns |
---|
Type | Description |
int | |
getVmsList()
public List<VmUtilizationInfo> getVmsList()
List of utilization information per VM.
When sent as part of the request, the "vm_id" field is used in order to
specify which VMs to include in the report. In that case all other fields
are ignored.
repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
getVmsOrBuilder(int index)
public VmUtilizationInfoOrBuilder getVmsOrBuilder(int index)
List of utilization information per VM.
When sent as part of the request, the "vm_id" field is used in order to
specify which VMs to include in the report. In that case all other fields
are ignored.
repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
Parameter |
---|
Name | Description |
index | int
|
getVmsOrBuilderList()
public List<? extends VmUtilizationInfoOrBuilder> getVmsOrBuilderList()
List of utilization information per VM.
When sent as part of the request, the "vm_id" field is used in order to
specify which VMs to include in the report. In that case all other fields
are ignored.
repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder> | |
hasCreateTime()
public boolean hasCreateTime()
Output only. The time the report was created (this refers to the time of
the request, not the time the report creation completed).
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
boolean | Whether the createTime field is set.
|
hasError()
public boolean hasError()
Output only. Provides details on the state of the report in case of an
error.
.google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
boolean | Whether the error field is set.
|
hasFrameEndTime()
public boolean hasFrameEndTime()
Output only. The point in time when the time frame ends. Notice that the
time frame is counted backwards. For instance if the "frame_end_time" value
is 2021/01/20 and the time frame is WEEK then the report covers the week
between 2021/01/20 and 2021/01/14.
.google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
boolean | Whether the frameEndTime field is set.
|
hasStateTime()
public boolean hasStateTime()
Output only. The time the state was last set.
.google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
---|
Type | Description |
boolean | Whether the stateTime field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public UtilizationReport.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected UtilizationReport.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public UtilizationReport.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides