Class Asset.ResourceStatus.Builder (1.49.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Asset.ResourceStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Asset.ResourceStatus.Builder
Overrides

build()

public Asset.ResourceStatus build()
Returns
Type Description
Asset.ResourceStatus

buildPartial()

public Asset.ResourceStatus buildPartial()
Returns
Type Description
Asset.ResourceStatus

clear()

public Asset.ResourceStatus.Builder clear()
Returns
Type Description
Asset.ResourceStatus.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Asset.ResourceStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Asset.ResourceStatus.Builder
Overrides

clearManagedAccessIdentity()

public Asset.ResourceStatus.Builder clearManagedAccessIdentity()

Output only. Service account associated with the BigQuery Connection.

string managed_access_identity = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Asset.ResourceStatus.Builder

This builder for chaining.

clearMessage()

public Asset.ResourceStatus.Builder clearMessage()

Additional information about the current state.

string message = 2;

Returns
Type Description
Asset.ResourceStatus.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Asset.ResourceStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Asset.ResourceStatus.Builder
Overrides

clearState()

public Asset.ResourceStatus.Builder clearState()

The current state of the managed resource.

.google.cloud.dataplex.v1.Asset.ResourceStatus.State state = 1;

Returns
Type Description
Asset.ResourceStatus.Builder

This builder for chaining.

clearUpdateTime()

public Asset.ResourceStatus.Builder clearUpdateTime()

Last update time of the status.

.google.protobuf.Timestamp update_time = 3;

Returns
Type Description
Asset.ResourceStatus.Builder

clone()

public Asset.ResourceStatus.Builder clone()
Returns
Type Description
Asset.ResourceStatus.Builder
Overrides

getDefaultInstanceForType()

public Asset.ResourceStatus getDefaultInstanceForType()
Returns
Type Description
Asset.ResourceStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getManagedAccessIdentity()

public String getManagedAccessIdentity()

Output only. Service account associated with the BigQuery Connection.

string managed_access_identity = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The managedAccessIdentity.

getManagedAccessIdentityBytes()

public ByteString getManagedAccessIdentityBytes()

Output only. Service account associated with the BigQuery Connection.

string managed_access_identity = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for managedAccessIdentity.

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.ResourceStatus.State getState()

The current state of the managed resource.

.google.cloud.dataplex.v1.Asset.ResourceStatus.State state = 1;

Returns
Type Description
Asset.ResourceStatus.State

The state.

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
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Asset.ResourceStatus other)

public Asset.ResourceStatus.Builder mergeFrom(Asset.ResourceStatus other)
Parameter
Name Description
other Asset.ResourceStatus
Returns
Type Description
Asset.ResourceStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Asset.ResourceStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Asset.ResourceStatus.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Asset.ResourceStatus.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Asset.ResourceStatus.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Asset.ResourceStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Asset.ResourceStatus.Builder
Overrides

mergeUpdateTime(Timestamp value)

public Asset.ResourceStatus.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.ResourceStatus.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Asset.ResourceStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Asset.ResourceStatus.Builder
Overrides

setManagedAccessIdentity(String value)

public Asset.ResourceStatus.Builder setManagedAccessIdentity(String value)

Output only. Service account associated with the BigQuery Connection.

string managed_access_identity = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The managedAccessIdentity to set.

Returns
Type Description
Asset.ResourceStatus.Builder

This builder for chaining.

setManagedAccessIdentityBytes(ByteString value)

public Asset.ResourceStatus.Builder setManagedAccessIdentityBytes(ByteString value)

Output only. Service account associated with the BigQuery Connection.

string managed_access_identity = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for managedAccessIdentity to set.

Returns
Type Description
Asset.ResourceStatus.Builder

This builder for chaining.

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
Type Description
Asset.ResourceStatus.Builder

This builder for chaining.

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
Type Description
Asset.ResourceStatus.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Asset.ResourceStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Asset.ResourceStatus.Builder
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
Name Description
value Asset.ResourceStatus.State

The state to set.

Returns
Type Description
Asset.ResourceStatus.Builder

This builder for chaining.

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
Type Description
Asset.ResourceStatus.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Asset.ResourceStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Asset.ResourceStatus.Builder
Overrides

setUpdateTime(Timestamp value)

public Asset.ResourceStatus.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.ResourceStatus.Builder

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
Type Description
Asset.ResourceStatus.Builder