public static final class UnregisteredResource.Builder extends GeneratedMessage.Builder<UnregisteredResource.Builder> implements UnregisteredResourceOrBuilderUnregisteredResource represents a GCP resource that failed to register and apphub was not able to discover.
Protobuf type google.cloud.designcenter.v1.UnregisteredResource
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > UnregisteredResource.BuilderImplements
UnregisteredResourceOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public UnregisteredResource.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
UnregisteredResource.Builder |
|
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 |
StringThe 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 |
ByteStringThe bytes for reason to set. |
| Returns | |
|---|---|
| Type | Description |
UnregisteredResource.Builder |
This builder for chaining. |