Package com.github.xds.core.v3
Interface ResourceNameOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ResourceName
,ResourceName.Builder
public interface ResourceNameOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionLogical authority for resource (not necessarily transport network address).com.google.protobuf.ByteString
Logical authority for resource (not necessarily transport network address).Additional parameters that can be used to select resource variants.Additional parameters that can be used to select resource variants.getId()
Opaque identifier for the resource.com.google.protobuf.ByteString
Opaque identifier for the resource.Fully qualified resource type (as in type URL without types.googleapis.com/ prefix).com.google.protobuf.ByteString
Fully qualified resource type (as in type URL without types.googleapis.com/ prefix).boolean
Additional parameters that can be used to select resource variants.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getId
String getId()Opaque identifier for the resource. Any '/' will not be escaped during URI encoding and will form part of the URI path.
string id = 1;
- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()Opaque identifier for the resource. Any '/' will not be escaped during URI encoding and will form part of the URI path.
string id = 1;
- Returns:
- The bytes for id.
-
getAuthority
String getAuthority()Logical authority for resource (not necessarily transport network address). Authorities are opaque in the xDS API, data-plane load balancers will map them to concrete network transports such as an xDS management server.
string authority = 2;
- Returns:
- The authority.
-
getAuthorityBytes
com.google.protobuf.ByteString getAuthorityBytes()Logical authority for resource (not necessarily transport network address). Authorities are opaque in the xDS API, data-plane load balancers will map them to concrete network transports such as an xDS management server.
string authority = 2;
- Returns:
- The bytes for authority.
-
getResourceType
String getResourceType()Fully qualified resource type (as in type URL without types.googleapis.com/ prefix).
string resource_type = 3 [(.validate.rules) = { ... }
- Returns:
- The resourceType.
-
getResourceTypeBytes
com.google.protobuf.ByteString getResourceTypeBytes()Fully qualified resource type (as in type URL without types.googleapis.com/ prefix).
string resource_type = 3 [(.validate.rules) = { ... }
- Returns:
- The bytes for resourceType.
-
hasContext
boolean hasContext()Additional parameters that can be used to select resource variants.
.xds.core.v3.ContextParams context = 4;
- Returns:
- Whether the context field is set.
-
getContext
ContextParams getContext()Additional parameters that can be used to select resource variants.
.xds.core.v3.ContextParams context = 4;
- Returns:
- The context.
-
getContextOrBuilder
ContextParamsOrBuilder getContextOrBuilder()Additional parameters that can be used to select resource variants.
.xds.core.v3.ContextParams context = 4;
-