public static final class Metadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Metadata.Builder> implements MetadataOrBuilder
Metadata holds other on request or operation specific data that could be used inside that operation. An welldefined message instead of a map is used so that the data fields can be explicitly defined with its own data type. Resolves data convertions.Protobuf type
appscode.operation.v1beta1.Metadata| Modifier and Type | Method and Description |
|---|---|
Metadata.Builder |
addAllPurchasePhids(java.lang.Iterable<java.lang.String> values)
Contains PurchasePHID is this is a purchase request.
|
Metadata.Builder |
addPurchasePhids(java.lang.String value)
Contains PurchasePHID is this is a purchase request.
|
Metadata.Builder |
addPurchasePhidsBytes(com.google.protobuf.ByteString value)
Contains PurchasePHID is this is a purchase request.
|
Metadata.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Metadata |
build() |
Metadata |
buildPartial() |
Metadata.Builder |
clear() |
Metadata.Builder |
clearAuthorName()
optional string author_name = 3; |
Metadata.Builder |
clearAuthorPhid()
PHID of the user who requested this operation.
|
Metadata.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Metadata.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Metadata.Builder |
clearPurchasePhids()
Contains PurchasePHID is this is a purchase request.
|
Metadata.Builder |
clone() |
java.lang.String |
getAuthorName()
optional string author_name = 3; |
com.google.protobuf.ByteString |
getAuthorNameBytes()
optional string author_name = 3; |
java.lang.String |
getAuthorPhid()
PHID of the user who requested this operation.
|
com.google.protobuf.ByteString |
getAuthorPhidBytes()
PHID of the user who requested this operation.
|
Metadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getPurchasePhids(int index)
Contains PurchasePHID is this is a purchase request.
|
com.google.protobuf.ByteString |
getPurchasePhidsBytes(int index)
Contains PurchasePHID is this is a purchase request.
|
int |
getPurchasePhidsCount()
Contains PurchasePHID is this is a purchase request.
|
com.google.protobuf.ProtocolStringList |
getPurchasePhidsList()
Contains PurchasePHID is this is a purchase request.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Metadata.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Metadata.Builder |
mergeFrom(com.google.protobuf.Message other) |
Metadata.Builder |
mergeFrom(Metadata other) |
Metadata.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Metadata.Builder |
setAuthorName(java.lang.String value)
optional string author_name = 3; |
Metadata.Builder |
setAuthorNameBytes(com.google.protobuf.ByteString value)
optional string author_name = 3; |
Metadata.Builder |
setAuthorPhid(java.lang.String value)
PHID of the user who requested this operation.
|
Metadata.Builder |
setAuthorPhidBytes(com.google.protobuf.ByteString value)
PHID of the user who requested this operation.
|
Metadata.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Metadata.Builder |
setPurchasePhids(int index,
java.lang.String value)
Contains PurchasePHID is this is a purchase request.
|
Metadata.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Metadata.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Metadata.Builder>public Metadata.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Metadata.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Metadata.Builder>public Metadata getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Metadata build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Metadata buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Metadata.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Metadata.Builder>public Metadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Metadata.Builder>public Metadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Metadata.Builder>public Metadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Metadata.Builder>public Metadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Metadata.Builder>public Metadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Metadata.Builder>public Metadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Metadata.Builder>public Metadata.Builder mergeFrom(Metadata other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Metadata.Builder>public Metadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Metadata.Builder>java.io.IOExceptionpublic com.google.protobuf.ProtocolStringList getPurchasePhidsList()
Contains PurchasePHID is this is a purchase request.
repeated string purchase_phids = 1;getPurchasePhidsList in interface MetadataOrBuilderpublic int getPurchasePhidsCount()
Contains PurchasePHID is this is a purchase request.
repeated string purchase_phids = 1;getPurchasePhidsCount in interface MetadataOrBuilderpublic java.lang.String getPurchasePhids(int index)
Contains PurchasePHID is this is a purchase request.
repeated string purchase_phids = 1;getPurchasePhids in interface MetadataOrBuilderpublic com.google.protobuf.ByteString getPurchasePhidsBytes(int index)
Contains PurchasePHID is this is a purchase request.
repeated string purchase_phids = 1;getPurchasePhidsBytes in interface MetadataOrBuilderpublic Metadata.Builder setPurchasePhids(int index, java.lang.String value)
Contains PurchasePHID is this is a purchase request.
repeated string purchase_phids = 1;public Metadata.Builder addPurchasePhids(java.lang.String value)
Contains PurchasePHID is this is a purchase request.
repeated string purchase_phids = 1;public Metadata.Builder addAllPurchasePhids(java.lang.Iterable<java.lang.String> values)
Contains PurchasePHID is this is a purchase request.
repeated string purchase_phids = 1;public Metadata.Builder clearPurchasePhids()
Contains PurchasePHID is this is a purchase request.
repeated string purchase_phids = 1;public Metadata.Builder addPurchasePhidsBytes(com.google.protobuf.ByteString value)
Contains PurchasePHID is this is a purchase request.
repeated string purchase_phids = 1;public java.lang.String getAuthorPhid()
PHID of the user who requested this operation.
optional string author_phid = 2;getAuthorPhid in interface MetadataOrBuilderpublic com.google.protobuf.ByteString getAuthorPhidBytes()
PHID of the user who requested this operation.
optional string author_phid = 2;getAuthorPhidBytes in interface MetadataOrBuilderpublic Metadata.Builder setAuthorPhid(java.lang.String value)
PHID of the user who requested this operation.
optional string author_phid = 2;public Metadata.Builder clearAuthorPhid()
PHID of the user who requested this operation.
optional string author_phid = 2;public Metadata.Builder setAuthorPhidBytes(com.google.protobuf.ByteString value)
PHID of the user who requested this operation.
optional string author_phid = 2;public java.lang.String getAuthorName()
optional string author_name = 3;getAuthorName in interface MetadataOrBuilderpublic com.google.protobuf.ByteString getAuthorNameBytes()
optional string author_name = 3;getAuthorNameBytes in interface MetadataOrBuilderpublic Metadata.Builder setAuthorName(java.lang.String value)
optional string author_name = 3;public Metadata.Builder clearAuthorName()
optional string author_name = 3;public Metadata.Builder setAuthorNameBytes(com.google.protobuf.ByteString value)
optional string author_name = 3;public final Metadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Metadata.Builder>public final Metadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Metadata.Builder>