public static final class Inventory.OsInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Inventory.OsInfo.Builder> implements Inventory.OsInfoOrBuilder
Operating system information for the VM.Protobuf type
google.cloud.osconfig.v1alpha.Inventory.OsInfo| Modifier and Type | Method and Description |
|---|---|
Inventory.OsInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Inventory.OsInfo |
build() |
Inventory.OsInfo |
buildPartial() |
Inventory.OsInfo.Builder |
clear() |
Inventory.OsInfo.Builder |
clearArchitecture()
The system architecture of the operating system.
|
Inventory.OsInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Inventory.OsInfo.Builder |
clearHostname()
The VM hostname.
|
Inventory.OsInfo.Builder |
clearKernelRelease()
The kernel release of the operating system.
|
Inventory.OsInfo.Builder |
clearKernelVersion()
The kernel version of the operating system.
|
Inventory.OsInfo.Builder |
clearLongName()
The operating system long name.
|
Inventory.OsInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Inventory.OsInfo.Builder |
clearOsconfigAgentVersion()
The current version of the OS Config agent running on the VM.
|
Inventory.OsInfo.Builder |
clearShortName()
The operating system short name.
|
Inventory.OsInfo.Builder |
clearVersion()
The version of the operating system.
|
Inventory.OsInfo.Builder |
clone() |
String |
getArchitecture()
The system architecture of the operating system.
|
com.google.protobuf.ByteString |
getArchitectureBytes()
The system architecture of the operating system.
|
Inventory.OsInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getHostname()
The VM hostname.
|
com.google.protobuf.ByteString |
getHostnameBytes()
The VM hostname.
|
String |
getKernelRelease()
The kernel release of the operating system.
|
com.google.protobuf.ByteString |
getKernelReleaseBytes()
The kernel release of the operating system.
|
String |
getKernelVersion()
The kernel version of the operating system.
|
com.google.protobuf.ByteString |
getKernelVersionBytes()
The kernel version of the operating system.
|
String |
getLongName()
The operating system long name.
|
com.google.protobuf.ByteString |
getLongNameBytes()
The operating system long name.
|
String |
getOsconfigAgentVersion()
The current version of the OS Config agent running on the VM.
|
com.google.protobuf.ByteString |
getOsconfigAgentVersionBytes()
The current version of the OS Config agent running on the VM.
|
String |
getShortName()
The operating system short name.
|
com.google.protobuf.ByteString |
getShortNameBytes()
The operating system short name.
|
String |
getVersion()
The version of the operating system.
|
com.google.protobuf.ByteString |
getVersionBytes()
The version of the operating system.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Inventory.OsInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Inventory.OsInfo.Builder |
mergeFrom(Inventory.OsInfo other) |
Inventory.OsInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
Inventory.OsInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Inventory.OsInfo.Builder |
setArchitecture(String value)
The system architecture of the operating system.
|
Inventory.OsInfo.Builder |
setArchitectureBytes(com.google.protobuf.ByteString value)
The system architecture of the operating system.
|
Inventory.OsInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Inventory.OsInfo.Builder |
setHostname(String value)
The VM hostname.
|
Inventory.OsInfo.Builder |
setHostnameBytes(com.google.protobuf.ByteString value)
The VM hostname.
|
Inventory.OsInfo.Builder |
setKernelRelease(String value)
The kernel release of the operating system.
|
Inventory.OsInfo.Builder |
setKernelReleaseBytes(com.google.protobuf.ByteString value)
The kernel release of the operating system.
|
Inventory.OsInfo.Builder |
setKernelVersion(String value)
The kernel version of the operating system.
|
Inventory.OsInfo.Builder |
setKernelVersionBytes(com.google.protobuf.ByteString value)
The kernel version of the operating system.
|
Inventory.OsInfo.Builder |
setLongName(String value)
The operating system long name.
|
Inventory.OsInfo.Builder |
setLongNameBytes(com.google.protobuf.ByteString value)
The operating system long name.
|
Inventory.OsInfo.Builder |
setOsconfigAgentVersion(String value)
The current version of the OS Config agent running on the VM.
|
Inventory.OsInfo.Builder |
setOsconfigAgentVersionBytes(com.google.protobuf.ByteString value)
The current version of the OS Config agent running on the VM.
|
Inventory.OsInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Inventory.OsInfo.Builder |
setShortName(String value)
The operating system short name.
|
Inventory.OsInfo.Builder |
setShortNameBytes(com.google.protobuf.ByteString value)
The operating system short name.
|
Inventory.OsInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Inventory.OsInfo.Builder |
setVersion(String value)
The version of the operating system.
|
Inventory.OsInfo.Builder |
setVersionBytes(com.google.protobuf.ByteString value)
The version of the operating system.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Inventory.OsInfo.Builder>public Inventory.OsInfo.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Inventory.OsInfo.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Inventory.OsInfo.Builder>public Inventory.OsInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Inventory.OsInfo build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Inventory.OsInfo buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Inventory.OsInfo.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Inventory.OsInfo.Builder>public Inventory.OsInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Inventory.OsInfo.Builder>public Inventory.OsInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Inventory.OsInfo.Builder>public Inventory.OsInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Inventory.OsInfo.Builder>public Inventory.OsInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Inventory.OsInfo.Builder>public Inventory.OsInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Inventory.OsInfo.Builder>public Inventory.OsInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Inventory.OsInfo.Builder>public Inventory.OsInfo.Builder mergeFrom(Inventory.OsInfo other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Inventory.OsInfo.Builder>public Inventory.OsInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Inventory.OsInfo.Builder>IOExceptionpublic String getHostname()
The VM hostname.
string hostname = 9;getHostname in interface Inventory.OsInfoOrBuilderpublic com.google.protobuf.ByteString getHostnameBytes()
The VM hostname.
string hostname = 9;getHostnameBytes in interface Inventory.OsInfoOrBuilderpublic Inventory.OsInfo.Builder setHostname(String value)
The VM hostname.
string hostname = 9;value - The hostname to set.public Inventory.OsInfo.Builder clearHostname()
The VM hostname.
string hostname = 9;public Inventory.OsInfo.Builder setHostnameBytes(com.google.protobuf.ByteString value)
The VM hostname.
string hostname = 9;value - The bytes for hostname to set.public String getLongName()
The operating system long name. For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019 Datacenter'.
string long_name = 2;getLongName in interface Inventory.OsInfoOrBuilderpublic com.google.protobuf.ByteString getLongNameBytes()
The operating system long name. For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019 Datacenter'.
string long_name = 2;getLongNameBytes in interface Inventory.OsInfoOrBuilderpublic 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;value - The longName to set.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;public Inventory.OsInfo.Builder setLongNameBytes(com.google.protobuf.ByteString value)
The operating system long name. For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019 Datacenter'.
string long_name = 2;value - The bytes for longName to set.public String getShortName()
The operating system short name. For example, 'windows' or 'debian'.
string short_name = 3;getShortName in interface Inventory.OsInfoOrBuilderpublic com.google.protobuf.ByteString getShortNameBytes()
The operating system short name. For example, 'windows' or 'debian'.
string short_name = 3;getShortNameBytes in interface Inventory.OsInfoOrBuilderpublic Inventory.OsInfo.Builder setShortName(String value)
The operating system short name. For example, 'windows' or 'debian'.
string short_name = 3;value - The shortName to set.public Inventory.OsInfo.Builder clearShortName()
The operating system short name. For example, 'windows' or 'debian'.
string short_name = 3;public Inventory.OsInfo.Builder setShortNameBytes(com.google.protobuf.ByteString value)
The operating system short name. For example, 'windows' or 'debian'.
string short_name = 3;value - The bytes for shortName to set.public String getVersion()
The version of the operating system.
string version = 4;getVersion in interface Inventory.OsInfoOrBuilderpublic com.google.protobuf.ByteString getVersionBytes()
The version of the operating system.
string version = 4;getVersionBytes in interface Inventory.OsInfoOrBuilderpublic Inventory.OsInfo.Builder setVersion(String value)
The version of the operating system.
string version = 4;value - The version to set.public Inventory.OsInfo.Builder clearVersion()
The version of the operating system.
string version = 4;public Inventory.OsInfo.Builder setVersionBytes(com.google.protobuf.ByteString value)
The version of the operating system.
string version = 4;value - The bytes for version to set.public String getArchitecture()
The system architecture of the operating system.
string architecture = 5;getArchitecture in interface Inventory.OsInfoOrBuilderpublic com.google.protobuf.ByteString getArchitectureBytes()
The system architecture of the operating system.
string architecture = 5;getArchitectureBytes in interface Inventory.OsInfoOrBuilderpublic Inventory.OsInfo.Builder setArchitecture(String value)
The system architecture of the operating system.
string architecture = 5;value - The architecture to set.public Inventory.OsInfo.Builder clearArchitecture()
The system architecture of the operating system.
string architecture = 5;public Inventory.OsInfo.Builder setArchitectureBytes(com.google.protobuf.ByteString value)
The system architecture of the operating system.
string architecture = 5;value - The bytes for architecture to set.public String getKernelVersion()
The kernel version of the operating system.
string kernel_version = 6;getKernelVersion in interface Inventory.OsInfoOrBuilderpublic com.google.protobuf.ByteString getKernelVersionBytes()
The kernel version of the operating system.
string kernel_version = 6;getKernelVersionBytes in interface Inventory.OsInfoOrBuilderpublic Inventory.OsInfo.Builder setKernelVersion(String value)
The kernel version of the operating system.
string kernel_version = 6;value - The kernelVersion to set.public Inventory.OsInfo.Builder clearKernelVersion()
The kernel version of the operating system.
string kernel_version = 6;public Inventory.OsInfo.Builder setKernelVersionBytes(com.google.protobuf.ByteString value)
The kernel version of the operating system.
string kernel_version = 6;value - The bytes for kernelVersion to set.public String getKernelRelease()
The kernel release of the operating system.
string kernel_release = 7;getKernelRelease in interface Inventory.OsInfoOrBuilderpublic com.google.protobuf.ByteString getKernelReleaseBytes()
The kernel release of the operating system.
string kernel_release = 7;getKernelReleaseBytes in interface Inventory.OsInfoOrBuilderpublic Inventory.OsInfo.Builder setKernelRelease(String value)
The kernel release of the operating system.
string kernel_release = 7;value - The kernelRelease to set.public Inventory.OsInfo.Builder clearKernelRelease()
The kernel release of the operating system.
string kernel_release = 7;public Inventory.OsInfo.Builder setKernelReleaseBytes(com.google.protobuf.ByteString value)
The kernel release of the operating system.
string kernel_release = 7;value - The bytes for kernelRelease to set.public String getOsconfigAgentVersion()
The current version of the OS Config agent running on the VM.
string osconfig_agent_version = 8;getOsconfigAgentVersion in interface Inventory.OsInfoOrBuilderpublic com.google.protobuf.ByteString getOsconfigAgentVersionBytes()
The current version of the OS Config agent running on the VM.
string osconfig_agent_version = 8;getOsconfigAgentVersionBytes in interface Inventory.OsInfoOrBuilderpublic Inventory.OsInfo.Builder setOsconfigAgentVersion(String value)
The current version of the OS Config agent running on the VM.
string osconfig_agent_version = 8;value - The osconfigAgentVersion to set.public Inventory.OsInfo.Builder clearOsconfigAgentVersion()
The current version of the OS Config agent running on the VM.
string osconfig_agent_version = 8;public Inventory.OsInfo.Builder setOsconfigAgentVersionBytes(com.google.protobuf.ByteString value)
The current version of the OS Config agent running on the VM.
string osconfig_agent_version = 8;value - The bytes for osconfigAgentVersion to set.public final Inventory.OsInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Inventory.OsInfo.Builder>public final Inventory.OsInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Inventory.OsInfo.Builder>Copyright © 2023 Google LLC. All rights reserved.