Class ReportSummary.VmwareEngineFinding.Builder (0.14.0)

public static final class ReportSummary.VmwareEngineFinding.Builder extends GeneratedMessageV3.Builder<ReportSummary.VmwareEngineFinding.Builder> implements ReportSummary.VmwareEngineFindingOrBuilder

A set of findings that applies to assets destined for VMWare Engine.

Protobuf type google.cloud.migrationcenter.v1.ReportSummary.VmwareEngineFinding

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllAllocatedRegions(Iterable<String> values)

public ReportSummary.VmwareEngineFinding.Builder addAllAllocatedRegions(Iterable<String> values)

Set of regions in which the assets were allocated

repeated string allocated_regions = 1;

Parameter
NameDescription
valuesIterable<String>

The allocatedRegions to add.

Returns
TypeDescription
ReportSummary.VmwareEngineFinding.Builder

This builder for chaining.

addAllNodeAllocations(Iterable<? extends ReportSummary.VmwareNodeAllocation> values)

public ReportSummary.VmwareEngineFinding.Builder addAllNodeAllocations(Iterable<? extends ReportSummary.VmwareNodeAllocation> values)

Set of per-nodetype allocation records

repeated .google.cloud.migrationcenter.v1.ReportSummary.VmwareNodeAllocation node_allocations = 3;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.migrationcenter.v1.ReportSummary.VmwareNodeAllocation>
Returns
TypeDescription
ReportSummary.VmwareEngineFinding.Builder

addAllocatedRegions(String value)

public ReportSummary.VmwareEngineFinding.Builder addAllocatedRegions(String value)

Set of regions in which the assets were allocated

repeated string allocated_regions = 1;

Parameter
NameDescription
valueString

The allocatedRegions to add.

Returns
TypeDescription
ReportSummary.VmwareEngineFinding.Builder

This builder for chaining.

addAllocatedRegionsBytes(ByteString value)

public ReportSummary.VmwareEngineFinding.Builder addAllocatedRegionsBytes(ByteString value)

Set of regions in which the assets were allocated

repeated string allocated_regions = 1;

Parameter
NameDescription
valueByteString

The bytes of the allocatedRegions to add.

Returns
TypeDescription
ReportSummary.VmwareEngineFinding.Builder

This builder for chaining.

addNodeAllocations(ReportSummary.VmwareNodeAllocation value)

public ReportSummary.VmwareEngineFinding.Builder addNodeAllocations(ReportSummary.VmwareNodeAllocation value)

Set of per-nodetype allocation records

repeated .google.cloud.migrationcenter.v1.ReportSummary.VmwareNodeAllocation node_allocations = 3;

Parameter
NameDescription
valueReportSummary.VmwareNodeAllocation
Returns
TypeDescription
ReportSummary.VmwareEngineFinding.Builder

addNodeAllocations(ReportSummary.VmwareNodeAllocation.Builder builderForValue)

public ReportSummary.VmwareEngineFinding.Builder addNodeAllocations(ReportSummary.VmwareNodeAllocation.Builder builderForValue)

Set of per-nodetype allocation records

repeated .google.cloud.migrationcenter.v1.ReportSummary.VmwareNodeAllocation node_allocations = 3;

Parameter
NameDescription
builderForValueReportSummary.VmwareNodeAllocation.Builder
Returns
TypeDescription
ReportSummary.VmwareEngineFinding.Builder

addNodeAllocations(int index, ReportSummary.VmwareNodeAllocation value)

public ReportSummary.VmwareEngineFinding.Builder addNodeAllocations(int index, ReportSummary.VmwareNodeAllocation value)

Set of per-nodetype allocation records

repeated .google.cloud.migrationcenter.v1.ReportSummary.VmwareNodeAllocation node_allocations = 3;

Parameters
NameDescription
indexint
valueReportSummary.VmwareNodeAllocation
Returns
TypeDescription
ReportSummary.VmwareEngineFinding.Builder

addNodeAllocations(int index, ReportSummary.VmwareNodeAllocation.Builder builderForValue)

public ReportSummary.VmwareEngineFinding.Builder addNodeAllocations(int index, ReportSummary.VmwareNodeAllocation.Builder builderForValue)

Set of per-nodetype allocation records

repeated .google.cloud.migrationcenter.v1.ReportSummary.VmwareNodeAllocation node_allocations = 3;

Parameters
NameDescription
indexint
builderForValueReportSummary.VmwareNodeAllocation.Builder
Returns
TypeDescription
ReportSummary.VmwareEngineFinding.Builder

addNodeAllocationsBuilder()

public ReportSummary.VmwareNodeAllocation.Builder addNodeAllocationsBuilder()

