Class GetFrameworkAuditRequest.Builder (0.12.0)

public static final class GetFrameworkAuditRequest.Builder extends GeneratedMessage.Builder<GetFrameworkAuditRequest.Builder> implements GetFrameworkAuditRequestOrBuilder

The request message for [GetFrameworkAudit][].

Protobuf type google.cloud.cloudsecuritycompliance.v1.GetFrameworkAuditRequest

Static Methods

getDescriptor()

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

Methods

build()

public GetFrameworkAuditRequest build()
Returns
Type Description
GetFrameworkAuditRequest

buildPartial()

public GetFrameworkAuditRequest buildPartial()
Returns
Type Description
GetFrameworkAuditRequest

clear()

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

clearName()

public GetFrameworkAuditRequest.Builder clearName()

Required. The name of the framework audit to retrieve.

Supported formats are the following:

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

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

Returns
Type Description
GetFrameworkAuditRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public GetFrameworkAuditRequest getDefaultInstanceForType()
Returns
Type Description
GetFrameworkAuditRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The name of the framework audit to retrieve.

Supported formats are the following:

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

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the framework audit to retrieve.

Supported formats are the following:

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

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetFrameworkAuditRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public GetFrameworkAuditRequest.Builder setName(String value)

Required. The name of the framework audit to retrieve.

Supported formats are the following:

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

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetFrameworkAuditRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetFrameworkAuditRequest.Builder setNameBytes(ByteString value)

Required. The name of the framework audit to retrieve.

Supported formats are the following:

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

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetFrameworkAuditRequest.Builder

This builder for chaining.