Send feedback
Class UpdateSourceRequest.Builder (2.6.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.6.0 keyboard_arrow_down
public static final class UpdateSourceRequest . Builder extends GeneratedMessageV3 . Builder<UpdateSourceRequest . Builder > implements UpdateSourceRequestOrBuilder
Request message for updating a source.
Protobuf type google.cloud.securitycenter.v1beta1.UpdateSourceRequest
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateSourceRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public UpdateSourceRequest build ()
Returns
buildPartial()
public UpdateSourceRequest buildPartial ()
Returns
clear()
public UpdateSourceRequest . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateSourceRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateSourceRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearSource()
public UpdateSourceRequest . Builder clearSource ()
Required. The source resource to update.
.google.cloud.securitycenter.v1beta1.Source source = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearUpdateMask()
public UpdateSourceRequest . Builder clearUpdateMask ()
The FieldMask to use when updating the source resource.
.google.protobuf.FieldMask update_mask = 2;
Returns
clone()
public UpdateSourceRequest . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public UpdateSourceRequest getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getSource()
public Source getSource ()
Required. The source resource to update.
.google.cloud.securitycenter.v1beta1.Source source = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type Description Source The source.
getSourceBuilder()
public Source . Builder getSourceBuilder ()
Required. The source resource to update.
.google.cloud.securitycenter.v1beta1.Source source = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getSourceOrBuilder()
public SourceOrBuilder getSourceOrBuilder ()
Required. The source resource to update.
.google.cloud.securitycenter.v1beta1.Source source = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getUpdateMask()
public FieldMask getUpdateMask ()
The FieldMask to use when updating the source resource.
.google.protobuf.FieldMask update_mask = 2;
Returns
getUpdateMaskBuilder()
public FieldMask . Builder getUpdateMaskBuilder ()
The FieldMask to use when updating the source resource.
.google.protobuf.FieldMask update_mask = 2;
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder ()
The FieldMask to use when updating the source resource.
.google.protobuf.FieldMask update_mask = 2;
Returns
hasSource()
public boolean hasSource ()
Required. The source resource to update.
.google.cloud.securitycenter.v1beta1.Source source = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type Description boolean Whether the source field is set.
hasUpdateMask()
public boolean hasUpdateMask ()
The FieldMask to use when updating the source resource.
.google.protobuf.FieldMask update_mask = 2;
Returns
Type Description boolean Whether the updateMask field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(UpdateSourceRequest other)
public UpdateSourceRequest . Builder mergeFrom ( UpdateSourceRequest other )
Parameter
Returns
public UpdateSourceRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateSourceRequest . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeSource(Source value)
public UpdateSourceRequest . Builder mergeSource ( Source value )
Required. The source resource to update.
.google.cloud.securitycenter.v1beta1.Source source = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateSourceRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateSourceRequest . Builder mergeUpdateMask ( FieldMask value )
The FieldMask to use when updating the source resource.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateSourceRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateSourceRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setSource(Source value)
public UpdateSourceRequest . Builder setSource ( Source value )
Required. The source resource to update.
.google.cloud.securitycenter.v1beta1.Source source = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setSource(Source.Builder builderForValue)
public UpdateSourceRequest . Builder setSource ( Source . Builder builderForValue )
Required. The source resource to update.
.google.cloud.securitycenter.v1beta1.Source source = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateSourceRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateSourceRequest . Builder setUpdateMask ( FieldMask value )
The FieldMask to use when updating the source resource.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Returns
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateSourceRequest . Builder setUpdateMask ( FieldMask . Builder builderForValue )
The FieldMask to use when updating the source resource.
.google.protobuf.FieldMask update_mask = 2;
Parameter
Name Description builderForValue Builder
Returns
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]