Class ResourceBundleDeploymentInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ResourceBundleDeploymentInfo.Builder>
com.google.cloud.configdelivery.v1beta.ResourceBundleDeploymentInfo.Builder
- All Implemented Interfaces:
ResourceBundleDeploymentInfoOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ResourceBundleDeploymentInfo
public static final class ResourceBundleDeploymentInfo.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ResourceBundleDeploymentInfo.Builder>
implements ResourceBundleDeploymentInfoOrBuilder
ResourceBundleDeploymentInfo represents the status of a resource bundle deployment.Protobuf type
google.cloud.configdelivery.v1beta.ResourceBundleDeploymentInfo-
Method Summary
Modifier and TypeMethodDescriptionaddAllMessages(Iterable<String> values) Output only.addMessages(String value) Output only.addMessagesBytes(com.google.protobuf.ByteString value) Output only.build()clear()Output only.Output only.Output only.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetMessages(int index) Output only.com.google.protobuf.ByteStringgetMessagesBytes(int index) Output only.intOutput only.com.google.protobuf.ProtocolStringListOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.intOutput only.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setMessages(int index, String value) Output only.setRelease(String value) Output only.setReleaseBytes(com.google.protobuf.ByteString value) Output only.Output only.setSyncStateValue(int value) Output only.setVariant(String value) Output only.setVariantBytes(com.google.protobuf.ByteString value) Output only.setVersion(String value) Output only.setVersionBytes(com.google.protobuf.ByteString value) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ResourceBundleDeploymentInfo.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ResourceBundleDeploymentInfo.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ResourceBundleDeploymentInfo.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ResourceBundleDeploymentInfo.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ResourceBundleDeploymentInfo.Builder>
-
mergeFrom
public ResourceBundleDeploymentInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ResourceBundleDeploymentInfo.Builder>- Throws:
IOException
-
getRelease
Output only. Refers to a `ResourceBundle` release.
string release = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getReleasein interfaceResourceBundleDeploymentInfoOrBuilder- Returns:
- The release.
-
getReleaseBytes
public com.google.protobuf.ByteString getReleaseBytes()Output only. Refers to a `ResourceBundle` release.
string release = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getReleaseBytesin interfaceResourceBundleDeploymentInfoOrBuilder- Returns:
- The bytes for release.
-
setRelease
Output only. Refers to a `ResourceBundle` release.
string release = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The release to set.- Returns:
- This builder for chaining.
-
clearRelease
Output only. Refers to a `ResourceBundle` release.
string release = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setReleaseBytes
Output only. Refers to a `ResourceBundle` release.
string release = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for release to set.- Returns:
- This builder for chaining.
-
getVersion
Output only. Refers to a version of the `ResourceBundle` release.
string version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getVersionin interfaceResourceBundleDeploymentInfoOrBuilder- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()Output only. Refers to a version of the `ResourceBundle` release.
string version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getVersionBytesin interfaceResourceBundleDeploymentInfoOrBuilder- Returns:
- The bytes for version.
-
setVersion
Output only. Refers to a version of the `ResourceBundle` release.
string version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
Output only. Refers to a version of the `ResourceBundle` release.
string version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setVersionBytes
Output only. Refers to a version of the `ResourceBundle` release.
string version = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for version to set.- Returns:
- This builder for chaining.
-
getVariant
Output only. Refers to a variant in a `ResourceBundle` release.
string variant = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getVariantin interfaceResourceBundleDeploymentInfoOrBuilder- Returns:
- The variant.
-
getVariantBytes
public com.google.protobuf.ByteString getVariantBytes()Output only. Refers to a variant in a `ResourceBundle` release.
string variant = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getVariantBytesin interfaceResourceBundleDeploymentInfoOrBuilder- Returns:
- The bytes for variant.
-
setVariant
Output only. Refers to a variant in a `ResourceBundle` release.
string variant = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The variant to set.- Returns:
- This builder for chaining.
-
clearVariant
Output only. Refers to a variant in a `ResourceBundle` release.
string variant = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setVariantBytes
Output only. Refers to a variant in a `ResourceBundle` release.
string variant = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for variant to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getSyncStateValuein interfaceResourceBundleDeploymentInfoOrBuilder- Returns:
- The enum numeric value on the wire for syncState.
-
setSyncStateValue
Output only. Synchronization state of the `ResourceBundle` deployment.
.google.cloud.configdelivery.v1beta.ResourceBundleDeploymentInfo.SyncState sync_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The enum numeric value on the wire for syncState to set.- Returns:
- This builder for chaining.
-
getSyncState
Output only. Synchronization state of the `ResourceBundle` deployment.
.google.cloud.configdelivery.v1beta.ResourceBundleDeploymentInfo.SyncState sync_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getSyncStatein interfaceResourceBundleDeploymentInfoOrBuilder- Returns:
- The syncState.
-
setSyncState
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];- Parameters:
value- The syncState to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
getMessagesList
public com.google.protobuf.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];- Specified by:
getMessagesListin interfaceResourceBundleDeploymentInfoOrBuilder- Returns:
- A list containing the messages.
-
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];- Specified by:
getMessagesCountin interfaceResourceBundleDeploymentInfoOrBuilder- Returns:
- The count of messages.
-
getMessages
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];- Specified by:
getMessagesin interfaceResourceBundleDeploymentInfoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The messages at the given index.
-
getMessagesBytes
public com.google.protobuf.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];- Specified by:
getMessagesBytesin interfaceResourceBundleDeploymentInfoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the messages at the given index.
-
setMessages
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:
index- The index to set the value at.value- The messages to set.- Returns:
- This builder for chaining.
-
addMessages
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:
value- The messages to add.- Returns:
- This builder for chaining.
-
addAllMessages
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:
values- The messages to add.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
addMessagesBytes
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:
value- The bytes of the messages to add.- Returns:
- This builder for chaining.
-