public final class ProjectSettings extends GeneratedMessageV3 implements ProjectSettingsOrBuilder
The Artifact Registry settings that apply to a Project.
Protobuf type google.devtools.artifactregistry.v1.ProjectSettings
Static Fields
public static final int LEGACY_REDIRECTION_STATE_FIELD_NUMBER
Field Value
public static final int NAME_FIELD_NUMBER
Field Value
Static Methods
public static ProjectSettings getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static ProjectSettings.Builder newBuilder()
Returns
public static ProjectSettings.Builder newBuilder(ProjectSettings prototype)
Parameter
Returns
public static ProjectSettings parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ProjectSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ProjectSettings parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static ProjectSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ProjectSettings parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static ProjectSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ProjectSettings parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ProjectSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ProjectSettings parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ProjectSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ProjectSettings parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static ProjectSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<ProjectSettings> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public ProjectSettings getDefaultInstanceForType()
Returns
public ProjectSettings.RedirectionState getLegacyRedirectionState()
The redirection state of the legacy repositories in this project.
.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2;
Returns
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
public Parser<ProjectSettings> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ProjectSettings.Builder newBuilderForType()
Returns
protected ProjectSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public ProjectSettings.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions