Class CreatePostureDeploymentRequest.Builder (0.10.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreatePostureDeploymentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreatePostureDeploymentRequest.Builder
Overrides

build()

public CreatePostureDeploymentRequest build()
Returns
Type Description
CreatePostureDeploymentRequest

buildPartial()

public CreatePostureDeploymentRequest buildPartial()
Returns
Type Description
CreatePostureDeploymentRequest

clear()

public CreatePostureDeploymentRequest.Builder clear()
Returns
Type Description
CreatePostureDeploymentRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreatePostureDeploymentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreatePostureDeploymentRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreatePostureDeploymentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreatePostureDeploymentRequest.Builder
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) = { ... }

Returns
Type Description
CreatePostureDeploymentRequest.Builder

This builder for chaining.

clearPostureDeployment()

public CreatePostureDeploymentRequest.Builder clearPostureDeployment()

Required. The resource being created.

.google.cloud.securityposture.v1.PostureDeployment posture_deployment = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreatePostureDeploymentRequest.Builder

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];

Returns
Type Description
CreatePostureDeploymentRequest.Builder

This builder for chaining.

clone()

public CreatePostureDeploymentRequest.Builder clone()
Returns
Type Description
CreatePostureDeploymentRequest.Builder
Overrides

getDefaultInstanceForType()

public CreatePostureDeploymentRequest getDefaultInstanceForType()
Returns
Type Description
CreatePostureDeploymentRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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];

Returns
Type Description
PostureDeployment

The postureDeployment.

getPostureDeploymentBuilder()

public PostureDeployment.Builder getPostureDeploymentBuilder()

Required. The resource being created.

.google.cloud.securityposture.v1.PostureDeployment posture_deployment = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
PostureDeployment.Builder

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];

Returns
Type Description
PostureDeploymentOrBuilder

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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreatePostureDeploymentRequest other)

public CreatePostureDeploymentRequest.Builder mergeFrom(CreatePostureDeploymentRequest other)
Parameter
Name Description
other CreatePostureDeploymentRequest
Returns
Type Description
CreatePostureDeploymentRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreatePostureDeploymentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreatePostureDeploymentRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreatePostureDeploymentRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreatePostureDeploymentRequest.Builder
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];

Parameter
Name Description
value PostureDeployment
Returns
Type Description
CreatePostureDeploymentRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreatePostureDeploymentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreatePostureDeploymentRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreatePostureDeploymentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreatePostureDeploymentRequest.Builder
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.

Returns
Type Description
CreatePostureDeploymentRequest.Builder

This builder for chaining.

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.

Returns
Type Description
CreatePostureDeploymentRequest.Builder

This builder for chaining.

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];

Parameter
Name Description
value PostureDeployment
Returns
Type Description
CreatePostureDeploymentRequest.Builder

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];

Parameter
Name Description
builderForValue PostureDeployment.Builder
Returns
Type Description
CreatePostureDeploymentRequest.Builder

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.

Returns
Type Description
CreatePostureDeploymentRequest.Builder

This builder for chaining.

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.

Returns
Type Description
CreatePostureDeploymentRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreatePostureDeploymentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreatePostureDeploymentRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreatePostureDeploymentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreatePostureDeploymentRequest.Builder
Overrides