Interface FetchNetworkPolicyExternalAddressesRequestOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.
    int
    The maximum number of external IP addresses to return in one page.
    A page token, received from a previous `FetchNetworkPolicyExternalAddresses` call.
    com.google.protobuf.ByteString
    A page token, received from a previous `FetchNetworkPolicyExternalAddresses` call.

    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

    • getNetworkPolicy

      String getNetworkPolicy()
       Required. The resource name of the network policy to query for assigned
       external IP addresses. Resource names are schemeless URIs that follow the
       conventions in https://cloud.google.com/apis/design/resource_names. For
       example:
       `projects/my-project/locations/us-central1/networkPolicies/my-policy`
       
      string network_policy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The networkPolicy.
    • getNetworkPolicyBytes

      com.google.protobuf.ByteString getNetworkPolicyBytes()
       Required. The resource name of the network policy to query for assigned
       external IP addresses. Resource names are schemeless URIs that follow the
       conventions in https://cloud.google.com/apis/design/resource_names. For
       example:
       `projects/my-project/locations/us-central1/networkPolicies/my-policy`
       
      string network_policy = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for networkPolicy.
    • getPageSize

      int getPageSize()
       The maximum number of external IP addresses to return in one page.
       The service may return fewer than this value.
       The maximum value is coerced to 1000.
       The default value of this field is 500.
       
      int32 page_size = 2;
      Returns:
      The pageSize.
    • getPageToken

      String getPageToken()
       A page token, received from a previous
       `FetchNetworkPolicyExternalAddresses` call. Provide this to retrieve the
       subsequent page.
      
       When paginating, all parameters provided to
       `FetchNetworkPolicyExternalAddresses`, except for `page_size` and
       `page_token`, must match the call that provided the page token.
       
      string page_token = 3;
      Returns:
      The pageToken.
    • getPageTokenBytes

      com.google.protobuf.ByteString getPageTokenBytes()
       A page token, received from a previous
       `FetchNetworkPolicyExternalAddresses` call. Provide this to retrieve the
       subsequent page.
      
       When paginating, all parameters provided to
       `FetchNetworkPolicyExternalAddresses`, except for `page_size` and
       `page_token`, must match the call that provided the page token.
       
      string page_token = 3;
      Returns:
      The bytes for pageToken.