- 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 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.v1p1beta1.Asset.IamPolicy
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Asset.IamPolicy.BuilderImplements
Asset.IamPolicyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Asset.IamPolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Asset.IamPolicy.Builder |
build()
public Asset.IamPolicy build()
Returns | |
---|---|
Type | Description |
Asset.IamPolicy |
buildPartial()
public Asset.IamPolicy buildPartial()
Returns | |
---|---|
Type | Description |
Asset.IamPolicy |
clear()
public Asset.IamPolicy.Builder clear()
Returns | |
---|---|
Type | Description |
Asset.IamPolicy.Builder |
clearField(Descriptors.FieldDescriptor field)
public Asset.IamPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
Asset.IamPolicy.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Asset.IamPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
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/docs/reference/rest/v1/Policy for format details.
string policy_blob = 1;
Returns | |
---|---|
Type | Description |
Asset.IamPolicy.Builder | This builder for chaining. |
clone()
public Asset.IamPolicy.Builder clone()
Returns | |
---|---|
Type | Description |
Asset.IamPolicy.Builder |
getDefaultInstanceForType()
public Asset.IamPolicy getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Asset.IamPolicy |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getPolicyBlob()
public String getPolicyBlob()
The JSON representation of the Policy associated with the asset. See https://cloud.google.com/iam/docs/reference/rest/v1/Policy for format details.
string policy_blob = 1;
Returns | |
---|---|
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/docs/reference/rest/v1/Policy for format details.
string policy_blob = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for policyBlob. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Asset.IamPolicy other)
public Asset.IamPolicy.Builder mergeFrom(Asset.IamPolicy other)
Parameter | |
---|---|
Name | Description |
other | Asset.IamPolicy |
Returns | |
---|---|
Type | Description |
Asset.IamPolicy.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Asset.IamPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Asset.IamPolicy.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Asset.IamPolicy.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
Asset.IamPolicy.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Asset.IamPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Asset.IamPolicy.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Asset.IamPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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/docs/reference/rest/v1/Policy for format details.
string policy_blob = 1;
Parameter | |
---|---|
Name | Description |
value | String The policyBlob to set. |
Returns | |
---|---|
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/docs/reference/rest/v1/Policy for format details.
string policy_blob = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for policyBlob to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
Asset.IamPolicy.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Asset.IamPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Asset.IamPolicy.Builder |