- 2.80.0 (latest)
 - 2.78.0
 - 2.77.0
 - 2.76.0
 - 2.75.0
 - 2.74.0
 - 2.72.0
 - 2.70.0
 - 2.69.0
 - 2.66.0
 - 2.65.0
 - 2.64.0
 - 2.62.0
 - 2.61.0
 - 2.60.0
 - 2.59.0
 - 2.58.0
 - 2.57.0
 - 2.56.0
 - 2.55.0
 - 2.54.0
 - 2.53.0
 - 2.51.0
 - 2.50.0
 - 2.49.0
 - 2.48.0
 - 2.47.0
 - 2.46.0
 - 2.45.0
 - 2.44.0
 - 2.43.0
 - 2.42.0
 - 2.41.0
 - 2.39.0
 - 2.38.0
 - 2.37.0
 - 2.36.0
 - 2.35.0
 - 2.34.0
 - 2.33.0
 - 2.32.0
 - 2.31.0
 - 2.30.0
 - 2.29.0
 - 2.26.0
 - 2.25.0
 - 2.24.0
 - 2.23.0
 - 2.22.0
 - 2.21.0
 - 2.20.0
 - 2.19.0
 - 2.18.0
 - 2.17.0
 - 2.16.0
 - 2.15.0
 - 2.14.0
 - 2.13.0
 - 2.11.0
 - 2.10.0
 - 2.9.0
 - 2.8.0
 - 2.7.0
 - 2.6.0
 - 2.5.6
 - 2.4.3
 - 2.3.2
 
public static final class Inventory.OsInfo.Builder extends GeneratedMessageV3.Builder<Inventory.OsInfo.Builder> implements Inventory.OsInfoOrBuilderOperating system information for the VM.
 Protobuf type google.cloud.osconfig.v1alpha.Inventory.OsInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Inventory.OsInfo.BuilderImplements
Inventory.OsInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description | 
| Descriptor | 
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Inventory.OsInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description | 
| field | FieldDescriptor | 
      
| value | Object | 
      
| Type | Description | 
| Inventory.OsInfo.Builder | 
build()
public Inventory.OsInfo build()| Type | Description | 
| Inventory.OsInfo | 
buildPartial()
public Inventory.OsInfo buildPartial()| Type | Description | 
| Inventory.OsInfo | 
clear()
public Inventory.OsInfo.Builder clear()| Type | Description | 
| Inventory.OsInfo.Builder | 
clearArchitecture()
public Inventory.OsInfo.Builder clearArchitecture()The system architecture of the operating system.
 string architecture = 5;
| Type | Description | 
| Inventory.OsInfo.Builder | This builder for chaining.  | 
      
clearField(Descriptors.FieldDescriptor field)
public Inventory.OsInfo.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description | 
| field | FieldDescriptor | 
      
| Type | Description | 
| Inventory.OsInfo.Builder | 
clearHostname()
public Inventory.OsInfo.Builder clearHostname()The VM hostname.
 string hostname = 9;
| Type | Description | 
| Inventory.OsInfo.Builder | This builder for chaining.  | 
      
clearKernelRelease()
public Inventory.OsInfo.Builder clearKernelRelease()The kernel release of the operating system.
 string kernel_release = 7;
| Type | Description | 
| Inventory.OsInfo.Builder | This builder for chaining.  | 
      
clearKernelVersion()
public Inventory.OsInfo.Builder clearKernelVersion()The kernel version of the operating system.
 string kernel_version = 6;
| Type | Description | 
| Inventory.OsInfo.Builder | This builder for chaining.  | 
      
clearLongName()
public Inventory.OsInfo.Builder clearLongName()The operating system long name. For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019 Datacenter'.
 string long_name = 2;
| Type | Description | 
| Inventory.OsInfo.Builder | This builder for chaining.  | 
      
clearOneof(Descriptors.OneofDescriptor oneof)
public Inventory.OsInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description | 
| oneof | OneofDescriptor | 
      
| Type | Description | 
| Inventory.OsInfo.Builder | 
clearOsconfigAgentVersion()
public Inventory.OsInfo.Builder clearOsconfigAgentVersion()The current version of the OS Config agent running on the VM.
 string osconfig_agent_version = 8;
| Type | Description | 
| Inventory.OsInfo.Builder | This builder for chaining.  | 
      
clearShortName()
public Inventory.OsInfo.Builder clearShortName()The operating system short name. For example, 'windows' or 'debian'.
 string short_name = 3;
| Type | Description | 
| Inventory.OsInfo.Builder | This builder for chaining.  | 
      
clearVersion()
public Inventory.OsInfo.Builder clearVersion()The version of the operating system.
 string version = 4;
| Type | Description | 
| Inventory.OsInfo.Builder | This builder for chaining.  | 
      
clone()
public Inventory.OsInfo.Builder clone()| Type | Description | 
| Inventory.OsInfo.Builder | 
getArchitecture()
public String getArchitecture()The system architecture of the operating system.
 string architecture = 5;
| Type | Description | 
| String | The architecture.  | 
      
