Class ProjectSettings (1.4.0)

public final class ProjectSettings extends GeneratedMessageV3 implements ProjectSettingsOrBuilder

The Artifact Registry settings that apply to a Project.

Protobuf type google.devtools.artifactregistry.v1beta2.ProjectSettings

Static Fields

LEGACY_REDIRECTION_STATE_FIELD_NUMBER

public static final int LEGACY_REDIRECTION_STATE_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ProjectSettings getDefaultInstance()
Returns
TypeDescription
ProjectSettings

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ProjectSettings.Builder newBuilder()
Returns
TypeDescription
ProjectSettings.Builder

newBuilder(ProjectSettings prototype)

public static ProjectSettings.Builder newBuilder(ProjectSettings prototype)
Parameter
NameDescription
prototypeProjectSettings
Returns
TypeDescription
ProjectSettings.Builder

parseDelimitedFrom(InputStream input)

public static ProjectSettings parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ProjectSettings
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProjectSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProjectSettings
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ProjectSettings parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ProjectSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ProjectSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProjectSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ProjectSettings parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ProjectSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ProjectSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProjectSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ProjectSettings parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ProjectSettings
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ProjectSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProjectSettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ProjectSettings parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ProjectSettings
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ProjectSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProjectSettings
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ProjectSettings parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ProjectSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ProjectSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ProjectSettings
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ProjectSettings> parser()
Returns
TypeDescription
Parser<ProjectSettings>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ProjectSettings getDefaultInstanceForType()
Returns
TypeDescription
ProjectSettings

getLegacyRedirectionState()

public ProjectSettings.RedirectionState getLegacyRedirectionState()

The redirection state of the legacy repositories in this project.

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

Returns
TypeDescription
ProjectSettings.RedirectionState

The legacyRedirectionState.

getLegacyRedirectionStateValue()

public int getLegacyRedirectionStateValue()

The redirection state of the legacy repositories in this project.

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

Returns
TypeDescription
int

The enum numeric value on the wire for legacyRedirectionState.

getName()

public 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
TypeDescription
String

The name.

getNameBytes()

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
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<ProjectSettings> getParserForType()
Returns
TypeDescription
Parser<ProjectSettings>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ProjectSettings.Builder newBuilderForType()
Returns
TypeDescription
ProjectSettings.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ProjectSettings.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ProjectSettings.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ProjectSettings.Builder toBuilder()
Returns
TypeDescription
ProjectSettings.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException