Interface SourceInfo.ExtensionOrBuilder

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

    public static interface SourceInfo.ExtensionOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getId

        java.lang.String getId()
         Identifier for the extension. Example: constant_folding
         
        string id = 1;
        Returns:
        The id.
      • getIdBytes

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

        java.util.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;
        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;
        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;
        Parameters:
        index - The index of the element to return.
        Returns:
        The affectedComponents at the given index.
      • getAffectedComponentsValueList

        java.util.List<java.lang.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;
        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;
        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;
        Returns:
        Whether the version field is set.
      • getVersion

        SourceInfo.Extension.Version 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;
        Returns:
        The version.
      • getVersionOrBuilder

        SourceInfo.Extension.VersionOrBuilder getVersionOrBuilder()
         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;