Class ProjectSettings (1.17.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)
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 | |
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 getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
public final UnknownFieldSet getUnknownFields()
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)
Overrides
public ProjectSettings.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides
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 2024-10-01 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
{"lastModified": "Last updated 2024-10-01 UTC."}
[[["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 2024-10-01 UTC."]]