Set of per-nodetype allocation records

repeated .google.cloud.migrationcenter.v1.ReportSummary.VmwareNodeAllocation node_allocations = 3;

Returns
TypeDescription
ReportSummary.VmwareNodeAllocation.Builder

addNodeAllocationsBuilder(int index)

public ReportSummary.VmwareNodeAllocation.Builder addNodeAllocationsBuilder(int index)

Set of per-nodetype allocation records

repeated .google.cloud.migrationcenter.v1.ReportSummary.VmwareNodeAllocation node_allocations = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
ReportSummary.VmwareNodeAllocation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReportSummary.VmwareEngineFinding.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ReportSummary.VmwareEngineFinding.Builder
Overrides

build()

public ReportSummary.VmwareEngineFinding build()
Returns
TypeDescription
ReportSummary.VmwareEngineFinding

buildPartial()

public ReportSummary.VmwareEngineFinding buildPartial()
Returns
TypeDescription
ReportSummary.VmwareEngineFinding

clear()

public ReportSummary.VmwareEngineFinding.Builder clear()
Returns
TypeDescription
ReportSummary.VmwareEngineFinding.Builder
Overrides

clearAllocatedAssetCount()

public ReportSummary.VmwareEngineFinding.Builder clearAllocatedAssetCount()

Count of assets which are allocated

int64 allocated_asset_count = 2;

Returns
TypeDescription
ReportSummary.VmwareEngineFinding.Builder

This builder for chaining.

clearAllocatedRegions()

public ReportSummary.VmwareEngineFinding.Builder clearAllocatedRegions()

Set of regions in which the assets were allocated

repeated string allocated_regions = 1;

Returns
TypeDescription
ReportSummary.VmwareEngineFinding.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ReportSummary.VmwareEngineFinding.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ReportSummary.VmwareEngineFinding.Builder
Overrides

clearNodeAllocations()

public ReportSummary.VmwareEngineFinding.Builder clearNodeAllocations()

Set of per-nodetype allocation records

repeated .google.cloud.migrationcenter.v1.ReportSummary.VmwareNodeAllocation node_allocations = 3;

Returns
TypeDescription
ReportSummary.VmwareEngineFinding.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ReportSummary.VmwareEngineFinding.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ReportSummary.VmwareEngineFinding.Builder
Overrides

clone()

public ReportSummary.VmwareEngineFinding.Builder clone()
Returns
TypeDescription
ReportSummary.VmwareEngineFinding.Builder
Overrides

getAllocatedAssetCount()

public long getAllocatedAssetCount()

Count of assets which are allocated

int64 allocated_asset_count = 2;

Returns
TypeDescription
long

The allocatedAssetCount.

getAllocatedRegions(int index)

public String getAllocatedRegions(int index)

Set of regions in which the assets were allocated

repeated string allocated_regions = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The allocatedRegions at the given index.

getAllocatedRegionsBytes(int index)

public ByteString getAllocatedRegionsBytes(int index)

Set of regions in which the assets were allocated

repeated string allocated_regions = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the allocatedRegions at the given index.

getAllocatedRegionsCount()

public int getAllocatedRegionsCount()

Set of regions in which the assets were allocated

repeated string allocated_regions = 1;

Returns
TypeDescription
int

The count of allocatedRegions.

getAllocatedRegionsList()

public ProtocolStringList getAllocatedRegionsList()

Set of regions in which the assets were allocated

repeated string allocated_regions = 1;

Returns
TypeDescription
ProtocolStringList

A list containing the allocatedRegions.

getDefaultInstanceForType()

public ReportSummary.VmwareEngineFinding getDefaultInstanceForType()
Returns
TypeDescription
ReportSummary.VmwareEngineFinding

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNodeAllocations(int index)

public ReportSummary.VmwareNodeAllocation getNodeAllocations(int index)

Set of per-nodetype allocation records

repeated .google.cloud.migrationcenter.v1.ReportSummary.VmwareNodeAllocation node_allocations = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
ReportSummary.VmwareNodeAllocation

getNodeAllocationsBuilder(int index)

public ReportSummary.VmwareNodeAllocation.Builder getNodeAllocationsBuilder(int index)

Set of per-nodetype allocation records

repeated .google.cloud.migrationcenter.v1.ReportSummary.VmwareNodeAllocation node_allocations = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
ReportSummary.VmwareNodeAllocation.Builder

getNodeAllocationsBuilderList()

public List<ReportSummary.VmwareNodeAllocation.Builder> getNodeAllocationsBuilderList()

Set of per-nodetype allocation records

repeated .google.cloud.migrationcenter.v1.ReportSummary.VmwareNodeAllocation node_allocations = 3;

