public final class Tenant extends com.google.protobuf.GeneratedMessageV3 implements TenantOrBuilder
A Tenant resource represents a tenant in the service. A tenant is a group or entity that shares common access with specific privileges for resources like profiles. Customer may create multiple tenants to provide data isolation for different groups.Protobuf type
google.cloud.talent.v4beta1.Tenant| Modifier and Type | Class and Description |
|---|---|
static class |
Tenant.Builder
A Tenant resource represents a tenant in the service.
|
static class |
Tenant.DataUsageType
Enum that represents how user data owned by the tenant is used.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
EXTERNAL_ID_FIELD_NUMBER |
static int |
KEYWORD_SEARCHABLE_PROFILE_CUSTOM_ATTRIBUTES_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
USAGE_TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static Tenant |
getDefaultInstance() |
Tenant |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getExternalId()
Required.
|
com.google.protobuf.ByteString |
getExternalIdBytes()
Required.
|
String |
getKeywordSearchableProfileCustomAttributes(int index)
Optional.
|
com.google.protobuf.ByteString |
getKeywordSearchableProfileCustomAttributesBytes(int index)
Optional.
|
int |
getKeywordSearchableProfileCustomAttributesCount()
Optional.
|
com.google.protobuf.ProtocolStringList |
getKeywordSearchableProfileCustomAttributesList()
Optional.
|
String |
getName()
Required during tenant update.
|
com.google.protobuf.ByteString |
getNameBytes()
Required during tenant update.
|
com.google.protobuf.Parser<Tenant> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
Tenant.DataUsageType |
getUsageType()
Optional.
|
int |
getUsageTypeValue()
Optional.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Tenant.Builder |
newBuilder() |
static Tenant.Builder |
newBuilder(Tenant prototype) |
Tenant.Builder |
newBuilderForType() |
protected Tenant.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Tenant |
parseDelimitedFrom(InputStream input) |
static Tenant |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Tenant |
parseFrom(byte[] data) |
static Tenant |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Tenant |
parseFrom(ByteBuffer data) |
static Tenant |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Tenant |
parseFrom(com.google.protobuf.ByteString data) |
static Tenant |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Tenant |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Tenant |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Tenant |
parseFrom(InputStream input) |
static Tenant |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Tenant> |
parser() |
Tenant.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int EXTERNAL_ID_FIELD_NUMBER
public static final int USAGE_TYPE_FIELD_NUMBER
public static final int KEYWORD_SEARCHABLE_PROFILE_CUSTOM_ATTRIBUTES_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
Required during tenant update.
The resource name for a tenant. This is generated by the service when a
tenant is created.
The format is "projects/{project_id}/tenants/{tenant_id}", for example,
"projects/api-test-project/tenants/foo".
string name = 1;getName in interface TenantOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required during tenant update.
The resource name for a tenant. This is generated by the service when a
tenant is created.
The format is "projects/{project_id}/tenants/{tenant_id}", for example,
"projects/api-test-project/tenants/foo".
string name = 1;getNameBytes in interface TenantOrBuilderpublic String getExternalId()
Required. Client side tenant identifier, used to uniquely identify the tenant. The maximum number of allowed characters is 255.
string external_id = 2;getExternalId in interface TenantOrBuilderpublic com.google.protobuf.ByteString getExternalIdBytes()
Required. Client side tenant identifier, used to uniquely identify the tenant. The maximum number of allowed characters is 255.
string external_id = 2;getExternalIdBytes in interface TenantOrBuilderpublic int getUsageTypeValue()
Optional. Indicates whether data owned by this tenant may be used to provide product improvements across other tenants. Defaults behavior is [DataUsageType.ISOLATED][google.cloud.talent.v4beta1.Tenant.DataUsageType.ISOLATED] if it's unset.
.google.cloud.talent.v4beta1.Tenant.DataUsageType usage_type = 3;getUsageTypeValue in interface TenantOrBuilderpublic Tenant.DataUsageType getUsageType()
Optional. Indicates whether data owned by this tenant may be used to provide product improvements across other tenants. Defaults behavior is [DataUsageType.ISOLATED][google.cloud.talent.v4beta1.Tenant.DataUsageType.ISOLATED] if it's unset.
.google.cloud.talent.v4beta1.Tenant.DataUsageType usage_type = 3;getUsageType in interface TenantOrBuilderpublic com.google.protobuf.ProtocolStringList getKeywordSearchableProfileCustomAttributesList()
Optional. A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose corresponding `string_values` are used in keyword searches. Profiles with `string_values` under these specified field keys are returned if any of the values match the search keyword. Custom field values with parenthesis, brackets and special symbols are not searchable as-is, and must be surrounded by quotes.
repeated string keyword_searchable_profile_custom_attributes = 4;getKeywordSearchableProfileCustomAttributesList in interface TenantOrBuilderpublic int getKeywordSearchableProfileCustomAttributesCount()
Optional. A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose corresponding `string_values` are used in keyword searches. Profiles with `string_values` under these specified field keys are returned if any of the values match the search keyword. Custom field values with parenthesis, brackets and special symbols are not searchable as-is, and must be surrounded by quotes.
repeated string keyword_searchable_profile_custom_attributes = 4;getKeywordSearchableProfileCustomAttributesCount in interface TenantOrBuilderpublic String getKeywordSearchableProfileCustomAttributes(int index)
Optional. A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose corresponding `string_values` are used in keyword searches. Profiles with `string_values` under these specified field keys are returned if any of the values match the search keyword. Custom field values with parenthesis, brackets and special symbols are not searchable as-is, and must be surrounded by quotes.
repeated string keyword_searchable_profile_custom_attributes = 4;getKeywordSearchableProfileCustomAttributes in interface TenantOrBuilderpublic com.google.protobuf.ByteString getKeywordSearchableProfileCustomAttributesBytes(int index)
Optional. A list of keys of filterable [Profile.custom_attributes][google.cloud.talent.v4beta1.Profile.custom_attributes], whose corresponding `string_values` are used in keyword searches. Profiles with `string_values` under these specified field keys are returned if any of the values match the search keyword. Custom field values with parenthesis, brackets and special symbols are not searchable as-is, and must be surrounded by quotes.
repeated string keyword_searchable_profile_custom_attributes = 4;getKeywordSearchableProfileCustomAttributesBytes in interface TenantOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Tenant parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Tenant parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Tenant parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Tenant parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Tenant parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Tenant parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Tenant parseFrom(InputStream input) throws IOException
IOExceptionpublic static Tenant parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Tenant parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Tenant parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Tenant parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Tenant parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Tenant.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Tenant.Builder newBuilder()
public static Tenant.Builder newBuilder(Tenant prototype)
public Tenant.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Tenant.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Tenant getDefaultInstance()
public static com.google.protobuf.Parser<Tenant> parser()
public com.google.protobuf.Parser<Tenant> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Tenant getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.