public static final class CreateResourceValueConfigRequest.Builder extends GeneratedMessageV3.Builder<CreateResourceValueConfigRequest.Builder> implements CreateResourceValueConfigRequestOrBuilder
Request message to create single resource value config
Protobuf type google.cloud.securitycenter.v1.CreateResourceValueConfigRequest
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 CreateResourceValueConfigRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateResourceValueConfigRequest build()
buildPartial()
public CreateResourceValueConfigRequest buildPartial()
clear()
public CreateResourceValueConfigRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateResourceValueConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateResourceValueConfigRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateResourceValueConfigRequest.Builder clearParent()
Required. Resource name of the new ResourceValueConfig's parent.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearResourceValueConfig()
public CreateResourceValueConfigRequest.Builder clearResourceValueConfig()
Required. The resource value config being created.
.google.cloud.securitycenter.v1.ResourceValueConfig resource_value_config = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public CreateResourceValueConfigRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateResourceValueConfigRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParent()
public String getParent()
Required. Resource name of the new ResourceValueConfig's parent.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. Resource name of the new ResourceValueConfig's parent.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
getResourceValueConfig()
public ResourceValueConfig getResourceValueConfig()
Required. The resource value config being created.
.google.cloud.securitycenter.v1.ResourceValueConfig resource_value_config = 2 [(.google.api.field_behavior) = REQUIRED];
getResourceValueConfigBuilder()
public ResourceValueConfig.Builder getResourceValueConfigBuilder()
Required. The resource value config being created.
.google.cloud.securitycenter.v1.ResourceValueConfig resource_value_config = 2 [(.google.api.field_behavior) = REQUIRED];
getResourceValueConfigOrBuilder()
public ResourceValueConfigOrBuilder getResourceValueConfigOrBuilder()
Required. The resource value config being created.
.google.cloud.securitycenter.v1.ResourceValueConfig resource_value_config = 2 [(.google.api.field_behavior) = REQUIRED];
hasResourceValueConfig()
public boolean hasResourceValueConfig()
Required. The resource value config being created.
.google.cloud.securitycenter.v1.ResourceValueConfig resource_value_config = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the resourceValueConfig field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateResourceValueConfigRequest other)
public CreateResourceValueConfigRequest.Builder mergeFrom(CreateResourceValueConfigRequest other)
public CreateResourceValueConfigRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateResourceValueConfigRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeResourceValueConfig(ResourceValueConfig value)
public CreateResourceValueConfigRequest.Builder mergeResourceValueConfig(ResourceValueConfig value)
Required. The resource value config being created.
.google.cloud.securitycenter.v1.ResourceValueConfig resource_value_config = 2 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateResourceValueConfigRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateResourceValueConfigRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreateResourceValueConfigRequest.Builder setParent(String value)
Required. Resource name of the new ResourceValueConfig's parent.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
String
The parent to set.
|
setParentBytes(ByteString value)
public CreateResourceValueConfigRequest.Builder setParentBytes(ByteString value)
Required. Resource name of the new ResourceValueConfig's parent.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateResourceValueConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setResourceValueConfig(ResourceValueConfig value)
public CreateResourceValueConfigRequest.Builder setResourceValueConfig(ResourceValueConfig value)
Required. The resource value config being created.
.google.cloud.securitycenter.v1.ResourceValueConfig resource_value_config = 2 [(.google.api.field_behavior) = REQUIRED];
setResourceValueConfig(ResourceValueConfig.Builder builderForValue)
public CreateResourceValueConfigRequest.Builder setResourceValueConfig(ResourceValueConfig.Builder builderForValue)
Required. The resource value config being created.
.google.cloud.securitycenter.v1.ResourceValueConfig resource_value_config = 2 [(.google.api.field_behavior) = REQUIRED];
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateResourceValueConfigRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides