Class ExportSBOMRequest.Builder (2.84.0)

public static final class ExportSBOMRequest.Builder extends GeneratedMessage.Builder<ExportSBOMRequest.Builder> implements ExportSBOMRequestOrBuilder

The request to a call of ExportSBOM

Protobuf type google.devtools.containeranalysis.v1beta1.ExportSBOMRequest

Static Methods

getDescriptor()

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

Methods

build()

public ExportSBOMRequest build()
Returns
Type Description
ExportSBOMRequest

buildPartial()

public ExportSBOMRequest buildPartial()
Returns
Type Description
ExportSBOMRequest

clear()

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

clearName()

public ExportSBOMRequest.Builder clearName()

Required. The name of the resource in the form of projects/[PROJECT_ID]/resources/[RESOURCE_URL].

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ExportSBOMRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public ExportSBOMRequest getDefaultInstanceForType()
Returns
Type Description
ExportSBOMRequest

getDescriptorForType()

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

getName()

public String getName()

Required. The name of the resource in the form of projects/[PROJECT_ID]/resources/[RESOURCE_URL].

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the resource in the form of projects/[PROJECT_ID]/resources/[RESOURCE_URL].

string name = 1 [(.google.api.field_behavior) = REQUIRED];

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(ExportSBOMRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public ExportSBOMRequest.Builder setName(String value)

Required. The name of the resource in the form of projects/[PROJECT_ID]/resources/[RESOURCE_URL].

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ExportSBOMRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ExportSBOMRequest.Builder setNameBytes(ByteString value)

Required. The name of the resource in the form of projects/[PROJECT_ID]/resources/[RESOURCE_URL].

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ExportSBOMRequest.Builder

This builder for chaining.