com.github.xds.core.v3.ResourceOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: xds/core/v3/resource.proto
package com.github.xds.core.v3;
public interface ResourceOrBuilder extends
// @@protoc_insertion_point(interface_extends:xds.core.v3.Resource)
com.google.protobuf.MessageOrBuilder {
/**
*
* Resource name. This may be omitted for filesystem resources.
*
*
* .xds.core.v3.ResourceName name = 1;
* @return Whether the name field is set.
*/
boolean hasName();
/**
*
* Resource name. This may be omitted for filesystem resources.
*
*
* .xds.core.v3.ResourceName name = 1;
* @return The name.
*/
com.github.xds.core.v3.ResourceName getName();
/**
*
* Resource name. This may be omitted for filesystem resources.
*
*
* .xds.core.v3.ResourceName name = 1;
*/
com.github.xds.core.v3.ResourceNameOrBuilder getNameOrBuilder();
/**
*
* 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;
* @return The version.
*/
java.lang.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;
* @return The bytes for version.
*/
com.google.protobuf.ByteString
getVersionBytes();
/**
*
* The resource payload, including type URL.
*
*
* .google.protobuf.Any resource = 3;
* @return Whether the resource field is set.
*/
boolean hasResource();
/**
*
* The resource payload, including type URL.
*
*
* .google.protobuf.Any resource = 3;
* @return The resource.
*/
com.google.protobuf.Any getResource();
/**
*
* The resource payload, including type URL.
*
*
* .google.protobuf.Any resource = 3;
*/
com.google.protobuf.AnyOrBuilder getResourceOrBuilder();
}