public static final class Asset.ResourceStatus.Builder extends GeneratedMessageV3.Builder<Asset.ResourceStatus.Builder> implements Asset.ResourceStatusOrBuilder
Status of the resource referenced by an asset.
Protobuf type google.cloud.dataplex.v1.Asset.ResourceStatus
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Asset.ResourceStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Asset.ResourceStatus build()
Returns
buildPartial()
public Asset.ResourceStatus buildPartial()
Returns
clear()
public Asset.ResourceStatus.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Asset.ResourceStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearMessage()
public Asset.ResourceStatus.Builder clearMessage()
Additional information about the current state.
string message = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public Asset.ResourceStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearState()
public Asset.ResourceStatus.Builder clearState()
The current state of the managed resource.
.google.cloud.dataplex.v1.Asset.ResourceStatus.State state = 1;
Returns
clearUpdateTime()
public Asset.ResourceStatus.Builder clearUpdateTime()
Last update time of the status.
.google.protobuf.Timestamp update_time = 3;
Returns
clone()
public Asset.ResourceStatus.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Asset.ResourceStatus getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
getState()
public Asset.ResourceStatus.State getState()
The current state of the managed resource.
.google.cloud.dataplex.v1.Asset.ResourceStatus.State state = 1;
Returns
getStateValue()
public int getStateValue()
The current state of the managed resource.
.google.cloud.dataplex.v1.Asset.ResourceStatus.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
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()
Last update time of the status.
.google.protobuf.Timestamp update_time = 3;
Returns
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()
Last update time of the status.
.google.protobuf.Timestamp update_time = 3;
Returns
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Asset.ResourceStatus other)
public Asset.ResourceStatus.Builder mergeFrom(Asset.ResourceStatus other)
Parameter
Returns
public Asset.ResourceStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Asset.ResourceStatus.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Asset.ResourceStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateTime(Timestamp value)
public Asset.ResourceStatus.Builder mergeUpdateTime(Timestamp value)
Last update time of the status.
.google.protobuf.Timestamp update_time = 3;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Asset.ResourceStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setMessage(String value)
public Asset.ResourceStatus.Builder setMessage(String value)
Additional information about the current state.
string message = 2;
Parameter
Name | Description |
value | String
The message to set.
|
Returns
setMessageBytes(ByteString value)
public Asset.ResourceStatus.Builder setMessageBytes(ByteString value)
Additional information about the current state.
string message = 2;
Parameter
Name | Description |
value | ByteString
The bytes for message to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Asset.ResourceStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setState(Asset.ResourceStatus.State value)
public Asset.ResourceStatus.Builder setState(Asset.ResourceStatus.State value)
The current state of the managed resource.
.google.cloud.dataplex.v1.Asset.ResourceStatus.State state = 1;
Parameter
Returns
setStateValue(int value)
public Asset.ResourceStatus.Builder setStateValue(int value)
The current state of the managed resource.
.google.cloud.dataplex.v1.Asset.ResourceStatus.State state = 1;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for state to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final Asset.ResourceStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateTime(Timestamp value)
public Asset.ResourceStatus.Builder setUpdateTime(Timestamp value)
Last update time of the status.
.google.protobuf.Timestamp update_time = 3;
Parameter
Returns
setUpdateTime(Timestamp.Builder builderForValue)
public Asset.ResourceStatus.Builder setUpdateTime(Timestamp.Builder builderForValue)
Last update time of the status.
.google.protobuf.Timestamp update_time = 3;
Parameter
Name | Description |
builderForValue | Builder
|
Returns