public static final class DataProduct.Principal.Builder extends GeneratedMessage.Builder<DataProduct.Principal.Builder> implements DataProduct.PrincipalOrBuilderRepresents the principal entity associated with an access group, as per https://cloud.google.com/iam/docs/principals-overview.
Protobuf type google.cloud.dataplex.v1.DataProduct.Principal
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DataProduct.Principal.BuilderImplements
DataProduct.PrincipalOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DataProduct.Principal build()| Returns | |
|---|---|
| Type | Description |
DataProduct.Principal |
|
buildPartial()
public DataProduct.Principal buildPartial()| Returns | |
|---|---|
| Type | Description |
DataProduct.Principal |
|
clear()
public DataProduct.Principal.Builder clear()| Returns | |
|---|---|
| Type | Description |
DataProduct.Principal.Builder |
|
clearGoogleGroup()
public DataProduct.Principal.Builder clearGoogleGroup()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 |
DataProduct.Principal.Builder |
This builder for chaining. |
clearServiceAccount()
public DataProduct.Principal.Builder clearServiceAccount()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 |
DataProduct.Principal.Builder |
This builder for chaining. |
clearType()
public DataProduct.Principal.Builder clearType()| Returns | |
|---|---|
| Type | Description |
DataProduct.Principal.Builder |
|
getDefaultInstanceForType()
public DataProduct.Principal getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DataProduct.Principal |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGoogleGroup()
public 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 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 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 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 DataProduct.Principal.TypeCase getTypeCase()| Returns | |
|---|---|
| Type | Description |
DataProduct.Principal.TypeCase |
|
hasGoogleGroup()
public 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DataProduct.Principal other)
public DataProduct.Principal.Builder mergeFrom(DataProduct.Principal other)| Parameter | |
|---|---|
| Name | Description |
other |
DataProduct.Principal |
| Returns | |
|---|---|
| Type | Description |
DataProduct.Principal.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DataProduct.Principal.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataProduct.Principal.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DataProduct.Principal.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DataProduct.Principal.Builder |
|
setGoogleGroup(String value)
public DataProduct.Principal.Builder setGoogleGroup(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe googleGroup to set. |
| Returns | |
|---|---|
| Type | Description |
DataProduct.Principal.Builder |
This builder for chaining. |
setGoogleGroupBytes(ByteString value)
public DataProduct.Principal.Builder setGoogleGroupBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for googleGroup to set. |
| Returns | |
|---|---|
| Type | Description |
DataProduct.Principal.Builder |
This builder for chaining. |
setServiceAccount(String value)
public DataProduct.Principal.Builder setServiceAccount(String value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe serviceAccount to set. |
| Returns | |
|---|---|
| Type | Description |
DataProduct.Principal.Builder |
This builder for chaining. |
setServiceAccountBytes(ByteString value)
public DataProduct.Principal.Builder setServiceAccountBytes(ByteString value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for serviceAccount to set. |
| Returns | |
|---|---|
| Type | Description |
DataProduct.Principal.Builder |
This builder for chaining. |