Interface OSPolicy.Resource.PackageResource.MSIOrBuilder (2.57.0)

public static interface OSPolicy.Resource.PackageResource.MSIOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getProperties(int index)

public abstract String getProperties(int index)

Additional properties to use during installation. This should be in the format of Property=Setting. Appended to the defaults of ACTION=INSTALL REBOOT=ReallySuppress.

repeated string properties = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The properties at the given index.

getPropertiesBytes(int index)

public abstract ByteString getPropertiesBytes(int index)

Additional properties to use during installation. This should be in the format of Property=Setting. Appended to the defaults of ACTION=INSTALL REBOOT=ReallySuppress.

repeated string properties = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the properties at the given index.

getPropertiesCount()

public abstract int getPropertiesCount()

Additional properties to use during installation. This should be in the format of Property=Setting. Appended to the defaults of ACTION=INSTALL REBOOT=ReallySuppress.

repeated string properties = 2;

Returns
Type Description
int

The count of properties.

getPropertiesList()

public abstract List<String> getPropertiesList()

Additional properties to use during installation. This should be in the format of Property=Setting. Appended to the defaults of ACTION=INSTALL REBOOT=ReallySuppress.

repeated string properties = 2;

Returns
Type Description
List<String>

A list containing the properties.

getSource()

public abstract OSPolicy.Resource.File getSource()

Required. The MSI package.

.google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OSPolicy.Resource.File

The source.

getSourceOrBuilder()

public abstract OSPolicy.Resource.FileOrBuilder getSourceOrBuilder()

Required. The MSI package.

.google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OSPolicy.Resource.FileOrBuilder

hasSource()

public abstract boolean hasSource()

Required. The MSI package.

.google.cloud.osconfig.v1.OSPolicy.Resource.File source = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the source field is set.