public static final class UtilizationReport.Builder extends GeneratedMessageV3.Builder<UtilizationReport.Builder> implements UtilizationReportOrBuilder
Utilization report details the utilization (CPU, memory, etc.) of selected source VMs.
Protobuf type google.events.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()
Returns | |
---|---|
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.events.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.events.cloud.vmmigration.v1.VmUtilizationInfo> |
Returns | |
---|---|
Type | Description |
UtilizationReport.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UtilizationReport.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
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.events.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
Parameter | |
---|---|
Name | Description |
value |
VmUtilizationInfo |
Returns | |
---|---|
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.events.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
Parameter | |
---|---|
Name | Description |
builderForValue |
VmUtilizationInfo.Builder |
Returns | |
---|---|
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.events.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
VmUtilizationInfo |
Returns | |
---|---|
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.events.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
VmUtilizationInfo.Builder |
Returns | |
---|---|
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.events.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
Returns | |
---|---|
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.events.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
VmUtilizationInfo.Builder |
build()
public UtilizationReport build()
Returns | |
---|---|
Type | Description |
UtilizationReport |
buildPartial()
public UtilizationReport buildPartial()
Returns | |
---|---|
Type | Description |
UtilizationReport |
clear()
public UtilizationReport.Builder clear()
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
UtilizationReport.Builder |
clearDisplayName()
public UtilizationReport.Builder clearDisplayName()
The report display name, as assigned by the user.
string display_name = 2;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
UtilizationReport.Builder |
clearField(Descriptors.FieldDescriptor field)
public UtilizationReport.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
UtilizationReport.Builder |
clearName()
public UtilizationReport.Builder clearName()
Output only. The report unique name.
string name = 1;
Returns | |
---|---|
Type | Description |
UtilizationReport.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public UtilizationReport.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
UtilizationReport.Builder |
clearState()
public UtilizationReport.Builder clearState()
Output only. Current state of the report.
.google.events.cloud.vmmigration.v1.UtilizationReport.State state = 3;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
UtilizationReport.Builder |
clearTimeFrame()
public UtilizationReport.Builder clearTimeFrame()
Time frame of the report.
.google.events.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7;
Returns | |
---|---|
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;
Returns | |
---|---|
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.events.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
Returns | |
---|---|
Type | Description |
UtilizationReport.Builder |
clone()
public UtilizationReport.Builder clone()
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public UtilizationReport getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
UtilizationReport |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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()
public Status getError()
Output only. Provides details on the state of the report in case of an error.
.google.rpc.Status error = 5;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getName()
public String getName()
Output only. The report unique name.
string name = 1;
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The report unique name.
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getState()
public UtilizationReport.State getState()
Output only. Current state of the report.
.google.events.cloud.vmmigration.v1.UtilizationReport.State state = 3;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
Builder |
getStateTimeOrBuilder()
public TimestampOrBuilder getStateTimeOrBuilder()
Output only. The time the state was last set.
.google.protobuf.Timestamp state_time = 4;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getStateValue()
public int getStateValue()
Output only. Current state of the report.
.google.events.cloud.vmmigration.v1.UtilizationReport.State state = 3;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for state. |
getTimeFrame()
public UtilizationReport.TimeFrame getTimeFrame()
Time frame of the report.
.google.events.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7;
Returns | |
---|---|
Type | Description |
UtilizationReport.TimeFrame |
The timeFrame. |
getTimeFrameValue()
public int getTimeFrameValue()
Time frame of the report.
.google.events.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7;
Returns | |
---|---|
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;
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.events.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
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.events.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
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.events.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
Returns | |
---|---|
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.events.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.events.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
Returns | |
---|---|
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.events.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
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.events.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
Returns | |
---|---|
Type | Description |
List<? extends com.google.events.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;
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;
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;
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;
Returns | |
---|---|
Type | Description |
boolean |
Whether the stateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
com.google.rpc.Status |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
UtilizationReport.Builder |
mergeFrom(UtilizationReport other)
public UtilizationReport.Builder mergeFrom(UtilizationReport other)
Parameter | |
---|---|
Name | Description |
other |
UtilizationReport |
Returns | |
---|---|
Type | Description |
UtilizationReport.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UtilizationReport.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
UtilizationReport.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public UtilizationReport.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
UtilizationReport.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UtilizationReport.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
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.events.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
com.google.rpc.Status |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
com.google.rpc.Status.Builder |
Returns | |
---|---|
Type | Description |
UtilizationReport.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public UtilizationReport.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
UtilizationReport.Builder |
setName(String value)
public UtilizationReport.Builder setName(String value)
Output only. The report unique name.
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
UtilizationReport.Builder |
setState(UtilizationReport.State value)
public UtilizationReport.Builder setState(UtilizationReport.State value)
Output only. Current state of the report.
.google.events.cloud.vmmigration.v1.UtilizationReport.State state = 3;
Parameter | |
---|---|
Name | Description |
value |
UtilizationReport.State The state to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
UtilizationReport.Builder |
setStateValue(int value)
public UtilizationReport.Builder setStateValue(int value)
Output only. Current state of the report.
.google.events.cloud.vmmigration.v1.UtilizationReport.State state = 3;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
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.events.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7;
Parameter | |
---|---|
Name | Description |
value |
UtilizationReport.TimeFrame The timeFrame to set. |
Returns | |
---|---|
Type | Description |
UtilizationReport.Builder |
This builder for chaining. |
setTimeFrameValue(int value)
public UtilizationReport.Builder setTimeFrameValue(int value)
Time frame of the report.
.google.events.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for timeFrame to set. |
Returns | |
---|---|
Type | Description |
UtilizationReport.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final UtilizationReport.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
int The vmCount to set. |
Returns | |
---|---|
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.events.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
VmUtilizationInfo |
Returns | |
---|---|
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.events.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
VmUtilizationInfo.Builder |
Returns | |
---|---|
Type | Description |
UtilizationReport.Builder |