public int CalculateSize() { int size = 0; if (TradeId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(TradeId); } if (OtherPartyUuid.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(OtherPartyUuid); } if (Success != false) { size += 1 + 1; } size += items_.CalculateSize(_repeated_items_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return(size); }
public int CalculateSize() { int size = 0; if (Id.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); } size += zoneIds_.CalculateSize(_repeated_zoneIds_codec); if (Cores != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(Cores); } if (Memory != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(Memory); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return(size); }
public int CalculateSize() { int size = 0; if (RaidSeed != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(RaidSeed); } if (GymId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(GymId); } size += lobbyId_.CalculateSize(_repeated_lobbyId_codec); if (PlayerLatDegrees != 0D) { size += 1 + 8; } if (PlayerLngDegrees != 0D) { size += 1 + 8; } return(size); }
public int CalculateSize() { int size = 0; if (dynamicStats_ != null) { size += _single_dynamicStats_codec.CalculateSizeWithTag(DynamicStats); } if (StartChildSpan != false) { size += 1 + 1; } size += upstreamLog_.CalculateSize(_repeated_upstreamLog_codec); if (SuppressEnvoyHeaders != false) { size += 1 + 1; } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return(size); }
public int CalculateSize() { int size = 0; if (RpcId != 0) { size += 2 + pb::CodedOutputStream.ComputeInt32Size(RpcId); } if (Error != 0) { size += 2 + pb::CodedOutputStream.ComputeInt32Size(Error); } if (Message.Length != 0) { size += 2 + pb::CodedOutputStream.ComputeStringSize(Message); } if (UnitId != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(UnitId); } size += units_.CalculateSize(_repeated_units_codec); return(size); }
public int CalculateSize() { int size = 0; if (Name.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); } if (Number != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Number); } if (nestedInner_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(NestedInner); } size += nestedInners_.CalculateSize(_repeated_nestedInners_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return(size); }
public int CalculateSize() { int size = 0; if (HeroId != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(HeroId); } size += equip_.CalculateSize(_repeated_equip_codec); if (PetId != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(PetId); } if (HorseId != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(HorseId); } if (MingjiangId != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(MingjiangId); } return(size); }
public int CalculateSize() { int size = 0; if (ResourceName.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(ResourceName); } if (id_ != null) { size += _single_id_codec.CalculateSizeWithTag(Id); } if (name_ != null) { size += _single_name_codec.CalculateSizeWithTag(Name); } size += tagSnippets_.CalculateSize(_repeated_tagSnippets_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return(size); }
public int CalculateSize() { int size = 0; if (stiffness_ != null) { size += _single_stiffness_codec.CalculateSizeWithTag(Stiffness); } if (gravityPower_ != null) { size += _single_gravityPower_codec.CalculateSizeWithTag(GravityPower); } size += gravityDir_.CalculateSize(_repeated_gravityDir_codec); if (dragForce_ != null) { size += _single_dragForce_codec.CalculateSizeWithTag(DragForce); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return(size); }
public int CalculateSize() { int size = 0; if (LevelId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(LevelId); } if (Name.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); } size += characteristics_.CalculateSize(_repeated_characteristics_codec); if (Loaded != false) { size += 1 + 1; } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return(size); }
public int CalculateSize() { int size = 0; if (Name.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); } if (Id != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Id); } if (Email.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Email); } size += phones_.CalculateSize(_repeated_phones_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return(size); }
public int CalculateSize() { int size = 0; if (Name.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); } size += virtualHosts_.CalculateSize(_repeated_virtualHosts_codec); size += internalOnlyHeaders_.CalculateSize(_repeated_internalOnlyHeaders_codec); size += responseHeadersToAdd_.CalculateSize(_repeated_responseHeadersToAdd_codec); size += responseHeadersToRemove_.CalculateSize(_repeated_responseHeadersToRemove_codec); size += requestHeadersToAdd_.CalculateSize(_repeated_requestHeadersToAdd_codec); if (validateClusters_ != null) { size += _single_validateClusters_codec.CalculateSizeWithTag(ValidateClusters); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return(size); }
public int CalculateSize() { int size = 0; if (Address.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Address); } if (PubKey.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeBytesSize(PubKey); } size += options_.CalculateSize(_repeated_options_codec); if (Status != 0UL) { size += 1 + pb::CodedOutputStream.ComputeUInt64Size(Status); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return(size); }
public int CalculateSize() { int size = 0; if (UserId != 0) { size += 1 + pb::CodedOutputStream.ComputeSInt32Size(UserId); } if (DepartmentType != 0) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int)DepartmentType); } if (Level != 0) { size += 1 + pb::CodedOutputStream.ComputeSInt32Size(Level); } if (Exp != 0) { size += 1 + pb::CodedOutputStream.ComputeSInt32Size(Exp); } size += awards_.CalculateSize(_repeated_awards_codec); return(size); }
public int CalculateSize() { int size = 0; if (locality_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Locality); } size += lbEndpoints_.CalculateSize(_repeated_lbEndpoints_codec); if (loadBalancingWeight_ != null) { size += _single_loadBalancingWeight_codec.CalculateSizeWithTag(LoadBalancingWeight); } if (Priority != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Priority); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return(size); }
public int CalculateSize() { int size = 0; if (AuthApiCluster.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(AuthApiCluster); } if (StatPrefix.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(StatPrefix); } if (refreshDelay_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(RefreshDelay); } size += ipWhiteList_.CalculateSize(_repeated_ipWhiteList_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return(size); }
public int CalculateSize() { int size = 0; if (ClientId != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(ClientId); } if (ClientName.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(ClientName); } if (FacilityId != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(FacilityId); } if (FacilityCode.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(FacilityCode); } if (FacilityName.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(FacilityName); } size += data_.CalculateSize(_repeated_data_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return size; }
public int CalculateSize() { int size = 0; if (Id.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); } if (Digest.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Digest); } if (Size != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(Size); } size += urls_.CalculateSize(_repeated_urls_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return(size); }
public int CalculateSize() { int size = 0; size += indexes_.CalculateSize(_repeated_indexes_codec); if (UsesAncestorConfig != false) { size += 1 + 1; } if (AncestorField.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(AncestorField); } if (Reverting != false) { size += 1 + 1; } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return(size); }
public int CalculateSize() { int size = 0; if (ResourceName.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(ResourceName); } if (id_ != null) { size += _single_id_codec.CalculateSizeWithTag(Id); } if (topicConstantParent_ != null) { size += _single_topicConstantParent_codec.CalculateSizeWithTag(TopicConstantParent); } size += path_.CalculateSize(_repeated_path_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return(size); }
public int CalculateSize() { int size = 0; if (Dim0 != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Dim0); } if (Dim1 != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Dim1); } if (Dim2 != 0) { size += 1 + pb::CodedOutputStream.ComputeUInt32Size(Dim2); } size += featureValue_.CalculateSize(_repeated_featureValue_codec); if (Label != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Label); } return(size); }
public int CalculateSize() { int size = 0; if (StartTimestampMs != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(StartTimestampMs); } if (EndTimestampMs != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(EndTimestampMs); } size += matchers_.CalculateSize(_repeated_matchers_codec); if (hints_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Hints); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return(size); }
public int CalculateSize() { int size = 0; if (User.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(User); } if (Content.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Content); } if (Id.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Id); } size += attachments_.CalculateSize(_repeated_attachments_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return(size); }
public int CalculateSize() { int size = 0; size += logs_.CalculateSize(_repeated_logs_codec); if (HasContextFlow) { size += 1 + pb::CodedOutputStream.ComputeStringSize(ContextFlow); } if (HasFilename) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Filename); } if (HasSource) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Source); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return(size); }
public int CalculateSize() { int size = 0; if (ReportIntervalSeconds != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(ReportIntervalSeconds); } if (ReportSecurity.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(ReportSecurity); } if (Lz4CompressionThresholdBytes != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(Lz4CompressionThresholdBytes); } size += netCheckServers_.CalculateSize(_repeated_netCheckServers_codec); if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return(size); }
public int CalculateSize() { int size = 0; if (Host.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Host); } if (FilePath.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(FilePath); } if (LastModified != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(LastModified); } if (Bytes != 0L) { size += 1 + pb::CodedOutputStream.ComputeInt64Size(Bytes); } size += lines_.CalculateSize(_repeated_lines_codec); return(size); }
public int CalculateSize() { int size = 0; if (ResourceName.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(ResourceName); } if (ExtensionType != global::Google.Ads.GoogleAds.V9.Enums.ExtensionTypeEnum.Types.ExtensionType.Unspecified) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int)ExtensionType); } size += extensionFeedItems_.CalculateSize(_repeated_extensionFeedItems_codec); if (Device != global::Google.Ads.GoogleAds.V9.Enums.ExtensionSettingDeviceEnum.Types.ExtensionSettingDevice.Unspecified) { size += 1 + pb::CodedOutputStream.ComputeEnumSize((int)Device); } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return(size); }
public int CalculateSize() { int size = 0; if (dateRange_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(DateRange); } size += reservationTags_.CalculateSize(_repeated_reservationTags_codec); if (IsMockPriceRequiredWithoutHolds != false) { size += 1 + 1; } if (NumberOfAdultGuests != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(NumberOfAdultGuests); } if (NumberOfChildGuests != 0) { size += 1 + pb::CodedOutputStream.ComputeInt32Size(NumberOfChildGuests); } return(size); }
public int CalculateSize() { int size = 0; if (CustomerId.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(CustomerId); } size += operations_.CalculateSize(_repeated_operations_codec); if (PartialFailure != false) { size += 1 + 1; } if (ValidateOnly != false) { size += 1 + 1; } if (_unknownFields != null) { size += _unknownFields.CalculateSize(); } return(size); }
public int CalculateSize() { int size = 0; size += position_.CalculateSize(_repeated_position_codec); if (picrutesize_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Picrutesize); } if (Result.Length != 0) { size += 1 + pb::CodedOutputStream.ComputeStringSize(Result); } if (Angle != 0F) { size += 1 + 4; } if (center_ != null) { size += 1 + pb::CodedOutputStream.ComputeMessageSize(Center); } return(size); }