Class ExportSBOMRequest.Builder (2.55.0)

public static final class ExportSBOMRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public ExportSBOMRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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