Interface CreateEndpointPolicyRequestOrBuilder (0.10.0)

public interface CreateEndpointPolicyRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEndpointPolicy()

public abstract EndpointPolicy getEndpointPolicy()

Required. EndpointPolicy resource to be created.

.google.cloud.networkservices.v1.EndpointPolicy endpoint_policy = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EndpointPolicy

The endpointPolicy.

getEndpointPolicyId()

public abstract String getEndpointPolicyId()

Required. Short name of the EndpointPolicy resource to be created. E.g. "CustomECS".

string endpoint_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The endpointPolicyId.

getEndpointPolicyIdBytes()

public abstract ByteString getEndpointPolicyIdBytes()

Required. Short name of the EndpointPolicy resource to be created. E.g. "CustomECS".

string endpoint_policy_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for endpointPolicyId.

getEndpointPolicyOrBuilder()

public abstract EndpointPolicyOrBuilder getEndpointPolicyOrBuilder()

Required. EndpointPolicy resource to be created.

.google.cloud.networkservices.v1.EndpointPolicy endpoint_policy = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
EndpointPolicyOrBuilder

getParent()

public abstract String getParent()

Required. The parent resource of the EndpointPolicy. Must be in the format projects/*/locations/global.

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 EndpointPolicy. Must be in the format projects/*/locations/global.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasEndpointPolicy()

public abstract boolean hasEndpointPolicy()

Required. EndpointPolicy resource to be created.

.google.cloud.networkservices.v1.EndpointPolicy endpoint_policy = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the endpointPolicy field is set.