Interface ProjectSettingsOrBuilder (1.52.0)

public interface ProjectSettingsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLegacyRedirectionState()

public abstract ProjectSettings.RedirectionState getLegacyRedirectionState()

The redirection state of the legacy repositories in this project.

.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2;

Returns
Type Description
ProjectSettings.RedirectionState

The legacyRedirectionState.

getLegacyRedirectionStateValue()

public abstract int getLegacyRedirectionStateValue()

The redirection state of the legacy repositories in this project.

.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2;

Returns
Type Description
int

The enum numeric value on the wire for legacyRedirectionState.

getName()

public abstract String getName()

The name of the project's settings.

Always of the form: projects/{project-id}/projectSettings

In update request: never set In response: always set

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The name of the project's settings.

Always of the form: projects/{project-id}/projectSettings

In update request: never set In response: always set

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getPullPercent()

public abstract int getPullPercent()

The percentage of pull traffic to redirect from GCR to AR when using partial redirection.

int32 pull_percent = 3;

Returns
Type Description
int

The pullPercent.