Package io.envoyproxy.envoy.api.v2
Interface ResourceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Resource,Resource.Builder
public interface ResourceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAliases(int index)The aliases are a list of other names that this resource can go by.com.google.protobuf.ByteStringgetAliasesBytes(int index)The aliases are a list of other names that this resource can go by.intgetAliasesCount()The aliases are a list of other names that this resource can go by.List<String>getAliasesList()The aliases are a list of other names that this resource can go by.StringgetName()The resource's name, to distinguish it from others of the same type of resource.com.google.protobuf.ByteStringgetNameBytes()The resource's name, to distinguish it from others of the same type of resource.com.google.protobuf.AnygetResource()The resource being tracked.com.google.protobuf.AnyOrBuildergetResourceOrBuilder()The resource being tracked.StringgetVersion()The resource level version.com.google.protobuf.ByteStringgetVersionBytes()The resource level version.booleanhasResource()The resource being tracked.-
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()
The resource's name, to distinguish it from others of the same type of resource.
string name = 3;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The resource's name, to distinguish it from others of the same type of resource.
string name = 3;- Returns:
- The bytes for name.
-
getAliasesList
List<String> getAliasesList()
The aliases are a list of other names that this resource can go by.
repeated string aliases = 4;- Returns:
- A list containing the aliases.
-
getAliasesCount
int getAliasesCount()
The aliases are a list of other names that this resource can go by.
repeated string aliases = 4;- Returns:
- The count of aliases.
-
getAliases
String getAliases(int index)
The aliases are a list of other names that this resource can go by.
repeated string aliases = 4;- Parameters:
index- The index of the element to return.- Returns:
- The aliases at the given index.
-
getAliasesBytes
com.google.protobuf.ByteString getAliasesBytes(int index)
The aliases are a list of other names that this resource can go by.
repeated string aliases = 4;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the aliases at the given index.
-
getVersion
String getVersion()
The resource level version. It allows xDS to track the state of individual resources.
string version = 1;- Returns:
- The version.
-
getVersionBytes
com.google.protobuf.ByteString getVersionBytes()
The resource level version. It allows xDS to track the state of individual resources.
string version = 1;- Returns:
- The bytes for version.
-
hasResource
boolean hasResource()
The resource being tracked.
.google.protobuf.Any resource = 2;- Returns:
- Whether the resource field is set.
-
getResource
com.google.protobuf.Any getResource()
The resource being tracked.
.google.protobuf.Any resource = 2;- Returns:
- The resource.
-
getResourceOrBuilder
com.google.protobuf.AnyOrBuilder getResourceOrBuilder()
The resource being tracked.
.google.protobuf.Any resource = 2;
-
-