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
Modifier and TypeMethodDescriptiongetAliases(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.intThe aliases are a list of other names that this resource can go by.The aliases are a list of other names that this resource can go by.getName()The resource's name, to distinguish it from others of the same type of resource.com.google.protobuf.ByteStringThe resource's name, to distinguish it from others of the same type of resource.com.google.protobuf.AnyThe resource being tracked.com.google.protobuf.AnyOrBuilderThe resource being tracked.The resource level version.com.google.protobuf.ByteStringThe resource level version.booleanThe resource being tracked.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
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
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;
-