public static final class UpdateSourceRequest.Builder extends GeneratedMessageV3.Builder<UpdateSourceRequest.Builder> implements UpdateSourceRequestOrBuilder
Request message for updating a source.
Protobuf type google.cloud.securitycenter.v1p1beta1.UpdateSourceRequest
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 UpdateSourceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateSourceRequest build()
buildPartial()
public UpdateSourceRequest buildPartial()
clear()
public UpdateSourceRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public UpdateSourceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateSourceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSource()
public UpdateSourceRequest.Builder clearSource()
Required. The source resource to update.
.google.cloud.securitycenter.v1p1beta1.Source source = 1 [(.google.api.field_behavior) = REQUIRED];
clearUpdateMask()
public UpdateSourceRequest.Builder clearUpdateMask()
The FieldMask to use when updating the source resource.
If empty all mutable fields will be updated.
.google.protobuf.FieldMask update_mask = 2;
clone()
public UpdateSourceRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateSourceRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getSource()
public Source getSource()
Required. The source resource to update.
.google.cloud.securitycenter.v1p1beta1.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.v1p1beta1.Source source = 1 [(.google.api.field_behavior) = REQUIRED];
getSourceOrBuilder()
public SourceOrBuilder getSourceOrBuilder()
Required. The source resource to update.
.google.cloud.securitycenter.v1p1beta1.Source source = 1 [(.google.api.field_behavior) = REQUIRED];
getUpdateMask()
public FieldMask getUpdateMask()
The FieldMask to use when updating the source resource.
If empty all mutable fields will be updated.
.google.protobuf.FieldMask update_mask = 2;
Returns |
Type |
Description |
FieldMask |
The updateMask.
|
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
The FieldMask to use when updating the source resource.
If empty all mutable fields will be updated.
.google.protobuf.FieldMask update_mask = 2;
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
The FieldMask to use when updating the source resource.
If empty all mutable fields will be updated.
.google.protobuf.FieldMask update_mask = 2;
hasSource()
public boolean hasSource()
Required. The source resource to update.
.google.cloud.securitycenter.v1p1beta1.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.
If empty all mutable fields will be updated.
.google.protobuf.FieldMask update_mask = 2;
Returns |
Type |
Description |
boolean |
Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(UpdateSourceRequest other)
public UpdateSourceRequest.Builder mergeFrom(UpdateSourceRequest other)
public UpdateSourceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateSourceRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeSource(Source value)
public UpdateSourceRequest.Builder mergeSource(Source value)
Required. The source resource to update.
.google.cloud.securitycenter.v1p1beta1.Source source = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Source
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateSourceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeUpdateMask(FieldMask value)
public UpdateSourceRequest.Builder mergeUpdateMask(FieldMask value)
The FieldMask to use when updating the source resource.
If empty all mutable fields will be updated.
.google.protobuf.FieldMask update_mask = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateSourceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateSourceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSource(Source value)
public UpdateSourceRequest.Builder setSource(Source value)
Required. The source resource to update.
.google.cloud.securitycenter.v1p1beta1.Source source = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
Name |
Description |
value |
Source
|
setSource(Source.Builder builderForValue)
public UpdateSourceRequest.Builder setSource(Source.Builder builderForValue)
Required. The source resource to update.
.google.cloud.securitycenter.v1p1beta1.Source source = 1 [(.google.api.field_behavior) = REQUIRED];
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateSourceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setUpdateMask(FieldMask value)
public UpdateSourceRequest.Builder setUpdateMask(FieldMask value)
The FieldMask to use when updating the source resource.
If empty all mutable fields will be updated.
.google.protobuf.FieldMask update_mask = 2;
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateSourceRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
The FieldMask to use when updating the source resource.
If empty all mutable fields will be updated.
.google.protobuf.FieldMask update_mask = 2;
Parameter |
Name |
Description |
builderForValue |
Builder
|