Interface SourceInfo.ExtensionOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
SourceInfo.Extension, SourceInfo.Extension.Builder
Enclosing class:
SourceInfo

public static interface SourceInfo.ExtensionOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Details

    • getId

      String getId()
       Identifier for the extension. Example: constant_folding
       
      string id = 1 [json_name = "id"];
      Returns:
      The id.
    • getIdBytes

      com.google.protobuf.ByteString getIdBytes()
       Identifier for the extension. Example: constant_folding
       
      string id = 1 [json_name = "id"];
      Returns:
      The bytes for id.
    • getAffectedComponentsList

      List<SourceInfo.Extension.Component> getAffectedComponentsList()
       If set, the listed components must understand the extension for the
       expression to evaluate correctly.
      
       This field has set semantics; repeated values should be deduplicated.
       
      repeated .google.api.expr.v1alpha1.SourceInfo.Extension.Component affected_components = 2 [json_name = "affectedComponents"];
      Returns:
      A list containing the affectedComponents.
    • getAffectedComponentsCount

      int getAffectedComponentsCount()
       If set, the listed components must understand the extension for the
       expression to evaluate correctly.
      
       This field has set semantics; repeated values should be deduplicated.
       
      repeated .google.api.expr.v1alpha1.SourceInfo.Extension.Component affected_components = 2 [json_name = "affectedComponents"];
      Returns:
      The count of affectedComponents.
    • getAffectedComponents

      SourceInfo.Extension.Component getAffectedComponents(int index)
       If set, the listed components must understand the extension for the
       expression to evaluate correctly.
      
       This field has set semantics; repeated values should be deduplicated.
       
      repeated .google.api.expr.v1alpha1.SourceInfo.Extension.Component affected_components = 2 [json_name = "affectedComponents"];
      Parameters:
      index - The index of the element to return.
      Returns:
      The affectedComponents at the given index.
    • getAffectedComponentsValueList

      List<Integer> getAffectedComponentsValueList()
       If set, the listed components must understand the extension for the
       expression to evaluate correctly.
      
       This field has set semantics; repeated values should be deduplicated.
       
      repeated .google.api.expr.v1alpha1.SourceInfo.Extension.Component affected_components = 2 [json_name = "affectedComponents"];
      Returns:
      A list containing the enum numeric values on the wire for affectedComponents.
    • getAffectedComponentsValue

      int getAffectedComponentsValue(int index)
       If set, the listed components must understand the extension for the
       expression to evaluate correctly.
      
       This field has set semantics; repeated values should be deduplicated.
       
      repeated .google.api.expr.v1alpha1.SourceInfo.Extension.Component affected_components = 2 [json_name = "affectedComponents"];
      Parameters:
      index - The index of the value to return.
      Returns:
      The enum numeric value on the wire of affectedComponents at the given index.
    • hasVersion

      boolean hasVersion()
       Version info. May be skipped if it isn't meaningful for the extension.
       (for example constant_folding might always be v0.0).
       
      .google.api.expr.v1alpha1.SourceInfo.Extension.Version version = 3 [json_name = "version"];
      Returns:
      Whether the version field is set.
    • getVersion

       Version info. May be skipped if it isn't meaningful for the extension.
       (for example constant_folding might always be v0.0).
       
      .google.api.expr.v1alpha1.SourceInfo.Extension.Version version = 3 [json_name = "version"];
      Returns:
      The version.