- 1.76.0 (latest)
- 1.75.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.70.0
- 1.68.0
- 1.67.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.60.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.5
- 1.2.0
- 1.1.1
- 1.0.5
public static final class UtilizationReport.Builder extends GeneratedMessageV3.Builder<UtilizationReport.Builder> implements UtilizationReportOrBuilderUtilization report details the utilization (CPU, memory, etc.) of selected source VMs.
Protobuf type google.cloud.vmmigration.v1.UtilizationReport
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UtilizationReport.BuilderImplements
UtilizationReportOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
Descriptor |
Methods
addAllVms(Iterable<? extends VmUtilizationInfo> values)
public UtilizationReport.Builder addAllVms(Iterable<? extends VmUtilizationInfo> values)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;
| Name | Description |
values |
Iterable<? extends com.google.cloud.vmmigration.v1.VmUtilizationInfo> |
| Type | Description |
UtilizationReport.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UtilizationReport.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Type | Description |
UtilizationReport.Builder |
addVms(VmUtilizationInfo value)
public UtilizationReport.Builder addVms(VmUtilizationInfo value)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;
| Name | Description |
value |
VmUtilizationInfo |
| Type | Description |
UtilizationReport.Builder |
addVms(VmUtilizationInfo.Builder builderForValue)
public UtilizationReport.Builder addVms(VmUtilizationInfo.Builder builderForValue)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;
| Name | Description |
builderForValue |
VmUtilizationInfo.Builder |
| Type | Description |
UtilizationReport.Builder |
addVms(int index, VmUtilizationInfo value)
public UtilizationReport.Builder addVms(int index, VmUtilizationInfo value)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;
| Name | Description |
index |
int |
value |
VmUtilizationInfo |
| Type | Description |
UtilizationReport.Builder |
addVms(int index, VmUtilizationInfo.Builder builderForValue)
public UtilizationReport.Builder addVms(int index, VmUtilizationInfo.Builder builderForValue)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;
| Name | Description |
index |
int |
builderForValue |
VmUtilizationInfo.Builder |
| Type | Description |
UtilizationReport.Builder |
addVmsBuilder()
public VmUtilizationInfo.Builder addVmsBuilder()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;
| Type | Description |
VmUtilizationInfo.Builder |
addVmsBuilder(int index)
public VmUtilizationInfo.Builder addVmsBuilder(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;
| Name | Description |
index |
int |
| Type | Description |
VmUtilizationInfo.Builder |
build()
public UtilizationReport build()| Type | Description |
UtilizationReport |
buildPartial()
public UtilizationReport buildPartial()| Type | Description |
UtilizationReport |
clear()
public UtilizationReport.Builder clear()| Type | Description |
UtilizationReport.Builder |
clearCreateTime()
public UtilizationReport.Builder clearCreateTime()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];
| Type | Description |
UtilizationReport.Builder |
clearDisplayName()
public UtilizationReport.Builder clearDisplayName()The report display name, as assigned by the user.
string display_name = 2;
| Type | Description |
UtilizationReport.Builder |
This builder for chaining. |
clearError()
public UtilizationReport.Builder clearError()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];
| Type | Description |
UtilizationReport.Builder |
clearField(Descriptors.FieldDescriptor field)
public UtilizationReport.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
field |
FieldDescriptor |
| Type | Description |
UtilizationReport.Builder |
clearFrameEndTime()
public UtilizationReport.Builder clearFrameEndTime()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];
| Type | Description |
UtilizationReport.Builder |
clearName()
public UtilizationReport.Builder clearName()Output only. The report unique name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
UtilizationReport.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public UtilizationReport.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
oneof |
OneofDescriptor |
| Type | Description |
UtilizationReport.Builder |
clearState()
public UtilizationReport.Builder clearState()Output only. Current state of the report.
.google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
UtilizationReport.Builder |
This builder for chaining. |
clearStateTime()
public UtilizationReport.Builder clearStateTime()Output only. The time the state was last set.
.google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
UtilizationReport.Builder |
clearTimeFrame()
public UtilizationReport.Builder clearTimeFrame()Time frame of the report.
.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7;
| Type | Description |
UtilizationReport.Builder |
This builder for chaining. |
clearVmCount()
public UtilizationReport.Builder clearVmCount()Output only. Total number of VMs included in the report.
int32 vm_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
UtilizationReport.Builder |
This builder for chaining. |
clearVms()
public UtilizationReport.Builder clearVms()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;
| Type | Description |
UtilizationReport.Builder |
clone()
public UtilizationReport.Builder clone()| Type | Description |
UtilizationReport.Builder |
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];
| Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()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];
| Type | Description |
Builder |
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];
| Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public UtilizationReport getDefaultInstanceForType()| Type | Description |
UtilizationReport |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()The report display name, as assigned by the user.
string display_name = 2;
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()The report display name, as assigned by the user.
string display_name = 2;
| Type | Description |
ByteString |
The bytes for displayName. |
getError()
public Status 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];
| Type | Description |
com.google.rpc.Status |
The error. |
getErrorBuilder()
public Status.Builder getErrorBuilder()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];
| Type | Description |
com.google.rpc.Status.Builder |
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];
| 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];
| Type | Description |
Timestamp |
The frameEndTime. |
getFrameEndTimeBuilder()
public Timestamp.Builder getFrameEndTimeBuilder()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];
| Type | Description |
Builder |
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];
| Type | Description |
TimestampOrBuilder |
getName()
public String getName()Output only. The report unique name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Output only. The report unique name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
ByteString |
The bytes for name. |
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];
| Type | Description |
UtilizationReport.State |
The state. |
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];
| Type | Description |
Timestamp |
The stateTime. |
getStateTimeBuilder()
public Timestamp.Builder getStateTimeBuilder()Output only. The time the state was last set.
.google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
Builder |
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];
| Type | Description |
TimestampOrBuilder |
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];
| 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;
| Type | Description |
UtilizationReport.TimeFrame |
The timeFrame. |
getTimeFrameValue()
public int getTimeFrameValue()Time frame of the report.
.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7;
| Type | Description |
int |
The enum numeric value on the wire for timeFrame. |
getVmCount()
public int getVmCount()Output only. Total number of VMs included in the report.
int32 vm_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| 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;
| Name | Description |
index |
int |
| Type | Description |
VmUtilizationInfo |
getVmsBuilder(int index)
public VmUtilizationInfo.Builder getVmsBuilder(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;
| Name | Description |
index |
int |
| Type | Description |
VmUtilizationInfo.Builder |
getVmsBuilderList()
public List<VmUtilizationInfo.Builder> getVmsBuilderList()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;
| Type | Description |
List<Builder> |
getVmsCount()
public 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;
| 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;
| Type | Description |
List<VmUtilizationInfo> |
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;
| Name | Description |
index |
int |
| Type | Description |
VmUtilizationInfoOrBuilder |
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;
| 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];
| 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];
| 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];
| 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];
| Type | Description |
boolean |
Whether the stateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public UtilizationReport.Builder mergeCreateTime(Timestamp value)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];
| Name | Description |
value |
Timestamp |
| Type | Description |
UtilizationReport.Builder |
mergeError(Status value)
public UtilizationReport.Builder mergeError(Status value)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];
| Name | Description |
value |
com.google.rpc.Status |
| Type | Description |
UtilizationReport.Builder |
mergeFrameEndTime(Timestamp value)
public UtilizationReport.Builder mergeFrameEndTime(Timestamp value)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];
| Name | Description |
value |
Timestamp |
| Type | Description |
UtilizationReport.Builder |
mergeFrom(UtilizationReport other)
public UtilizationReport.Builder mergeFrom(UtilizationReport other)| Name | Description |
other |
UtilizationReport |
| Type | Description |
UtilizationReport.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UtilizationReport.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Type | Description |
UtilizationReport.Builder |
| Type | Description |
IOException |
mergeFrom(Message other)
public UtilizationReport.Builder mergeFrom(Message other)| Name | Description |
other |
Message |
| Type | Description |
UtilizationReport.Builder |
mergeStateTime(Timestamp value)
public UtilizationReport.Builder mergeStateTime(Timestamp value)Output only. The time the state was last set.
.google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
value |
Timestamp |
| Type | Description |
UtilizationReport.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UtilizationReport.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
unknownFields |
UnknownFieldSet |
| Type | Description |
UtilizationReport.Builder |
removeVms(int index)
public UtilizationReport.Builder removeVms(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;
| Name | Description |
index |
int |
| Type | Description |
UtilizationReport.Builder |
setCreateTime(Timestamp value)
public UtilizationReport.Builder setCreateTime(Timestamp value)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];
| Name | Description |
value |
Timestamp |
| Type | Description |
UtilizationReport.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public UtilizationReport.Builder setCreateTime(Timestamp.Builder builderForValue)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];
| Name | Description |
builderForValue |
Builder |
| Type | Description |
UtilizationReport.Builder |
setDisplayName(String value)
public UtilizationReport.Builder setDisplayName(String value)The report display name, as assigned by the user.
string display_name = 2;
| Name | Description |
value |
StringThe displayName to set. |
| Type | Description |
UtilizationReport.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public UtilizationReport.Builder setDisplayNameBytes(ByteString value)The report display name, as assigned by the user.
string display_name = 2;
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Type | Description |
UtilizationReport.Builder |
This builder for chaining. |
setError(Status value)
public UtilizationReport.Builder setError(Status value)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];
| Name | Description |
value |
com.google.rpc.Status |
| Type | Description |
UtilizationReport.Builder |
setError(Status.Builder builderForValue)
public UtilizationReport.Builder setError(Status.Builder builderForValue)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];
| Name | Description |
builderForValue |
com.google.rpc.Status.Builder |
| Type | Description |
UtilizationReport.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public UtilizationReport.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Type | Description |
UtilizationReport.Builder |
setFrameEndTime(Timestamp value)
public UtilizationReport.Builder setFrameEndTime(Timestamp value)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];
| Name | Description |
value |
Timestamp |
| Type | Description |
UtilizationReport.Builder |
setFrameEndTime(Timestamp.Builder builderForValue)
public UtilizationReport.Builder setFrameEndTime(Timestamp.Builder builderForValue)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];
| Name | Description |
builderForValue |
Builder |
| Type | Description |
UtilizationReport.Builder |
setName(String value)
public UtilizationReport.Builder setName(String value)Output only. The report unique name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
value |
StringThe name to set. |
| Type | Description |
UtilizationReport.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public UtilizationReport.Builder setNameBytes(ByteString value)Output only. The report unique name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Type | Description |
UtilizationReport.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UtilizationReport.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Type | Description |
UtilizationReport.Builder |
setState(UtilizationReport.State value)
public UtilizationReport.Builder setState(UtilizationReport.State value)Output only. Current state of the report.
.google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
value |
UtilizationReport.StateThe state to set. |
| Type | Description |
UtilizationReport.Builder |
This builder for chaining. |
setStateTime(Timestamp value)
public UtilizationReport.Builder setStateTime(Timestamp value)Output only. The time the state was last set.
.google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
value |
Timestamp |
| Type | Description |
UtilizationReport.Builder |
setStateTime(Timestamp.Builder builderForValue)
public UtilizationReport.Builder setStateTime(Timestamp.Builder builderForValue)Output only. The time the state was last set.
.google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
builderForValue |
Builder |
| Type | Description |
UtilizationReport.Builder |
setStateValue(int value)
public UtilizationReport.Builder setStateValue(int value)Output only. Current state of the report.
.google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Type | Description |
UtilizationReport.Builder |
This builder for chaining. |
setTimeFrame(UtilizationReport.TimeFrame value)
public UtilizationReport.Builder setTimeFrame(UtilizationReport.TimeFrame value)Time frame of the report.
.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7;
| Name | Description |
value |
UtilizationReport.TimeFrameThe timeFrame to set. |
| Type | Description |
UtilizationReport.Builder |
This builder for chaining. |
setTimeFrameValue(int value)
public UtilizationReport.Builder setTimeFrameValue(int value)Time frame of the report.
.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7;
| Name | Description |
value |
intThe enum numeric value on the wire for timeFrame to set. |
| Type | Description |
UtilizationReport.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final UtilizationReport.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
unknownFields |
UnknownFieldSet |
| Type | Description |
UtilizationReport.Builder |
setVmCount(int value)
public UtilizationReport.Builder setVmCount(int value)Output only. Total number of VMs included in the report.
int32 vm_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
value |
intThe vmCount to set. |
| Type | Description |
UtilizationReport.Builder |
This builder for chaining. |
setVms(int index, VmUtilizationInfo value)
public UtilizationReport.Builder setVms(int index, VmUtilizationInfo value)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;
| Name | Description |
index |
int |
value |
VmUtilizationInfo |
| Type | Description |
UtilizationReport.Builder |
setVms(int index, VmUtilizationInfo.Builder builderForValue)
public UtilizationReport.Builder setVms(int index, VmUtilizationInfo.Builder builderForValue)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;
| Name | Description |
index |
int |
builderForValue |
VmUtilizationInfo.Builder |
| Type | Description |
UtilizationReport.Builder |