Package com.daml.ledger.api.v1
Class PackageServiceOuterClass.GetPackageStatusResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.GetPackageStatusResponse.Builder>
-
- com.daml.ledger.api.v1.PackageServiceOuterClass.GetPackageStatusResponse.Builder
-
- All Implemented Interfaces:
PackageServiceOuterClass.GetPackageStatusResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- PackageServiceOuterClass.GetPackageStatusResponse
public static final class PackageServiceOuterClass.GetPackageStatusResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.GetPackageStatusResponse.Builder> implements PackageServiceOuterClass.GetPackageStatusResponseOrBuilder
Protobuf typecom.daml.ledger.api.v1.GetPackageStatusResponse
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.GetPackageStatusResponse.Builder>
-
clear
public PackageServiceOuterClass.GetPackageStatusResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.GetPackageStatusResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.GetPackageStatusResponse.Builder>
-
getDefaultInstanceForType
public PackageServiceOuterClass.GetPackageStatusResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public PackageServiceOuterClass.GetPackageStatusResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PackageServiceOuterClass.GetPackageStatusResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PackageServiceOuterClass.GetPackageStatusResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.GetPackageStatusResponse.Builder>
-
setField
public PackageServiceOuterClass.GetPackageStatusResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.GetPackageStatusResponse.Builder>
-
clearField
public PackageServiceOuterClass.GetPackageStatusResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.GetPackageStatusResponse.Builder>
-
clearOneof
public PackageServiceOuterClass.GetPackageStatusResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.GetPackageStatusResponse.Builder>
-
setRepeatedField
public PackageServiceOuterClass.GetPackageStatusResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.GetPackageStatusResponse.Builder>
-
addRepeatedField
public PackageServiceOuterClass.GetPackageStatusResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.GetPackageStatusResponse.Builder>
-
mergeFrom
public PackageServiceOuterClass.GetPackageStatusResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PackageServiceOuterClass.GetPackageStatusResponse.Builder>
-
mergeFrom
public PackageServiceOuterClass.GetPackageStatusResponse.Builder mergeFrom(PackageServiceOuterClass.GetPackageStatusResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.GetPackageStatusResponse.Builder>
-
mergeFrom
public PackageServiceOuterClass.GetPackageStatusResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<PackageServiceOuterClass.GetPackageStatusResponse.Builder>
- Throws:
java.io.IOException
-
getPackageStatusValue
public int getPackageStatusValue()
The status of the package.
.com.daml.ledger.api.v1.PackageStatus package_status = 1 [json_name = "packageStatus"];
- Specified by:
getPackageStatusValue
in interfacePackageServiceOuterClass.GetPackageStatusResponseOrBuilder
- Returns:
- The enum numeric value on the wire for packageStatus.
-
setPackageStatusValue
public PackageServiceOuterClass.GetPackageStatusResponse.Builder setPackageStatusValue(int value)
The status of the package.
.com.daml.ledger.api.v1.PackageStatus package_status = 1 [json_name = "packageStatus"];
- Parameters:
value
- The enum numeric value on the wire for packageStatus to set.- Returns:
- This builder for chaining.
-
getPackageStatus
public PackageServiceOuterClass.PackageStatus getPackageStatus()
The status of the package.
.com.daml.ledger.api.v1.PackageStatus package_status = 1 [json_name = "packageStatus"];
- Specified by:
getPackageStatus
in interfacePackageServiceOuterClass.GetPackageStatusResponseOrBuilder
- Returns:
- The packageStatus.
-
setPackageStatus
public PackageServiceOuterClass.GetPackageStatusResponse.Builder setPackageStatus(PackageServiceOuterClass.PackageStatus value)
The status of the package.
.com.daml.ledger.api.v1.PackageStatus package_status = 1 [json_name = "packageStatus"];
- Parameters:
value
- The packageStatus to set.- Returns:
- This builder for chaining.
-
clearPackageStatus
public PackageServiceOuterClass.GetPackageStatusResponse.Builder clearPackageStatus()
The status of the package.
.com.daml.ledger.api.v1.PackageStatus package_status = 1 [json_name = "packageStatus"];
- Returns:
- This builder for chaining.
-
setUnknownFields
public final PackageServiceOuterClass.GetPackageStatusResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.GetPackageStatusResponse.Builder>
-
mergeUnknownFields
public final PackageServiceOuterClass.GetPackageStatusResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<PackageServiceOuterClass.GetPackageStatusResponse.Builder>
-
-