Interface MethodConfigOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
MethodConfig, MethodConfig.Builder

public interface MethodConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The channel affinity configurations.
    The channel affinity configurations.
    getName(int index)
    A fully qualified name of a gRPC method, or a wildcard pattern ending with .*, such as foo.bar.A, foo.bar.*.
    com.google.protobuf.ByteString
    getNameBytes(int index)
    A fully qualified name of a gRPC method, or a wildcard pattern ending with .*, such as foo.bar.A, foo.bar.*.
    int
    A fully qualified name of a gRPC method, or a wildcard pattern ending with .*, such as foo.bar.A, foo.bar.*.
    A fully qualified name of a gRPC method, or a wildcard pattern ending with .*, such as foo.bar.A, foo.bar.*.
    boolean
    The channel affinity configurations.

    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

    • getNameList

      List<String> getNameList()
       A fully qualified name of a gRPC method, or a wildcard pattern ending
       with .*, such as foo.bar.A, foo.bar.*. Method configs are evaluated
       sequentially, and the first one takes precedence.
       
      repeated string name = 1;
      Returns:
      A list containing the name.
    • getNameCount

      int getNameCount()
       A fully qualified name of a gRPC method, or a wildcard pattern ending
       with .*, such as foo.bar.A, foo.bar.*. Method configs are evaluated
       sequentially, and the first one takes precedence.
       
      repeated string name = 1;
      Returns:
      The count of name.
    • getName

      String getName(int index)
       A fully qualified name of a gRPC method, or a wildcard pattern ending
       with .*, such as foo.bar.A, foo.bar.*. Method configs are evaluated
       sequentially, and the first one takes precedence.
       
      repeated string name = 1;
      Parameters:
      index - The index of the element to return.
      Returns:
      The name at the given index.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes(int index)
       A fully qualified name of a gRPC method, or a wildcard pattern ending
       with .*, such as foo.bar.A, foo.bar.*. Method configs are evaluated
       sequentially, and the first one takes precedence.
       
      repeated string name = 1;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the name at the given index.
    • hasAffinity

      boolean hasAffinity()
       The channel affinity configurations.
       
      .grpc.gcp.AffinityConfig affinity = 1001;
      Returns:
      Whether the affinity field is set.
    • getAffinity

      AffinityConfig getAffinity()
       The channel affinity configurations.
       
      .grpc.gcp.AffinityConfig affinity = 1001;
      Returns:
      The affinity.
    • getAffinityOrBuilder

      AffinityConfigOrBuilder getAffinityOrBuilder()
       The channel affinity configurations.
       
      .grpc.gcp.AffinityConfig affinity = 1001;