- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.1
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.1
- 2.6.0
- 2.5.6
- 2.3.2
public static final class Container.Builder extends GeneratedMessageV3.Builder<Container.Builder> implements ContainerOrBuilder
Container associated with the finding.
Protobuf type google.cloud.securitycenter.v1.Container
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Container.BuilderImplements
ContainerOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllLabels(Iterable<? extends Label> values)
public Container.Builder addAllLabels(Iterable<? extends Label> values)
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.securitycenter.v1.Label> |
Returns | |
---|---|
Type | Description |
Container.Builder |
addLabels(Label value)
public Container.Builder addLabels(Label value)
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
Parameter | |
---|---|
Name | Description |
value |
Label |
Returns | |
---|---|
Type | Description |
Container.Builder |
addLabels(Label.Builder builderForValue)
public Container.Builder addLabels(Label.Builder builderForValue)
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
Parameter | |
---|---|
Name | Description |
builderForValue |
Label.Builder |
Returns | |
---|---|
Type | Description |
Container.Builder |
addLabels(int index, Label value)
public Container.Builder addLabels(int index, Label value)
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Label |
Returns | |
---|---|
Type | Description |
Container.Builder |
addLabels(int index, Label.Builder builderForValue)
public Container.Builder addLabels(int index, Label.Builder builderForValue)
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Label.Builder |
Returns | |
---|---|
Type | Description |
Container.Builder |
addLabelsBuilder()
public Label.Builder addLabelsBuilder()
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
Returns | |
---|---|
Type | Description |
Label.Builder |
addLabelsBuilder(int index)
public Label.Builder addLabelsBuilder(int index)
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Label.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Container.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Container.Builder |
build()
public Container build()
Returns | |
---|---|
Type | Description |
Container |
buildPartial()
public Container buildPartial()
Returns | |
---|---|
Type | Description |
Container |
clear()
public Container.Builder clear()
Returns | |
---|---|
Type | Description |
Container.Builder |
clearCreateTime()
public Container.Builder clearCreateTime()
The time that the container was created.
.google.protobuf.Timestamp create_time = 5;
Returns | |
---|---|
Type | Description |
Container.Builder |
clearField(Descriptors.FieldDescriptor field)
public Container.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Container.Builder |
clearImageId()
public Container.Builder clearImageId()
Optional container image ID, if provided by the container runtime. Uniquely identifies the container image launched using a container image digest.
string image_id = 3;
Returns | |
---|---|
Type | Description |
Container.Builder |
This builder for chaining. |
clearLabels()
public Container.Builder clearLabels()
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
Returns | |
---|---|
Type | Description |
Container.Builder |
clearName()
public Container.Builder clearName()
Name of the container.
string name = 1;
Returns | |
---|---|
Type | Description |
Container.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Container.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Container.Builder |
clearUri()
public Container.Builder clearUri()
Container image URI provided when configuring a pod or container. This string can identify a container image version using mutable tags.
string uri = 2;
Returns | |
---|---|
Type | Description |
Container.Builder |
This builder for chaining. |
clone()
public Container.Builder clone()
Returns | |
---|---|
Type | Description |
Container.Builder |
getCreateTime()
public Timestamp getCreateTime()
The time that the container was created.
.google.protobuf.Timestamp create_time = 5;
Returns | |
---|---|
Type | Description |
Timestamp |
The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()
The time that the container was created.
.google.protobuf.Timestamp create_time = 5;
Returns | |
---|---|
Type | Description |
Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()
The time that the container was created.
.google.protobuf.Timestamp create_time = 5;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public Container getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Container |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getImageId()
public String getImageId()
Optional container image ID, if provided by the container runtime. Uniquely identifies the container image launched using a container image digest.
string image_id = 3;
Returns | |
---|---|
Type | Description |
String |
The imageId. |
getImageIdBytes()
public ByteString getImageIdBytes()
Optional container image ID, if provided by the container runtime. Uniquely identifies the container image launched using a container image digest.
string image_id = 3;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for imageId. |
getLabels(int index)
public Label getLabels(int index)
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Label |
getLabelsBuilder(int index)
public Label.Builder getLabelsBuilder(int index)
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Label.Builder |
getLabelsBuilderList()
public List<Label.Builder> getLabelsBuilderList()
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
Returns | |
---|---|
Type | Description |
List<Builder> |
getLabelsCount()
public int getLabelsCount()
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
Returns | |
---|---|
Type | Description |
int |
getLabelsList()
public List<Label> getLabelsList()
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
Returns | |
---|---|
Type | Description |
List<Label> |
getLabelsOrBuilder(int index)
public LabelOrBuilder getLabelsOrBuilder(int index)
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
LabelOrBuilder |
getLabelsOrBuilderList()
public List<? extends LabelOrBuilder> getLabelsOrBuilderList()
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.securitycenter.v1.LabelOrBuilder> |
getName()
public String getName()
Name of the container.
string name = 1;
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Name of the container.
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
getUri()
public String getUri()
Container image URI provided when configuring a pod or container. This string can identify a container image version using mutable tags.
string uri = 2;
Returns | |
---|---|
Type | Description |
String |
The uri. |
getUriBytes()
public ByteString getUriBytes()
Container image URI provided when configuring a pod or container. This string can identify a container image version using mutable tags.
string uri = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for uri. |
hasCreateTime()
public boolean hasCreateTime()
The time that the container was created.
.google.protobuf.Timestamp create_time = 5;
Returns | |
---|---|
Type | Description |
boolean |
Whether the createTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeCreateTime(Timestamp value)
public Container.Builder mergeCreateTime(Timestamp value)
The time that the container was created.
.google.protobuf.Timestamp create_time = 5;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Container.Builder |
mergeFrom(Container other)
public Container.Builder mergeFrom(Container other)
Parameter | |
---|---|
Name | Description |
other |
Container |
Returns | |
---|---|
Type | Description |
Container.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Container.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Container.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Container.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Container.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Container.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Container.Builder |
removeLabels(int index)
public Container.Builder removeLabels(int index)
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Container.Builder |
setCreateTime(Timestamp value)
public Container.Builder setCreateTime(Timestamp value)
The time that the container was created.
.google.protobuf.Timestamp create_time = 5;
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
Container.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Container.Builder setCreateTime(Timestamp.Builder builderForValue)
The time that the container was created.
.google.protobuf.Timestamp create_time = 5;
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
Container.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Container.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Container.Builder |
setImageId(String value)
public Container.Builder setImageId(String value)
Optional container image ID, if provided by the container runtime. Uniquely identifies the container image launched using a container image digest.
string image_id = 3;
Parameter | |
---|---|
Name | Description |
value |
String The imageId to set. |
Returns | |
---|---|
Type | Description |
Container.Builder |
This builder for chaining. |
setImageIdBytes(ByteString value)
public Container.Builder setImageIdBytes(ByteString value)
Optional container image ID, if provided by the container runtime. Uniquely identifies the container image launched using a container image digest.
string image_id = 3;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for imageId to set. |
Returns | |
---|---|
Type | Description |
Container.Builder |
This builder for chaining. |
setLabels(int index, Label value)
public Container.Builder setLabels(int index, Label value)
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
Label |
Returns | |
---|---|
Type | Description |
Container.Builder |
setLabels(int index, Label.Builder builderForValue)
public Container.Builder setLabels(int index, Label.Builder builderForValue)
Container labels, as provided by the container runtime.
repeated .google.cloud.securitycenter.v1.Label labels = 4;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
Label.Builder |
Returns | |
---|---|
Type | Description |
Container.Builder |
setName(String value)
public Container.Builder setName(String value)
Name of the container.
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
Container.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Container.Builder setNameBytes(ByteString value)
Name of the container.
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
Container.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Container.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Container.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Container.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Container.Builder |
setUri(String value)
public Container.Builder setUri(String value)
Container image URI provided when configuring a pod or container. This string can identify a container image version using mutable tags.
string uri = 2;
Parameter | |
---|---|
Name | Description |
value |
String The uri to set. |
Returns | |
---|---|
Type | Description |
Container.Builder |
This builder for chaining. |
setUriBytes(ByteString value)
public Container.Builder setUriBytes(ByteString value)
Container image URI provided when configuring a pod or container. This string can identify a container image version using mutable tags.
string uri = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for uri to set. |
Returns | |
---|---|
Type | Description |
Container.Builder |
This builder for chaining. |