public static final class ResourceStatus.Builder extends GeneratedMessageV3.Builder<ResourceStatus.Builder> implements ResourceStatusOrBuilder
Status of a deployment resource.
Protobuf type google.cloud.telcoautomation.v1alpha1.ResourceStatus
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ResourceStatus.BuilderImplements
ResourceStatusOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ResourceStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ResourceStatus.Builder |
build()
public ResourceStatus build()
Returns | |
---|---|
Type | Description |
ResourceStatus |
buildPartial()
public ResourceStatus buildPartial()
Returns | |
---|---|
Type | Description |
ResourceStatus |
clear()
public ResourceStatus.Builder clear()
Returns | |
---|---|
Type | Description |
ResourceStatus.Builder |
clearField(Descriptors.FieldDescriptor field)
public ResourceStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ResourceStatus.Builder |
clearGroup()
public ResourceStatus.Builder clearGroup()
Group to which the resource belongs to.
string group = 3;
Returns | |
---|---|
Type | Description |
ResourceStatus.Builder | This builder for chaining. |
clearKind()
public ResourceStatus.Builder clearKind()
Kind of the resource.
string kind = 5;
Returns | |
---|---|
Type | Description |
ResourceStatus.Builder | This builder for chaining. |
clearName()
public ResourceStatus.Builder clearName()
Name of the resource.
string name = 1;
Returns | |
---|---|
Type | Description |
ResourceStatus.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ResourceStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ResourceStatus.Builder |
clearResourceNamespace()
public ResourceStatus.Builder clearResourceNamespace()
Namespace of the resource.
string resource_namespace = 2;
Returns | |
---|---|
Type | Description |
ResourceStatus.Builder | This builder for chaining. |
clearResourceType()
public ResourceStatus.Builder clearResourceType()
Output only. Resource type.
.google.cloud.telcoautomation.v1alpha1.ResourceType resource_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ResourceStatus.Builder | This builder for chaining. |
clearStatus()
public ResourceStatus.Builder clearStatus()
Output only. Status of the resource.
.google.cloud.telcoautomation.v1alpha1.Status status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ResourceStatus.Builder | This builder for chaining. |
clearVersion()
public ResourceStatus.Builder clearVersion()
Version of the resource.
string version = 4;
Returns | |
---|---|
Type | Description |
ResourceStatus.Builder | This builder for chaining. |
clone()
public ResourceStatus.Builder clone()
Returns | |
---|---|
Type | Description |
ResourceStatus.Builder |
getDefaultInstanceForType()
public ResourceStatus getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ResourceStatus |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getGroup()
public String getGroup()
Group to which the resource belongs to.
string group = 3;
Returns | |
---|---|
Type | Description |
String | The group. |
getGroupBytes()
public ByteString getGroupBytes()
Group to which the resource belongs to.
string group = 3;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for group. |
getKind()
public String getKind()
Kind of the resource.
string kind = 5;
Returns | |
---|---|
Type | Description |
String | The kind. |
getKindBytes()
public ByteString getKindBytes()
Kind of the resource.
string kind = 5;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for kind. |
getName()
public String getName()
Name of the resource.
string name = 1;
Returns | |
---|---|
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Name of the resource.
string name = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for name. |
getResourceNamespace()
public String getResourceNamespace()
Namespace of the resource.
string resource_namespace = 2;
Returns | |
---|---|
Type | Description |
String | The resourceNamespace. |
getResourceNamespaceBytes()
public ByteString getResourceNamespaceBytes()
Namespace of the resource.
string resource_namespace = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for resourceNamespace. |
getResourceType()
public ResourceType getResourceType()
Output only. Resource type.
.google.cloud.telcoautomation.v1alpha1.ResourceType resource_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ResourceType | The resourceType. |
getResourceTypeValue()
public int getResourceTypeValue()
Output only. Resource type.
.google.cloud.telcoautomation.v1alpha1.ResourceType resource_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for resourceType. |
getStatus()
public Status getStatus()
Output only. Status of the resource.
.google.cloud.telcoautomation.v1alpha1.Status status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Status | The status. |
getStatusValue()
public int getStatusValue()
Output only. Status of the resource.
.google.cloud.telcoautomation.v1alpha1.Status status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for status. |
getVersion()
public String getVersion()
Version of the resource.
string version = 4;
Returns | |
---|---|
Type | Description |
String | The version. |
getVersionBytes()
public ByteString getVersionBytes()
Version of the resource.
string version = 4;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for version. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ResourceStatus other)
public ResourceStatus.Builder mergeFrom(ResourceStatus other)
Parameter | |
---|---|
Name | Description |
other | ResourceStatus |
Returns | |
---|---|
Type | Description |
ResourceStatus.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ResourceStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ResourceStatus.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ResourceStatus.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ResourceStatus.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ResourceStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ResourceStatus.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ResourceStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ResourceStatus.Builder |
setGroup(String value)
public ResourceStatus.Builder setGroup(String value)
Group to which the resource belongs to.
string group = 3;
Parameter | |
---|---|
Name | Description |
value | String The group to set. |
Returns | |
---|---|
Type | Description |
ResourceStatus.Builder | This builder for chaining. |
setGroupBytes(ByteString value)
public ResourceStatus.Builder setGroupBytes(ByteString value)
Group to which the resource belongs to.
string group = 3;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for group to set. |
Returns | |
---|---|
Type | Description |
ResourceStatus.Builder | This builder for chaining. |
setKind(String value)
public ResourceStatus.Builder setKind(String value)
Kind of the resource.
string kind = 5;
Parameter | |
---|---|
Name | Description |
value | String The kind to set. |
Returns | |
---|---|
Type | Description |
ResourceStatus.Builder | This builder for chaining. |
setKindBytes(ByteString value)
public ResourceStatus.Builder setKindBytes(ByteString value)
Kind of the resource.
string kind = 5;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for kind to set. |
Returns | |
---|---|
Type | Description |
ResourceStatus.Builder | This builder for chaining. |
setName(String value)
public ResourceStatus.Builder setName(String value)
Name of the resource.
string name = 1;
Parameter | |
---|---|
Name | Description |
value | String The name to set. |
Returns | |
---|---|
Type | Description |
ResourceStatus.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public ResourceStatus.Builder setNameBytes(ByteString value)
Name of the resource.
string name = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
ResourceStatus.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ResourceStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ResourceStatus.Builder |
setResourceNamespace(String value)
public ResourceStatus.Builder setResourceNamespace(String value)
Namespace of the resource.
string resource_namespace = 2;
Parameter | |
---|---|
Name | Description |
value | String The resourceNamespace to set. |
Returns | |
---|---|
Type | Description |
ResourceStatus.Builder | This builder for chaining. |
setResourceNamespaceBytes(ByteString value)
public ResourceStatus.Builder setResourceNamespaceBytes(ByteString value)
Namespace of the resource.
string resource_namespace = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for resourceNamespace to set. |
Returns | |
---|---|
Type | Description |
ResourceStatus.Builder | This builder for chaining. |
setResourceType(ResourceType value)
public ResourceStatus.Builder setResourceType(ResourceType value)
Output only. Resource type.
.google.cloud.telcoautomation.v1alpha1.ResourceType resource_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | ResourceType The resourceType to set. |
Returns | |
---|---|
Type | Description |
ResourceStatus.Builder | This builder for chaining. |
setResourceTypeValue(int value)
public ResourceStatus.Builder setResourceTypeValue(int value)
Output only. Resource type.
.google.cloud.telcoautomation.v1alpha1.ResourceType resource_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for resourceType to set. |
Returns | |
---|---|
Type | Description |
ResourceStatus.Builder | This builder for chaining. |
setStatus(Status value)
public ResourceStatus.Builder setStatus(Status value)
Output only. Status of the resource.
.google.cloud.telcoautomation.v1alpha1.Status status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | Status The status to set. |
Returns | |
---|---|
Type | Description |
ResourceStatus.Builder | This builder for chaining. |
setStatusValue(int value)
public ResourceStatus.Builder setStatusValue(int value)
Output only. Status of the resource.
.google.cloud.telcoautomation.v1alpha1.Status status = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for status to set. |
Returns | |
---|---|
Type | Description |
ResourceStatus.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ResourceStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ResourceStatus.Builder |
setVersion(String value)
public ResourceStatus.Builder setVersion(String value)
Version of the resource.
string version = 4;
Parameter | |
---|---|
Name | Description |
value | String The version to set. |
Returns | |
---|---|
Type | Description |
ResourceStatus.Builder | This builder for chaining. |
setVersionBytes(ByteString value)
public ResourceStatus.Builder setVersionBytes(ByteString value)
Version of the resource.
string version = 4;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for version to set. |
Returns | |
---|---|
Type | Description |
ResourceStatus.Builder | This builder for chaining. |