Class CreatePostureDeploymentRequest.Builder (0.4.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreatePostureDeploymentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreatePostureDeploymentRequest.Builder
Overrides

build()

public CreatePostureDeploymentRequest build()
Returns
TypeDescription
CreatePostureDeploymentRequest

buildPartial()

public CreatePostureDeploymentRequest buildPartial()
Returns
TypeDescription
CreatePostureDeploymentRequest

clear()

public CreatePostureDeploymentRequest.Builder clear()
Returns
TypeDescription
CreatePostureDeploymentRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreatePostureDeploymentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreatePostureDeploymentRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreatePostureDeploymentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
CreatePostureDeploymentRequest.Builder

This builder for chaining.

clone()

public CreatePostureDeploymentRequest.Builder clone()
Returns
TypeDescription
CreatePostureDeploymentRequest.Builder
Overrides

getDefaultInstanceForType()

public CreatePostureDeploymentRequest getDefaultInstanceForType()
Returns
TypeDescription
CreatePostureDeploymentRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
PostureDeploymentOrBuilder

hasPostureDeployment()

public boolean hasPostureDeployment()

Required. The resource being created.

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

Returns
TypeDescription
boolean

Whether the postureDeployment field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreatePostureDeploymentRequest other)

public CreatePostureDeploymentRequest.Builder mergeFrom(CreatePostureDeploymentRequest other)
Parameter
NameDescription
otherCreatePostureDeploymentRequest
Returns
TypeDescription
CreatePostureDeploymentRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreatePostureDeploymentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreatePostureDeploymentRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreatePostureDeploymentRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valuePostureDeployment
Returns
TypeDescription
CreatePostureDeploymentRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreatePostureDeploymentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreatePostureDeploymentRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreatePostureDeploymentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
valuePostureDeployment
Returns
TypeDescription
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
NameDescription
builderForValuePostureDeployment.Builder
Returns
TypeDescription
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
NameDescription
valueString

The postureDeploymentId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for postureDeploymentId to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreatePostureDeploymentRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreatePostureDeploymentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreatePostureDeploymentRequest.Builder
Overrides