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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateFrameworkRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateFrameworkRequest build()
buildPartial()
public UpdateFrameworkRequest buildPartial()
clear()
public UpdateFrameworkRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateFrameworkRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFramework()
public UpdateFrameworkRequest.Builder clearFramework()
Required. The resource being updated
.google.cloud.cloudsecuritycompliance.v1.Framework framework = 2 [(.google.api.field_behavior) = REQUIRED];
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateFrameworkRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
clone()
public UpdateFrameworkRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateFrameworkRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
getFrameworkOrBuilder()
public FrameworkOrBuilder getFrameworkOrBuilder()
Required. The resource being updated
.google.cloud.cloudsecuritycompliance.v1.Framework framework = 2 [(.google.api.field_behavior) = REQUIRED];
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
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];
mergeFrom(UpdateFrameworkRequest other)
public UpdateFrameworkRequest.Builder mergeFrom(UpdateFrameworkRequest other)
public UpdateFrameworkRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateFrameworkRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateFrameworkRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateFrameworkRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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];
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];
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateFrameworkRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateFrameworkRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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];
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
|