getArchitectureBytes()
public ByteString getArchitectureBytes()The system architecture of the operating system.
 string architecture = 5;
| Type | Description | 
| ByteString | The bytes for architecture.  | 
      
getDefaultInstanceForType()
public Inventory.OsInfo getDefaultInstanceForType()| Type | Description | 
| Inventory.OsInfo | 
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description | 
| Descriptor | 
getHostname()
public String getHostname()The VM hostname.
 string hostname = 9;
| Type | Description | 
| String | The hostname.  | 
      
getHostnameBytes()
public ByteString getHostnameBytes()The VM hostname.
 string hostname = 9;
| Type | Description | 
| ByteString | The bytes for hostname.  | 
      
getKernelRelease()
public String getKernelRelease()The kernel release of the operating system.
 string kernel_release = 7;
| Type | Description | 
| String | The kernelRelease.  | 
      
getKernelReleaseBytes()
public ByteString getKernelReleaseBytes()The kernel release of the operating system.
 string kernel_release = 7;
| Type | Description | 
| ByteString | The bytes for kernelRelease.  | 
      
getKernelVersion()
public String getKernelVersion()The kernel version of the operating system.
 string kernel_version = 6;
| Type | Description | 
| String | The kernelVersion.  | 
      
getKernelVersionBytes()
public ByteString getKernelVersionBytes()The kernel version of the operating system.
 string kernel_version = 6;
| Type | Description | 
| ByteString | The bytes for kernelVersion.  | 
      
getLongName()
public String getLongName()The operating system long name. For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019 Datacenter'.
 string long_name = 2;
| Type | Description | 
| String | The longName.  | 
      
getLongNameBytes()
public ByteString getLongNameBytes()The operating system long name. For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019 Datacenter'.
 string long_name = 2;
| Type | Description | 
| ByteString | The bytes for longName.  | 
      
getOsconfigAgentVersion()
public String getOsconfigAgentVersion()The current version of the OS Config agent running on the VM.
 string osconfig_agent_version = 8;
| Type | Description | 
| String | The osconfigAgentVersion.  | 
      
getOsconfigAgentVersionBytes()
public ByteString getOsconfigAgentVersionBytes()The current version of the OS Config agent running on the VM.
 string osconfig_agent_version = 8;
| Type | Description | 
| ByteString | The bytes for osconfigAgentVersion.  | 
      
getShortName()
public String getShortName()The operating system short name. For example, 'windows' or 'debian'.
 string short_name = 3;
| Type | Description | 
| String | The shortName.  | 
      
getShortNameBytes()
public ByteString getShortNameBytes()The operating system short name. For example, 'windows' or 'debian'.
 string short_name = 3;
| Type | Description | 
| ByteString | The bytes for shortName.  | 
      
getVersion()
public String getVersion()The version of the operating system.
 string version = 4;
| Type | Description | 
| String | The version.  | 
      
getVersionBytes()
public ByteString getVersionBytes()The version of the operating system.
 string version = 4;
| Type | Description | 
| ByteString | The bytes for version.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description | 
| FieldAccessorTable | 
isInitialized()
public final boolean isInitialized()| Type | Description | 
| boolean | 
mergeFrom(Inventory.OsInfo other)
public Inventory.OsInfo.Builder mergeFrom(Inventory.OsInfo other)| Name | Description | 
| other | Inventory.OsInfo | 
      
| Type | Description | 
| Inventory.OsInfo.Builder | 
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Inventory.OsInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description | 
| input | CodedInputStream | 
      
| extensionRegistry | ExtensionRegistryLite | 
      
| Type | Description | 
| Inventory.OsInfo.Builder | 
| Type | Description | 
| IOException | 
mergeFrom(Message other)
public Inventory.OsInfo.Builder mergeFrom(Message other)| Name | Description | 
| other | Message | 
      
| Type | Description | 
| Inventory.OsInfo.Builder | 
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Inventory.OsInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description | 
| unknownFields | UnknownFieldSet | 
      
| Type | Description | 
| Inventory.OsInfo.Builder | 
setArchitecture(String value)
public Inventory.OsInfo.Builder setArchitecture(String value)The system architecture of the operating system.
 string architecture = 5;
| Name | Description | 
| value | StringThe architecture to set.  | 
      
| Type | Description | 
| Inventory.OsInfo.Builder | This builder for chaining.  | 
      
setArchitectureBytes(ByteString value)
public Inventory.OsInfo.Builder setArchitectureBytes(ByteString value)The system architecture of the operating system.
 string architecture = 5;
| Name | Description | 
| value | ByteStringThe bytes for architecture to set.  | 
      
| Type | Description | 
| Inventory.OsInfo.Builder | This builder for chaining.  | 
      
setField(Descriptors.FieldDescriptor field, Object value)
public Inventory.OsInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description | 
| field | FieldDescriptor | 
      
| value | Object | 
      
| Type | Description | 
| Inventory.OsInfo.Builder | 
setHostname(String value)
public Inventory.OsInfo.Builder setHostname(String value)The VM hostname.
 string hostname = 9;
| Name | Description | 
| value | StringThe hostname to set.  | 
      
