Interface MethodPolicyOrBuilder

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

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

    Modifier and Type
    Method
    Description
    getRequestPolicies(int index)
    Policies that are applicable to the request message.
    int
    Policies that are applicable to the request message.
    Policies that are applicable to the request message.
    Policies that are applicable to the request message.
    Policies that are applicable to the request message.
    Selects a method to which these policies should be enforced, for example, "google.pubsub.v1.Subscriber.CreateSubscription".
    com.google.protobuf.ByteString
    Selects a method to which these policies should be enforced, for example, "google.pubsub.v1.Subscriber.CreateSubscription".

    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

    • getSelector

      String getSelector()
       Selects a method to which these policies should be enforced, for example,
       "google.pubsub.v1.Subscriber.CreateSubscription".
      
       Refer to [selector][google.api.DocumentationRule.selector] for syntax
       details.
      
       NOTE: This field must not be set in the proto annotation. It will be
       automatically filled by the service config compiler .
       
      string selector = 9;
      Returns:
      The selector.
    • getSelectorBytes

      com.google.protobuf.ByteString getSelectorBytes()
       Selects a method to which these policies should be enforced, for example,
       "google.pubsub.v1.Subscriber.CreateSubscription".
      
       Refer to [selector][google.api.DocumentationRule.selector] for syntax
       details.
      
       NOTE: This field must not be set in the proto annotation. It will be
       automatically filled by the service config compiler .
       
      string selector = 9;
      Returns:
      The bytes for selector.
    • getRequestPoliciesList

      List<FieldPolicy> getRequestPoliciesList()
       Policies that are applicable to the request message.
       
      repeated .google.api.FieldPolicy request_policies = 2;
    • getRequestPolicies

      FieldPolicy getRequestPolicies(int index)
       Policies that are applicable to the request message.
       
      repeated .google.api.FieldPolicy request_policies = 2;
    • getRequestPoliciesCount

      int getRequestPoliciesCount()
       Policies that are applicable to the request message.
       
      repeated .google.api.FieldPolicy request_policies = 2;
    • getRequestPoliciesOrBuilderList

      List<? extends FieldPolicyOrBuilder> getRequestPoliciesOrBuilderList()
       Policies that are applicable to the request message.
       
      repeated .google.api.FieldPolicy request_policies = 2;
    • getRequestPoliciesOrBuilder

      FieldPolicyOrBuilder getRequestPoliciesOrBuilder(int index)
       Policies that are applicable to the request message.
       
      repeated .google.api.FieldPolicy request_policies = 2;