Class UpdateFrameworkRequest.Builder (0.1.0)

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

Message for updating a Framework

Protobuf type google.cloud.cloudsecuritycompliance.v1.UpdateFrameworkRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearFramework()

public UpdateFrameworkRequest.Builder clearFramework()

Required. The resource 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 revision 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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUpdateMask()

public UpdateFrameworkRequest.Builder clearUpdateMask()

Optional. 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 will be overwritten if it is in the mask. If the user does not 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

clone()

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

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 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 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 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 revision 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. 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 will be overwritten if it is in the mask. If the user does not 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. 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 will be overwritten if it is in the mask. If the user does not 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. 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 will be overwritten if it is in the mask. If the user does not 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 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. 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 will be overwritten if it is in the mask. If the user does not 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 GeneratedMessageV3.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 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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateFrameworkRequest.Builder mergeUpdateMask(FieldMask value)

Optional. 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 will be overwritten if it is in the mask. If the user does not 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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFramework(Framework value)

public UpdateFrameworkRequest.Builder setFramework(Framework value)

Required. The resource 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 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 revision 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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateFrameworkRequest.Builder setUpdateMask(FieldMask value)

Optional. 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 will be overwritten if it is in the mask. If the user does not 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. 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 will be overwritten if it is in the mask. If the user does not 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