Class Inventory.OsInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Inventory.OsInfo.Builder>
com.google.cloud.osconfig.v1alpha.Inventory.OsInfo.Builder
- All Implemented Interfaces:
Inventory.OsInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Inventory.OsInfo
public static final class Inventory.OsInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Inventory.OsInfo.Builder>
implements Inventory.OsInfoOrBuilder
Operating system information for the VM.Protobuf type
google.cloud.osconfig.v1alpha.Inventory.OsInfo-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The system architecture of the operating system.The VM hostname.The kernel release of the operating system.The kernel version of the operating system.The operating system long name.The current version of the OS Config agent running on the VM.The operating system short name.The version of the operating system.The system architecture of the operating system.com.google.protobuf.ByteStringThe system architecture of the operating system.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe VM hostname.com.google.protobuf.ByteStringThe VM hostname.The kernel release of the operating system.com.google.protobuf.ByteStringThe kernel release of the operating system.The kernel version of the operating system.com.google.protobuf.ByteStringThe kernel version of the operating system.The operating system long name.com.google.protobuf.ByteStringThe operating system long name.The current version of the OS Config agent running on the VM.com.google.protobuf.ByteStringThe current version of the OS Config agent running on the VM.The operating system short name.com.google.protobuf.ByteStringThe operating system short name.The version of the operating system.com.google.protobuf.ByteStringThe version of the operating system.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(Inventory.OsInfo other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setArchitecture(String value) The system architecture of the operating system.setArchitectureBytes(com.google.protobuf.ByteString value) The system architecture of the operating system.setHostname(String value) The VM hostname.setHostnameBytes(com.google.protobuf.ByteString value) The VM hostname.setKernelRelease(String value) The kernel release of the operating system.setKernelReleaseBytes(com.google.protobuf.ByteString value) The kernel release of the operating system.setKernelVersion(String value) The kernel version of the operating system.setKernelVersionBytes(com.google.protobuf.ByteString value) The kernel version of the operating system.setLongName(String value) The operating system long name.setLongNameBytes(com.google.protobuf.ByteString value) The operating system long name.setOsconfigAgentVersion(String value) The current version of the OS Config agent running on the VM.setOsconfigAgentVersionBytes(com.google.protobuf.ByteString value) The current version of the OS Config agent running on the VM.setShortName(String value) The operating system short name.setShortNameBytes(com.google.protobuf.ByteString value) The operating system short name.setVersion(String value) The version of the operating system.setVersionBytes(com.google.protobuf.ByteString value) The version of the operating system.Methods 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<Inventory.OsInfo.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<Inventory.OsInfo.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<Inventory.OsInfo.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<Inventory.OsInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Inventory.OsInfo.Builder>
-
mergeFrom
public Inventory.OsInfo.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<Inventory.OsInfo.Builder>- Throws:
IOException
-
getHostname
The VM hostname.
string hostname = 9;- Specified by:
getHostnamein interfaceInventory.OsInfoOrBuilder- Returns:
- The hostname.
-
getHostnameBytes
public com.google.protobuf.ByteString getHostnameBytes()The VM hostname.
string hostname = 9;- Specified by:
getHostnameBytesin interfaceInventory.OsInfoOrBuilder- Returns:
- The bytes for hostname.
-
setHostname
The VM hostname.
string hostname = 9;- Parameters:
value- The hostname to set.- Returns:
- This builder for chaining.
-
clearHostname
The VM hostname.
string hostname = 9;- Returns:
- This builder for chaining.
-
setHostnameBytes
The VM hostname.
string hostname = 9;- Parameters:
value- The bytes for hostname to set.- Returns:
- This builder for chaining.
-
getLongName
The operating system long name. For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019 Datacenter'.
string long_name = 2;- Specified by:
getLongNamein interfaceInventory.OsInfoOrBuilder- Returns:
- The longName.
-
getLongNameBytes
public 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;- Specified by:
getLongNameBytesin interfaceInventory.OsInfoOrBuilder- Returns:
- The bytes for longName.
-
setLongName
The operating system long name. For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019 Datacenter'.
string long_name = 2;- Parameters:
value- The longName to set.- Returns:
- This builder for chaining.
-
clearLongName
The operating system long name. For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019 Datacenter'.
string long_name = 2;- Returns:
- This builder for chaining.
-
setLongNameBytes
The operating system long name. For example 'Debian GNU/Linux 9' or 'Microsoft Window Server 2019 Datacenter'.
string long_name = 2;- Parameters:
value- The bytes for longName to set.- Returns:
- This builder for chaining.
-
getShortName
The operating system short name. For example, 'windows' or 'debian'.
string short_name = 3;- Specified by:
getShortNamein interfaceInventory.OsInfoOrBuilder- Returns:
- The shortName.
-
getShortNameBytes
public com.google.protobuf.ByteString getShortNameBytes()The operating system short name. For example, 'windows' or 'debian'.
string short_name = 3;- Specified by:
getShortNameBytesin interfaceInventory.OsInfoOrBuilder- Returns:
- The bytes for shortName.
-
setShortName
The operating system short name. For example, 'windows' or 'debian'.
string short_name = 3;- Parameters:
value- The shortName to set.- Returns:
- This builder for chaining.
-
clearShortName
The operating system short name. For example, 'windows' or 'debian'.
string short_name = 3;- Returns:
- This builder for chaining.
-
setShortNameBytes
The operating system short name. For example, 'windows' or 'debian'.
string short_name = 3;- Parameters:
value- The bytes for shortName to set.- Returns:
- This builder for chaining.
-
getVersion
The version of the operating system.
string version = 4;- Specified by:
getVersionin interfaceInventory.OsInfoOrBuilder- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()The version of the operating system.
string version = 4;- Specified by:
getVersionBytesin interfaceInventory.OsInfoOrBuilder- Returns:
- The bytes for version.
-
setVersion
The version of the operating system.
string version = 4;- Parameters:
value- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
The version of the operating system.
string version = 4;- Returns:
- This builder for chaining.
-
setVersionBytes
The version of the operating system.
string version = 4;- Parameters:
value- The bytes for version to set.- Returns:
- This builder for chaining.
-
getArchitecture
The system architecture of the operating system.
string architecture = 5;- Specified by:
getArchitecturein interfaceInventory.OsInfoOrBuilder- Returns:
- The architecture.
-
getArchitectureBytes
public com.google.protobuf.ByteString getArchitectureBytes()The system architecture of the operating system.
string architecture = 5;- Specified by:
getArchitectureBytesin interfaceInventory.OsInfoOrBuilder- Returns:
- The bytes for architecture.
-
setArchitecture
The system architecture of the operating system.
string architecture = 5;- Parameters:
value- The architecture to set.- Returns:
- This builder for chaining.
-
clearArchitecture
The system architecture of the operating system.
string architecture = 5;- Returns:
- This builder for chaining.
-
setArchitectureBytes
The system architecture of the operating system.
string architecture = 5;- Parameters:
value- The bytes for architecture to set.- Returns:
- This builder for chaining.
-
getKernelVersion
The kernel version of the operating system.
string kernel_version = 6;- Specified by:
getKernelVersionin interfaceInventory.OsInfoOrBuilder- Returns:
- The kernelVersion.
-
getKernelVersionBytes
public com.google.protobuf.ByteString getKernelVersionBytes()The kernel version of the operating system.
string kernel_version = 6;- Specified by:
getKernelVersionBytesin interfaceInventory.OsInfoOrBuilder- Returns:
- The bytes for kernelVersion.
-
setKernelVersion
The kernel version of the operating system.
string kernel_version = 6;- Parameters:
value- The kernelVersion to set.- Returns:
- This builder for chaining.
-
clearKernelVersion
The kernel version of the operating system.
string kernel_version = 6;- Returns:
- This builder for chaining.
-
setKernelVersionBytes
The kernel version of the operating system.
string kernel_version = 6;- Parameters:
value- The bytes for kernelVersion to set.- Returns:
- This builder for chaining.
-
getKernelRelease
The kernel release of the operating system.
string kernel_release = 7;- Specified by:
getKernelReleasein interfaceInventory.OsInfoOrBuilder- Returns:
- The kernelRelease.
-
getKernelReleaseBytes
public com.google.protobuf.ByteString getKernelReleaseBytes()The kernel release of the operating system.
string kernel_release = 7;- Specified by:
getKernelReleaseBytesin interfaceInventory.OsInfoOrBuilder- Returns:
- The bytes for kernelRelease.
-
setKernelRelease
The kernel release of the operating system.
string kernel_release = 7;- Parameters:
value- The kernelRelease to set.- Returns:
- This builder for chaining.
-
clearKernelRelease
The kernel release of the operating system.
string kernel_release = 7;- Returns:
- This builder for chaining.
-
setKernelReleaseBytes
The kernel release of the operating system.
string kernel_release = 7;- Parameters:
value- The bytes for kernelRelease to set.- Returns:
- This builder for chaining.
-
getOsconfigAgentVersion
The current version of the OS Config agent running on the VM.
string osconfig_agent_version = 8;- Specified by:
getOsconfigAgentVersionin interfaceInventory.OsInfoOrBuilder- Returns:
- The osconfigAgentVersion.
-
getOsconfigAgentVersionBytes
public com.google.protobuf.ByteString getOsconfigAgentVersionBytes()The current version of the OS Config agent running on the VM.
string osconfig_agent_version = 8;- Specified by:
getOsconfigAgentVersionBytesin interfaceInventory.OsInfoOrBuilder- Returns:
- The bytes for osconfigAgentVersion.
-
setOsconfigAgentVersion
The current version of the OS Config agent running on the VM.
string osconfig_agent_version = 8;- Parameters:
value- The osconfigAgentVersion to set.- Returns:
- This builder for chaining.
-
clearOsconfigAgentVersion
The current version of the OS Config agent running on the VM.
string osconfig_agent_version = 8;- Returns:
- This builder for chaining.
-
setOsconfigAgentVersionBytes
The current version of the OS Config agent running on the VM.
string osconfig_agent_version = 8;- Parameters:
value- The bytes for osconfigAgentVersion to set.- Returns:
- This builder for chaining.
-