Class UpdateFrameworkRequest.Builder (0.10.0)

public static final class UpdateFrameworkRequest.Builder extends GeneratedMessage.Builder<UpdateFrameworkRequest.Builder> implements UpdateFrameworkRequestOrBuilder

The request message for [UpdateFramework][].

Protobuf type google.cloud.cloudsecuritycompliance.v1.UpdateFrameworkRequest

Static Methods

getDescriptor()

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

Methods

build()

public UpdateFrameworkRequest build()
Returns
Type Description
UpdateFrameworkRequest

buildPartial()

public UpdateFrameworkRequest buildPartial()
Returns
Type Description
UpdateFrameworkRequest

clear()

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

clearFramework()

public UpdateFrameworkRequest.Builder clearFramework()

Required. The resource that is being updated.

.google.cloud.cloudsecuritycompliance.v1.Framework framework = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateFrameworkRequest.Builder

clearMajorRevisionId()

public UpdateFrameworkRequest.Builder clearMajorRevisionId()

Optional. The major version ID of the framework to update.

int64 major_revision_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdateFrameworkRequest.Builder

This builder for chaining.

clearUpdateMask()

public UpdateFrameworkRequest.Builder clearUpdateMask()

Optional. A field mask is used to specify the fields to be overwritten in the framework resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If you don't provide a mask then all fields present in the request will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
UpdateFrameworkRequest.Builder

getDefaultInstanceForType()

public UpdateFrameworkRequest getDefaultInstanceForType()
Returns
Type Description
UpdateFrameworkRequest

getDescriptorForType()

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

getFramework()

public Framework getFramework()

Required. The resource that is being updated.

.google.cloud.cloudsecuritycompliance.v1.Framework framework = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Framework

The framework.

getFrameworkBuilder()

public Framework.Builder getFrameworkBuilder()

Required. The resource that is being updated.

.google.cloud.cloudsecuritycompliance.v1.Framework framework = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Framework.Builder

getFrameworkOrBuilder()

public FrameworkOrBuilder getFrameworkOrBuilder()

Required. The resource that is being updated.

.google.cloud.cloudsecuritycompliance.v1.Framework framework = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FrameworkOrBuilder

getMajorRevisionId()

public long getMajorRevisionId()

Optional. The major version ID of the framework to update.

int64 major_revision_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The majorRevisionId.

getUpdateMask()

public FieldMask getUpdateMask()

Optional. A field mask is used to specify the fields to be overwritten in the framework resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If you don't provide a mask then all fields present in the request will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Optional. A field mask is used to specify the fields to be overwritten in the framework resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If you don't provide a mask then all fields present in the request will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Optional. A field mask is used to specify the fields to be overwritten in the framework resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If you don't provide a mask then all fields present in the request will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FieldMaskOrBuilder

hasFramework()

public boolean hasFramework()

Required. The resource that is being updated.

.google.cloud.cloudsecuritycompliance.v1.Framework framework = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the framework field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Optional. A field mask is used to specify the fields to be overwritten in the framework resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If you don't provide a mask then all fields present in the request will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFramework(Framework value)

public UpdateFrameworkRequest.Builder mergeFramework(Framework value)

Required. The resource that is being updated.

.google.cloud.cloudsecuritycompliance.v1.Framework framework = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Framework
Returns
Type Description
UpdateFrameworkRequest.Builder

mergeFrom(UpdateFrameworkRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUpdateMask(FieldMask value)

public UpdateFrameworkRequest.Builder mergeUpdateMask(FieldMask value)

Optional. A field mask is used to specify the fields to be overwritten in the framework resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If you don't provide a mask then all fields present in the request will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateFrameworkRequest.Builder

setFramework(Framework value)

public UpdateFrameworkRequest.Builder setFramework(Framework value)

Required. The resource that is being updated.

.google.cloud.cloudsecuritycompliance.v1.Framework framework = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value Framework
Returns
Type Description
UpdateFrameworkRequest.Builder

setFramework(Framework.Builder builderForValue)

public UpdateFrameworkRequest.Builder setFramework(Framework.Builder builderForValue)

Required. The resource that is being updated.

.google.cloud.cloudsecuritycompliance.v1.Framework framework = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Framework.Builder
Returns
Type Description
UpdateFrameworkRequest.Builder

setMajorRevisionId(long value)

public UpdateFrameworkRequest.Builder setMajorRevisionId(long value)

Optional. The major version ID of the framework to update.

int64 major_revision_id = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value long

The majorRevisionId to set.

Returns
Type Description
UpdateFrameworkRequest.Builder

This builder for chaining.

setUpdateMask(FieldMask value)

public UpdateFrameworkRequest.Builder setUpdateMask(FieldMask value)

Optional. A field mask is used to specify the fields to be overwritten in the framework resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If you don't provide a mask then all fields present in the request will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value FieldMask
Returns
Type Description
UpdateFrameworkRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateFrameworkRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Optional. A field mask is used to specify the fields to be overwritten in the framework resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field is overwritten if it is in the mask. If you don't provide a mask then all fields present in the request will be overwritten.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateFrameworkRequest.Builder