Class Application.Builder (2.51.0)

public static final class Application.Builder extends GeneratedMessageV3.Builder<Application.Builder> implements ApplicationOrBuilder

Represents an application associated with a finding.

Protobuf type google.cloud.securitycenter.v2.Application

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Application build()
Returns
Type Description
Application

buildPartial()

public Application buildPartial()
Returns
Type Description
Application

clear()

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

clearBaseUri()

public Application.Builder clearBaseUri()

The base URI that identifies the network location of the application in which the vulnerability was detected. For example, http://example.com.

string base_uri = 1;

Returns
Type Description
Application.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearFullUri()

public Application.Builder clearFullUri()

The full URI with payload that could be used to reproduce the vulnerability. For example, http://example.com?p=aMmYgI6H.

string full_uri = 2;

Returns
Type Description
Application.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getBaseUri()

public String getBaseUri()

The base URI that identifies the network location of the application in which the vulnerability was detected. For example, http://example.com.

string base_uri = 1;

Returns
Type Description
String

The baseUri.

getBaseUriBytes()

public ByteString getBaseUriBytes()

The base URI that identifies the network location of the application in which the vulnerability was detected. For example, http://example.com.

string base_uri = 1;

Returns
Type Description
ByteString

The bytes for baseUri.

getDefaultInstanceForType()

public Application getDefaultInstanceForType()
Returns
Type Description
Application

getDescriptorForType()

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

getFullUri()

public String getFullUri()

The full URI with payload that could be used to reproduce the vulnerability. For example, http://example.com?p=aMmYgI6H.

string full_uri = 2;

Returns
Type Description
String

The fullUri.

getFullUriBytes()

public ByteString getFullUriBytes()

The full URI with payload that could be used to reproduce the vulnerability. For example, http://example.com?p=aMmYgI6H.

string full_uri = 2;

Returns
Type Description
ByteString

The bytes for fullUri.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Application other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBaseUri(String value)

public Application.Builder setBaseUri(String value)

The base URI that identifies the network location of the application in which the vulnerability was detected. For example, http://example.com.

string base_uri = 1;

Parameter
Name Description
value String

The baseUri to set.

Returns
Type Description
Application.Builder

This builder for chaining.

setBaseUriBytes(ByteString value)

public Application.Builder setBaseUriBytes(ByteString value)

The base URI that identifies the network location of the application in which the vulnerability was detected. For example, http://example.com.

string base_uri = 1;

Parameter
Name Description
value ByteString

The bytes for baseUri to set.

Returns
Type Description
Application.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setFullUri(String value)

public Application.Builder setFullUri(String value)

The full URI with payload that could be used to reproduce the vulnerability. For example, http://example.com?p=aMmYgI6H.

string full_uri = 2;

Parameter
Name Description
value String

The fullUri to set.

Returns
Type Description
Application.Builder

This builder for chaining.

setFullUriBytes(ByteString value)

public Application.Builder setFullUriBytes(ByteString value)

The full URI with payload that could be used to reproduce the vulnerability. For example, http://example.com?p=aMmYgI6H.

string full_uri = 2;

Parameter
Name Description
value ByteString

The bytes for fullUri to set.

Returns
Type Description
Application.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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