Class SecretLocation.Builder (2.63.0)

public static final class SecretLocation.Builder extends GeneratedMessageV3.Builder<SecretLocation.Builder> implements SecretLocationOrBuilder

The location of the secret.

Protobuf type grafeas.v1.SecretLocation

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SecretLocation build()
Returns
Type Description
SecretLocation

buildPartial()

public SecretLocation buildPartial()
Returns
Type Description
SecretLocation

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFileLocation()

public SecretLocation.Builder clearFileLocation()

The secret is found from a file.

.grafeas.v1.FileLocation file_location = 1;

Returns
Type Description
SecretLocation.Builder

clearLocation()

public SecretLocation.Builder clearLocation()
Returns
Type Description
SecretLocation.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public SecretLocation getDefaultInstanceForType()
Returns
Type Description
SecretLocation

getDescriptorForType()

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

getFileLocation()

public FileLocation getFileLocation()

The secret is found from a file.

.grafeas.v1.FileLocation file_location = 1;

Returns
Type Description
FileLocation

The fileLocation.

getFileLocationBuilder()

public FileLocation.Builder getFileLocationBuilder()

The secret is found from a file.

.grafeas.v1.FileLocation file_location = 1;

Returns
Type Description
FileLocation.Builder

getFileLocationOrBuilder()

public FileLocationOrBuilder getFileLocationOrBuilder()

The secret is found from a file.

.grafeas.v1.FileLocation file_location = 1;

Returns
Type Description
FileLocationOrBuilder

getLocationCase()

public SecretLocation.LocationCase getLocationCase()
Returns
Type Description
SecretLocation.LocationCase

hasFileLocation()

public boolean hasFileLocation()

The secret is found from a file.

.grafeas.v1.FileLocation file_location = 1;

Returns
Type Description
boolean

Whether the fileLocation field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFileLocation(FileLocation value)

public SecretLocation.Builder mergeFileLocation(FileLocation value)

The secret is found from a file.

.grafeas.v1.FileLocation file_location = 1;

Parameter
Name Description
value FileLocation
Returns
Type Description
SecretLocation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(SecretLocation other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFileLocation(FileLocation value)

public SecretLocation.Builder setFileLocation(FileLocation value)

The secret is found from a file.

.grafeas.v1.FileLocation file_location = 1;

Parameter
Name Description
value FileLocation
Returns
Type Description
SecretLocation.Builder

setFileLocation(FileLocation.Builder builderForValue)

public SecretLocation.Builder setFileLocation(FileLocation.Builder builderForValue)

The secret is found from a file.

.grafeas.v1.FileLocation file_location = 1;

Parameter
Name Description
builderForValue FileLocation.Builder
Returns
Type Description
SecretLocation.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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