Interface OSPolicy.Resource.PackageResource.MSIOrBuilder (2.11.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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
List<String>

A list containing the properties.

getSource()

public abstract OSPolicy.Resource.File getSource()

Required. The MSI package.

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

Returns
TypeDescription
OSPolicy.Resource.File

The source.

getSourceOrBuilder()

public abstract OSPolicy.Resource.FileOrBuilder getSourceOrBuilder()

Required. The MSI package.

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

Returns
TypeDescription
OSPolicy.Resource.FileOrBuilder

hasSource()

public abstract boolean hasSource()

Required. The MSI package.

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

Returns
TypeDescription
boolean

Whether the source field is set.