Send feedback
Class ProjectSettings (1.75.0)
Stay organized with collections
Save and categorize content based on your preferences.
public final class ProjectSettings extends GeneratedMessageV3 implements ProjectSettingsOrBuilder
The Artifact Registry settings that apply to a Project.
Protobuf type google.devtools.artifactregistry.v1.ProjectSettings
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int LEGACY_REDIRECTION_STATE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int NAME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int PULL_PERCENT_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static ProjectSettings getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static ProjectSettings . Builder newBuilder ()
public static ProjectSettings . Builder newBuilder ( ProjectSettings prototype )
public static ProjectSettings parseDelimitedFrom ( InputStream input )
public static ProjectSettings parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static ProjectSettings parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static ProjectSettings parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static ProjectSettings parseFrom ( ByteString data )
public static ProjectSettings parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static ProjectSettings parseFrom ( CodedInputStream input )
public static ProjectSettings parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static ProjectSettings parseFrom ( InputStream input )
public static ProjectSettings parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static ProjectSettings parseFrom ( ByteBuffer data )
public static ProjectSettings parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<ProjectSettings> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public ProjectSettings getDefaultInstanceForType ()
public ProjectSettings . RedirectionState getLegacyRedirectionState ()
The redirection state of the legacy repositories in this project.
.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2;
public 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.
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.
public 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.
public Parser<ProjectSettings> getParserForType ()
Overrides
public 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.
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public ProjectSettings . Builder newBuilderForType ()
protected ProjectSettings . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public ProjectSettings . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-10 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-10 UTC."],[],[]]