Interface UpstreamPolicyOrBuilder (1.35.0)

See more code actions.
public interface UpstreamPolicyOrBuilder extends MessageOrBuilder
MessageOrBuilder
public abstract String getId()

The user-provided ID of the upstream policy.

string id = 1;

Returns
TypeDescription
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

The user-provided ID of the upstream policy.

string id = 1;

Returns
TypeDescription
ByteString

The bytes for id.

getPriority()

public abstract int getPriority()

Entries with a greater priority value take precedence in the pull order.

int32 priority = 3;

Returns
TypeDescription
int

The priority.

getRepository()

public abstract String getRepository()

A reference to the repository resource, for example: projects/p1/locations/us-central1/repositories/repo1.

string repository = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The repository.

getRepositoryBytes()

public abstract ByteString getRepositoryBytes()

A reference to the repository resource, for example: projects/p1/locations/us-central1/repositories/repo1.

string repository = 2 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for repository.