Class UpdateProjectSettingsRequest.Builder (1.23.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateProjectSettingsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateProjectSettingsRequest.Builder
Overrides

build()

public UpdateProjectSettingsRequest build()
Returns
TypeDescription
UpdateProjectSettingsRequest

buildPartial()

public UpdateProjectSettingsRequest buildPartial()
Returns
TypeDescription
UpdateProjectSettingsRequest

clear()

public UpdateProjectSettingsRequest.Builder clear()
Returns
TypeDescription
UpdateProjectSettingsRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public UpdateProjectSettingsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateProjectSettingsRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateProjectSettingsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateProjectSettingsRequest.Builder
Overrides

clearProjectSettings()

public UpdateProjectSettingsRequest.Builder clearProjectSettings()

The project settings.

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

Returns
TypeDescription
UpdateProjectSettingsRequest.Builder

clearUpdateMask()

public UpdateProjectSettingsRequest.Builder clearUpdateMask()

Field mask to support partial updates.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
UpdateProjectSettingsRequest.Builder

clone()

public UpdateProjectSettingsRequest.Builder clone()
Returns
TypeDescription
UpdateProjectSettingsRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateProjectSettingsRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateProjectSettingsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getProjectSettings()

public ProjectSettings getProjectSettings()

The project settings.

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

Returns
TypeDescription
ProjectSettings

The projectSettings.

getProjectSettingsBuilder()

public ProjectSettings.Builder getProjectSettingsBuilder()

The project settings.

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

Returns
TypeDescription
ProjectSettings.Builder

getProjectSettingsOrBuilder()

public ProjectSettingsOrBuilder getProjectSettingsOrBuilder()

The project settings.

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

Returns
TypeDescription
ProjectSettingsOrBuilder

getUpdateMask()

public FieldMask getUpdateMask()

Field mask to support partial updates.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Field mask to support partial updates.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Field mask to support partial updates.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
FieldMaskOrBuilder

hasProjectSettings()

public boolean hasProjectSettings()

The project settings.

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

Returns
TypeDescription
boolean

Whether the projectSettings field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Field mask to support partial updates.

.google.protobuf.FieldMask update_mask = 3;

Returns
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateProjectSettingsRequest other)

public UpdateProjectSettingsRequest.Builder mergeFrom(UpdateProjectSettingsRequest other)
Parameter
NameDescription
otherUpdateProjectSettingsRequest
Returns
TypeDescription
UpdateProjectSettingsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateProjectSettingsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateProjectSettingsRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateProjectSettingsRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateProjectSettingsRequest.Builder
Overrides

mergeProjectSettings(ProjectSettings value)

public UpdateProjectSettingsRequest.Builder mergeProjectSettings(ProjectSettings value)

The project settings.

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

Parameter
NameDescription
valueProjectSettings
Returns
TypeDescription
UpdateProjectSettingsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateProjectSettingsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateProjectSettingsRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateProjectSettingsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateProjectSettingsRequest.Builder
Overrides

setProjectSettings(ProjectSettings value)

public UpdateProjectSettingsRequest.Builder setProjectSettings(ProjectSettings value)

The project settings.

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

Parameter
NameDescription
valueProjectSettings
Returns
TypeDescription
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
NameDescription
builderForValueProjectSettings.Builder
Returns
TypeDescription
UpdateProjectSettingsRequest.Builder

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

public UpdateProjectSettingsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateProjectSettingsRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateProjectSettingsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateProjectSettingsRequest.Builder