Interface TenantOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Tenant, Tenant.Builder

    public interface TenantOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getExternalId()
      Required.
      com.google.protobuf.ByteString getExternalIdBytes()
      Required.
      String getKeywordSearchableProfileCustomAttributes​(int index)
      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.
      com.google.protobuf.ByteString getKeywordSearchableProfileCustomAttributesBytes​(int index)
      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.
      int getKeywordSearchableProfileCustomAttributesCount()
      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.
      List<String> getKeywordSearchableProfileCustomAttributesList()
      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.
      String getName()
      Required during tenant update.
      com.google.protobuf.ByteString getNameBytes()
      Required during tenant update.
      Tenant.DataUsageType getUsageType()
      Indicates whether data owned by this tenant may be used to provide product improvements across other tenants.
      int getUsageTypeValue()
      Indicates whether data owned by this tenant may be used to provide product improvements across other tenants.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getName

        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/foo/tenants/bar".
         
        string name = 1;
        Returns:
        The name.
      • getNameBytes

        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/foo/tenants/bar".
         
        string name = 1;
        Returns:
        The bytes for name.
      • getExternalId

        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 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The externalId.
      • getExternalIdBytes

        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 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for externalId.
      • getUsageTypeValue

        int getUsageTypeValue()
         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;
        Returns:
        The enum numeric value on the wire for usageType.
      • getUsageType

        Tenant.DataUsageType getUsageType()
         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;
        Returns:
        The usageType.
      • getKeywordSearchableProfileCustomAttributesList

        List<String> getKeywordSearchableProfileCustomAttributesList()
         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;
        Returns:
        A list containing the keywordSearchableProfileCustomAttributes.
      • getKeywordSearchableProfileCustomAttributesCount

        int getKeywordSearchableProfileCustomAttributesCount()
         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;
        Returns:
        The count of keywordSearchableProfileCustomAttributes.
      • getKeywordSearchableProfileCustomAttributes

        String getKeywordSearchableProfileCustomAttributes​(int index)
         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;
        Parameters:
        index - The index of the element to return.
        Returns:
        The keywordSearchableProfileCustomAttributes at the given index.
      • getKeywordSearchableProfileCustomAttributesBytes

        com.google.protobuf.ByteString getKeywordSearchableProfileCustomAttributesBytes​(int index)
         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;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the keywordSearchableProfileCustomAttributes at the given index.