- 2.74.0 (latest)
- 2.73.0
- 2.71.0
- 2.69.0
- 2.68.0
- 2.65.0
- 2.64.0
- 2.63.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.5
- 2.3.1
- 2.2.3
- 2.1.3
public
static
final
class
SecretOccurrence
.
Builder
extends
GeneratedMessageV3
.
Builder<SecretOccurrence
.
Builder
>
implements
SecretOccurrenceOrBuilder
The occurrence provides details of a secret.
Protobuf type grafeas.v1.SecretOccurrence
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SecretOccurrence.BuilderImplements
SecretOccurrenceOrBuilderStatic Methods
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
Methods
addAllLocations(Iterable<? extends SecretLocation> values)
public
SecretOccurrence
.
Builder
addAllLocations
(
Iterable
< ?
extends
SecretLocation
>
values
)
Locations where the secret is detected.
repeated .grafeas.v1.SecretLocation locations = 2 [(.google.api.field_behavior) = OPTIONAL];
addAllStatuses(Iterable<? extends SecretStatus> values)
public
SecretOccurrence
.
Builder
addAllStatuses
(
Iterable
< ?
extends
SecretStatus
>
values
)
Status of the secret.
repeated .grafeas.v1.SecretStatus statuses = 3 [(.google.api.field_behavior) = OPTIONAL];
addLocations(int index, SecretLocation value)
public
SecretOccurrence
.
Builder
addLocations
(
int
index
,
SecretLocation
value
)
Locations where the secret is detected.
repeated .grafeas.v1.SecretLocation locations = 2 [(.google.api.field_behavior) = OPTIONAL];
addLocations(int index, SecretLocation.Builder builderForValue)
public
SecretOccurrence
.
Builder
addLocations
(
int
index
,
SecretLocation
.
Builder
builderForValue
)
Locations where the secret is detected.
repeated .grafeas.v1.SecretLocation locations = 2 [(.google.api.field_behavior) = OPTIONAL];
addLocations(SecretLocation value)
public
SecretOccurrence
.
Builder
addLocations
(
SecretLocation
value
)
Locations where the secret is detected.
repeated .grafeas.v1.SecretLocation locations = 2 [(.google.api.field_behavior) = OPTIONAL];
addLocations(SecretLocation.Builder builderForValue)
public
SecretOccurrence
.
Builder
addLocations
(
SecretLocation
.
Builder
builderForValue
)
Locations where the secret is detected.
repeated .grafeas.v1.SecretLocation locations = 2 [(.google.api.field_behavior) = OPTIONAL];
addLocationsBuilder()
public
SecretLocation
.
Builder
addLocationsBuilder
()
Locations where the secret is detected.
repeated .grafeas.v1.SecretLocation locations = 2 [(.google.api.field_behavior) = OPTIONAL];
addLocationsBuilder(int index)
public
SecretLocation
.
Builder
addLocationsBuilder
(
int
index
)
Locations where the secret is detected.
repeated .grafeas.v1.SecretLocation locations = 2 [(.google.api.field_behavior) = OPTIONAL];
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public
SecretOccurrence
.
Builder
addRepeatedField
(
Descriptors
.
FieldDescriptor
field
,
Object
value
)
addStatuses(int index, SecretStatus value)
public
SecretOccurrence
.
Builder
addStatuses
(
int
index
,
SecretStatus
value
)
Status of the secret.
repeated .grafeas.v1.SecretStatus statuses = 3 [(.google.api.field_behavior) = OPTIONAL];
addStatuses(int index, SecretStatus.Builder builderForValue)
public
SecretOccurrence
.
Builder
addStatuses
(
int
index
,
SecretStatus
.
Builder
builderForValue
)
Status of the secret.
repeated .grafeas.v1.SecretStatus statuses = 3 [(.google.api.field_behavior) = OPTIONAL];
addStatuses(SecretStatus value)
public
SecretOccurrence
.
Builder
addStatuses
(
SecretStatus
value
)
Status of the secret.
repeated .grafeas.v1.SecretStatus statuses = 3 [(.google.api.field_behavior) = OPTIONAL];
addStatuses(SecretStatus.Builder builderForValue)
public
SecretOccurrence
.
Builder
addStatuses
(
SecretStatus
.
Builder
builderForValue
)
Status of the secret.
repeated .grafeas.v1.SecretStatus statuses = 3 [(.google.api.field_behavior) = OPTIONAL];
addStatusesBuilder()
public
SecretStatus
.
Builder
addStatusesBuilder
()
Status of the secret.
repeated .grafeas.v1.SecretStatus statuses = 3 [(.google.api.field_behavior) = OPTIONAL];
addStatusesBuilder(int index)
public
SecretStatus
.
Builder
addStatusesBuilder
(
int
index
)
Status of the secret.
repeated .grafeas.v1.SecretStatus statuses = 3 [(.google.api.field_behavior) = OPTIONAL];
build()
public
SecretOccurrence
build
()
buildPartial()
public
SecretOccurrence
buildPartial
()
clear()
public
SecretOccurrence
.
Builder
clear
()
clearField(Descriptors.FieldDescriptor field)
public
SecretOccurrence
.
Builder
clearField
(
Descriptors
.
FieldDescriptor
field
)
clearKind()
public
SecretOccurrence
.
Builder
clearKind
()
Type of secret.
.grafeas.v1.SecretKind kind = 1 [(.google.api.field_behavior) = REQUIRED];
clearLocations()
public
SecretOccurrence
.
Builder
clearLocations
()
Locations where the secret is detected.
repeated .grafeas.v1.SecretLocation locations = 2 [(.google.api.field_behavior) = OPTIONAL];
clearOneof(Descriptors.OneofDescriptor oneof)
public
SecretOccurrence
.
Builder
clearOneof
(
Descriptors
.
OneofDescriptor
oneof
)
clearStatuses()
public
SecretOccurrence
.
Builder
clearStatuses
()
Status of the secret.
repeated .grafeas.v1.SecretStatus statuses = 3 [(.google.api.field_behavior) = OPTIONAL];
clone()
public
SecretOccurrence
.
Builder
clone
()
getDefaultInstanceForType()
public
SecretOccurrence
getDefaultInstanceForType
()
getDescriptorForType()
public
Descriptors
.
Descriptor
getDescriptorForType
()
getKind()
public
SecretKind
getKind
()
Type of secret.
.grafeas.v1.SecretKind kind = 1 [(.google.api.field_behavior) = REQUIRED];
getKindValue()
public
int
getKindValue
()
Type of secret.
.grafeas.v1.SecretKind kind = 1 [(.google.api.field_behavior) = REQUIRED];
getLocations(int index)
public
SecretLocation
getLocations
(
int
index
)
Locations where the secret is detected.
repeated .grafeas.v1.SecretLocation locations = 2 [(.google.api.field_behavior) = OPTIONAL];
getLocationsBuilder(int index)
public
SecretLocation
.
Builder
getLocationsBuilder
(
int
index
)
Locations where the secret is detected.
repeated .grafeas.v1.SecretLocation locations = 2 [(.google.api.field_behavior) = OPTIONAL];
getLocationsBuilderList()
public
List<SecretLocation
.
Builder
>
getLocationsBuilderList
()
Locations where the secret is detected.
repeated .grafeas.v1.SecretLocation locations = 2 [(.google.api.field_behavior) = OPTIONAL];
getLocationsCount()
public
int
getLocationsCount
()
Locations where the secret is detected.
repeated .grafeas.v1.SecretLocation locations = 2 [(.google.api.field_behavior) = OPTIONAL];
getLocationsList()
public
List<SecretLocation>
getLocationsList
()
Locations where the secret is detected.
repeated .grafeas.v1.SecretLocation locations = 2 [(.google.api.field_behavior) = OPTIONAL];
getLocationsOrBuilder(int index)
public
SecretLocationOrBuilder
getLocationsOrBuilder
(
int
index
)
Locations where the secret is detected.
repeated .grafeas.v1.SecretLocation locations = 2 [(.google.api.field_behavior) = OPTIONAL];
getLocationsOrBuilderList()
public
List
< ?
extends
SecretLocationOrBuilder
>
getLocationsOrBuilderList
()
Locations where the secret is detected.
repeated .grafeas.v1.SecretLocation locations = 2 [(.google.api.field_behavior) = OPTIONAL];
getStatuses(int index)
public
SecretStatus
getStatuses
(
int
index
)
Status of the secret.
repeated .grafeas.v1.SecretStatus statuses = 3 [(.google.api.field_behavior) = OPTIONAL];
getStatusesBuilder(int index)
public
SecretStatus
.
Builder
getStatusesBuilder
(
int
index
)
Status of the secret.
repeated .grafeas.v1.SecretStatus statuses = 3 [(.google.api.field_behavior) = OPTIONAL];
getStatusesBuilderList()
public
List<SecretStatus
.
Builder
>
getStatusesBuilderList
()
Status of the secret.
repeated .grafeas.v1.SecretStatus statuses = 3 [(.google.api.field_behavior) = OPTIONAL];
getStatusesCount()
public
int
getStatusesCount
()
Status of the secret.
repeated .grafeas.v1.SecretStatus statuses = 3 [(.google.api.field_behavior) = OPTIONAL];
getStatusesList()
public
List<SecretStatus>
getStatusesList
()
Status of the secret.
repeated .grafeas.v1.SecretStatus statuses = 3 [(.google.api.field_behavior) = OPTIONAL];
getStatusesOrBuilder(int index)
public
SecretStatusOrBuilder
getStatusesOrBuilder
(
int
index
)
Status of the secret.
repeated .grafeas.v1.SecretStatus statuses = 3 [(.google.api.field_behavior) = OPTIONAL];
getStatusesOrBuilderList()
public
List
< ?
extends
SecretStatusOrBuilder
>
getStatusesOrBuilderList
()
Status of the secret.
repeated .grafeas.v1.SecretStatus statuses = 3 [(.google.api.field_behavior) = OPTIONAL];
internalGetFieldAccessorTable()
protected
GeneratedMessageV3
.
FieldAccessorTable
internalGetFieldAccessorTable
()
isInitialized()
public
final
boolean
isInitialized
()
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public
SecretOccurrence
.
Builder
mergeFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
mergeFrom(Message other)
public
SecretOccurrence
.
Builder
mergeFrom
(
Message
other
)
mergeFrom(SecretOccurrence other)
public
SecretOccurrence
.
Builder
mergeFrom
(
SecretOccurrence
other
)
mergeUnknownFields(UnknownFieldSet unknownFields)
public
final
SecretOccurrence
.
Builder
mergeUnknownFields
(
UnknownFieldSet
unknownFields
)
removeLocations(int index)
public
SecretOccurrence
.
Builder
removeLocations
(
int
index
)
Locations where the secret is detected.
repeated .grafeas.v1.SecretLocation locations = 2 [(.google.api.field_behavior) = OPTIONAL];
removeStatuses(int index)
public
SecretOccurrence
.
Builder
removeStatuses
(
int
index
)
Status of the secret.
repeated .grafeas.v1.SecretStatus statuses = 3 [(.google.api.field_behavior) = OPTIONAL];
setField(Descriptors.FieldDescriptor field, Object value)
public
SecretOccurrence
.
Builder
setField
(
Descriptors
.
FieldDescriptor
field
,
Object
value
)
setKind(SecretKind value)
public
SecretOccurrence
.
Builder
setKind
(
SecretKind
value
)
Type of secret.
.grafeas.v1.SecretKind kind = 1 [(.google.api.field_behavior) = REQUIRED];
setKindValue(int value)
public
SecretOccurrence
.
Builder
setKindValue
(
int
value
)
Type of secret.
.grafeas.v1.SecretKind kind = 1 [(.google.api.field_behavior) = REQUIRED];
setLocations(int index, SecretLocation value)
public
SecretOccurrence
.
Builder
setLocations
(
int
index
,
SecretLocation
value
)
Locations where the secret is detected.
repeated .grafeas.v1.SecretLocation locations = 2 [(.google.api.field_behavior) = OPTIONAL];
setLocations(int index, SecretLocation.Builder builderForValue)
public
SecretOccurrence
.
Builder
setLocations
(
int
index
,
SecretLocation
.
Builder
builderForValue
)
Locations where the secret is detected.
repeated .grafeas.v1.SecretLocation locations = 2 [(.google.api.field_behavior) = OPTIONAL];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public
SecretOccurrence
.
Builder
setRepeatedField
(
Descriptors
.
FieldDescriptor
field
,
int
index
,
Object
value
)
setStatuses(int index, SecretStatus value)
public
SecretOccurrence
.
Builder
setStatuses
(
int
index
,
SecretStatus
value
)
Status of the secret.
repeated .grafeas.v1.SecretStatus statuses = 3 [(.google.api.field_behavior) = OPTIONAL];
setStatuses(int index, SecretStatus.Builder builderForValue)
public
SecretOccurrence
.
Builder
setStatuses
(
int
index
,
SecretStatus
.
Builder
builderForValue
)
Status of the secret.
repeated .grafeas.v1.SecretStatus statuses = 3 [(.google.api.field_behavior) = OPTIONAL];
setUnknownFields(UnknownFieldSet unknownFields)
public
final
SecretOccurrence
.
Builder
setUnknownFields
(
UnknownFieldSet
unknownFields
)