Package com.github.xds.core.v3
Interface CollectionEntry.InlineEntryOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CollectionEntry.InlineEntry,CollectionEntry.InlineEntry.Builder
- Enclosing class:
- CollectionEntry
public static interface CollectionEntry.InlineEntryOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()Optional name to describe the inlined resource.com.google.protobuf.ByteStringgetNameBytes()Optional name to describe the inlined resource.com.google.protobuf.AnygetResource()The resource payload, including type URL.com.google.protobuf.AnyOrBuildergetResourceOrBuilder()The resource payload, including type URL.StringgetVersion()The resource's logical version.com.google.protobuf.ByteStringgetVersionBytes()The resource's logical version.booleanhasResource()The resource payload, including type URL.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Optional name to describe the inlined resource. Resource names must match ``[a-zA-Z0-9_-\./]+`` (TODO(htuch): turn this into a PGV constraint once finalized, probably should be a RFC3986 pchar). This name allows reference via the #entry directive in ResourceLocator.
string name = 1 [(.validate.rules) = { ... }- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Optional name to describe the inlined resource. Resource names must match ``[a-zA-Z0-9_-\./]+`` (TODO(htuch): turn this into a PGV constraint once finalized, probably should be a RFC3986 pchar). This name allows reference via the #entry directive in ResourceLocator.
string name = 1 [(.validate.rules) = { ... }- Returns:
- The bytes for name.
-
getVersion
String getVersion()
The resource's logical version. It is illegal to have the same named xDS resource name at a given version with different resource payloads.
string version = 2;- Returns:
- The version.
-
getVersionBytes
com.google.protobuf.ByteString getVersionBytes()
The resource's logical version. It is illegal to have the same named xDS resource name at a given version with different resource payloads.
string version = 2;- Returns:
- The bytes for version.
-
hasResource
boolean hasResource()
The resource payload, including type URL.
.google.protobuf.Any resource = 3;- Returns:
- Whether the resource field is set.
-
getResource
com.google.protobuf.Any getResource()
The resource payload, including type URL.
.google.protobuf.Any resource = 3;- Returns:
- The resource.
-
getResourceOrBuilder
com.google.protobuf.AnyOrBuilder getResourceOrBuilder()
The resource payload, including type URL.
.google.protobuf.Any resource = 3;
-
-