Interface PublisherModel.ResourceReferenceOrBuilder (3.20.0)

public static interface PublisherModel.ResourceReferenceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getReferenceCase()

public abstract PublisherModel.ResourceReference.ReferenceCase getReferenceCase()
Returns
TypeDescription
PublisherModel.ResourceReference.ReferenceCase

getResourceName()

public abstract String getResourceName()

The resource name of the Google Cloud resource.

string resource_name = 2;

Returns
TypeDescription
String

The resourceName.

getResourceNameBytes()

public abstract ByteString getResourceNameBytes()

The resource name of the Google Cloud resource.

string resource_name = 2;

Returns
TypeDescription
ByteString

The bytes for resourceName.

getUri()

public abstract String getUri()

The URI of the resource.

string uri = 1;

Returns
TypeDescription
String

The uri.

getUriBytes()

public abstract ByteString getUriBytes()

The URI of the resource.

string uri = 1;

Returns
TypeDescription
ByteString

The bytes for uri.

hasResourceName()

public abstract boolean hasResourceName()

The resource name of the Google Cloud resource.

string resource_name = 2;

Returns
TypeDescription
boolean

Whether the resourceName field is set.

hasUri()

public abstract boolean hasUri()

The URI of the resource.

string uri = 1;

Returns
TypeDescription
boolean

Whether the uri field is set.