public static final class CreatePostureDeploymentRequest.Builder extends GeneratedMessageV3.Builder<CreatePostureDeploymentRequest.Builder> implements CreatePostureDeploymentRequestOrBuilder
Message for creating a PostureDeployment.
Protobuf type google.cloud.securityposture.v1.CreatePostureDeploymentRequest
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 CreatePostureDeploymentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreatePostureDeploymentRequest build()
buildPartial()
public CreatePostureDeploymentRequest buildPartial()
clear()
public CreatePostureDeploymentRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreatePostureDeploymentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreatePostureDeploymentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreatePostureDeploymentRequest.Builder clearParent()
Required. Value for parent.
Format: organizations/{org_id}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearPostureDeployment()
public CreatePostureDeploymentRequest.Builder clearPostureDeployment()
Required. The resource being created.
.google.cloud.securityposture.v1.PostureDeployment posture_deployment = 3 [(.google.api.field_behavior) = REQUIRED];
clearPostureDeploymentId()
public CreatePostureDeploymentRequest.Builder clearPostureDeploymentId()
Required. User provided identifier. It should be unique in scope of an
Organization and location.
string posture_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public CreatePostureDeploymentRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreatePostureDeploymentRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getParent()
public String getParent()
Required. Value for parent.
Format: organizations/{org_id}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. Value for parent.
Format: organizations/{org_id}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for parent.
|
getPostureDeployment()
public PostureDeployment getPostureDeployment()
Required. The resource being created.
.google.cloud.securityposture.v1.PostureDeployment posture_deployment = 3 [(.google.api.field_behavior) = REQUIRED];
getPostureDeploymentBuilder()
public PostureDeployment.Builder getPostureDeploymentBuilder()
Required. The resource being created.
.google.cloud.securityposture.v1.PostureDeployment posture_deployment = 3 [(.google.api.field_behavior) = REQUIRED];
getPostureDeploymentId()
public String getPostureDeploymentId()
Required. User provided identifier. It should be unique in scope of an
Organization and location.
string posture_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
String | The postureDeploymentId.
|
getPostureDeploymentIdBytes()
public ByteString getPostureDeploymentIdBytes()
Required. User provided identifier. It should be unique in scope of an
Organization and location.
string posture_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ByteString | The bytes for postureDeploymentId.
|
getPostureDeploymentOrBuilder()
public PostureDeploymentOrBuilder getPostureDeploymentOrBuilder()
Required. The resource being created.
.google.cloud.securityposture.v1.PostureDeployment posture_deployment = 3 [(.google.api.field_behavior) = REQUIRED];
hasPostureDeployment()
public boolean hasPostureDeployment()
Required. The resource being created.
.google.cloud.securityposture.v1.PostureDeployment posture_deployment = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the postureDeployment field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreatePostureDeploymentRequest other)
public CreatePostureDeploymentRequest.Builder mergeFrom(CreatePostureDeploymentRequest other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreatePostureDeploymentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreatePostureDeploymentRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergePostureDeployment(PostureDeployment value)
public CreatePostureDeploymentRequest.Builder mergePostureDeployment(PostureDeployment value)
Required. The resource being created.
.google.cloud.securityposture.v1.PostureDeployment posture_deployment = 3 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreatePostureDeploymentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreatePostureDeploymentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreatePostureDeploymentRequest.Builder setParent(String value)
Required. Value for parent.
Format: organizations/{org_id}/locations/{location}
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 CreatePostureDeploymentRequest.Builder setParentBytes(ByteString value)
Required. Value for parent.
Format: organizations/{org_id}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | ByteString
The bytes for parent to set.
|
setPostureDeployment(PostureDeployment value)
public CreatePostureDeploymentRequest.Builder setPostureDeployment(PostureDeployment value)
Required. The resource being created.
.google.cloud.securityposture.v1.PostureDeployment posture_deployment = 3 [(.google.api.field_behavior) = REQUIRED];
setPostureDeployment(PostureDeployment.Builder builderForValue)
public CreatePostureDeploymentRequest.Builder setPostureDeployment(PostureDeployment.Builder builderForValue)
Required. The resource being created.
.google.cloud.securityposture.v1.PostureDeployment posture_deployment = 3 [(.google.api.field_behavior) = REQUIRED];
setPostureDeploymentId(String value)
public CreatePostureDeploymentRequest.Builder setPostureDeploymentId(String value)
Required. User provided identifier. It should be unique in scope of an
Organization and location.
string posture_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | String
The postureDeploymentId to set.
|
setPostureDeploymentIdBytes(ByteString value)
public CreatePostureDeploymentRequest.Builder setPostureDeploymentIdBytes(ByteString value)
Required. User provided identifier. It should be unique in scope of an
Organization and location.
string posture_deployment_id = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for postureDeploymentId to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreatePostureDeploymentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreatePostureDeploymentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides