Class Application.Builder (2.48.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Application.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Application.Builder
Overrides

build()

public Application build()
Returns
TypeDescription
Application

buildPartial()

public Application buildPartial()
Returns
TypeDescription
Application

clear()

public Application.Builder clear()
Returns
TypeDescription
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
TypeDescription
Application.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Application.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
Application.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Application.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Application.Builder
Overrides

clone()

public Application.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for baseUri.

getDefaultInstanceForType()

public Application getDefaultInstanceForType()
Returns
TypeDescription
Application

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for fullUri.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Application other)

public Application.Builder mergeFrom(Application other)
Parameter
NameDescription
otherApplication
Returns
TypeDescription
Application.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Application.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Application.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Application.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Application.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Application.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The baseUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for baseUri to set.

Returns
TypeDescription
Application.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Application.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The fullUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for fullUri to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Application.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Application.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Application.Builder
Overrides