public static final class DataProduct.Principal extends GeneratedMessage 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
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > DataProduct.PrincipalImplements
DataProduct.PrincipalOrBuilderStatic Fields
GOOGLE_GROUP_FIELD_NUMBER
public static final int GOOGLE_GROUP_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static DataProduct.Principal getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
DataProduct.Principal |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static DataProduct.Principal.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
DataProduct.Principal.Builder |
|
newBuilder(DataProduct.Principal prototype)
public static DataProduct.Principal.Builder newBuilder(DataProduct.Principal prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
DataProduct.Principal |
| Returns | |
|---|---|
| Type | Description |
DataProduct.Principal.Builder |
|
parseDelimitedFrom(InputStream input)
public static DataProduct.Principal parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
DataProduct.Principal |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DataProduct.Principal parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataProduct.Principal |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static DataProduct.Principal parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
DataProduct.Principal |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DataProduct.Principal parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataProduct.Principal |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static DataProduct.Principal parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
DataProduct.Principal |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DataProduct.Principal parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataProduct.Principal |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static DataProduct.Principal parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
DataProduct.Principal |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DataProduct.Principal parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataProduct.Principal |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static DataProduct.Principal parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
DataProduct.Principal |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DataProduct.Principal parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataProduct.Principal |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static DataProduct.Principal parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
DataProduct.Principal |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DataProduct.Principal parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DataProduct.Principal |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<DataProduct.Principal> parser()| Returns | |
|---|---|
| Type | Description |
Parser<Principal> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public DataProduct.Principal getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DataProduct.Principal |
|
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. |
getParserForType()
public Parser<DataProduct.Principal> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<Principal> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
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. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public DataProduct.Principal.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
DataProduct.Principal.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected DataProduct.Principal.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
DataProduct.Principal.Builder |
|
toBuilder()
public DataProduct.Principal.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
DataProduct.Principal.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|