Class Group (0.3.0)

public final class Group extends GeneratedMessage implements GroupOrBuilder

Information about an organizational group.

Protobuf type google.backstory.Group

Implements

GroupOrBuilder

Static Fields

ATTRIBUTE_FIELD_NUMBER

public static final int ATTRIBUTE_FIELD_NUMBER
Field Value
Type Description
int

CREATION_TIME_FIELD_NUMBER

public static final int CREATION_TIME_FIELD_NUMBER
Field Value
Type Description
int

EMAIL_ADDRESSES_FIELD_NUMBER

public static final int EMAIL_ADDRESSES_FIELD_NUMBER
Field Value
Type Description
int

GROUP_DISPLAY_NAME_FIELD_NUMBER

public static final int GROUP_DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

PRODUCT_OBJECT_ID_FIELD_NUMBER

public static final int PRODUCT_OBJECT_ID_FIELD_NUMBER
Field Value
Type Description
int

WINDOWS_SID_FIELD_NUMBER

public static final int WINDOWS_SID_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Group getDefaultInstance()
Returns
Type Description
Group

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static Group.Builder newBuilder()
Returns
Type Description
Group.Builder

newBuilder(Group prototype)

public static Group.Builder newBuilder(Group prototype)
Parameter
Name Description
prototype Group
Returns
Type Description
Group.Builder

parseDelimitedFrom(InputStream input)

public static Group parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Group
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Group parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Group
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Group parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Group
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Group parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Group
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Group parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Group
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Group parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Group
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Group parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Group
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Group parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Group
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Group parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Group
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Group parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Group
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Group parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Group
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Group parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Group
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Group> parser()
Returns
Type Description
Parser<Group>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAttribute()

public Attribute getAttribute()

Generic entity metadata attributes of the group.

.google.backstory.Attribute attribute = 4;

Returns
Type Description
Attribute

The attribute.

getAttributeOrBuilder()

public AttributeOrBuilder getAttributeOrBuilder()

Generic entity metadata attributes of the group.

.google.backstory.Attribute attribute = 4;

Returns
Type Description
AttributeOrBuilder

getCreationTime() (deprecated)

public Timestamp getCreationTime()

Deprecated. google.backstory.Group.creation_time is deprecated. See backstory/udm.proto;l=4934

Group creation time. Deprecated: creation_time should be populated in Attribute as generic metadata.

.google.protobuf.Timestamp creation_time = 100 [deprecated = true];

Returns
Type Description
Timestamp

The creationTime.

getCreationTimeOrBuilder() (deprecated)

public TimestampOrBuilder getCreationTimeOrBuilder()

Group creation time. Deprecated: creation_time should be populated in Attribute as generic metadata.

.google.protobuf.Timestamp creation_time = 100 [deprecated = true];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public Group getDefaultInstanceForType()
Returns
Type Description
Group

getEmailAddresses(int index)

public String getEmailAddresses(int index)

Email addresses of the group.

repeated string email_addresses = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The emailAddresses at the given index.

getEmailAddressesBytes(int index)

public ByteString getEmailAddressesBytes(int index)

Email addresses of the group.

repeated string email_addresses = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the emailAddresses at the given index.

getEmailAddressesCount()

public int getEmailAddressesCount()

Email addresses of the group.

repeated string email_addresses = 2;

Returns
Type Description
int

The count of emailAddresses.

getEmailAddressesList()

public ProtocolStringList getEmailAddressesList()

Email addresses of the group.

repeated string email_addresses = 2;

Returns
Type Description
ProtocolStringList

A list containing the emailAddresses.

getGroupDisplayName()

public String getGroupDisplayName()

Group display name. e.g. "Finance".

string group_display_name = 101;

Returns
Type Description
String

The groupDisplayName.

getGroupDisplayNameBytes()

public ByteString getGroupDisplayNameBytes()

Group display name. e.g. "Finance".

string group_display_name = 101;

Returns
Type Description
ByteString

The bytes for groupDisplayName.

getParserForType()

public Parser<Group> getParserForType()
Returns
Type Description
Parser<Group>
Overrides

getProductObjectId()

public String getProductObjectId()

Product globally unique user object identifier, such as an LDAP Object Identifier.

string product_object_id = 1;

Returns
Type Description
String

The productObjectId.

getProductObjectIdBytes()

public ByteString getProductObjectIdBytes()

Product globally unique user object identifier, such as an LDAP Object Identifier.

string product_object_id = 1;

Returns
Type Description
ByteString

The bytes for productObjectId.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getWindowsSid()

public String getWindowsSid()

Microsoft Windows SID of the group.

string windows_sid = 3;

Returns
Type Description
String

The windowsSid.

getWindowsSidBytes()

public ByteString getWindowsSidBytes()

Microsoft Windows SID of the group.

string windows_sid = 3;

Returns
Type Description
ByteString

The bytes for windowsSid.

hasAttribute()

public boolean hasAttribute()

Generic entity metadata attributes of the group.

.google.backstory.Attribute attribute = 4;

Returns
Type Description
boolean

Whether the attribute field is set.

hasCreationTime() (deprecated)

public boolean hasCreationTime()

Deprecated. google.backstory.Group.creation_time is deprecated. See backstory/udm.proto;l=4934

Group creation time. Deprecated: creation_time should be populated in Attribute as generic metadata.

.google.protobuf.Timestamp creation_time = 100 [deprecated = true];

Returns
Type Description
boolean

Whether the creationTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Group.Builder newBuilderForType()
Returns
Type Description
Group.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected Group.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Group.Builder
Overrides

toBuilder()

public Group.Builder toBuilder()
Returns
Type Description
Group.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException