public static interface ExtensionBinding.TargetOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getResources(int index)
public abstract String getResources(int index) Optional. The reference to the target resource, to which this binding
should attach. Exactly one of resources or scope must be set.
repeated string resources = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The resources at the given index. |
getResourcesBytes(int index)
public abstract ByteString getResourcesBytes(int index) Optional. The reference to the target resource, to which this binding
should attach. Exactly one of resources or scope must be set.
repeated string resources = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the resources at the given index. |
getResourcesCount()
public abstract int getResourcesCount() Optional. The reference to the target resource, to which this binding
should attach. Exactly one of resources or scope must be set.
repeated string resources = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of resources. |
getResourcesList()
public abstract List<String> getResourcesList() Optional. The reference to the target resource, to which this binding
should attach. Exactly one of resources or scope must be set.
repeated string resources = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the resources. |
getScope()
public abstract ExtensionBinding.Target.Scope getScope() Optional. Specifies the scope of resources to which this binding should
attach. Exactly one of resources or scope must be set.
.google.cloud.networkservices.v1beta1.ExtensionBinding.Target.Scope scope = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ExtensionBinding.Target.Scope |
The scope. |
getScopeOrBuilder()
public abstract ExtensionBinding.Target.ScopeOrBuilder getScopeOrBuilder() Optional. Specifies the scope of resources to which this binding should
attach. Exactly one of resources or scope must be set.
.google.cloud.networkservices.v1beta1.ExtensionBinding.Target.Scope scope = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ExtensionBinding.Target.ScopeOrBuilder |
|
hasScope()
public abstract boolean hasScope() Optional. Specifies the scope of resources to which this binding should
attach. Exactly one of resources or scope must be set.
.google.cloud.networkservices.v1beta1.ExtensionBinding.Target.Scope scope = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the scope field is set. |