Class UnregisteredResource.Builder (0.3.0)

public static final class UnregisteredResource.Builder extends GeneratedMessage.Builder<UnregisteredResource.Builder> implements UnregisteredResourceOrBuilder

UnregisteredResource represents a GCP resource that failed to register and apphub was not able to discover.

Protobuf type google.cloud.designcenter.v1.UnregisteredResource

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public UnregisteredResource build()
Returns
Type Description
UnregisteredResource

buildPartial()

public UnregisteredResource buildPartial()
Returns
Type Description
UnregisteredResource

clear()

public UnregisteredResource.Builder clear()
Returns
Type Description
UnregisteredResource.Builder
Overrides

clearDeployedResource()

public UnregisteredResource.Builder clearDeployedResource()

Output only. The deployed GCP resource that failed to register.

.google.cloud.designcenter.v1.DeployedResource deployed_resource = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
UnregisteredResource.Builder

clearReason()

public UnregisteredResource.Builder clearReason()

Output only. The reason for the failure of registration.

string reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
UnregisteredResource.Builder

This builder for chaining.

getDefaultInstanceForType()

public UnregisteredResource getDefaultInstanceForType()
Returns
Type Description
UnregisteredResource

getDeployedResource()

public DeployedResource getDeployedResource()

Output only. The deployed GCP resource that failed to register.

.google.cloud.designcenter.v1.DeployedResource deployed_resource = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeployedResource

The deployedResource.

getDeployedResourceBuilder()

public DeployedResource.Builder getDeployedResourceBuilder()

Output only. The deployed GCP resource that failed to register.

.google.cloud.designcenter.v1.DeployedResource deployed_resource = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeployedResource.Builder

getDeployedResourceOrBuilder()

public DeployedResourceOrBuilder getDeployedResourceOrBuilder()

Output only. The deployed GCP resource that failed to register.

.google.cloud.designcenter.v1.DeployedResource deployed_resource = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DeployedResourceOrBuilder

getDescriptorForType()

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

getReason()

public String getReason()

Output only. The reason for the failure of registration.

string reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The reason.

getReasonBytes()

public ByteString getReasonBytes()

Output only. The reason for the failure of registration.

string reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for reason.

hasDeployedResource()

public boolean hasDeployedResource()

Output only. The deployed GCP resource that failed to register.

.google.cloud.designcenter.v1.DeployedResource deployed_resource = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the deployedResource field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDeployedResource(DeployedResource value)

public UnregisteredResource.Builder mergeDeployedResource(DeployedResource value)

Output only. The deployed GCP resource that failed to register.

.google.cloud.designcenter.v1.DeployedResource deployed_resource = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DeployedResource
Returns
Type Description
UnregisteredResource.Builder

mergeFrom(UnregisteredResource other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDeployedResource(DeployedResource value)

public UnregisteredResource.Builder setDeployedResource(DeployedResource value)

Output only. The deployed GCP resource that failed to register.

.google.cloud.designcenter.v1.DeployedResource deployed_resource = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DeployedResource
Returns
Type Description
UnregisteredResource.Builder

setDeployedResource(DeployedResource.Builder builderForValue)

public UnregisteredResource.Builder setDeployedResource(DeployedResource.Builder builderForValue)

Output only. The deployed GCP resource that failed to register.

.google.cloud.designcenter.v1.DeployedResource deployed_resource = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue DeployedResource.Builder
Returns
Type Description
UnregisteredResource.Builder

setReason(String value)

public UnregisteredResource.Builder setReason(String value)

Output only. The reason for the failure of registration.

string reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The reason to set.

Returns
Type Description
UnregisteredResource.Builder

This builder for chaining.

setReasonBytes(ByteString value)

public UnregisteredResource.Builder setReasonBytes(ByteString value)

Output only. The reason for the failure of registration.

string reason = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for reason to set.

Returns
Type Description
UnregisteredResource.Builder

This builder for chaining.