public static final class Group.Builder extends GeneratedMessage.Builder<Group.Builder> implements GroupOrBuilderInformation about an organizational group.
Protobuf type google.backstory.Group
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Group.BuilderImplements
GroupOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllEmailAddresses(Iterable<String> values)
public Group.Builder addAllEmailAddresses(Iterable<String> values)Email addresses of the group.
repeated string email_addresses = 2;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The emailAddresses to add. |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
This builder for chaining. |
addEmailAddresses(String value)
public Group.Builder addEmailAddresses(String value)Email addresses of the group.
repeated string email_addresses = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe emailAddresses to add. |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
This builder for chaining. |
addEmailAddressesBytes(ByteString value)
public Group.Builder addEmailAddressesBytes(ByteString value)Email addresses of the group.
repeated string email_addresses = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the emailAddresses to add. |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
This builder for chaining. |
build()
public Group build()| Returns | |
|---|---|
| Type | Description |
Group |
|
buildPartial()
public Group buildPartial()| Returns | |
|---|---|
| Type | Description |
Group |
|
clear()
public Group.Builder clear()| Returns | |
|---|---|
| Type | Description |
Group.Builder |
|
clearAttribute()
public Group.Builder clearAttribute()Generic entity metadata attributes of the group.
.google.backstory.Attribute attribute = 4;
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
|
clearCreationTime() (deprecated)
public Group.Builder clearCreationTime()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 |
Group.Builder |
|
clearEmailAddresses()
public Group.Builder clearEmailAddresses()Email addresses of the group.
repeated string email_addresses = 2;
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
This builder for chaining. |
clearGroupDisplayName()
public Group.Builder clearGroupDisplayName()Group display name. e.g. "Finance".
string group_display_name = 101;
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
This builder for chaining. |
clearProductObjectId()
public Group.Builder clearProductObjectId()Product globally unique user object identifier, such as an LDAP Object Identifier.
string product_object_id = 1;
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
This builder for chaining. |
clearWindowsSid()
public Group.Builder clearWindowsSid()Microsoft Windows SID of the group.
string windows_sid = 3;
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
This builder for chaining. |
getAttribute()
public Attribute getAttribute()Generic entity metadata attributes of the group.
.google.backstory.Attribute attribute = 4;
| Returns | |
|---|---|
| Type | Description |
Attribute |
The attribute. |
getAttributeBuilder()
public Attribute.Builder getAttributeBuilder()Generic entity metadata attributes of the group.
.google.backstory.Attribute attribute = 4;
| Returns | |
|---|---|
| Type | Description |
Attribute.Builder |
|
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. |
getCreationTimeBuilder() (deprecated)
public Timestamp.Builder getCreationTimeBuilder()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 |
Builder |
|
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEmailAddresses(int index)
public String getEmailAddresses(int index)Email addresses of the group.
repeated string email_addresses = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe 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 |
intThe 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. |
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. |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeAttribute(Attribute value)
public Group.Builder mergeAttribute(Attribute value)Generic entity metadata attributes of the group.
.google.backstory.Attribute attribute = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Attribute |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
|
mergeCreationTime(Timestamp value) (deprecated)
public Group.Builder mergeCreationTime(Timestamp value)Group creation time. Deprecated: creation_time should be populated in Attribute as generic metadata.
.google.protobuf.Timestamp creation_time = 100 [deprecated = true];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
|
mergeFrom(Group other)
public Group.Builder mergeFrom(Group other)| Parameter | |
|---|---|
| Name | Description |
other |
Group |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Group.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Group.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
|
setAttribute(Attribute value)
public Group.Builder setAttribute(Attribute value)Generic entity metadata attributes of the group.
.google.backstory.Attribute attribute = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
Attribute |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
|
setAttribute(Attribute.Builder builderForValue)
public Group.Builder setAttribute(Attribute.Builder builderForValue)Generic entity metadata attributes of the group.
.google.backstory.Attribute attribute = 4;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Attribute.Builder |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
|
setCreationTime(Timestamp value) (deprecated)
public Group.Builder setCreationTime(Timestamp value)Group creation time. Deprecated: creation_time should be populated in Attribute as generic metadata.
.google.protobuf.Timestamp creation_time = 100 [deprecated = true];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
|
setCreationTime(Timestamp.Builder builderForValue) (deprecated)
public Group.Builder setCreationTime(Timestamp.Builder builderForValue)Group creation time. Deprecated: creation_time should be populated in Attribute as generic metadata.
.google.protobuf.Timestamp creation_time = 100 [deprecated = true];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
|
setEmailAddresses(int index, String value)
public Group.Builder setEmailAddresses(int index, String value)Email addresses of the group.
repeated string email_addresses = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe emailAddresses to set. |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
This builder for chaining. |
setGroupDisplayName(String value)
public Group.Builder setGroupDisplayName(String value)Group display name. e.g. "Finance".
string group_display_name = 101;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe groupDisplayName to set. |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
This builder for chaining. |
setGroupDisplayNameBytes(ByteString value)
public Group.Builder setGroupDisplayNameBytes(ByteString value)Group display name. e.g. "Finance".
string group_display_name = 101;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for groupDisplayName to set. |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
This builder for chaining. |
setProductObjectId(String value)
public Group.Builder setProductObjectId(String value)Product globally unique user object identifier, such as an LDAP Object Identifier.
string product_object_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe productObjectId to set. |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
This builder for chaining. |
setProductObjectIdBytes(ByteString value)
public Group.Builder setProductObjectIdBytes(ByteString value)Product globally unique user object identifier, such as an LDAP Object Identifier.
string product_object_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for productObjectId to set. |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
This builder for chaining. |
setWindowsSid(String value)
public Group.Builder setWindowsSid(String value)Microsoft Windows SID of the group.
string windows_sid = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe windowsSid to set. |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
This builder for chaining. |
setWindowsSidBytes(ByteString value)
public Group.Builder setWindowsSidBytes(ByteString value)Microsoft Windows SID of the group.
string windows_sid = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for windowsSid to set. |
| Returns | |
|---|---|
| Type | Description |
Group.Builder |
This builder for chaining. |