public static final class Inventory.WindowsUpdatePackage extends GeneratedMessageV3 implements Inventory.WindowsUpdatePackageOrBuilder
Details related to a Windows Update package.
Field data and names are taken from Windows Update API IUpdate Interface:
https://docs.microsoft.com/en-us/windows/win32/api/_wua/
Descriptive fields like title, and description are localized based on
the locale of the VM being updated.
Protobuf type google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage
Static Fields
CATEGORIES_FIELD_NUMBER
public static final int CATEGORIES_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
KB_ARTICLE_IDS_FIELD_NUMBER
public static final int KB_ARTICLE_IDS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
LAST_DEPLOYMENT_CHANGE_TIME_FIELD_NUMBER
public static final int LAST_DEPLOYMENT_CHANGE_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
MORE_INFO_URLS_FIELD_NUMBER
public static final int MORE_INFO_URLS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
REVISION_NUMBER_FIELD_NUMBER
public static final int REVISION_NUMBER_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SUPPORT_URL_FIELD_NUMBER
public static final int SUPPORT_URL_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TITLE_FIELD_NUMBER
public static final int TITLE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
UPDATE_ID_FIELD_NUMBER
public static final int UPDATE_ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Inventory.WindowsUpdatePackage getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Inventory.WindowsUpdatePackage.Builder newBuilder()
newBuilder(Inventory.WindowsUpdatePackage prototype)
public static Inventory.WindowsUpdatePackage.Builder newBuilder(Inventory.WindowsUpdatePackage prototype)
public static Inventory.WindowsUpdatePackage parseDelimitedFrom(InputStream input)
public static Inventory.WindowsUpdatePackage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Inventory.WindowsUpdatePackage parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Inventory.WindowsUpdatePackage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Inventory.WindowsUpdatePackage parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Inventory.WindowsUpdatePackage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Inventory.WindowsUpdatePackage parseFrom(CodedInputStream input)
public static Inventory.WindowsUpdatePackage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Inventory.WindowsUpdatePackage parseFrom(InputStream input)
public static Inventory.WindowsUpdatePackage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Inventory.WindowsUpdatePackage parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Inventory.WindowsUpdatePackage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Inventory.WindowsUpdatePackage> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getCategories(int index)
public Inventory.WindowsUpdatePackage.WindowsUpdateCategory getCategories(int index)
The categories that are associated with this update package.
repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3;
Parameter |
---|
Name | Description |
index | int
|
getCategoriesCount()
public int getCategoriesCount()
The categories that are associated with this update package.
repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3;
Returns |
---|
Type | Description |
int | |
getCategoriesList()
public List<Inventory.WindowsUpdatePackage.WindowsUpdateCategory> getCategoriesList()
The categories that are associated with this update package.
repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3;
getCategoriesOrBuilder(int index)
public Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder getCategoriesOrBuilder(int index)
The categories that are associated with this update package.
repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3;
Parameter |
---|
Name | Description |
index | int
|
getCategoriesOrBuilderList()
public List<? extends Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder> getCategoriesOrBuilderList()
The categories that are associated with this update package.
repeated .google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory categories = 3;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder> | |
getDefaultInstanceForType()
public Inventory.WindowsUpdatePackage getDefaultInstanceForType()
getDescription()
public String getDescription()
The localized description of the update package.
string description = 2;
Returns |
---|
Type | Description |
String | The description.
|
getDescriptionBytes()
public ByteString getDescriptionBytes()
The localized description of the update package.
string description = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for description.
|
getKbArticleIds(int index)
public String getKbArticleIds(int index)
A collection of Microsoft Knowledge Base article IDs that are associated
with the update package.
repeated string kb_article_ids = 4;
Parameter |
---|
Name | Description |
index | int
The index of the element to return.
|
Returns |
---|
Type | Description |
String | The kbArticleIds at the given index.
|
getKbArticleIdsBytes(int index)
public ByteString getKbArticleIdsBytes(int index)
A collection of Microsoft Knowledge Base article IDs that are associated
with the update package.
repeated string kb_article_ids = 4;
Parameter |
---|
Name | Description |
index | int
The index of the value to return.
|
Returns |
---|
Type | Description |
ByteString | The bytes of the kbArticleIds at the given index.
|
getKbArticleIdsCount()
public int getKbArticleIdsCount()
A collection of Microsoft Knowledge Base article IDs that are associated
with the update package.
repeated string kb_article_ids = 4;
Returns |
---|
Type | Description |
int | The count of kbArticleIds.
|
getKbArticleIdsList()
public ProtocolStringList getKbArticleIdsList()
A collection of Microsoft Knowledge Base article IDs that are associated
with the update package.
repeated string kb_article_ids = 4;
getLastDeploymentChangeTime()
public Timestamp getLastDeploymentChangeTime()
The last published date of the update, in (UTC) date and time.
.google.protobuf.Timestamp last_deployment_change_time = 10;
Returns |
---|
Type | Description |
Timestamp | The lastDeploymentChangeTime.
|
getLastDeploymentChangeTimeOrBuilder()
public TimestampOrBuilder getLastDeploymentChangeTimeOrBuilder()
The last published date of the update, in (UTC) date and time.
.google.protobuf.Timestamp last_deployment_change_time = 10;
getMoreInfoUrls(int index)
public String getMoreInfoUrls(int index)
A collection of URLs that provide more information about the update
package.
repeated string more_info_urls = 5;
Parameter |
---|
Name | Description |
index | int
The index of the element to return.
|
Returns |
---|
Type | Description |
String | The moreInfoUrls at the given index.
|
getMoreInfoUrlsBytes(int index)
public ByteString getMoreInfoUrlsBytes(int index)
A collection of URLs that provide more information about the update
package.
repeated string more_info_urls = 5;
Parameter |
---|
Name | Description |
index | int
The index of the value to return.
|
Returns |
---|
Type | Description |
ByteString | The bytes of the moreInfoUrls at the given index.
|
getMoreInfoUrlsCount()
public int getMoreInfoUrlsCount()
A collection of URLs that provide more information about the update
package.
repeated string more_info_urls = 5;
Returns |
---|
Type | Description |
int | The count of moreInfoUrls.
|
getMoreInfoUrlsList()
public ProtocolStringList getMoreInfoUrlsList()
A collection of URLs that provide more information about the update
package.
repeated string more_info_urls = 5;
getParserForType()
public Parser<Inventory.WindowsUpdatePackage> getParserForType()
Overrides
getRevisionNumber()
public int getRevisionNumber()
The revision number of this update package.
int32 revision_number = 7;
Returns |
---|
Type | Description |
int | The revisionNumber.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getSupportUrl()
public String getSupportUrl()
A hyperlink to the language-specific support information for the update.
string support_url = 11;
Returns |
---|
Type | Description |
String | The supportUrl.
|
getSupportUrlBytes()
public ByteString getSupportUrlBytes()
A hyperlink to the language-specific support information for the update.
string support_url = 11;
Returns |
---|
Type | Description |
ByteString | The bytes for supportUrl.
|
getTitle()
The localized title of the update package.
string title = 1;
Returns |
---|
Type | Description |
String | The title.
|
getTitleBytes()
public ByteString getTitleBytes()
The localized title of the update package.
string title = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for title.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
getUpdateId()
public String getUpdateId()
Gets the identifier of an update package. Stays the same across
revisions.
string update_id = 6;
Returns |
---|
Type | Description |
String | The updateId.
|
getUpdateIdBytes()
public ByteString getUpdateIdBytes()
Gets the identifier of an update package. Stays the same across
revisions.
string update_id = 6;
Returns |
---|
Type | Description |
ByteString | The bytes for updateId.
|
hasLastDeploymentChangeTime()
public boolean hasLastDeploymentChangeTime()
The last published date of the update, in (UTC) date and time.
.google.protobuf.Timestamp last_deployment_change_time = 10;
Returns |
---|
Type | Description |
boolean | Whether the lastDeploymentChangeTime field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Inventory.WindowsUpdatePackage.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Inventory.WindowsUpdatePackage.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Inventory.WindowsUpdatePackage.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides