- 1.50.0 (latest)
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.9
- 1.1.1
- 0.5.0
- 0.4.0
public static final class ProjectSettings.Builder extends GeneratedMessageV3.Builder<ProjectSettings.Builder> implements ProjectSettingsOrBuilder
The Artifact Registry settings that apply to a Project.
Protobuf type google.devtools.artifactregistry.v1.ProjectSettings
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ProjectSettings.BuilderImplements
ProjectSettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ProjectSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ProjectSettings.Builder |
build()
public ProjectSettings build()
Type | Description |
ProjectSettings |
buildPartial()
public ProjectSettings buildPartial()
Type | Description |
ProjectSettings |
clear()
public ProjectSettings.Builder clear()
Type | Description |
ProjectSettings.Builder |
clearField(Descriptors.FieldDescriptor field)
public ProjectSettings.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ProjectSettings.Builder |
clearLegacyRedirectionState()
public ProjectSettings.Builder clearLegacyRedirectionState()
The redirection state of the legacy repositories in this project.
.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2;
Type | Description |
ProjectSettings.Builder | This builder for chaining. |
clearName()
public ProjectSettings.Builder clearName()
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;
Type | Description |
ProjectSettings.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ProjectSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ProjectSettings.Builder |
clone()
public ProjectSettings.Builder clone()
Type | Description |
ProjectSettings.Builder |
getDefaultInstanceForType()
public ProjectSettings getDefaultInstanceForType()
Type | Description |
ProjectSettings |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getLegacyRedirectionState()
public ProjectSettings.RedirectionState getLegacyRedirectionState()
The redirection state of the legacy repositories in this project.
.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2;
Type | Description |
ProjectSettings.RedirectionState | The legacyRedirectionState. |
getLegacyRedirectionStateValue()
public int getLegacyRedirectionStateValue()
The redirection state of the legacy repositories in this project.
.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2;
Type | Description |
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;
Type | Description |
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;
Type | Description |
ByteString | The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ProjectSettings other)
public ProjectSettings.Builder mergeFrom(ProjectSettings other)
Name | Description |
other | ProjectSettings |
Type | Description |
ProjectSettings.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ProjectSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ProjectSettings.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ProjectSettings.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ProjectSettings.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ProjectSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ProjectSettings.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ProjectSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ProjectSettings.Builder |
setLegacyRedirectionState(ProjectSettings.RedirectionState value)
public ProjectSettings.Builder setLegacyRedirectionState(ProjectSettings.RedirectionState value)
The redirection state of the legacy repositories in this project.
.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2;
Name | Description |
value | ProjectSettings.RedirectionState The legacyRedirectionState to set. |
Type | Description |
ProjectSettings.Builder | This builder for chaining. |
setLegacyRedirectionStateValue(int value)
public ProjectSettings.Builder setLegacyRedirectionStateValue(int value)
The redirection state of the legacy repositories in this project.
.google.devtools.artifactregistry.v1.ProjectSettings.RedirectionState legacy_redirection_state = 2;
Name | Description |
value | int The enum numeric value on the wire for legacyRedirectionState to set. |
Type | Description |
ProjectSettings.Builder | This builder for chaining. |
setName(String value)
public ProjectSettings.Builder setName(String value)
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;
Name | Description |
value | String The name to set. |
Type | Description |
ProjectSettings.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public ProjectSettings.Builder setNameBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
ProjectSettings.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ProjectSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ProjectSettings.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ProjectSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ProjectSettings.Builder |