Interface CreateServiceLbPolicyRequestOrBuilder

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

@Generated public interface CreateServiceLbPolicyRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getParent

      String getParent()
       Required. The parent resource of the ServiceLbPolicy. Must be in the
       format `projects/{project}/locations/{location}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The parent.
    • getParentBytes

      com.google.protobuf.ByteString getParentBytes()
       Required. The parent resource of the ServiceLbPolicy. Must be in the
       format `projects/{project}/locations/{location}`.
       
      string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for parent.
    • getServiceLbPolicyId

      String getServiceLbPolicyId()
       Required. Short name of the ServiceLbPolicy resource to be created.
       E.g. for resource name
       `projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}`.
       the id is value of {service_lb_policy_name}
       
      string service_lb_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The serviceLbPolicyId.
    • getServiceLbPolicyIdBytes

      com.google.protobuf.ByteString getServiceLbPolicyIdBytes()
       Required. Short name of the ServiceLbPolicy resource to be created.
       E.g. for resource name
       `projects/{project}/locations/{location}/serviceLbPolicies/{service_lb_policy_name}`.
       the id is value of {service_lb_policy_name}
       
      string service_lb_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for serviceLbPolicyId.
    • hasServiceLbPolicy

      boolean hasServiceLbPolicy()
       Required. ServiceLbPolicy resource to be created.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy service_lb_policy = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the serviceLbPolicy field is set.
    • getServiceLbPolicy

      ServiceLbPolicy getServiceLbPolicy()
       Required. ServiceLbPolicy resource to be created.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy service_lb_policy = 3 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The serviceLbPolicy.
    • getServiceLbPolicyOrBuilder

      ServiceLbPolicyOrBuilder getServiceLbPolicyOrBuilder()
       Required. ServiceLbPolicy resource to be created.
       
      .google.cloud.networkservices.v1.ServiceLbPolicy service_lb_policy = 3 [(.google.api.field_behavior) = REQUIRED];