| Type | Description | 
| Inventory.OsInfo.Builder | This builder for chaining.  | 
      
setHostnameBytes(ByteString value)
public Inventory.OsInfo.Builder setHostnameBytes(ByteString value)The VM hostname.
 string hostname = 9;
| Name | Description | 
| value | ByteStringThe bytes for hostname to set.  | 
      
| Type | Description | 
| Inventory.OsInfo.Builder | This builder for chaining.  | 
      
setKernelRelease(String value)
public Inventory.OsInfo.Builder setKernelRelease(String value)The kernel release of the operating system.
 string kernel_release = 7;
| Name | Description | 
| value | StringThe kernelRelease to set.  | 
      
| Type | Description | 
| Inventory.OsInfo.Builder | This builder for chaining.  | 
      
setKernelReleaseBytes(ByteString value)
public Inventory.OsInfo.Builder setKernelReleaseBytes(ByteString value)The kernel release of the operating system.
 string kernel_release = 7;
| Name | Description | 
| value | ByteStringThe bytes for kernelRelease to set.  | 
      
| Type | Description | 
| Inventory.OsInfo.Builder | This builder for chaining.  | 
      
setKernelVersion(String value)
public Inventory.OsInfo.Builder setKernelVersion(String value)The kernel version of the operating system.
 string kernel_version = 6;
| Name | Description | 
| value | StringThe kernelVersion to set.  | 
      
| Type | Description | 
| Inventory.OsInfo.Builder | This builder for chaining.  | 
      
setKernelVersionBytes(ByteString value)
public Inventory.OsInfo.Builder setKernelVersionBytes(ByteString value)The kernel version of the operating system.
 string kernel_version = 6;
| Name | Description | 
| value | ByteStringThe bytes for kernelVersion to set.  | 
      
| Type | Description | 
| Inventory.OsInfo.Builder | This builder for chaining.  | 
      
setLongName(String value)
public Inventory.OsInfo.Builder setLongName(String value)The operating system long name. For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019 Datacenter'.
 string long_name = 2;
| Name | Description | 
| value | StringThe longName to set.  | 
      
| Type | Description | 
| Inventory.OsInfo.Builder | This builder for chaining.  | 
      
setLongNameBytes(ByteString value)
public Inventory.OsInfo.Builder setLongNameBytes(ByteString value)The operating system long name. For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019 Datacenter'.
 string long_name = 2;
| Name | Description | 
| value | ByteStringThe bytes for longName to set.  | 
      
| Type | Description | 
| Inventory.OsInfo.Builder | This builder for chaining.  | 
      
setOsconfigAgentVersion(String value)
public Inventory.OsInfo.Builder setOsconfigAgentVersion(String value)The current version of the OS Config agent running on the VM.
 string osconfig_agent_version = 8;
| Name | Description | 
| value | StringThe osconfigAgentVersion to set.  | 
      
| Type | Description | 
| Inventory.OsInfo.Builder | This builder for chaining.  | 
      
setOsconfigAgentVersionBytes(ByteString value)
public Inventory.OsInfo.Builder setOsconfigAgentVersionBytes(ByteString value)The current version of the OS Config agent running on the VM.
 string osconfig_agent_version = 8;
| Name | Description | 
| value | ByteStringThe bytes for osconfigAgentVersion to set.  | 
      
| Type | Description | 
| Inventory.OsInfo.Builder | This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Inventory.OsInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description | 
| field | FieldDescriptor | 
      
| index | int | 
      
| value | Object | 
      
| Type | Description | 
| Inventory.OsInfo.Builder | 
setShortName(String value)
public Inventory.OsInfo.Builder setShortName(String value)The operating system short name. For example, 'windows' or 'debian'.
 string short_name = 3;
| Name | Description | 
| value | StringThe shortName to set.  | 
      
| Type | Description | 
| Inventory.OsInfo.Builder | This builder for chaining.  | 
      
setShortNameBytes(ByteString value)
public Inventory.OsInfo.Builder setShortNameBytes(ByteString value)The operating system short name. For example, 'windows' or 'debian'.
 string short_name = 3;
| Name | Description | 
| value | ByteStringThe bytes for shortName to set.  | 
      
| Type | Description | 
| Inventory.OsInfo.Builder | This builder for chaining.  | 
      
setUnknownFields(UnknownFieldSet unknownFields)
public final Inventory.OsInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description | 
| unknownFields | UnknownFieldSet | 
      
| Type | Description | 
| Inventory.OsInfo.Builder | 
setVersion(String value)
public Inventory.OsInfo.Builder setVersion(String value)The version of the operating system.
 string version = 4;
| Name | Description | 
| value | StringThe version to set.  | 
      
| Type | Description | 
| Inventory.OsInfo.Builder | This builder for chaining.  | 
      
setVersionBytes(ByteString value)
public Inventory.OsInfo.Builder setVersionBytes(ByteString value)The version of the operating system.
 string version = 4;
| Name | Description | 
| value | ByteStringThe bytes for version to set.  | 
      
| Type | Description | 
| Inventory.OsInfo.Builder | This builder for chaining.  |