Class ResourceBundleDeploymentInfo.Builder (0.1.0)

public static final class ResourceBundleDeploymentInfo.Builder extends GeneratedMessageV3.Builder<ResourceBundleDeploymentInfo.Builder> implements ResourceBundleDeploymentInfoOrBuilder

ResourceBundleDeploymentInfo represents the status of a resource bundle deployment.

Protobuf type google.cloud.configdelivery.v1beta.ResourceBundleDeploymentInfo

Static Methods

getDescriptor()

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

Methods

addAllMessages(Iterable<String> values)

public ResourceBundleDeploymentInfo.Builder addAllMessages(Iterable<String> values)

Output only. Unordered list. Messages contains information related to the ResourceBundle deployment. For example, in case of an error, indicate the reason for the error. In case of a pending deployment, reason for why the deployment of new release is pending.

repeated string messages = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
values Iterable<String>

The messages to add.

Returns
Type Description
ResourceBundleDeploymentInfo.Builder

This builder for chaining.

addMessages(String value)

public ResourceBundleDeploymentInfo.Builder addMessages(String value)

Output only. Unordered list. Messages contains information related to the ResourceBundle deployment. For example, in case of an error, indicate the reason for the error. In case of a pending deployment, reason for why the deployment of new release is pending.

repeated string messages = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
value String

The messages to add.

Returns
Type Description
ResourceBundleDeploymentInfo.Builder

This builder for chaining.

addMessagesBytes(ByteString value)

public ResourceBundleDeploymentInfo.Builder addMessagesBytes(ByteString value)

Output only. Unordered list. Messages contains information related to the ResourceBundle deployment. For example, in case of an error, indicate the reason for the error. In case of a pending deployment, reason for why the deployment of new release is pending.

repeated string messages = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
value ByteString

The bytes of the messages to add.

Returns
Type Description
ResourceBundleDeploymentInfo.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ResourceBundleDeploymentInfo build()
Returns
Type Description
ResourceBundleDeploymentInfo

buildPartial()

public ResourceBundleDeploymentInfo buildPartial()
Returns
Type Description
ResourceBundleDeploymentInfo

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMessages()

public ResourceBundleDeploymentInfo.Builder clearMessages()

Output only. Unordered list. Messages contains information related to the ResourceBundle deployment. For example, in case of an error, indicate the reason for the error. In case of a pending deployment, reason for why the deployment of new release is pending.

repeated string messages = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];

Returns
Type Description
ResourceBundleDeploymentInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRelease()

public ResourceBundleDeploymentInfo.Builder clearRelease()

Output only. Refers to a ResourceBundle release.

string release = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ResourceBundleDeploymentInfo.Builder

This builder for chaining.

clearSyncState()

public ResourceBundleDeploymentInfo.Builder clearSyncState()

Output only. Synchronization state of the ResourceBundle deployment.

.google.cloud.configdelivery.v1beta.ResourceBundleDeploymentInfo.SyncState sync_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ResourceBundleDeploymentInfo.Builder

This builder for chaining.

clearVariant()

public ResourceBundleDeploymentInfo.Builder clearVariant()

Output only. Refers to a variant in a ResourceBundle release.

string variant = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ResourceBundleDeploymentInfo.Builder

This builder for chaining.

clearVersion()

public ResourceBundleDeploymentInfo.Builder clearVersion()

Output only. Refers to a version of the ResourceBundle release.

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

Returns
Type Description
ResourceBundleDeploymentInfo.Builder

This builder for chaining.

clone()

public ResourceBundleDeploymentInfo.Builder clone()
Returns
Type Description
ResourceBundleDeploymentInfo.Builder
Overrides

getDefaultInstanceForType()

public ResourceBundleDeploymentInfo getDefaultInstanceForType()
Returns
Type Description
ResourceBundleDeploymentInfo

getDescriptorForType()

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

getMessages(int index)

public String getMessages(int index)

Output only. Unordered list. Messages contains information related to the ResourceBundle deployment. For example, in case of an error, indicate the reason for the error. In case of a pending deployment, reason for why the deployment of new release is pending.

repeated string messages = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The messages at the given index.

getMessagesBytes(int index)

public ByteString getMessagesBytes(int index)

Output only. Unordered list. Messages contains information related to the ResourceBundle deployment. For example, in case of an error, indicate the reason for the error. In case of a pending deployment, reason for why the deployment of new release is pending.

repeated string messages = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the messages at the given index.

getMessagesCount()

public int getMessagesCount()

Output only. Unordered list. Messages contains information related to the ResourceBundle deployment. For example, in case of an error, indicate the reason for the error. In case of a pending deployment, reason for why the deployment of new release is pending.

repeated string messages = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];

Returns
Type Description
int

The count of messages.

getMessagesList()

public ProtocolStringList getMessagesList()

