Interface ExtensionBinding.Target.ScopeOrBuilder (0.55.0)

public static interface ExtensionBinding.Target.ScopeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. Parent resource name specification, in the format: projects/{project_number}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. Parent resource name specification, in the format: projects/{project_number}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for parent.

getResourceTypes(int index)

public abstract ExtensionBinding.Target.Scope.ResourceType getResourceTypes(int index)

Required. Type of the resource to which the binding should attach. Limited to 1 resource type.

repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.Target.Scope.ResourceType resource_types = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
ExtensionBinding.Target.Scope.ResourceType

The resourceTypes at the given index.

getResourceTypesCount()

public abstract int getResourceTypesCount()

Required. Type of the resource to which the binding should attach. Limited to 1 resource type.

repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.Target.Scope.ResourceType resource_types = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of resourceTypes.

getResourceTypesList()

public abstract List<ExtensionBinding.Target.Scope.ResourceType> getResourceTypesList()

Required. Type of the resource to which the binding should attach. Limited to 1 resource type.

repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.Target.Scope.ResourceType resource_types = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<ResourceType>

A list containing the resourceTypes.

getResourceTypesValue(int index)

public abstract int getResourceTypesValue(int index)

Required. Type of the resource to which the binding should attach. Limited to 1 resource type.

repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.Target.Scope.ResourceType resource_types = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of resourceTypes at the given index.

getResourceTypesValueList()

public abstract List<Integer> getResourceTypesValueList()

Required. Type of the resource to which the binding should attach. Limited to 1 resource type.

repeated .google.cloud.networkservices.v1beta1.ExtensionBinding.Target.Scope.ResourceType resource_types = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for resourceTypes.