Interface RegionSetPolicyRequestOrBuilder (1.52.0)

public interface RegionSetPolicyRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBindings(int index)

public abstract Binding getBindings(int index)

Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings.

repeated .google.cloud.compute.v1.Binding bindings = 403251854;

Parameter
Name Description
index int
Returns
Type Description
Binding

getBindingsCount()

public abstract int getBindingsCount()

Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings.

repeated .google.cloud.compute.v1.Binding bindings = 403251854;

Returns
Type Description
int

getBindingsList()

public abstract List<Binding> getBindingsList()

Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings.

repeated .google.cloud.compute.v1.Binding bindings = 403251854;

Returns
Type Description
List<Binding>

getBindingsOrBuilder(int index)

public abstract BindingOrBuilder getBindingsOrBuilder(int index)

Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings.

repeated .google.cloud.compute.v1.Binding bindings = 403251854;

Parameter
Name Description
index int
Returns
Type Description
BindingOrBuilder

getBindingsOrBuilderList()

public abstract List<? extends BindingOrBuilder> getBindingsOrBuilderList()

Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings.

repeated .google.cloud.compute.v1.Binding bindings = 403251854;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.BindingOrBuilder>

getEtag()

public abstract String getEtag()

Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.

optional string etag = 3123477;

Returns
Type Description
String

The etag.

getEtagBytes()

public abstract ByteString getEtagBytes()

Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.

optional string etag = 3123477;

Returns
Type Description
ByteString

The bytes for etag.

getPolicy()

public abstract Policy getPolicy()

REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them.

optional .google.cloud.compute.v1.Policy policy = 91071794;

Returns
Type Description
Policy

The policy.

getPolicyOrBuilder()

public abstract PolicyOrBuilder getPolicyOrBuilder()

REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them.

optional .google.cloud.compute.v1.Policy policy = 91071794;

Returns
Type Description
PolicyOrBuilder

hasEtag()

public abstract boolean hasEtag()

Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag.

optional string etag = 3123477;

Returns
Type Description
boolean

Whether the etag field is set.

hasPolicy()

public abstract boolean hasPolicy()

REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them.

optional .google.cloud.compute.v1.Policy policy = 91071794;

Returns
Type Description
boolean

Whether the policy field is set.