Send feedback
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
Send feedback
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-11-26 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-26 UTC."],[],[]]