publicstaticfinalclass Entry.BuilderextendsGeneratedMessageV3.Builder<Entry.Builder>implementsEntryOrBuilder
A key/value pair to be used for storing metadata.
Protobuf type google.cloud.backupdr.v1.Entry
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicEntry.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
build()
| Returns |
| Type |
Description |
Entry |
buildPartial()
publicEntrybuildPartial()
| Returns |
| Type |
Description |
Entry |
clear()
publicEntry.Builderclear()
Overrides
clearField(Descriptors.FieldDescriptor field)
publicEntry.BuilderclearField(Descriptors.FieldDescriptorfield)
Overrides
clearKey()
publicEntry.BuilderclearKey()
Optional. Key for the metadata entry.
optional string key = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
Entry.Builder |
This builder for chaining.
|
clearOneof(Descriptors.OneofDescriptor oneof)
publicEntry.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Overrides
clearValue()
publicEntry.BuilderclearValue()
Optional. Value for the metadata entry. These are free-form strings, and
only have meaning as interpreted by the image running in the instance. The
only restriction placed on values is that their size must be less than
or equal to 262144 bytes (256 KiB).
optional string value = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
Entry.Builder |
This builder for chaining.
|
clone()
publicEntry.Builderclone()
Overrides
getDefaultInstanceForType()
publicEntrygetDefaultInstanceForType()
| Returns |
| Type |
Description |
Entry |
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()
Overrides
getKey()
Optional. Key for the metadata entry.
optional string key = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The key.
|
getKeyBytes()
publicByteStringgetKeyBytes()
Optional. Key for the metadata entry.
optional string key = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for key.
|
getValue()
Optional. Value for the metadata entry. These are free-form strings, and
only have meaning as interpreted by the image running in the instance. The
only restriction placed on values is that their size must be less than
or equal to 262144 bytes (256 KiB).
optional string value = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
String |
The value.
|
getValueBytes()
publicByteStringgetValueBytes()
Optional. Value for the metadata entry. These are free-form strings, and
only have meaning as interpreted by the image running in the instance. The
only restriction placed on values is that their size must be less than
or equal to 262144 bytes (256 KiB).
optional string value = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
ByteString |
The bytes for value.
|
hasKey()
Optional. Key for the metadata entry.
optional string key = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the key field is set.
|
hasValue()
Optional. Value for the metadata entry. These are free-form strings, and
only have meaning as interpreted by the image running in the instance. The
only restriction placed on values is that their size must be less than
or equal to 262144 bytes (256 KiB).
optional string value = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the value field is set.
|
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
mergeFrom(Entry other)
publicEntry.BuildermergeFrom(Entryother)
| Parameter |
| Name |
Description |
other |
Entry
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicEntry.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Overrides
mergeFrom(Message other)
publicEntry.BuildermergeFrom(Messageother)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalEntry.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
publicEntry.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
setKey(String value)
publicEntry.BuildersetKey(Stringvalue)
Optional. Key for the metadata entry.
optional string key = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
value |
String
The key to set.
|
| Returns |
| Type |
Description |
Entry.Builder |
This builder for chaining.
|
setKeyBytes(ByteString value)
publicEntry.BuildersetKeyBytes(ByteStringvalue)
Optional. Key for the metadata entry.
optional string key = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for key to set.
|
| Returns |
| Type |
Description |
Entry.Builder |
This builder for chaining.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicEntry.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalEntry.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Overrides
setValue(String value)
publicEntry.BuildersetValue(Stringvalue)
Optional. Value for the metadata entry. These are free-form strings, and
only have meaning as interpreted by the image running in the instance. The
only restriction placed on values is that their size must be less than
or equal to 262144 bytes (256 KiB).
optional string value = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
value |
String
The value to set.
|
| Returns |
| Type |
Description |
Entry.Builder |
This builder for chaining.
|
setValueBytes(ByteString value)
publicEntry.BuildersetValueBytes(ByteStringvalue)
Optional. Value for the metadata entry. These are free-form strings, and
only have meaning as interpreted by the image running in the instance. The
only restriction placed on values is that their size must be less than
or equal to 262144 bytes (256 KiB).
optional string value = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter |
| Name |
Description |
value |
ByteString
The bytes for value to set.
|
| Returns |
| Type |
Description |
Entry.Builder |
This builder for chaining.
|