Interface DataProduct.PrincipalOrBuilder (1.91.0)

public static interface DataProduct.PrincipalOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGoogleGroup()

public abstract String getGoogleGroup()

Optional. Email of the Google Group, as per https://cloud.google.com/iam/docs/principals-overview#google-group.

string google_group = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The googleGroup.

getGoogleGroupBytes()

public abstract ByteString getGoogleGroupBytes()

Optional. Email of the Google Group, as per https://cloud.google.com/iam/docs/principals-overview#google-group.

string google_group = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for googleGroup.

getServiceAccount()

public abstract String getServiceAccount()

Optional. Specifies the email of the producer service account, as per https://cloud.google.com/iam/docs/principals-overview#service-account.

optional string service_account = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The serviceAccount.

getServiceAccountBytes()

public abstract ByteString getServiceAccountBytes()

Optional. Specifies the email of the producer service account, as per https://cloud.google.com/iam/docs/principals-overview#service-account.

optional string service_account = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for serviceAccount.

getTypeCase()

public abstract DataProduct.Principal.TypeCase getTypeCase()
Returns
Type Description
DataProduct.Principal.TypeCase

hasGoogleGroup()

public abstract boolean hasGoogleGroup()

Optional. Email of the Google Group, as per https://cloud.google.com/iam/docs/principals-overview#google-group.

string google_group = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the googleGroup field is set.

hasServiceAccount()

public abstract boolean hasServiceAccount()

Optional. Specifies the email of the producer service account, as per https://cloud.google.com/iam/docs/principals-overview#service-account.

optional string service_account = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the serviceAccount field is set.