public static final class Asset.SecurityStatus.Builder extends GeneratedMessage.Builder<Asset.SecurityStatus.Builder> implements Asset.SecurityStatusOrBuilderSecurity policy status of the asset. Data security policy, i.e., readers, writers & owners, should be specified in the lake/zone/asset IAM policy.
Protobuf type google.cloud.dataplex.v1.Asset.SecurityStatus
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Asset.SecurityStatus.BuilderImplements
Asset.SecurityStatusOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Asset.SecurityStatus build()| Returns | |
|---|---|
| Type | Description |
Asset.SecurityStatus |
|
buildPartial()
public Asset.SecurityStatus buildPartial()| Returns | |
|---|---|
| Type | Description |
Asset.SecurityStatus |
|
clear()
public Asset.SecurityStatus.Builder clear()| Returns | |
|---|---|
| Type | Description |
Asset.SecurityStatus.Builder |
|
clearMessage()
public Asset.SecurityStatus.Builder clearMessage()Additional information about the current state.
string message = 2;
| Returns | |
|---|---|
| Type | Description |
Asset.SecurityStatus.Builder |
This builder for chaining. |
clearState()
public Asset.SecurityStatus.Builder clearState()The current state of the security policy applied to the attached resource.
.google.cloud.dataplex.v1.Asset.SecurityStatus.State state = 1;
| Returns | |
|---|---|
| Type | Description |
Asset.SecurityStatus.Builder |
This builder for chaining. |
clearUpdateTime()
public Asset.SecurityStatus.Builder clearUpdateTime()Last update time of the status.
.google.protobuf.Timestamp update_time = 3;
| Returns | |
|---|---|
| Type | Description |
Asset.SecurityStatus.Builder |
|
getDefaultInstanceForType()
public Asset.SecurityStatus getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Asset.SecurityStatus |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMessage()
public String getMessage()Additional information about the current state.
string message = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The message. |
getMessageBytes()
public ByteString getMessageBytes()Additional information about the current state.
string message = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for message. |
getState()
public Asset.SecurityStatus.State getState()The current state of the security policy applied to the attached resource.
.google.cloud.dataplex.v1.Asset.SecurityStatus.State state = 1;
| Returns | |
|---|---|
| Type | Description |
Asset.SecurityStatus.State |
The state. |
getStateValue()
public int getStateValue()The current state of the security policy applied to the attached resource.
.google.cloud.dataplex.v1.Asset.SecurityStatus.State state = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |
getUpdateTime()
public Timestamp getUpdateTime()Last update time of the status.
.google.protobuf.Timestamp update_time = 3;
| Returns | |
|---|---|
| Type | Description |
Timestamp |
The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Last update time of the status.
.google.protobuf.Timestamp update_time = 3;
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Last update time of the status.
.google.protobuf.Timestamp update_time = 3;
| Returns | |
|---|---|
| Type | Description |
TimestampOrBuilder |
|
hasUpdateTime()
public boolean hasUpdateTime()Last update time of the status.
.google.protobuf.Timestamp update_time = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Asset.SecurityStatus other)
public Asset.SecurityStatus.Builder mergeFrom(Asset.SecurityStatus other)| Parameter | |
|---|---|
| Name | Description |
other |
Asset.SecurityStatus |
| Returns | |
|---|---|
| Type | Description |
Asset.SecurityStatus.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Asset.SecurityStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Asset.SecurityStatus.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Asset.SecurityStatus.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Asset.SecurityStatus.Builder |
|
mergeUpdateTime(Timestamp value)
public Asset.SecurityStatus.Builder mergeUpdateTime(Timestamp value)Last update time of the status.
.google.protobuf.Timestamp update_time = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Asset.SecurityStatus.Builder |
|
setMessage(String value)
public Asset.SecurityStatus.Builder setMessage(String value)Additional information about the current state.
string message = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe message to set. |
| Returns | |
|---|---|
| Type | Description |
Asset.SecurityStatus.Builder |
This builder for chaining. |
setMessageBytes(ByteString value)
public Asset.SecurityStatus.Builder setMessageBytes(ByteString value)Additional information about the current state.
string message = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for message to set. |
| Returns | |
|---|---|
| Type | Description |
Asset.SecurityStatus.Builder |
This builder for chaining. |
setState(Asset.SecurityStatus.State value)
public Asset.SecurityStatus.Builder setState(Asset.SecurityStatus.State value)The current state of the security policy applied to the attached resource.
.google.cloud.dataplex.v1.Asset.SecurityStatus.State state = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
Asset.SecurityStatus.StateThe state to set. |
| Returns | |
|---|---|
| Type | Description |
Asset.SecurityStatus.Builder |
This builder for chaining. |
setStateValue(int value)
public Asset.SecurityStatus.Builder setStateValue(int value)The current state of the security policy applied to the attached resource.
.google.cloud.dataplex.v1.Asset.SecurityStatus.State state = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
Asset.SecurityStatus.Builder |
This builder for chaining. |
setUpdateTime(Timestamp value)
public Asset.SecurityStatus.Builder setUpdateTime(Timestamp value)Last update time of the status.
.google.protobuf.Timestamp update_time = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Asset.SecurityStatus.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public Asset.SecurityStatus.Builder setUpdateTime(Timestamp.Builder builderForValue)Last update time of the status.
.google.protobuf.Timestamp update_time = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Asset.SecurityStatus.Builder |
|