Class CreateFrameworkAuditRequest.Builder (0.7.0)

public static final class CreateFrameworkAuditRequest.Builder extends GeneratedMessageV3.Builder<CreateFrameworkAuditRequest.Builder> implements CreateFrameworkAuditRequestOrBuilder

The request message for [CreateFrameworkAudit][].

Protobuf type google.cloud.cloudsecuritycompliance.v1.CreateFrameworkAuditRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateFrameworkAuditRequest build()
Returns
Type Description
CreateFrameworkAuditRequest

buildPartial()

public CreateFrameworkAuditRequest buildPartial()
Returns
Type Description
CreateFrameworkAuditRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFrameworkAudit()

public CreateFrameworkAuditRequest.Builder clearFrameworkAudit()

Required. The framework audit to create.

.google.cloud.cloudsecuritycompliance.v1.FrameworkAudit framework_audit = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateFrameworkAuditRequest.Builder

clearFrameworkAuditId()

public CreateFrameworkAuditRequest.Builder clearFrameworkAuditId()

Optional. The ID to use for the framework audit. The ID becomes the final component of the framework audit's full resource name.

The ID must be between 4-63 characters, and valid characters are \a-z-\.

string framework_audit_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CreateFrameworkAuditRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateFrameworkAuditRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateFrameworkAuditRequest.Builder
Overrides

clearParent()

public CreateFrameworkAuditRequest.Builder clearParent()

Required. The parent resource where this framework audit is created.

Supported formats are the following:

  • organizations/{organization_id}/locations/{location}
  • folders/{folder_id}/locations/{location}
  • projects/{project_id}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateFrameworkAuditRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateFrameworkAuditRequest getDefaultInstanceForType()
Returns
Type Description
CreateFrameworkAuditRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFrameworkAudit()

public FrameworkAudit getFrameworkAudit()

Required. The framework audit to create.

.google.cloud.cloudsecuritycompliance.v1.FrameworkAudit framework_audit = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FrameworkAudit

The frameworkAudit.

getFrameworkAuditBuilder()

public FrameworkAudit.Builder getFrameworkAuditBuilder()

Required. The framework audit to create.

.google.cloud.cloudsecuritycompliance.v1.FrameworkAudit framework_audit = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FrameworkAudit.Builder

getFrameworkAuditId()

public String getFrameworkAuditId()

Optional. The ID to use for the framework audit. The ID becomes the final component of the framework audit's full resource name.

The ID must be between 4-63 characters, and valid characters are \a-z-\.

string framework_audit_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The frameworkAuditId.

getFrameworkAuditIdBytes()

public ByteString getFrameworkAuditIdBytes()

Optional. The ID to use for the framework audit. The ID becomes the final component of the framework audit's full resource name.

The ID must be between 4-63 characters, and valid characters are \a-z-\.

string framework_audit_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for frameworkAuditId.

getFrameworkAuditOrBuilder()

public FrameworkAuditOrBuilder getFrameworkAuditOrBuilder()

Required. The framework audit to create.

.google.cloud.cloudsecuritycompliance.v1.FrameworkAudit framework_audit = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FrameworkAuditOrBuilder

getParent()

public String getParent()

Required. The parent resource where this framework audit is created.

Supported formats are the following:

  • organizations/{organization_id}/locations/{location}
  • folders/{folder_id}/locations/{location}
  • projects/{project_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. The parent resource where this framework audit is created.

Supported formats are the following:

  • organizations/{organization_id}/locations/{location}
  • folders/{folder_id}/locations/{location}
  • projects/{project_id}/locations/{location}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

hasFrameworkAudit()

public boolean hasFrameworkAudit()

Required. The framework audit to create.

.google.cloud.cloudsecuritycompliance.v1.FrameworkAudit framework_audit = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the frameworkAudit field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrameworkAudit(FrameworkAudit value)

public CreateFrameworkAuditRequest.Builder mergeFrameworkAudit(FrameworkAudit value)

Required. The framework audit to create.

.google.cloud.cloudsecuritycompliance.v1.FrameworkAudit framework_audit = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FrameworkAudit
Returns
Type Description
CreateFrameworkAuditRequest.Builder

mergeFrom(CreateFrameworkAuditRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public CreateFrameworkAuditRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateFrameworkAuditRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFrameworkAudit(FrameworkAudit value)

public CreateFrameworkAuditRequest.Builder setFrameworkAudit(FrameworkAudit value)

Required. The framework audit to create.

.google.cloud.cloudsecuritycompliance.v1.FrameworkAudit framework_audit = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FrameworkAudit
Returns
Type Description
CreateFrameworkAuditRequest.Builder

setFrameworkAudit(FrameworkAudit.Builder builderForValue)

public CreateFrameworkAuditRequest.Builder setFrameworkAudit(FrameworkAudit.Builder builderForValue)

Required. The framework audit to create.

.google.cloud.cloudsecuritycompliance.v1.FrameworkAudit framework_audit = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue FrameworkAudit.Builder
Returns
Type Description
CreateFrameworkAuditRequest.Builder

setFrameworkAuditId(String value)

public CreateFrameworkAuditRequest.Builder setFrameworkAuditId(String value)

Optional. The ID to use for the framework audit. The ID becomes the final component of the framework audit's full resource name.

The ID must be between 4-63 characters, and valid characters are \a-z-\.

string framework_audit_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The frameworkAuditId to set.

Returns
Type Description
CreateFrameworkAuditRequest.Builder

This builder for chaining.

setFrameworkAuditIdBytes(ByteString value)

public CreateFrameworkAuditRequest.Builder setFrameworkAuditIdBytes(ByteString value)

Optional. The ID to use for the framework audit. The ID becomes the final component of the framework audit's full resource name.

The ID must be between 4-63 characters, and valid characters are \a-z-\.

string framework_audit_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for frameworkAuditId to set.

Returns
Type Description
CreateFrameworkAuditRequest.Builder

This builder for chaining.

setParent(String value)

public CreateFrameworkAuditRequest.Builder setParent(String value)

Required. The parent resource where this framework audit is created.

Supported formats are the following:

  • organizations/{organization_id}/locations/{location}
  • folders/{folder_id}/locations/{location}
  • projects/{project_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
CreateFrameworkAuditRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateFrameworkAuditRequest.Builder setParentBytes(ByteString value)

Required. The parent resource where this framework audit is created.

Supported formats are the following:

  • organizations/{organization_id}/locations/{location}
  • folders/{folder_id}/locations/{location}
  • projects/{project_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
CreateFrameworkAuditRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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