- 2.61.0 (latest)
- 2.60.0
- 2.59.0
- 2.57.0
- 2.56.0
- 2.55.0
- 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 Asset.IamPolicy.Builder extends GeneratedMessageV3.Builder<Asset.IamPolicy.Builder> implements Asset.IamPolicyOrBuilder
Cloud IAM Policy information associated with the Google Cloud resource described by the Security Command Center asset. This information is managed and defined by the Google Cloud resource and cannot be modified by the user.
Protobuf type google.cloud.securitycenter.v1.Asset.IamPolicy
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Asset.IamPolicy.BuilderImplements
Asset.IamPolicyOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Asset.IamPolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Asset.IamPolicy.Builder |
build()
public Asset.IamPolicy build()
Type | Description |
Asset.IamPolicy |
buildPartial()
public Asset.IamPolicy buildPartial()
Type | Description |
Asset.IamPolicy |
clear()
public Asset.IamPolicy.Builder clear()
Type | Description |
Asset.IamPolicy.Builder |
clearField(Descriptors.FieldDescriptor field)
public Asset.IamPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Asset.IamPolicy.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Asset.IamPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Asset.IamPolicy.Builder |
clearPolicyBlob()
public Asset.IamPolicy.Builder clearPolicyBlob()
The JSON representation of the Policy associated with the asset. See https://cloud.google.com/iam/reference/rest/v1/Policy for format details.
string policy_blob = 1;
Type | Description |
Asset.IamPolicy.Builder | This builder for chaining. |
clone()
public Asset.IamPolicy.Builder clone()
Type | Description |
Asset.IamPolicy.Builder |
getDefaultInstanceForType()
public Asset.IamPolicy getDefaultInstanceForType()
Type | Description |
Asset.IamPolicy |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getPolicyBlob()
public String getPolicyBlob()
The JSON representation of the Policy associated with the asset. See https://cloud.google.com/iam/reference/rest/v1/Policy for format details.
string policy_blob = 1;
Type | Description |
String | The policyBlob. |
getPolicyBlobBytes()
public ByteString getPolicyBlobBytes()
The JSON representation of the Policy associated with the asset. See https://cloud.google.com/iam/reference/rest/v1/Policy for format details.
string policy_blob = 1;
Type | Description |
ByteString | The bytes for policyBlob. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Asset.IamPolicy other)
public Asset.IamPolicy.Builder mergeFrom(Asset.IamPolicy other)
Name | Description |
other | Asset.IamPolicy |
Type | Description |
Asset.IamPolicy.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Asset.IamPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Asset.IamPolicy.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Asset.IamPolicy.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Asset.IamPolicy.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Asset.IamPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Asset.IamPolicy.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Asset.IamPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Asset.IamPolicy.Builder |
setPolicyBlob(String value)
public Asset.IamPolicy.Builder setPolicyBlob(String value)
The JSON representation of the Policy associated with the asset. See https://cloud.google.com/iam/reference/rest/v1/Policy for format details.
string policy_blob = 1;
Name | Description |
value | String The policyBlob to set. |
Type | Description |
Asset.IamPolicy.Builder | This builder for chaining. |
setPolicyBlobBytes(ByteString value)
public Asset.IamPolicy.Builder setPolicyBlobBytes(ByteString value)
The JSON representation of the Policy associated with the asset. See https://cloud.google.com/iam/reference/rest/v1/Policy for format details.
string policy_blob = 1;
Name | Description |
value | ByteString The bytes for policyBlob to set. |
Type | Description |
Asset.IamPolicy.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Asset.IamPolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Asset.IamPolicy.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Asset.IamPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Asset.IamPolicy.Builder |