Interface CreateServiceLbPolicyRequestOrBuilder (0.23.0)

public interface CreateServiceLbPolicyRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract 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
Type Description
String

The parent.

getParentBytes()

public abstract 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
Type Description
ByteString

The bytes for parent.

getServiceLbPolicy()

public abstract ServiceLbPolicy getServiceLbPolicy()

Required. ServiceLbPolicy resource to be created.

.google.cloud.networkservices.v1.ServiceLbPolicy service_lb_policy = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ServiceLbPolicy

The serviceLbPolicy.

getServiceLbPolicyId()

public abstract 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
Type Description
String

The serviceLbPolicyId.

getServiceLbPolicyIdBytes()

public abstract 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
Type Description
ByteString

The bytes for serviceLbPolicyId.

getServiceLbPolicyOrBuilder()

public abstract ServiceLbPolicyOrBuilder getServiceLbPolicyOrBuilder()

Required. ServiceLbPolicy resource to be created.

.google.cloud.networkservices.v1.ServiceLbPolicy service_lb_policy = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ServiceLbPolicyOrBuilder

hasServiceLbPolicy()

public abstract boolean hasServiceLbPolicy()

Required. ServiceLbPolicy resource to be created.

.google.cloud.networkservices.v1.ServiceLbPolicy service_lb_policy = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the serviceLbPolicy field is set.