Output only. Unordered list. Messages contains information related to the ResourceBundle deployment. For example, in case of an error, indicate the reason for the error. In case of a pending deployment, reason for why the deployment of new release is pending.

repeated string messages = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];

Returns
Type Description
ProtocolStringList

A list containing the messages.

getRelease()

public String getRelease()

Output only. Refers to a ResourceBundle release.

string release = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The release.

getReleaseBytes()

public ByteString getReleaseBytes()

Output only. Refers to a ResourceBundle release.

string release = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for release.

getSyncState()

public ResourceBundleDeploymentInfo.SyncState getSyncState()

Output only. Synchronization state of the ResourceBundle deployment.

.google.cloud.configdelivery.v1beta.ResourceBundleDeploymentInfo.SyncState sync_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ResourceBundleDeploymentInfo.SyncState

The syncState.

getSyncStateValue()

public int getSyncStateValue()

Output only. Synchronization state of the ResourceBundle deployment.

.google.cloud.configdelivery.v1beta.ResourceBundleDeploymentInfo.SyncState sync_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for syncState.

getVariant()

public String getVariant()

Output only. Refers to a variant in a ResourceBundle release.

string variant = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The variant.

getVariantBytes()

public ByteString getVariantBytes()

Output only. Refers to a variant in a ResourceBundle release.

string variant = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for variant.

getVersion()

public String getVersion()

Output only. Refers to a version of the ResourceBundle release.

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

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Output only. Refers to a version of the ResourceBundle release.

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

Returns
Type Description
ByteString

The bytes for version.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ResourceBundleDeploymentInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMessages(int index, String value)

public ResourceBundleDeploymentInfo.Builder setMessages(int index, String value)

Output only. Unordered list. Messages contains information related to the ResourceBundle deployment. For example, in case of an error, indicate the reason for the error. In case of a pending deployment, reason for why the deployment of new release is pending.

repeated string messages = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = UNORDERED_LIST];

Parameters
Name Description
index int

The index to set the value at.

value String

The messages to set.

Returns
Type Description
ResourceBundleDeploymentInfo.Builder

This builder for chaining.

setRelease(String value)

public ResourceBundleDeploymentInfo.Builder setRelease(String value)

Output only. Refers to a ResourceBundle release.

string release = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The release to set.

Returns
Type Description
ResourceBundleDeploymentInfo.Builder

This builder for chaining.

setReleaseBytes(ByteString value)

public ResourceBundleDeploymentInfo.Builder setReleaseBytes(ByteString value)

Output only. Refers to a ResourceBundle release.

string release = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for release to set.

Returns
Type Description
ResourceBundleDeploymentInfo.Builder

This builder for chaining.

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

public ResourceBundleDeploymentInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ResourceBundleDeploymentInfo.Builder
Overrides

setSyncState(ResourceBundleDeploymentInfo.SyncState value)

public ResourceBundleDeploymentInfo.Builder setSyncState(ResourceBundleDeploymentInfo.SyncState value)

Output only. Synchronization state of the ResourceBundle deployment.

.google.cloud.configdelivery.v1beta.ResourceBundleDeploymentInfo.SyncState sync_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ResourceBundleDeploymentInfo.SyncState

The syncState to set.

Returns
Type Description
ResourceBundleDeploymentInfo.Builder

This builder for chaining.

setSyncStateValue(int value)

public ResourceBundleDeploymentInfo.Builder setSyncStateValue(int value)

Output only. Synchronization state of the ResourceBundle deployment.

.google.cloud.configdelivery.v1beta.ResourceBundleDeploymentInfo.SyncState sync_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for syncState to set.

Returns
Type Description
ResourceBundleDeploymentInfo.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setVariant(String value)

public ResourceBundleDeploymentInfo.Builder setVariant(String value)

Output only. Refers to a variant in a ResourceBundle release.

string variant = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The variant to set.

Returns
Type Description
ResourceBundleDeploymentInfo.Builder

This builder for chaining.

setVariantBytes(ByteString value)

public ResourceBundleDeploymentInfo.Builder setVariantBytes(ByteString value)

Output only. Refers to a variant in a ResourceBundle release.

string variant = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for variant to set.

Returns
Type Description
ResourceBundleDeploymentInfo.Builder

This builder for chaining.

setVersion(String value)

public ResourceBundleDeploymentInfo.Builder setVersion(String value)

Output only. Refers to a version of the ResourceBundle release.

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

Parameter
Name Description
value String

The version to set.

Returns
Type Description
ResourceBundleDeploymentInfo.Builder

This builder for chaining.

setVersionBytes(ByteString value)

public ResourceBundleDeploymentInfo.Builder setVersionBytes(ByteString value)

Output only. Refers to a version of the ResourceBundle release.

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

Parameter
Name Description
value ByteString

The bytes for version to set.

Returns
Type Description
ResourceBundleDeploymentInfo.Builder

This builder for chaining.