Class ReportSummary.VmwareEngineFinding.Builder (0.27.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
Type Description
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
Name Description
values Iterable<String>

The allocatedRegions to add.

Returns
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.migrationcenter.v1.ReportSummary.VmwareNodeAllocation>
Returns
Type Description
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
Name Description
value String

The allocatedRegions to add.

Returns
Type Description
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
Name Description
value ByteString

The bytes of the allocatedRegions to add.

Returns
Type Description
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
Name Description
value ReportSummary.VmwareNodeAllocation
Returns
Type Description
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
Name Description
builderForValue ReportSummary.VmwareNodeAllocation.Builder
Returns
Type Description
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
Name Description
index int
value ReportSummary.VmwareNodeAllocation
Returns
Type Description
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
Name Description
index int
builderForValue ReportSummary.VmwareNodeAllocation.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
ReportSummary.VmwareNodeAllocation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ReportSummary.VmwareEngineFinding.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ReportSummary.VmwareEngineFinding.Builder
Overrides

build()

public ReportSummary.VmwareEngineFinding build()
Returns
Type Description
ReportSummary.VmwareEngineFinding

buildPartial()

public ReportSummary.VmwareEngineFinding buildPartial()
Returns
Type Description
ReportSummary.VmwareEngineFinding

clear()

public ReportSummary.VmwareEngineFinding.Builder clear()
Returns
Type Description
ReportSummary.VmwareEngineFinding.Builder
Overrides

clearAllocatedAssetCount()

public ReportSummary.VmwareEngineFinding.Builder clearAllocatedAssetCount()

Count of assets which are allocated

int64 allocated_asset_count = 2;

Returns
Type Description
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
Type Description
ReportSummary.VmwareEngineFinding.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ReportSummary.VmwareEngineFinding.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
ReportSummary.VmwareEngineFinding.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ReportSummary.VmwareEngineFinding.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ReportSummary.VmwareEngineFinding.Builder
Overrides

clone()

public ReportSummary.VmwareEngineFinding.Builder clone()
Returns
Type Description
ReportSummary.VmwareEngineFinding.Builder
Overrides

getAllocatedAssetCount()

public long getAllocatedAssetCount()

Count of assets which are allocated

int64 allocated_asset_count = 2;

Returns
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
int

The count of allocatedRegions.

getAllocatedRegionsList()

public ProtocolStringList getAllocatedRegionsList()

Set of regions in which the assets were allocated

repeated string allocated_regions = 1;

Returns
Type Description
ProtocolStringList

A list containing the allocatedRegions.

getDefaultInstanceForType()

public ReportSummary.VmwareEngineFinding getDefaultInstanceForType()
Returns
Type Description
ReportSummary.VmwareEngineFinding

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<Builder>

getNodeAllocationsCount()

public int getNodeAllocationsCount()

Set of per-nodetype allocation records

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

Returns
Type Description
int

getNodeAllocationsList()

public List<ReportSummary.VmwareNodeAllocation> getNodeAllocationsList()

Set of per-nodetype allocation records

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.migrationcenter.v1.ReportSummary.VmwareNodeAllocationOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReportSummary.VmwareEngineFinding other)

public ReportSummary.VmwareEngineFinding.Builder mergeFrom(ReportSummary.VmwareEngineFinding other)
Parameter
Name Description
other ReportSummary.VmwareEngineFinding
Returns
Type Description
ReportSummary.VmwareEngineFinding.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ReportSummary.VmwareEngineFinding.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ReportSummary.VmwareEngineFinding.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ReportSummary.VmwareEngineFinding.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ReportSummary.VmwareEngineFinding.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ReportSummary.VmwareEngineFinding.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
value long

The allocatedAssetCount to set.

Returns
Type Description
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
Name Description
index int

The index to set the value at.

value String

The allocatedRegions to set.

Returns
Type Description
ReportSummary.VmwareEngineFinding.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ReportSummary.VmwareEngineFinding.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
index int
value ReportSummary.VmwareNodeAllocation
Returns
Type Description
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
Name Description
index int
builderForValue ReportSummary.VmwareNodeAllocation.Builder
Returns
Type Description
ReportSummary.VmwareEngineFinding.Builder

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

public ReportSummary.VmwareEngineFinding.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ReportSummary.VmwareEngineFinding.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ReportSummary.VmwareEngineFinding.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ReportSummary.VmwareEngineFinding.Builder
Overrides