- 1.78.0 (latest)
 - 1.76.0
 - 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 VmCapabilities.Builder extends GeneratedMessageV3.Builder<VmCapabilities.Builder> implements VmCapabilitiesOrBuilderMigrating VM source information about the VM capabilities needed for some Compute Engine features.
 Protobuf type google.cloud.vmmigration.v1.VmCapabilities
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VmCapabilities.BuilderImplements
VmCapabilitiesOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addAllOsCapabilities(Iterable<? extends OsCapability> values)
public VmCapabilities.Builder addAllOsCapabilities(Iterable<? extends OsCapability> values)Output only. Unordered list. List of certain VM OS capabilities needed for some Compute Engine features.
 
 repeated .google.cloud.vmmigration.v1.OsCapability os_capabilities = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];
 
| Parameter | |
|---|---|
| Name | Description | 
values | 
        Iterable<? extends com.google.cloud.vmmigration.v1.OsCapability>The osCapabilities to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
VmCapabilities.Builder | 
        This builder for chaining.  | 
      
addAllOsCapabilitiesValue(Iterable<Integer> values)
public VmCapabilities.Builder addAllOsCapabilitiesValue(Iterable<Integer> values)Output only. Unordered list. List of certain VM OS capabilities needed for some Compute Engine features.
 
 repeated .google.cloud.vmmigration.v1.OsCapability os_capabilities = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];
 
| Parameter | |
|---|---|
| Name | Description | 
values | 
        Iterable<Integer>The enum numeric values on the wire for osCapabilities to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
VmCapabilities.Builder | 
        This builder for chaining.  | 
      
addOsCapabilities(OsCapability value)
public VmCapabilities.Builder addOsCapabilities(OsCapability value)Output only. Unordered list. List of certain VM OS capabilities needed for some Compute Engine features.
 
 repeated .google.cloud.vmmigration.v1.OsCapability os_capabilities = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        OsCapabilityThe osCapabilities to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
VmCapabilities.Builder | 
        This builder for chaining.  | 
      
addOsCapabilitiesValue(int value)
public VmCapabilities.Builder addOsCapabilitiesValue(int value)Output only. Unordered list. List of certain VM OS capabilities needed for some Compute Engine features.
 
 repeated .google.cloud.vmmigration.v1.OsCapability os_capabilities = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        intThe enum numeric value on the wire for osCapabilities to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
VmCapabilities.Builder | 
        This builder for chaining.  | 
      
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VmCapabilities.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
VmCapabilities.Builder | 
        |
build()
public VmCapabilities build()| Returns | |
|---|---|
| Type | Description | 
VmCapabilities | 
        |
buildPartial()
public VmCapabilities buildPartial()| Returns | |
|---|---|
| Type | Description | 
VmCapabilities | 
        |
clear()
public VmCapabilities.Builder clear()| Returns | |
|---|---|
| Type | Description | 
VmCapabilities.Builder | 
        |
clearField(Descriptors.FieldDescriptor field)
public VmCapabilities.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
VmCapabilities.Builder | 
        |
clearLastOsCapabilitiesUpdateTime()
public VmCapabilities.Builder clearLastOsCapabilitiesUpdateTime()Output only. The last time OS capabilities list was updated.
 
 .google.protobuf.Timestamp last_os_capabilities_update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
VmCapabilities.Builder | 
        |
clearOneof(Descriptors.OneofDescriptor oneof)
public VmCapabilities.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
VmCapabilities.Builder | 
        |
clearOsCapabilities()
public VmCapabilities.Builder clearOsCapabilities()Output only. Unordered list. List of certain VM OS capabilities needed for some Compute Engine features.
 
 repeated .google.cloud.vmmigration.v1.OsCapability os_capabilities = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];
 
| Returns | |
|---|---|
| Type | Description | 
VmCapabilities.Builder | 
        This builder for chaining.  | 
      
clone()
public VmCapabilities.Builder clone()| Returns | |
|---|---|
| Type | Description | 
VmCapabilities.Builder | 
        |
getDefaultInstanceForType()
public VmCapabilities getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
VmCapabilities | 
        |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
getLastOsCapabilitiesUpdateTime()
public Timestamp getLastOsCapabilitiesUpdateTime()Output only. The last time OS capabilities list was updated.
 
 .google.protobuf.Timestamp last_os_capabilities_update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Timestamp | 
        The lastOsCapabilitiesUpdateTime.  | 
      
getLastOsCapabilitiesUpdateTimeBuilder()
public Timestamp.Builder getLastOsCapabilitiesUpdateTimeBuilder()Output only. The last time OS capabilities list was updated.
 
 .google.protobuf.Timestamp last_os_capabilities_update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
Builder | 
        |
getLastOsCapabilitiesUpdateTimeOrBuilder()
public TimestampOrBuilder getLastOsCapabilitiesUpdateTimeOrBuilder()Output only. The last time OS capabilities list was updated.
 
 .google.protobuf.Timestamp last_os_capabilities_update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
TimestampOrBuilder | 
        |
getOsCapabilities(int index)
public OsCapability getOsCapabilities(int index)Output only. Unordered list. List of certain VM OS capabilities needed for some Compute Engine features.
 
 repeated .google.cloud.vmmigration.v1.OsCapability os_capabilities = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];
 
