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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getAuthority()
Logical authority for resource (not necessarily transport network address).com.google.protobuf.ByteString
getAuthorityBytes()
Logical authority for resource (not necessarily transport network address).ContextParams
getContext()
Additional parameters that can be used to select resource variants.ContextParamsOrBuilder
getContextOrBuilder()
Additional parameters that can be used to select resource variants.java.lang.String
getId()
Opaque identifier for the resource.com.google.protobuf.ByteString
getIdBytes()
Opaque identifier for the resource.java.lang.String
getResourceType()
Fully qualified resource type (as in type URL without types.googleapis.com/ prefix).com.google.protobuf.ByteString
getResourceTypeBytes()
Fully qualified resource type (as in type URL without types.googleapis.com/ prefix).boolean
hasContext()
Additional parameters that can be used to select resource variants.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getId
java.lang.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
java.lang.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
java.lang.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;
-
-