Interface BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOrBuilder

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

@Generated public interface BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicyOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation.
    com.google.protobuf.ByteString
    An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation.
    Identifies the custom policy.
    com.google.protobuf.ByteString
    Identifies the custom policy.
    boolean
    An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation.
    boolean
    Identifies the custom policy.

    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

    • hasData

      boolean hasData()
       An optional, arbitrary JSON object with configuration data, understood
       by a locally installed custom policy implementation.
       
      optional string data = 3076010;
      Returns:
      Whether the data field is set.
    • getData

      String getData()
       An optional, arbitrary JSON object with configuration data, understood
       by a locally installed custom policy implementation.
       
      optional string data = 3076010;
      Returns:
      The data.
    • getDataBytes

      com.google.protobuf.ByteString getDataBytes()
       An optional, arbitrary JSON object with configuration data, understood
       by a locally installed custom policy implementation.
       
      optional string data = 3076010;
      Returns:
      The bytes for data.
    • hasName

      boolean hasName()
       Identifies the custom policy.
      
       The value should match the name of a custom implementation registered
       on the gRPC clients. It should follow protocol buffer message naming
       conventions and include the full path (for example,
       myorg.CustomLbPolicy). The maximum length is 256 characters.
      
       Do not specify the same custom policy more than once for a
       backend. If you do, the configuration is rejected.
      
       For an example of how to use this field, seeUse
       a custom policy.
       
      optional string name = 3373707;
      Returns:
      Whether the name field is set.
    • getName

      String getName()
       Identifies the custom policy.
      
       The value should match the name of a custom implementation registered
       on the gRPC clients. It should follow protocol buffer message naming
       conventions and include the full path (for example,
       myorg.CustomLbPolicy). The maximum length is 256 characters.
      
       Do not specify the same custom policy more than once for a
       backend. If you do, the configuration is rejected.
      
       For an example of how to use this field, seeUse
       a custom policy.
       
      optional string name = 3373707;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Identifies the custom policy.
      
       The value should match the name of a custom implementation registered
       on the gRPC clients. It should follow protocol buffer message naming
       conventions and include the full path (for example,
       myorg.CustomLbPolicy). The maximum length is 256 characters.
      
       Do not specify the same custom policy more than once for a
       backend. If you do, the configuration is rejected.
      
       For an example of how to use this field, seeUse
       a custom policy.
       
      optional string name = 3373707;
      Returns:
      The bytes for name.