Class IndexTranslator (2.0.0)
Stay organized with collections
Save and categorize content based on your preferences.
public class IndexTranslator
Helper class to translate between Index to com.google.storage.onestore.v3.OnestoreEntity.Index.
Static Methods
public static Index convertFromPb(OnestoreEntity.CompositeIndex ci)
Parameter |
Name |
Description |
ci |
com.google.storage.onestore.v3.OnestoreEntity.CompositeIndex
|
Returns |
Type |
Description |
Index |
|
public static Index convertFromPb(OnestoreEntity.Index index)
Parameter |
Name |
Description |
index |
com.google.storage.onestore.v3.OnestoreEntity.Index
|
Returns |
Type |
Description |
Index |
|
public static Index.Property convertFromPb(OnestoreEntity.Index.Property property)
Parameter |
Name |
Description |
property |
com.google.storage.onestore.v3.OnestoreEntity.Index.Property
|
public static OnestoreEntity.Index convertToPb(Index index)
Parameter |
Name |
Description |
index |
Index
|
Returns |
Type |
Description |
com.google.storage.onestore.v3.OnestoreEntity.Index |
|
public static OnestoreEntity.Index.Property convertToPb(Index.Property property)
Returns |
Type |
Description |
com.google.storage.onestore.v3.OnestoreEntity.Index.Property |
|
Constructors
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-09-18 UTC."}