| Parameter | |
|---|---|
| Name | Description | 
index | 
        intThe index of the element to return.  | 
      
| Returns | |
|---|---|
| Type | Description | 
OsCapability | 
        The osCapabilities at the given index.  | 
      
getOsCapabilitiesCount()
public int getOsCapabilitiesCount()Output only. Unordered list. List of certain VM OS capabilities needed for some Compute Engine features.
 
 repeated .google.cloud.vmmigration.v1.OsCapability os_capabilities = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];
 
| Returns | |
|---|---|
| Type | Description | 
int | 
        The count of osCapabilities.  | 
      
getOsCapabilitiesList()
public List<OsCapability> getOsCapabilitiesList()Output only. Unordered list. List of certain VM OS capabilities needed for some Compute Engine features.
 
 repeated .google.cloud.vmmigration.v1.OsCapability os_capabilities = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];
 
| Returns | |
|---|---|
| Type | Description | 
List<OsCapability> | 
        A list containing the osCapabilities.  | 
      
getOsCapabilitiesValue(int index)
public int getOsCapabilitiesValue(int index)Output only. Unordered list. List of certain VM OS capabilities needed for some Compute Engine features.
 
 repeated .google.cloud.vmmigration.v1.OsCapability os_capabilities = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];
 
| Parameter | |
|---|---|
| Name | Description | 
index | 
        intThe index of the value to return.  | 
      
| Returns | |
|---|---|
| Type | Description | 
int | 
        The enum numeric value on the wire of osCapabilities at the given index.  | 
      
getOsCapabilitiesValueList()
public List<Integer> getOsCapabilitiesValueList()Output only. Unordered list. List of certain VM OS capabilities needed for some Compute Engine features.
 
 repeated .google.cloud.vmmigration.v1.OsCapability os_capabilities = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];
 
| Returns | |
|---|---|
| Type | Description | 
List<Integer> | 
        A list containing the enum numeric values on the wire for osCapabilities.  | 
      
hasLastOsCapabilitiesUpdateTime()
public boolean hasLastOsCapabilitiesUpdateTime()Output only. The last time OS capabilities list was updated.
 
 .google.protobuf.Timestamp last_os_capabilities_update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the lastOsCapabilitiesUpdateTime field is set.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
FieldAccessorTable | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
mergeFrom(VmCapabilities other)
public VmCapabilities.Builder mergeFrom(VmCapabilities other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        VmCapabilities | 
      
| Returns | |
|---|---|
| Type | Description | 
VmCapabilities.Builder | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VmCapabilities.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
VmCapabilities.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public VmCapabilities.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
VmCapabilities.Builder | 
        |
mergeLastOsCapabilitiesUpdateTime(Timestamp value)
public VmCapabilities.Builder mergeLastOsCapabilitiesUpdateTime(Timestamp value)Output only. The last time OS capabilities list was updated.
 
 .google.protobuf.Timestamp last_os_capabilities_update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| Returns | |
|---|---|
| Type | Description | 
VmCapabilities.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VmCapabilities.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
VmCapabilities.Builder | 
        |
setField(Descriptors.FieldDescriptor field, Object value)
public VmCapabilities.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
VmCapabilities.Builder | 
        |
setLastOsCapabilitiesUpdateTime(Timestamp value)
public VmCapabilities.Builder setLastOsCapabilitiesUpdateTime(Timestamp value)Output only. The last time OS capabilities list was updated.
 
 .google.protobuf.Timestamp last_os_capabilities_update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
value | 
        Timestamp | 
      
| Returns | |
|---|---|
| Type | Description | 
VmCapabilities.Builder | 
        |
setLastOsCapabilitiesUpdateTime(Timestamp.Builder builderForValue)
public VmCapabilities.Builder setLastOsCapabilitiesUpdateTime(Timestamp.Builder builderForValue)Output only. The last time OS capabilities list was updated.
 
 .google.protobuf.Timestamp last_os_capabilities_update_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
builderForValue | 
        Builder | 
      
| Returns | |
|---|---|
| Type | Description | 
VmCapabilities.Builder | 
        |
setOsCapabilities(int index, OsCapability value)
public VmCapabilities.Builder setOsCapabilities(int index, OsCapability value)Output only. Unordered list. List of certain VM OS capabilities needed for some Compute Engine features.
 
 repeated .google.cloud.vmmigration.v1.OsCapability os_capabilities = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];
 
| Parameters | |
|---|---|
| Name | Description | 
index | 
        intThe index to set the value at.  | 
      
value | 
        OsCapabilityThe osCapabilities to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
VmCapabilities.Builder | 
        This builder for chaining.  | 
      
setOsCapabilitiesValue(int index, int value)
public VmCapabilities.Builder setOsCapabilitiesValue(int index, int value)Output only. Unordered list. List of certain VM OS capabilities needed for some Compute Engine features.
 
 repeated .google.cloud.vmmigration.v1.OsCapability os_capabilities = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];
 
| Parameters | |
|---|---|
| Name | Description | 
index | 
        intThe index to set the value at.  | 
      
value | 
        intThe enum numeric value on the wire for osCapabilities to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
VmCapabilities.Builder | 
        This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VmCapabilities.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
VmCapabilities.Builder | 
        |
setUnknownFields(UnknownFieldSet unknownFields)
public final VmCapabilities.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
VmCapabilities.Builder | 
        |