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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      FieldPolicy getRequestPolicies​(int index)
      Policies that are applicable to the request message.
      int getRequestPoliciesCount()
      Policies that are applicable to the request message.
      java.util.List<FieldPolicy> getRequestPoliciesList()
      Policies that are applicable to the request message.
      FieldPolicyOrBuilder getRequestPoliciesOrBuilder​(int index)
      Policies that are applicable to the request message.
      java.util.List<? extends FieldPolicyOrBuilder> getRequestPoliciesOrBuilderList()
      Policies that are applicable to the request message.
      java.lang.String getSelector()
      Selects a method to which these policies should be enforced, for example, "google.pubsub.v1.Subscriber.CreateSubscription".
      com.google.protobuf.ByteString getSelectorBytes()
      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 Detail

      • getSelector

        java.lang.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

        java.util.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

        java.util.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;