Class ReportSummary.VmwareEngineFinding.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ReportSummary.VmwareEngineFinding.Builder>
com.google.cloud.migrationcenter.v1.ReportSummary.VmwareEngineFinding.Builder
- All Implemented Interfaces:
ReportSummary.VmwareEngineFindingOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ReportSummary.VmwareEngineFinding
public static final class ReportSummary.VmwareEngineFinding.Builder
extends com.google.protobuf.GeneratedMessage.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-
Method Summary
Modifier and TypeMethodDescriptionaddAllAllocatedRegions(Iterable<String> values) Set of regions in which the assets were allocatedaddAllNodeAllocations(Iterable<? extends ReportSummary.VmwareNodeAllocation> values) Set of per-nodetype allocation recordsaddAllocatedRegions(String value) Set of regions in which the assets were allocatedaddAllocatedRegionsBytes(com.google.protobuf.ByteString value) Set of regions in which the assets were allocatedaddNodeAllocations(int index, ReportSummary.VmwareNodeAllocation value) Set of per-nodetype allocation recordsaddNodeAllocations(int index, ReportSummary.VmwareNodeAllocation.Builder builderForValue) Set of per-nodetype allocation recordsSet of per-nodetype allocation recordsaddNodeAllocations(ReportSummary.VmwareNodeAllocation.Builder builderForValue) Set of per-nodetype allocation recordsSet of per-nodetype allocation recordsaddNodeAllocationsBuilder(int index) Set of per-nodetype allocation recordsbuild()clear()Count of assets which are allocatedSet of regions in which the assets were allocatedSet of per-nodetype allocation recordslongCount of assets which are allocatedgetAllocatedRegions(int index) Set of regions in which the assets were allocatedcom.google.protobuf.ByteStringgetAllocatedRegionsBytes(int index) Set of regions in which the assets were allocatedintSet of regions in which the assets were allocatedcom.google.protobuf.ProtocolStringListSet of regions in which the assets were allocatedstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetNodeAllocations(int index) Set of per-nodetype allocation recordsgetNodeAllocationsBuilder(int index) Set of per-nodetype allocation recordsSet of per-nodetype allocation recordsintSet of per-nodetype allocation recordsSet of per-nodetype allocation recordsgetNodeAllocationsOrBuilder(int index) Set of per-nodetype allocation recordsList<? extends ReportSummary.VmwareNodeAllocationOrBuilder>Set of per-nodetype allocation recordsprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeNodeAllocations(int index) Set of per-nodetype allocation recordssetAllocatedAssetCount(long value) Count of assets which are allocatedsetAllocatedRegions(int index, String value) Set of regions in which the assets were allocatedsetNodeAllocations(int index, ReportSummary.VmwareNodeAllocation value) Set of per-nodetype allocation recordssetNodeAllocations(int index, ReportSummary.VmwareNodeAllocation.Builder builderForValue) Set of per-nodetype allocation recordsMethods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ReportSummary.VmwareEngineFinding.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ReportSummary.VmwareEngineFinding.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ReportSummary.VmwareEngineFinding.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReportSummary.VmwareEngineFinding.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ReportSummary.VmwareEngineFinding.Builder>
-
mergeFrom
public ReportSummary.VmwareEngineFinding.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReportSummary.VmwareEngineFinding.Builder>- Throws:
IOException
-
getAllocatedRegionsList
public com.google.protobuf.ProtocolStringList getAllocatedRegionsList()Set of regions in which the assets were allocated
repeated string allocated_regions = 1;- Specified by:
getAllocatedRegionsListin interfaceReportSummary.VmwareEngineFindingOrBuilder- Returns:
- A list containing the allocatedRegions.
-
getAllocatedRegionsCount
public int getAllocatedRegionsCount()Set of regions in which the assets were allocated
repeated string allocated_regions = 1;- Specified by:
getAllocatedRegionsCountin interfaceReportSummary.VmwareEngineFindingOrBuilder- Returns:
- The count of allocatedRegions.
-
getAllocatedRegions
Set of regions in which the assets were allocated
repeated string allocated_regions = 1;- Specified by:
getAllocatedRegionsin interfaceReportSummary.VmwareEngineFindingOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The allocatedRegions at the given index.
-
getAllocatedRegionsBytes
public com.google.protobuf.ByteString getAllocatedRegionsBytes(int index) Set of regions in which the assets were allocated
repeated string allocated_regions = 1;- Specified by:
getAllocatedRegionsBytesin interfaceReportSummary.VmwareEngineFindingOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the allocatedRegions at the given index.
-
setAllocatedRegions
Set of regions in which the assets were allocated
repeated string allocated_regions = 1;- Parameters:
index- The index to set the value at.value- The allocatedRegions to set.- Returns:
- This builder for chaining.
-
addAllocatedRegions
Set of regions in which the assets were allocated
repeated string allocated_regions = 1;- Parameters:
value- The allocatedRegions to add.- Returns:
- This builder for chaining.
-
addAllAllocatedRegions
Set of regions in which the assets were allocated
repeated string allocated_regions = 1;- Parameters:
values- The allocatedRegions to add.- Returns:
- This builder for chaining.
-
clearAllocatedRegions
Set of regions in which the assets were allocated
repeated string allocated_regions = 1;- Returns:
- This builder for chaining.
-
addAllocatedRegionsBytes
public ReportSummary.VmwareEngineFinding.Builder addAllocatedRegionsBytes(com.google.protobuf.ByteString value) Set of regions in which the assets were allocated
repeated string allocated_regions = 1;- Parameters:
value- The bytes of the allocatedRegions to add.- Returns:
- This builder for chaining.
-
getAllocatedAssetCount
public long getAllocatedAssetCount()Count of assets which are allocated
int64 allocated_asset_count = 2;- Specified by:
getAllocatedAssetCountin interfaceReportSummary.VmwareEngineFindingOrBuilder- Returns:
- The allocatedAssetCount.
-
setAllocatedAssetCount
Count of assets which are allocated
int64 allocated_asset_count = 2;- Parameters:
value- The allocatedAssetCount to set.- Returns:
- This builder for chaining.
-
clearAllocatedAssetCount
Count of assets which are allocated
int64 allocated_asset_count = 2;- Returns:
- This builder for chaining.
-
getNodeAllocationsList
Set of per-nodetype allocation records
repeated .google.cloud.migrationcenter.v1.ReportSummary.VmwareNodeAllocation node_allocations = 3;- Specified by:
getNodeAllocationsListin interfaceReportSummary.VmwareEngineFindingOrBuilder
-
getNodeAllocationsCount
public int getNodeAllocationsCount()Set of per-nodetype allocation records
repeated .google.cloud.migrationcenter.v1.ReportSummary.VmwareNodeAllocation node_allocations = 3;- Specified by:
getNodeAllocationsCountin interfaceReportSummary.VmwareEngineFindingOrBuilder
-
getNodeAllocations
Set of per-nodetype allocation records
repeated .google.cloud.migrationcenter.v1.ReportSummary.VmwareNodeAllocation node_allocations = 3;- Specified by:
getNodeAllocationsin interfaceReportSummary.VmwareEngineFindingOrBuilder
-
setNodeAllocations
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; -
setNodeAllocations
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; -
addNodeAllocations
public ReportSummary.VmwareEngineFinding.Builder addNodeAllocations(ReportSummary.VmwareNodeAllocation value) Set of per-nodetype allocation records
repeated .google.cloud.migrationcenter.v1.ReportSummary.VmwareNodeAllocation node_allocations = 3; -
addNodeAllocations
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; -
addNodeAllocations
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; -
addNodeAllocations
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; -
addAllNodeAllocations
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; -
clearNodeAllocations
Set of per-nodetype allocation records
repeated .google.cloud.migrationcenter.v1.ReportSummary.VmwareNodeAllocation node_allocations = 3; -
removeNodeAllocations
Set of per-nodetype allocation records
repeated .google.cloud.migrationcenter.v1.ReportSummary.VmwareNodeAllocation node_allocations = 3; -
getNodeAllocationsBuilder
Set of per-nodetype allocation records
repeated .google.cloud.migrationcenter.v1.ReportSummary.VmwareNodeAllocation node_allocations = 3; -
getNodeAllocationsOrBuilder
Set of per-nodetype allocation records
repeated .google.cloud.migrationcenter.v1.ReportSummary.VmwareNodeAllocation node_allocations = 3;- Specified by:
getNodeAllocationsOrBuilderin interfaceReportSummary.VmwareEngineFindingOrBuilder
-
getNodeAllocationsOrBuilderList
public List<? extends ReportSummary.VmwareNodeAllocationOrBuilder> getNodeAllocationsOrBuilderList()Set of per-nodetype allocation records
repeated .google.cloud.migrationcenter.v1.ReportSummary.VmwareNodeAllocation node_allocations = 3;- Specified by:
getNodeAllocationsOrBuilderListin interfaceReportSummary.VmwareEngineFindingOrBuilder
-
addNodeAllocationsBuilder
Set of per-nodetype allocation records
repeated .google.cloud.migrationcenter.v1.ReportSummary.VmwareNodeAllocation node_allocations = 3; -
addNodeAllocationsBuilder
Set of per-nodetype allocation records
repeated .google.cloud.migrationcenter.v1.ReportSummary.VmwareNodeAllocation node_allocations = 3; -
getNodeAllocationsBuilderList
Set of per-nodetype allocation records
repeated .google.cloud.migrationcenter.v1.ReportSummary.VmwareNodeAllocation node_allocations = 3;
-