Class GuestPolicies.Assignment.OsType.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<GuestPolicies.Assignment.OsType.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<GuestPolicies.Assignment.OsType.Builder>
      • getDefaultInstanceForType

        public GuestPolicies.Assignment.OsType getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public GuestPolicies.Assignment.OsType build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public GuestPolicies.Assignment.OsType buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GuestPolicies.Assignment.OsType.Builder>
      • getOsShortName

        public String getOsShortName()
         Targets VM instances with OS Inventory enabled and having the following
         OS short name, for example "debian" or "windows".
         
        string os_short_name = 1;
        Specified by:
        getOsShortName in interface GuestPolicies.Assignment.OsTypeOrBuilder
        Returns:
        The osShortName.
      • getOsShortNameBytes

        public com.google.protobuf.ByteString getOsShortNameBytes()
         Targets VM instances with OS Inventory enabled and having the following
         OS short name, for example "debian" or "windows".
         
        string os_short_name = 1;
        Specified by:
        getOsShortNameBytes in interface GuestPolicies.Assignment.OsTypeOrBuilder
        Returns:
        The bytes for osShortName.
      • setOsShortName

        public GuestPolicies.Assignment.OsType.Builder setOsShortName​(String value)
         Targets VM instances with OS Inventory enabled and having the following
         OS short name, for example "debian" or "windows".
         
        string os_short_name = 1;
        Parameters:
        value - The osShortName to set.
        Returns:
        This builder for chaining.
      • clearOsShortName

        public GuestPolicies.Assignment.OsType.Builder clearOsShortName()
         Targets VM instances with OS Inventory enabled and having the following
         OS short name, for example "debian" or "windows".
         
        string os_short_name = 1;
        Returns:
        This builder for chaining.
      • setOsShortNameBytes

        public GuestPolicies.Assignment.OsType.Builder setOsShortNameBytes​(com.google.protobuf.ByteString value)
         Targets VM instances with OS Inventory enabled and having the following
         OS short name, for example "debian" or "windows".
         
        string os_short_name = 1;
        Parameters:
        value - The bytes for osShortName to set.
        Returns:
        This builder for chaining.
      • getOsVersionBytes

        public com.google.protobuf.ByteString getOsVersionBytes()
         Targets VM instances with OS Inventory enabled and having the following
         following OS version.
         
        string os_version = 2;
        Specified by:
        getOsVersionBytes in interface GuestPolicies.Assignment.OsTypeOrBuilder
        Returns:
        The bytes for osVersion.
      • setOsVersion

        public GuestPolicies.Assignment.OsType.Builder setOsVersion​(String value)
         Targets VM instances with OS Inventory enabled and having the following
         following OS version.
         
        string os_version = 2;
        Parameters:
        value - The osVersion to set.
        Returns:
        This builder for chaining.
      • clearOsVersion

        public GuestPolicies.Assignment.OsType.Builder clearOsVersion()
         Targets VM instances with OS Inventory enabled and having the following
         following OS version.
         
        string os_version = 2;
        Returns:
        This builder for chaining.
      • setOsVersionBytes

        public GuestPolicies.Assignment.OsType.Builder setOsVersionBytes​(com.google.protobuf.ByteString value)
         Targets VM instances with OS Inventory enabled and having the following
         following OS version.
         
        string os_version = 2;
        Parameters:
        value - The bytes for osVersion to set.
        Returns:
        This builder for chaining.
      • getOsArchitectureBytes

        public com.google.protobuf.ByteString getOsArchitectureBytes()
         Targets VM instances with OS Inventory enabled and having the following
         OS architecture.
         
        string os_architecture = 3;
        Specified by:
        getOsArchitectureBytes in interface GuestPolicies.Assignment.OsTypeOrBuilder
        Returns:
        The bytes for osArchitecture.
      • setOsArchitecture

        public GuestPolicies.Assignment.OsType.Builder setOsArchitecture​(String value)
         Targets VM instances with OS Inventory enabled and having the following
         OS architecture.
         
        string os_architecture = 3;
        Parameters:
        value - The osArchitecture to set.
        Returns:
        This builder for chaining.
      • clearOsArchitecture

        public GuestPolicies.Assignment.OsType.Builder clearOsArchitecture()
         Targets VM instances with OS Inventory enabled and having the following
         OS architecture.
         
        string os_architecture = 3;
        Returns:
        This builder for chaining.
      • setOsArchitectureBytes

        public GuestPolicies.Assignment.OsType.Builder setOsArchitectureBytes​(com.google.protobuf.ByteString value)
         Targets VM instances with OS Inventory enabled and having the following
         OS architecture.
         
        string os_architecture = 3;
        Parameters:
        value - The bytes for osArchitecture to set.
        Returns:
        This builder for chaining.