Interface PartnerPermissionsOrBuilder (0.7.0)

public interface PartnerPermissionsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Identifier. Format: organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. Format: organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}/partnerPermissions

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getPartnerPermissions(int index)

public abstract PartnerPermissions.Permission getPartnerPermissions(int index)

The partner permissions granted for the workload

repeated .google.cloud.cloudcontrolspartner.v1.PartnerPermissions.Permission partner_permissions = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
PartnerPermissions.Permission

The partnerPermissions at the given index.

getPartnerPermissionsCount()

public abstract int getPartnerPermissionsCount()

The partner permissions granted for the workload

repeated .google.cloud.cloudcontrolspartner.v1.PartnerPermissions.Permission partner_permissions = 2;

Returns
Type Description
int

The count of partnerPermissions.

getPartnerPermissionsList()

public abstract List<PartnerPermissions.Permission> getPartnerPermissionsList()

The partner permissions granted for the workload

repeated .google.cloud.cloudcontrolspartner.v1.PartnerPermissions.Permission partner_permissions = 2;

Returns
Type Description
List<Permission>

A list containing the partnerPermissions.

getPartnerPermissionsValue(int index)

public abstract int getPartnerPermissionsValue(int index)

The partner permissions granted for the workload

repeated .google.cloud.cloudcontrolspartner.v1.PartnerPermissions.Permission partner_permissions = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of partnerPermissions at the given index.

getPartnerPermissionsValueList()

public abstract List<Integer> getPartnerPermissionsValueList()

The partner permissions granted for the workload

repeated .google.cloud.cloudcontrolspartner.v1.PartnerPermissions.Permission partner_permissions = 2;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for partnerPermissions.