Interface BertLmProto.MaskOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
BertLmProto.Mask, BertLmProto.Mask.Builder
Enclosing class:
BertLmProto

public static interface BertLmProto.MaskOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getCandidates(int index)
    repeated string candidates = 3;
    com.google.protobuf.ByteString
    getCandidatesBytes(int index)
    repeated string candidates = 3;
    int
    repeated string candidates = 3;
    repeated string candidates = 3;
    int
    uint32 end = 2;
    int
    uint32 start = 1;

    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 Details

    • getStart

      int getStart()
      uint32 start = 1;
      Returns:
      The start.
    • getEnd

      int getEnd()
      uint32 end = 2;
      Returns:
      The end.
    • getCandidatesList

      List<String> getCandidatesList()
      repeated string candidates = 3;
      Returns:
      A list containing the candidates.
    • getCandidatesCount

      int getCandidatesCount()
      repeated string candidates = 3;
      Returns:
      The count of candidates.
    • getCandidates

      String getCandidates(int index)
      repeated string candidates = 3;
      Parameters:
      index - The index of the element to return.
      Returns:
      The candidates at the given index.
    • getCandidatesBytes

      com.google.protobuf.ByteString getCandidatesBytes(int index)
      repeated string candidates = 3;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the candidates at the given index.