Returns
TypeDescription
List<Builder>

getNodeAllocationsCount()

public int getNodeAllocationsCount()

Set of per-nodetype allocation records

repeated .google.cloud.migrationcenter.v1.ReportSummary.VmwareNodeAllocation node_allocations = 3;

Returns
TypeDescription
int

getNodeAllocationsList()

public List<ReportSummary.VmwareNodeAllocation> getNodeAllocationsList()

Set of per-nodetype allocation records

repeated .google.cloud.migrationcenter.v1.ReportSummary.VmwareNodeAllocation node_allocations = 3;

Returns
TypeDescription
List<VmwareNodeAllocation>

getNodeAllocationsOrBuilder(int index)

public ReportSummary.VmwareNodeAllocationOrBuilder getNodeAllocationsOrBuilder(int index)

Set of per-nodetype allocation records

repeated .google.cloud.migrationcenter.v1.ReportSummary.VmwareNodeAllocation node_allocations = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
ReportSummary.VmwareNodeAllocationOrBuilder

getNodeAllocationsOrBuilderList()

public List<? extends ReportSummary.VmwareNodeAllocationOrBuilder> getNodeAllocationsOrBuilderList()

Set of per-nodetype allocation records

repeated .google.cloud.migrationcenter.v1.ReportSummary.VmwareNodeAllocation node_allocations = 3;

Returns
TypeDescription
List<? extends com.google.cloud.migrationcenter.v1.ReportSummary.VmwareNodeAllocationOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReportSummary.VmwareEngineFinding other)

public ReportSummary.VmwareEngineFinding.Builder mergeFrom(ReportSummary.VmwareEngineFinding other)
Parameter
NameDescription
otherReportSummary.VmwareEngineFinding
Returns
TypeDescription
ReportSummary.VmwareEngineFinding.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReportSummary.VmwareEngineFinding.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ReportSummary.VmwareEngineFinding.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ReportSummary.VmwareEngineFinding.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ReportSummary.VmwareEngineFinding.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReportSummary.VmwareEngineFinding.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ReportSummary.VmwareEngineFinding.Builder
Overrides

removeNodeAllocations(int index)

public ReportSummary.VmwareEngineFinding.Builder removeNodeAllocations(int index)

Set of per-nodetype allocation records

repeated .google.cloud.migrationcenter.v1.ReportSummary.VmwareNodeAllocation node_allocations = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
ReportSummary.VmwareEngineFinding.Builder

setAllocatedAssetCount(long value)

public ReportSummary.VmwareEngineFinding.Builder setAllocatedAssetCount(long value)

Count of assets which are allocated

int64 allocated_asset_count = 2;

Parameter
NameDescription
valuelong

The allocatedAssetCount to set.

Returns
TypeDescription
ReportSummary.VmwareEngineFinding.Builder

This builder for chaining.

setAllocatedRegions(int index, String value)

public ReportSummary.VmwareEngineFinding.Builder setAllocatedRegions(int index, String value)

Set of regions in which the assets were allocated

repeated string allocated_regions = 1;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The allocatedRegions to set.

Returns
TypeDescription
ReportSummary.VmwareEngineFinding.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ReportSummary.VmwareEngineFinding.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ReportSummary.VmwareEngineFinding.Builder
Overrides

setNodeAllocations(int index, ReportSummary.VmwareNodeAllocation value)

public ReportSummary.VmwareEngineFinding.Builder setNodeAllocations(int index, ReportSummary.VmwareNodeAllocation value)

Set of per-nodetype allocation records

repeated .google.cloud.migrationcenter.v1.ReportSummary.VmwareNodeAllocation node_allocations = 3;

Parameters
NameDescription
indexint
valueReportSummary.VmwareNodeAllocation
Returns
TypeDescription
ReportSummary.VmwareEngineFinding.Builder

setNodeAllocations(int index, ReportSummary.VmwareNodeAllocation.Builder builderForValue)

public ReportSummary.VmwareEngineFinding.Builder setNodeAllocations(int index, ReportSummary.VmwareNodeAllocation.Builder builderForValue)

Set of per-nodetype allocation records

repeated .google.cloud.migrationcenter.v1.ReportSummary.VmwareNodeAllocation node_allocations = 3;

Parameters
NameDescription
indexint
builderForValueReportSummary.VmwareNodeAllocation.Builder
Returns
TypeDescription
ReportSummary.VmwareEngineFinding.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ReportSummary.VmwareEngineFinding.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ReportSummary.VmwareEngineFinding.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ReportSummary.VmwareEngineFinding.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ReportSummary.VmwareEngineFinding.Builder
Overrides