Class UpdateProjectSettingsRequest.Builder (1.40.0)

public static final class UpdateProjectSettingsRequest.Builder extends GeneratedMessageV3.Builder<UpdateProjectSettingsRequest.Builder> implements UpdateProjectSettingsRequestOrBuilder

Sets the settings of the project.

Protobuf type google.devtools.artifactregistry.v1beta2.UpdateProjectSettingsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateProjectSettingsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateProjectSettingsRequest.Builder
Overrides

build()

public UpdateProjectSettingsRequest build()
Returns
Type Description
UpdateProjectSettingsRequest

buildPartial()

public UpdateProjectSettingsRequest buildPartial()
Returns
Type Description
UpdateProjectSettingsRequest

clear()

public UpdateProjectSettingsRequest.Builder clear()
Returns
Type Description
UpdateProjectSettingsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateProjectSettingsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateProjectSettingsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateProjectSettingsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateProjectSettingsRequest.Builder
Overrides

clearProjectSettings()

public UpdateProjectSettingsRequest.Builder clearProjectSettings()

The project settings.

.google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2;

Returns
Type Description
UpdateProjectSettingsRequest.Builder

clearUpdateMask()

public UpdateProjectSettingsRequest.Builder clearUpdateMask()

Field mask to support partial updates.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
UpdateProjectSettingsRequest.Builder

clone()

public UpdateProjectSettingsRequest.Builder clone()
Returns
Type Description
UpdateProjectSettingsRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateProjectSettingsRequest getDefaultInstanceForType()
Returns
Type Description
UpdateProjectSettingsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getProjectSettings()

public ProjectSettings getProjectSettings()

The project settings.

.google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2;

Returns
Type Description
ProjectSettings

The projectSettings.

getProjectSettingsBuilder()

public ProjectSettings.Builder getProjectSettingsBuilder()

The project settings.

.google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2;

Returns
Type Description
ProjectSettings.Builder

getProjectSettingsOrBuilder()

public ProjectSettingsOrBuilder getProjectSettingsOrBuilder()

The project settings.

.google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2;

Returns
Type Description
ProjectSettingsOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Field mask to support partial updates.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Field mask to support partial updates.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Field mask to support partial updates.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
FieldMaskOrBuilder

hasProjectSettings()

public boolean hasProjectSettings()

The project settings.

.google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2;

Returns
Type Description
boolean

Whether the projectSettings field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Field mask to support partial updates.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(UpdateProjectSettingsRequest other)

public UpdateProjectSettingsRequest.Builder mergeFrom(UpdateProjectSettingsRequest other)
Parameter
Name Description
other UpdateProjectSettingsRequest
Returns
Type Description
UpdateProjectSettingsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateProjectSettingsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateProjectSettingsRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateProjectSettingsRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateProjectSettingsRequest.Builder
Overrides

mergeProjectSettings(ProjectSettings value)

public UpdateProjectSettingsRequest.Builder mergeProjectSettings(ProjectSettings value)

The project settings.

.google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2;

Parameter
Name Description
value ProjectSettings
Returns
Type Description
UpdateProjectSettingsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateProjectSettingsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateProjectSettingsRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateProjectSettingsRequest.Builder mergeUpdateMask(FieldMask value)

Field mask to support partial updates.

.google.protobuf.FieldMask update_mask = 3;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateProjectSettingsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateProjectSettingsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateProjectSettingsRequest.Builder
Overrides

setProjectSettings(ProjectSettings value)

public UpdateProjectSettingsRequest.Builder setProjectSettings(ProjectSettings value)

The project settings.

.google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2;

Parameter
Name Description
value ProjectSettings
Returns
Type Description
UpdateProjectSettingsRequest.Builder

setProjectSettings(ProjectSettings.Builder builderForValue)

public UpdateProjectSettingsRequest.Builder setProjectSettings(ProjectSettings.Builder builderForValue)

The project settings.

.google.devtools.artifactregistry.v1beta2.ProjectSettings project_settings = 2;

Parameter
Name Description
builderForValue ProjectSettings.Builder
Returns
Type Description
UpdateProjectSettingsRequest.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateProjectSettingsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateProjectSettingsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateProjectSettingsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateProjectSettingsRequest.Builder
Overrides

setUpdateMask(FieldMask value)

public UpdateProjectSettingsRequest.Builder setUpdateMask(FieldMask value)

Field mask to support partial updates.

.google.protobuf.FieldMask update_mask = 3;

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateProjectSettingsRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateProjectSettingsRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Field mask to support partial updates.

.google.protobuf.FieldMask update_mask = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateProjectSettingsRequest.Builder