Interface ProjectSettingsOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ProjectSettings,ProjectSettings.Builder
@Generated
public interface ProjectSettingsOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe redirection state of the legacy repositories in this project.intThe redirection state of the legacy repositories in this project.getName()The name of the project's settings.com.google.protobuf.ByteStringThe name of the project's settings.intThe percentage of pull traffic to redirect from GCR to AR when using partial redirection.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
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 setstring name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.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 setstring name = 1;- Returns:
- The bytes for name.
-
getLegacyRedirectionStateValue
int getLegacyRedirectionStateValue()The redirection state of the legacy repositories in this project.
.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2;- Returns:
- The enum numeric value on the wire for legacyRedirectionState.
-
getLegacyRedirectionState
ProjectSettings.RedirectionState getLegacyRedirectionState()The redirection state of the legacy repositories in this project.
.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2;- Returns:
- The legacyRedirectionState.
-
getPullPercent
int getPullPercent()The percentage of pull traffic to redirect from GCR to AR when using partial redirection.
int32 pull_percent = 3;- Returns:
- The pullPercent.
-