Interface PartnerPermissionsOrBuilder (0.4.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
TypeDescription
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
TypeDescription
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.v1beta.PartnerPermissions.Permission partner_permissions = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
PartnerPermissions.Permission

The partnerPermissions at the given index.

getPartnerPermissionsCount()

public abstract int getPartnerPermissionsCount()

The partner permissions granted for the workload

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

Returns
TypeDescription
int

The count of partnerPermissions.

getPartnerPermissionsList()

public abstract List<PartnerPermissions.Permission> getPartnerPermissionsList()

The partner permissions granted for the workload

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

Returns
TypeDescription
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.v1beta.PartnerPermissions.Permission partner_permissions = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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.v1beta.PartnerPermissions.Permission partner_permissions = 2;

Returns
TypeDescription
List<Integer>

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